diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2025-01-09 10:54:36 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-09 10:54:36 +0200 |
commit | 66a1a1fe22aff54973ab5c33957a338b33b8274c (patch) | |
tree | 4b6def312debbbc5020294bf469568ef638c0c5c /gnu/packages | |
parent | 7f27dc47c52886b785359799b6dc67b61f638544 (diff) | |
parent | 986245daca2fb50d58cf0f2b9273f0d670d38af2 (diff) |
Merge remote-tracking branch 'origin/rust-team'
Change-Id: Ib21a0ea59fb2ae4e802552057227c636f24a6f8c
Diffstat (limited to 'gnu/packages')
49 files changed, 31279 insertions, 25425 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9e149da5eb8..798d8ef9737 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -5652,7 +5652,7 @@ it won't take longer to install 15 machines than it would to install just 2.") (define-public greetd (package (name "greetd") - (version "0.9.0") + (version "0.10.3") (home-page "https://git.sr.ht/~kennylevinsen/greetd") (source (origin (method git-fetch) @@ -5661,25 +5661,28 @@ it won't take longer to install 15 machines than it would to install just 2.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1b79lb0vikh5vwpdlyga6zwzm11gpsd7ghp8zb0q2m6mlqlj5by3")))) + (base32 "1j3c7skby9scsq6p1f6nacbiy9b26y1sswchdsp8p3vv7fgdh2wf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-nix" ,rust-nix-0.26) + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-enquote" ,rust-enquote-1) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.27) ("rust-pam-sys" ,rust-pam-sys-0.5) ("rust-rpassword" ,rust-rpassword-5) - ("rust-users" ,rust-users-0.11) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-tokio" ,rust-tokio-1) - ("rust-getopts" ,rust-getopts-0.2) ("rust-thiserror" ,rust-thiserror-1) - ("rust-async-trait" ,rust-async-trait-0.1) - ("rust-enquote" ,rust-enquote-1)) + ("rust-tokio" ,rust-tokio-1)) + #:install-source? #f #:phases (modify-phases %standard-phases - (delete 'package) + (add-after 'unpack 'patch-/bin/sh + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "greetd/src/session/worker.rs" + (("/bin/sh") (search-input-file inputs "/bin/sh"))))) (add-after 'build 'build-man-pages (lambda* (#:key inputs #:allow-other-keys) (define (scdoc-cmd doc lvl) @@ -5764,73 +5767,70 @@ This allows greetd-pam-mount to auto-(un)mount @env{XDG_RUNTIME_DIR} without interfering with any pam-mount configuration."))) (define-public wlgreet - (let ((commit "7e79d6004fc5e765a5c3ece6d377f8c5999d9dfa") - (revision "1")) - (package - (name "wlgreet") - (version (git-version "0.4.1" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://git.sr.ht/~kennylevinsen/wlgreet") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "039a05v6c2i3al86k4fncqr3z47dnrz7y8wmhx6wvm08zx8s89ww")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-inputs - `(("rust-chrono" ,rust-chrono-0.4) - ("rust-getopts" ,rust-getopts-0.2) - ("rust-greetd-ipc" ,rust-greetd-ipc-0.9) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-memmap2" ,rust-memmap2-0.3) - ("rust-nix" ,rust-nix-0.25) - ("rust-os-pipe" ,rust-os-pipe-1) - ("rust-rusttype" ,rust-rusttype-0.9) - ("rust-serde" ,rust-serde-1) - ("rust-smithay-client-toolkit" - ,rust-smithay-client-toolkit-0.15) - ("rust-toml" ,rust-toml-0.5) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)) - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-bundled-fonts - (lambda _ - (delete-file-recursively "fonts"))) - (add-after 'remove-bundled-fonts 'fix-font-references - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "src/draw.rs" - (("\\.\\./fonts/dejavu/DejaVuSansMono\\.ttf" _) - (search-input-file - inputs - "share/fonts/truetype/DejaVuSansMono.ttf")) - (("\\.\\./fonts/Roboto-Regular\\.ttf" _) - (search-input-file - inputs - "share/fonts/truetype/Roboto-Regular.ttf"))))) - (add-after 'configure 'fix-library-references - (lambda* (#:key inputs vendor-dir #:allow-other-keys) - (substitute* (find-files vendor-dir "\\.rs$") - (("lib(wayland-.*|xkbcommon)\\.so" so-file) - (search-input-file - inputs - (string-append "lib/" so-file))))))))) - (inputs - (list font-dejavu - font-google-roboto - libxkbcommon - wayland)) - (home-page "https://git.sr.ht/~kennylevinsen/wlgreet") - (synopsis "Bare-bones Wayland-based greeter for @command{greetd}") - (description - "@command{wlgreet} provides a @command{greetd} greeter + (package + (name "wlgreet") + (version "0.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~kennylevinsen/wlgreet") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0d7lfx5jg2w7fp7llwrirnbsp27nv74f21mhrspd9ilk2cacf12d")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-chrono" ,rust-chrono-0.4) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-greetd-ipc" ,rust-greetd-ipc-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-memmap2" ,rust-memmap2-0.3) + ("rust-nix" ,rust-nix-0.25) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-rusttype" ,rust-rusttype-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-wayland-client" ,rust-wayland-client-0.29) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.15) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-bundled-fonts + (lambda _ + (delete-file-recursively "fonts"))) + (add-after 'remove-bundled-fonts 'fix-font-references + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/draw.rs" + (("\\.\\./fonts/dejavu/DejaVuSansMono\\.ttf") + (search-input-file + inputs + "share/fonts/truetype/DejaVuSansMono.ttf")) + (("\\.\\./fonts/Roboto-Regular\\.ttf") + (search-input-file + inputs + "share/fonts/truetype/Roboto-Regular.ttf"))))) + (add-after 'configure 'fix-library-references + (lambda* (#:key inputs vendor-dir #:allow-other-keys) + (substitute* (find-files vendor-dir "\\.rs$") + (("lib(wayland-.*|xkbcommon)\\.so" so-file) + (search-input-file + inputs + (string-append "lib/" so-file))))))))) + (inputs + (list font-dejavu + font-google-roboto + libxkbcommon + wayland)) + (home-page "https://git.sr.ht/~kennylevinsen/wlgreet") + (synopsis "Bare-bones Wayland-based greeter for @command{greetd}") + (description + "@command{wlgreet} provides a @command{greetd} greeter that runs on a Wayland compositor such as @command{sway}. It is implemented with pure Wayland APIs, so it does not depend on a GUI toolkit.") - (license license:gpl3)))) + (license license:gpl3))) (define-public libseat (package @@ -6304,9 +6304,7 @@ file or files to several hosts.") (base32 "0qr6ikq2ds8bq35iw480qyhf3d43dj61wiwp8587n3mgqf5djx8w")))) (build-system cargo-build-system) (arguments - (list #:cargo-test-flags `(list "--release" "--" - "--skip=test_apparent_size") - #:install-source? #f + (list #:install-source? #f #:cargo-inputs `(("rust-ansi-term" ,rust-ansi-term-0.12) ("rust-chrono" ,rust-chrono-0.4) ("rust-clap" ,rust-clap-4) diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm index d061b18b117..7ee4adddec4 100644 --- a/gnu/packages/antivirus.scm +++ b/gnu/packages/antivirus.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Eric Bavier <bavier@posteo.net> ;;; Copyright © 2018 Christopher Baines <mail@cbaines.net> ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,24 +21,29 @@ (define-module (gnu packages antivirus) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system cargo) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) #:use-module (gnu packages) - #:use-module (gnu packages autotools) - #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages cmake) + #:use-module (gnu packages crates-compression) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crates-io) #:use-module (gnu packages curl) - #:use-module (gnu packages cyrus-sasl) - #:use-module (gnu packages flex) - #:use-module (gnu packages llvm) - #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages python-check) + #:use-module (gnu packages rust-apps) + #:use-module (gnu packages rust) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages xml)) @@ -45,97 +51,118 @@ (define-public clamav (package (name "clamav") - (version "0.103.11") + (version "1.4.1") (source (origin (method url-fetch) - (uri (string-append "https://www.clamav.net/downloads/production/" - "clamav-" version ".tar.gz")) + (uri + (list + (string-append "https://www.clamav.net/downloads/production/" + "clamav-" version ".tar.gz") + (string-append "https://github.com/Cisco-Talos/clamav/" + "releases/download/clamav-" version + "/clamav-" version ".tar.gz"))) (sha256 (base32 - "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1")) + "1n3a87niad76h3mn3qxq9379gppdjqpkhwb9qkbb79irmj0ff653")) (modules '((guix build utils))) (snippet '(begin (for-each delete-file-recursively - '("win32" ; unnecessary - "libclamav/c++/llvm" ; use system llvm - "libclamav/tomsfastmath" ; use system tomsfastmath - "libclamunrar")))) ; non-free license - (patches - (search-patches "clamav-system-tomsfastmath.patch" - "clamav-config-llvm-libs.patch")))) - (build-system gnu-build-system) + '(".cargo" ; vendored rust inputs + "win32" ; unnecessary + "libclamunrar")))))) ; non-free license + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:cargo-inputs + `(("rust-flate2" ,rust-flate2-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-image" ,rust-image-0.24) + ("rust-rustdct" ,rust-rustdct-0.7) + ("rust-transpose" ,rust-transpose-0.2) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-base64" ,rust-base64-0.21) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-bindgen" ,rust-bindgen-0.65) + ("rust-onenote-parser-for-clamav" ,rust-onenote-parser-for-clamav) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-inflate" ,rust-inflate-0.4) + ("rust-bzip2-rs" ,rust-bzip2-rs-0.1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-delharc" ,rust-delharc-0.6) + ("rust-cbindgen" ,rust-cbindgen)) + #:vendor-dir ".cargo/vendor" + #:imported-modules `(,@%cmake-build-system-modules + ,@%cargo-build-system-modules) + #:modules '((guix build cargo-build-system) + ((guix build cmake-build-system) #:prefix cmake:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + ;; There is a test.exe file used in unit tests. + (delete 'check-for-pregenerated-files) + (add-after 'configure 'fix-cargo-inputs-vendoring + (lambda _ + ;; Reproduce the original layout, fails with config. + (rename-file ".cargo/config" ".cargo/config.toml") + ;; Wrongly placed by configure + (delete-file-recursively + (string-append ".cargo/vendor/clamav-" #$version ".tar.zst")))) + (add-after 'patch-cargo-checksums 'cmake-configure + (lambda* (#:key outputs #:allow-other-keys) + ((assoc-ref cmake:%standard-phases 'configure) + #:configure-flags + (list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF") + #:outputs outputs))) + (replace 'build + (assoc-ref cmake:%standard-phases 'build)) + (add-after 'patch-cargo-checksums 'patch-rust-requirements + (lambda _ + (substitute* "libclamav_rust/Cargo.toml" + ;; We make sure we use their fork. + (("onenote_parser = .*") + "onenote_parser = \"*\"\n") + ;; As long as it builds later versions of (c)bindgen are fine + (("cbindgen = \\{ version =\".*\",") + "cbindgen = { version = \"*\",")))) + (replace 'install + (assoc-ref cmake:%standard-phases 'install)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + ((assoc-ref cmake:%standard-phases 'check) + #:tests? tests? + #:test-target "test"))) + (add-after 'unpack 'skip-clamd-tests + ;; XXX: The check?_clamd tests fail inside the build + ;; chroot, but pass outside. + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (substitute* "unit_tests/CMakeLists.txt" + (("clamd_test\\.py" test) + (string-append + test " -k \"not test_clamd_08_VirusEvent\""))))))))) (native-inputs - (list autoconf - automake - check ; for tests - libtool - pkg-config)) + (list check ; for tests + cmake-minimal + pkg-config + python-minimal + python-pytest)) (inputs (list bzip2 curl json-c - libltdl - libmspack - llvm-3.6 ; requires <3.7, for JIT/verifier - ncurses libressl - pcre2 - cyrus-sasl ; for linking curl with libtool - tomsfastmath libxml2 + ncurses + pcre2 zlib)) - (arguments - (list #:configure-flags - #~(let-syntax ((with (syntax-rules () - ((_ name use) - (string-append "--with-" name "=" - (assoc-ref %build-inputs use)))))) - (list "--disable-unrar" - "--enable-llvm" - "--with-system-llvm" - "--with-system-libmspack" - "--without-included-ltdl" - (with "xml" "libxml2") - (with "openssl" "libressl") - (with "libjson" "json-c") - (with "pcre2" "pcre2") - (with "zlib" "zlib") - (with "libcurl" "curl") - ;; For sanity, specifying --enable-* flags turns - ;; "support unavailable" warnings into errors. - "--enable-bzip2" - "--enable-check" - "--sysconfdir=/etc/clamav" - ;; Default database directory needs to be writeable - "--with-dbdir=/var/db/clamav")) - ;; install sample .conf files to %output/etc rather than /etc/clamav - #:make-flags - #~(list (string-append "sysconfdir=" %output "/etc")) - #:phases - #~(modify-phases %standard-phases - ;; Regenerate configure script. Without this we don't get - ;; the correct value for LLVM linker variables. - (add-after 'unpack 'reconf - (lambda _ (invoke "autoreconf" "-vfi"))) - (add-before 'configure 'patch-llvm-config - (lambda _ - (substitute* '("libclamav/c++/detect.cpp" - "libclamav/c++/ClamBCRTChecks.cpp" - "libclamav/c++/bytecode2llvm.cpp") - (("llvm/Config/config.h") "llvm/Config/llvm-config.h")) - ;; `llvm-config --libfiles` inappropriately lists lib*.a - ;; libraries, rather than the lib*.so's that our llvm - ;; contains. They're used only for listing extra build - ;; dependencies, so ignore them until that's fixed. - (substitute* "libclamav/c++/Makefile.in" - (("@LLVMCONFIG_LIBFILES@") "")))) - (add-before 'check 'skip-clamd-tests - ;; XXX: The check?_clamd tests fail inside the build - ;; chroot, but pass outside. - (lambda _ - (substitute* "unit_tests/Makefile" - (("check2_clamd.sh.*check4_clamd.sh") ""))))))) (home-page "https://www.clamav.net") (synopsis "Antivirus engine") (description @@ -144,6 +171,8 @@ scanning on mail gateways. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner, and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in the form of a shared library.") + (properties `((release-monitoring-url + . "https://github.com/Cisco-Talos/clamav/releases"))) (license (list license:gpl2+ ;ClamAV itself license:lgpl2.1 ;libclamav/mspack.[ch] license:public-domain ;libclamav/7z/*, libclamav/rijndael.[ch], etc... diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 7ce0a75188c..c0d8c550985 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2024 hapster <o.rojon@posteo.net> ;;; Copyright © 2024 mio <stigma@disroot.org> ;;; Copyright © 2024 Nikita Domnitskii <nikita@domnitskii.me> +;;; Copyright © 2024 Roman Scherer <roman@burningswell.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -80,6 +81,8 @@ #:use-module (gnu packages cdrom) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) + #:use-module (gnu packages crates-audio) + #:use-module (gnu packages crates-io) #:use-module (gnu packages curl) #:use-module (gnu packages dbm) #:use-module (gnu packages documentation) @@ -153,6 +156,7 @@ #:use-module (gnu packages xiph) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system glib-or-gtk) @@ -1312,6 +1316,34 @@ bass section with five drawbars. A standalone JACK application and LV2 plugins are provided.") (license license:gpl2)))) +(define-public bankstown-lv2 + (package + (name "bankstown-lv2") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bankstown-lv2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bcrn0b4b9v1mksaldhrdb6ncqlwldfwqxjlfp4gcpvl661qdmcb")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-biquad" ,rust-biquad-0.4) + ("rust-lv2" ,rust-lv2-0.6)) + #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (setenv "LIBDIR" (string-append (assoc-ref outputs "out") "/lib")) + (invoke "make" "install")))))) + (home-page "https://github.com/chadmed/bankstown") + (synopsis "Barebones, fast LV2 bass enhancement plugin.") + (description + "This package provides a barebones, fast LV2 bass enhancement plugin.") + (license license:expat))) + (define-public calf (package (name "calf") diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index c00ef54fe92..34a39a48f17 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -83,6 +83,7 @@ #:use-module (gnu packages cpp) #:use-module (gnu packages cpio) #:use-module (gnu packages cran) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages curl) #:use-module (gnu packages docbook) diff --git a/gnu/packages/c2rust.scm b/gnu/packages/c2rust.scm index 1b249716e73..e416f71532c 100644 --- a/gnu/packages/c2rust.scm +++ b/gnu/packages/c2rust.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2024 Danny Milosavljevic <dannym@friendly-machines.com> +;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il> ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,62 +22,79 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system cargo) - #:use-module (guix build-system gnu) - #:use-module (guix gexp) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages cmake) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-vcs) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages qt) #:use-module (gnu packages llvm) #:use-module ((guix licenses) #:prefix license:)) -(define-public rust-c2rust-bitfields-derive-0.18 + +(define-public rust-c2rust-ast-builder-0.18 (package - (name "rust-c2rust-bitfields-derive") + (name "rust-c2rust-ast-builder") (version "0.18.0") (source (origin (method url-fetch) - (uri (crate-uri "c2rust-bitfields-derive" version)) + (uri (crate-uri "c2rust-ast-builder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i95j6q1d61h1m1pk84i3ih00hsmbn8ib35xr129fz2rw81c3jyk")))) + (base32 "0w63rp66g6axkymxd16avxp3gjnphy3mg9938gsh52p4aak83nq5")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-syn" ,rust-syn-1)))) (home-page "https://c2rust.com/") - (synopsis - "C-compatible struct bitfield derive implementation used in the C2Rust project") + (synopsis "Rust AST builder support crate for the C2Rust project") (description - "This package provides C-compatible struct bitfield derive implementation used in the C2Rust project.") + "This package provides the rust AST builder support crate for the +C2Rust project.") (license license:bsd-3))) -(define-public rust-c2rust-bitfields-0.18 +(define-public rust-c2rust-ast-exporter-0.18 (package - (name "rust-c2rust-bitfields") + (name "rust-c2rust-ast-exporter") (version "0.18.0") (source (origin (method url-fetch) - (uri (crate-uri "c2rust-bitfields" version)) + (uri (crate-uri "c2rust-ast-exporter" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h9cnyijk65zypv8dqbmr5r238pqq9pa8njrdzx09xhfmc3kyg5l")))) + (base32 "1m589a7jld5mi7zv9z179p5j90zh7mkhbmj05mgx6bbp6m45kx7p")) + (patches (search-patches "c2rust-ast-exporter-local-search.patch")) + (modules '((guix build utils))))) (build-system cargo-build-system) + (native-inputs + (list cmake-minimal clang)) + (inputs + `(("llvm" ,llvm) + ("tinycbor-src" ,%tinycbor-source))) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-c2rust-bitfields-derive" ,rust-c2rust-bitfields-derive-0.18)))) + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'bundle-tinycbor + (lambda* (#:key inputs #:allow-other-keys) + ;; The build process will slightly patch the sources. + (copy-recursively (assoc-ref inputs "tinycbor-src") + "/tmp/tinycbor") + (setenv "GUIX_TINYCBOR_SOURCE_DIR" "/tmp/tinycbor")))) + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.65) + ("rust-c2rust-build-paths" ,rust-c2rust-build-paths-0.18) + ("rust-clang-sys" ,rust-clang-sys-1) + ("rust-cmake" ,rust-cmake-0.1) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-cbor" ,rust-serde-cbor-0.11)))) (home-page "https://c2rust.com/") - (synopsis - "C-compatible struct bitfield implementation used in the C2Rust project") + (synopsis "Clang AST extraction API for use in the C2Rust project") (description - "This package provides C-compatible struct bitfield implementation used in the C2Rust project.") + "This package provides the Clang AST extraction API for use in the +C2Rust project.") (license license:bsd-3))) (define-public rust-c2rust-ast-printer-0.18 @@ -92,37 +110,63 @@ (base32 "1a02bnnxn1difq917c2rv8b7654ni65lyk37hdyklv9n96inr07r")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-log" ,rust-log-0.4) + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-prettyplease" ,rust-prettyplease-0.1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-syn" ,rust-syn-1)))) (home-page "https://c2rust.com/") (synopsis "Customized version of libsyntax rust pretty-printer") (description - "This package provides Customized version of libsyntax rust pretty-printer.") + "This package provides a customized version of libsyntax rust pretty-printer.") (license (list license:expat license:asl2.0)))) -(define-public rust-c2rust-ast-builder-0.18 +(define-public rust-c2rust-bitfields-0.18 (package - (name "rust-c2rust-ast-builder") + (name "rust-c2rust-bitfields") (version "0.18.0") (source (origin (method url-fetch) - (uri (crate-uri "c2rust-ast-builder" version)) + (uri (crate-uri "c2rust-bitfields" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0w63rp66g6axkymxd16avxp3gjnphy3mg9938gsh52p4aak83nq5")))) + (base32 "0h9cnyijk65zypv8dqbmr5r238pqq9pa8njrdzx09xhfmc3kyg5l")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + (list #:cargo-inputs + (list rust-c2rust-bitfields-derive-0.18) + #:cargo-development-inputs + (list rust-libc-0.2))) + (home-page "https://c2rust.com/") + (synopsis + "C-compatible struct bitfield implementation used in the C2Rust project") + (description + "This package provides a C-compatible struct bitfield implementation used +in the C2Rust project.") + (license license:bsd-3))) + +(define-public rust-c2rust-bitfields-derive-0.18 + (package + (name "rust-c2rust-bitfields-derive") + (version "0.18.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "c2rust-bitfields-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i95j6q1d61h1m1pk84i3ih00hsmbn8ib35xr129fz2rw81c3jyk")))) + (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://c2rust.com/") - (synopsis "Rust AST builder support crate for the C2Rust project") + (synopsis + "C-compatible struct bitfield derive implementation used in the C2Rust project") (description - "This package provides Rust AST builder support crate for the C2Rust project.") + "This package provides a C-compatible struct bitfield derive implementation +used in the C2Rust project.") (license license:bsd-3))) (define-public rust-c2rust-build-paths-0.18 @@ -138,13 +182,12 @@ (base32 "0b2liaxbqksgfbsmr6hacdia6czlq7m0pyqx3l2rrcfcnb2ksgv0")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-print-bytes" ,rust-print-bytes-1)))) + `(#:cargo-inputs (("rust-print-bytes" ,rust-print-bytes-1)))) (home-page "https://c2rust.com/") - (synopsis - "C2Rust utilities related to build paths, primarily at build time") + (synopsis "C2Rust utilities related to build paths, primarily at build time") (description - "This package provides C2Rust utilities related to build paths, primarily at build time.") + "This package provides C2Rust utilities related to build paths, primarily +at build time.") (license license:bsd-3))) ;; Note: It has expat license. @@ -159,51 +202,6 @@ (base32 "0w38lzj0rz36skc1cn3shllc82c7nn32h88frb8f164a8haq3hkw")))) -(define-public rust-c2rust-ast-exporter-0.18 - (package - (name "rust-c2rust-ast-exporter") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "c2rust-ast-exporter" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m589a7jld5mi7zv9z179p5j90zh7mkhbmj05mgx6bbp6m45kx7p")) - (patches (search-patches "c2rust-ast-exporter-local-search.patch")) - (modules '((guix build utils))))) - (build-system cargo-build-system) - (native-inputs - `(("cmake" ,cmake) - ("clang" ,clang))) - (inputs - `(("llvm" ,llvm) - ("tinycbor-src" ,%tinycbor-source))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'bundle-tinycbor - (lambda* (#:key inputs #:allow-other-keys) - ;; The build process will slightly patch the sources. - (copy-recursively (assoc-ref inputs "tinycbor-src") - "/tmp/tinycbor") - (setenv "GUIX_TINYCBOR_SOURCE_DIR" "/tmp/tinycbor")))) - #:skip-build? #f - #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.65) - ("rust-c2rust-build-paths" ,rust-c2rust-build-paths-0.18) - ("rust-clang-sys" ,rust-clang-sys-1.8) - ("rust-cmake" ,rust-cmake-0.1) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-serde-cbor" ,rust-serde-cbor-0.11)))) - (home-page "https://c2rust.com/") - (synopsis "Clang AST extraction API for use in the C2Rust project") - (description - "This package provides Clang AST extraction API for use in the C2Rust project.") - (license license:bsd-3))) - (define-public rust-c2rust-transpile-0.18 (package (name "rust-c2rust-transpile") @@ -217,8 +215,7 @@ (base32 "09fvi2id0qjhfvsqcz9222ac81lyl2j6rbq280dhn06y1nvy000c")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-c2rust-ast-builder" ,rust-c2rust-ast-builder-0.18) + `(#:cargo-inputs (("rust-c2rust-ast-builder" ,rust-c2rust-ast-builder-0.18) ("rust-c2rust-ast-exporter" ,rust-c2rust-ast-exporter-0.18) ("rust-c2rust-ast-printer" ,rust-c2rust-ast-printer-0.18) ("rust-c2rust-bitfields" ,rust-c2rust-bitfields-0.18) @@ -243,10 +240,23 @@ ("rust-smallvec" ,rust-smallvec-1) ("rust-strum" ,rust-strum-0.24) ("rust-strum-macros" ,rust-strum-macros-0.24) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-1)) + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch + (lambda* (#:key inputs #:allow-other-keys) + ;; The build process will slightly patch the sources. + (copy-recursively (assoc-ref inputs "tinycbor-src") + "/tmp/tinycbor") + (setenv "GUIX_TINYCBOR_SOURCE_DIR" "/tmp/tinycbor")))))) + (native-inputs + `(("clang" ,clang) + ("cmake" ,cmake-minimal) + ("tinycbor-src" ,%tinycbor-source))) + (inputs (list llvm)) (home-page "https://c2rust.com/") (synopsis "C2Rust transpiler implementation") - (description "This package provides C2Rust transpiler implementation.") + (description "This package provides the C2Rust transpiler implementation.") (license license:bsd-3))) (define-public c2rust @@ -259,15 +269,21 @@ (uri (crate-uri "c2rust" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rg9cvvmh9zw89mz2bpyvqlwbfhzl5dw2hab9z6d5rasr8mir7nh")))) + (base32 "1rg9cvvmh9zw89mz2bpyvqlwbfhzl5dw2hab9z6d5rasr8mir7nh")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (native-inputs `(("tinycbor-src" ,%tinycbor-source) - ("cmake" ,cmake) + ("cmake" ,cmake-minimal) ("clang" ,clang))) (inputs (list llvm)) (arguments - `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + `(#:install-source? #f + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-c2rust-build-paths" ,rust-c2rust-build-paths-0.18) ("rust-c2rust-transpile" ,rust-c2rust-transpile-0.18) ("rust-clap" ,rust-clap-3) @@ -280,11 +296,6 @@ ("rust-time-macros" ,rust-time-macros-0.2)) #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-deps - (lambda _ - ;; This is incorrect in the release to begin with. - (substitute* "Cargo.toml" - (("=0.2.6") "=0.2.18")))) (add-before 'build 'patch (lambda* (#:key inputs #:allow-other-keys) ;; The build process will slightly patch the sources. diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm index 35ac62f731c..15b591a0151 100644 --- a/gnu/packages/cmake.scm +++ b/gnu/packages/cmake.scm @@ -447,7 +447,7 @@ and workspaces that can be used in the compiler environment of your choice.") (define-public corrosion (package (name "corrosion") - (version "0.5.0") + (version "0.5.1") (source (origin (method git-fetch) (uri (git-reference @@ -455,7 +455,7 @@ and workspaces that can be used in the compiler environment of your choice.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1sm1jhdrqzp3f36f7grh900wp7pk9l1zim49hrk87ac6frfmg8xx")))) + (base32 "1bylfjji4yw88r00hgb69nfl9lz73bhc7q3n64myif4alr4b8ypx")))) (build-system cmake-build-system) (arguments (list diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm index 6881ac2cf51..1c3c941209d 100644 --- a/gnu/packages/crates-apple.scm +++ b/gnu/packages/crates-apple.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2023 Steve George <steve@futurile.net> ;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> ;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu> +;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo> ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,13 +57,51 @@ (arguments `(#:skip-build? #t #:cargo-development-inputs - (("rust-objc-test-utils" ,rust-objc-test-utils-0.0)))) + (("rust-objc-test-utils" ,rust-objc-test-utils-0.0.2)))) (home-page "https://github.com/SSheldon/rust-block") (synopsis "Rust interface for Apple's C language extension of blocks") (description "This package provides a rust interface for Apple's C language extension of blocks.") (license license:expat))) +(define-public rust-block-sys-0.2 + (package + (name "rust-block-sys") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "block-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rzp0218mwigdmfd5rhmj5h7c1vp0bq0nxaklhsvi8vydrls11df")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Needs to bind to MacOS libraries. + #:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.3)))) + (home-page "https://github.com/madsmtm/objc2") + (synopsis "Raw bindings to Apple's C language extension of blocks") + (description "This package contains raw bindings to Apple's C language +extension of blocks.") + (license license:expat))) + +(define-public rust-block-sys-0.1 + (package + (inherit rust-block-sys-0.2) + (name "rust-block-sys") + (version "0.1.0-beta.1") + (source (origin + (method url-fetch) + (uri (crate-uri "block-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ihiar08hk0das4q0ii1gsmql975z3rslli1h13jb44hxr0mg98g")))) + (arguments + `(#:tests? #f ; Tests require gcc-objc. + #:cargo-inputs + (("rust-objc-sys" ,rust-objc-sys-0.2)))))) + (define-public rust-block2-0.5 (package (name "rust-block2") @@ -119,55 +158,17 @@ extension of blocks.") (("rust-block-sys" ,rust-block-sys-0.1) ("rust-objc2-encode" ,rust-objc2-encode-2)))))) -(define-public rust-block-sys-0.2 - (package - (name "rust-block-sys") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "block-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1rzp0218mwigdmfd5rhmj5h7c1vp0bq0nxaklhsvi8vydrls11df")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Needs to bind to MacOS libraries. - #:cargo-inputs (("rust-objc-sys" ,rust-objc-sys-0.3)))) - (home-page "https://github.com/madsmtm/objc2") - (synopsis "Raw bindings to Apple's C language extension of blocks") - (description "This package contains raw bindings to Apple's C language -extension of blocks.") - (license license:expat))) - -(define-public rust-block-sys-0.1 - (package - (inherit rust-block-sys-0.2) - (name "rust-block-sys") - (version "0.1.0-beta.1") - (source (origin - (method url-fetch) - (uri (crate-uri "block-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ihiar08hk0das4q0ii1gsmql975z3rslli1h13jb44hxr0mg98g")))) - (arguments - `(#:tests? #f ; Tests require gcc-objc. - #:cargo-inputs - (("rust-objc-sys" ,rust-objc-sys-0.2)))))) - (define-public rust-cargo-credential-macos-keychain-0.4 (package (name "rust-cargo-credential-macos-keychain") - (version "0.4.8") + (version "0.4.9") (source (origin (method url-fetch) (uri (crate-uri "cargo-credential-macos-keychain" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mb5ckal65llh7c0p2a3ivwbv8802s9ysrr0wsjn82fj8jv05kla")))) + (base32 "10djgy45fsirckyjjk7m63vfd6fkp9wrjfxznb5rplz1p4y0acfk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4) @@ -179,23 +180,6 @@ extension of blocks.") @code{macOS} keychain.") (license (list license:expat license:asl2.0)))) -(define-public rust-cargo-credential-macos-keychain-0.3 - (package - (inherit rust-cargo-credential-macos-keychain-0.4) - (name "rust-cargo-credential-macos-keychain") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo-credential-macos-keychain" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15i7gq5z6a3896aq2bci9mc9h77g91ziij87c2zhhd91g1pf41rs")))) - (arguments - `(#:cargo-inputs - (("rust-cargo-credential" ,rust-cargo-credential-0.3) - ("rust-security-framework" ,rust-security-framework-2)))))) - (define-public rust-cocoa-0.25 (package (name "rust-cocoa") @@ -401,7 +385,7 @@ extension of blocks.") (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) + (("rust-clippy" ,rust-clippy-0.0.302) ("rust-commoncrypto-sys" ,rust-commoncrypto-sys-0.2)))) (home-page "https://github.com/malept/rust-commoncrypto") (synopsis "Idiomatic Rust wrappers for Mac OS X's CommonCrypto library") @@ -426,7 +410,7 @@ idiomatic wrappers for Mac OS X's CommonCrypto library.") (arguments `(#:skip-build? #t ;requires the Mac OS library #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) + (("rust-clippy" ,rust-clippy-0.0.302) ("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/malept/rust-commoncrypto") (synopsis "FFI bindings to Mac OS X's CommonCrypto library") @@ -435,50 +419,6 @@ library which provides Rust FFI bindings and idiomatic wrappers for Mac OS X's CommonCrypto library.") (license license:expat))) -(define-public rust-coreaudio-rs-0.10 - (package - (name "rust-coreaudio-rs") - (version "0.10.0") - (source (origin - (method url-fetch) - (uri (crate-uri "coreaudio-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "125d4zr3n363ybga4629p41ym7iqjfb2alnwrc1zj7zyxch4p28i")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Only builds for macos or ios. - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-coreaudio-sys" ,rust-coreaudio-sys-0.2)))) - (home-page "https://github.com/RustAudio/coreaudio-rs") - (synopsis "Rust interface for Apple's CoreAudio API") - (description - "This package provides a rust interface for Apple's CoreAudio API.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-coreaudio-sys-0.2 - (package - (name "rust-coreaudio-sys") - (version "0.2.15") - (source (origin - (method url-fetch) - (uri (crate-uri "coreaudio-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1agmf1idf5m08rgkvsdxqni985acmrs629xzlpqgazq54x85h0bz")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; Only builds for macos or ios. - #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)))) - (home-page "https://github.com/RustAudio/coreaudio-sys") - (synopsis - "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen") - (description - "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen.") - (license license:expat))) - (define-public rust-core-foundation-0.10 (package (name "rust-core-foundation") @@ -563,26 +503,6 @@ CommonCrypto library.") ("rust-libc" ,rust-libc-0.2) ("rust-uuid" ,rust-uuid-0.5)))))) -(define-public rust-core-foundation-0.2 - (package - (inherit rust-core-foundation-0.6) - (name "rust-core-foundation") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rvcn7ab5r69wvn7gby745jlpy8pirfywcdxbiypy083s93dggr5")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.2) - ("rust-libc" ,rust-libc-0.2)))))) - (define-public rust-core-foundation-sys-0.8 (package (name "rust-core-foundation-sys") @@ -627,24 +547,6 @@ CommonCrypto library.") (base32 "0fzsw1j9g1x598yhwklg59l15hwzc0pyvs01w9fg2kin4598mjp7")))))) -(define-public rust-core-foundation-sys-0.2 - (package - (inherit rust-core-foundation-sys-0.6) - (name "rust-core-foundation-sys") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "core-foundation-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "13f7f3kblyj6yxcxm74yg84vj9ahaprlc1vgblagmj6bzmzmsnh6")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)))))) - (define-public rust-core-text-20 (package (name "rust-core-text") @@ -688,6 +590,50 @@ CommonCrypto library.") ("rust-foreign-types" ,rust-foreign-types-0.3) ("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-coreaudio-rs-0.10 + (package + (name "rust-coreaudio-rs") + (version "0.10.0") + (source (origin + (method url-fetch) + (uri (crate-uri "coreaudio-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "125d4zr3n363ybga4629p41ym7iqjfb2alnwrc1zj7zyxch4p28i")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Only builds for macos or ios. + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-coreaudio-sys" ,rust-coreaudio-sys-0.2)))) + (home-page "https://github.com/RustAudio/coreaudio-rs") + (synopsis "Rust interface for Apple's CoreAudio API") + (description + "This package provides a rust interface for Apple's CoreAudio API.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-coreaudio-sys-0.2 + (package + (name "rust-coreaudio-sys") + (version "0.2.16") + (source (origin + (method url-fetch) + (uri (crate-uri "coreaudio-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0asnnypbsqzj2lxx4irnmyi9b32sl0vkxb61mj3p5mvp1fm5gs1c")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Only builds for macos or ios. + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.70)))) + (home-page "https://github.com/RustAudio/coreaudio-sys") + (synopsis + "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen") + (description + "Bindings for Apple's CoreAudio frameworks generated via rust-bindgen.") + (license license:expat))) + (define-public rust-dispatch-0.2 (package (name "rust-dispatch") @@ -726,14 +672,14 @@ Central Dispatch.") (define-public rust-fat-macho-0.4 (package (name "rust-fat-macho") - (version "0.4.8") + (version "0.4.9") (source (origin (method url-fetch) (uri (crate-uri "fat-macho" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1pqsjf13pdbhki2sdh70575hwqd18gm3vp8hpir3vl5djgrr6k0d")) + "0idkn366wipv2l757yqfgzgibqc6jvm89gdk9kpgmvf6lv54b72c")) (snippet #~(begin (use-modules (guix build utils)) (delete-file-recursively "tests/fixtures"))))) @@ -741,7 +687,7 @@ Central Dispatch.") (arguments `(#:tests? #f ; Test files removed. #:cargo-inputs - (("rust-goblin" ,rust-goblin-0.8) + (("rust-goblin" ,rust-goblin-0.9) ("rust-llvm-bitcode" ,rust-llvm-bitcode-0.1)))) (home-page "https://github.com/messense/fat-macho-rs.git") (synopsis "Mach-O Fat Binary Reader and Writer") @@ -884,6 +830,31 @@ macOS API for file changes notifications") (description "This package provides bindings to Apple's frameworks.") (license license:expat))) +(define-public rust-mac-notification-sys-0.6 + (package + (name "rust-mac-notification-sys") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mac-notification-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14cgvhb2790fzsilwdw720m2pc2zzk0zcgbjgqbkgahp6x7z7s6w")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ;Requires OSX to build framework "Foundation" + #:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-objc-foundation" ,rust-objc-foundation-0.1) + ("rust-objc-id" ,rust-objc-id-0.1) + ("rust-time" ,rust-time-0.3)))) + (home-page "https://github.com/h4llow3En/mac-notification-sys") + (synopsis "Thin wrapper around macOS Notifications") + (description + "This package provides Thin wrapper around @code{macOS} Notifications.") + (license license:expat))) + (define-public rust-mach-0.3 (package (name "rust-mach") @@ -1126,7 +1097,7 @@ Foundation framework.") `(#:skip-build? #t ; Needs gcc-objc #:cargo-inputs (("rust-cc" ,rust-cc-1)))))) -(define-public rust-objc-test-utils-0.0 +(define-public rust-objc-test-utils-0.0.2 (package (name "rust-objc-test-utils") (version "0.0.2") @@ -1544,6 +1515,28 @@ the Cocoa Foundation framework.") framework.") (license license:expat))) +(define-public rust-objc2-symbols-0.2 + (package + (name "rust-objc2-symbols") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "objc2-symbols" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p04hjkxan18g2b7h9n2n8xxsvazapv2h6mfmmdk06zc7pz4ws0a")))) + (build-system cargo-build-system) + (arguments + ;; Must specify the desired runtime using Cargo features on non-Apple platforms + `(#:skip-build? #t + #:cargo-inputs (("rust-objc2" ,rust-objc2-0.5) + ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)))) + (home-page "https://github.com/madsmtm/objc2") + (synopsis "Bindings to the Symbols framework") + (description "This package Provides Bindings to the Symbols framework.") + (license license:expat))) + (define-public rust-objc2-ui-kit-0.2 (package (name "rust-objc2-ui-kit") @@ -1578,28 +1571,6 @@ framework.") (description "This package provides bindings to the UIKit framework.") (license license:expat))) -(define-public rust-objc2-symbols-0.2 - (package - (name "rust-objc2-symbols") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "objc2-symbols" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1p04hjkxan18g2b7h9n2n8xxsvazapv2h6mfmmdk06zc7pz4ws0a")))) - (build-system cargo-build-system) - (arguments - ;; Must specify the desired runtime using Cargo features on non-Apple platforms - `(#:skip-build? #t - #:cargo-inputs (("rust-objc2" ,rust-objc2-0.5) - ("rust-objc2-foundation" ,rust-objc2-foundation-0.2)))) - (home-page "https://github.com/madsmtm/objc2") - (synopsis "Bindings to the Symbols framework") - (description "This package Provides Bindings to the Symbols framework.") - (license license:expat))) - (define-public rust-objc2-uniform-type-identifiers-0.2 (package (name "rust-objc2-uniform-type-identifiers") @@ -1650,28 +1621,41 @@ framework.") "This package provides bindings to the @code{UserNotifications} framework.") (license license:expat))) -(define-public rust-readkey-0.1 +(define-public rust-security-framework-3 (package - (name "rust-readkey") - (version "0.1.7") + (name "rust-security-framework") + (version "3.1.0") (source (origin (method url-fetch) - (uri (crate-uri "readkey" version)) + (uri (crate-uri "security-framework" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0iiip8bq4yhal5rv6wlws0xgz798blki7s5ly5cmlwm1ssv03m46")))) + (base32 "1g1wq04rb6gsyfawphv5vhmmicbm5l25gsvr05mvng6cpz4zilw1")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/segeljakt/readkey") - (synopsis "Library for finding out if a key is currently pressed on macOS") - (description - "This package provides a very small library for finding out if a key is -currently pressed on macOS.") - (license license:expat))) + (arguments + `(#:tests? #f ; unresolved import `security_framework::secure_transport` + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-core-foundation" ,rust-core-foundation-0.10) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-security-framework-sys" ,rust-security-framework-sys-2)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-hex" ,rust-hex-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.16)))) + (home-page "https://lib.rs/crates/security_framework") + (synopsis "@code{Security.framework} bindings for macOS and iOS") + (description "This package provides @code{Security.framework} bindings for +macOS and iOS.") + (license (list license:expat license:asl2.0)))) (define-public rust-security-framework-2 (package + (inherit rust-security-framework-3) (name "rust-security-framework") (version "2.11.1") (source @@ -1681,7 +1665,6 @@ currently pressed on macOS.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "00ldclwx78dm61v7wkach9lcx76awlrv0fdgjdwch4dmy12j4yw9")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `security_framework::secure_transport` #:cargo-inputs @@ -1697,12 +1680,7 @@ currently pressed on macOS.") ("rust-hex" ,rust-hex-0.4) ("rust-tempdir" ,rust-tempdir-0.3) ("rust-time" ,rust-time-0.3) - ("rust-x509-parser" ,rust-x509-parser-0.16)))) - (home-page "https://lib.rs/crates/security_framework") - (synopsis "@code{Security.framework} bindings for macOS and iOS") - (description "This package provides @code{Security.framework} bindings for -macOS and iOS.") - (license (list license:expat license:asl2.0)))) + ("rust-x509-parser" ,rust-x509-parser-0.16)))))) (define-public rust-security-framework-1 (package @@ -1754,45 +1732,45 @@ macOS and iOS.") (("rust-hex" ,rust-hex-0.4) ("rust-tempdir" ,rust-tempdir-0.3)))))) -(define-public rust-security-framework-0.2 +(define-public rust-security-framework-0.2.4-yanked (package (inherit rust-security-framework-0.3) (name "rust-security-framework") - (version "0.2.4") + (version "0.2.4") ;This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "security-framework" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 - (base32 - "0gw3xxg8yzbjb4ny5cy07gky177c1nbgpxqjsw3hfzpfgrxji9bz")))) + (base32 "0gw3xxg8yzbjb4ny5cy07gky177c1nbgpxqjsw3hfzpfgrxji9bz")))) (arguments - `(#:skip-build? #t ; MacOS specific + `(#:skip-build? #t ;MacOS specific #:cargo-inputs - (("rust-core-foundation" - ,rust-core-foundation-0.6) - ("rust-core-foundation-sys" - ,rust-core-foundation-sys-0.6) + (("rust-core-foundation" ,rust-core-foundation-0.6) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) ("rust-libc" ,rust-libc-0.2) - ("rust-security-framework-sys" - ,rust-security-framework-sys-0.2)) - #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.3) - ("rust-tempdir" ,rust-tempdir-0.3)))))) + ("rust-security-framework-sys" ,rust-security-framework-sys-0.2)) + #:cargo-development-inputs (("rust-hex" ,rust-hex-0.3) + ("rust-tempdir" ,rust-tempdir-0.3)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-security-framework-0.2 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-security-framework" + rust-security-framework-0.2.4-yanked)) (define-public rust-security-framework-sys-2 (package (name "rust-security-framework-sys") - (version "2.12.1") + (version "2.13.0") (source (origin (method url-fetch) (uri (crate-uri "security-framework-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18pafp0bn41bcbm66qrhb3pg4c8dddvc28jdr51mb2y57lqcffgs")))) + (base32 "1mbhagj98y2byhjkr353y1nings01pfa9yk0gxmcb0ydd0vzsqqq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1840,27 +1818,57 @@ macOS and iOS.") `(#:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6)))))) -(define-public rust-security-framework-sys-0.2 +(define-public rust-security-framework-sys-0.2.4-yanked (package (inherit rust-security-framework-sys-0.3) (name "rust-security-framework-sys") - (version "0.2.4") + (version "0.2.4") ;This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "security-framework-sys" version)) + (file-name (string-append name "-" version "-yanked.tar.gz")) + (sha256 + (base32 "07zv0szz2kfy1hn251h0qsq0q9i1zia768d8vzril1g6xarj7mcj")))) + (arguments + `(#:skip-build? #t ;MacOS specific + #:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) + ("rust-libc" ,rust-libc-0.2)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-security-framework-sys-0.2 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-security-framework-sys" + rust-security-framework-sys-0.2.4-yanked)) + +(define-public rust-system-configuration-0.6 + (package + (name "rust-system-configuration") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "system-configuration" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "07zv0szz2kfy1hn251h0qsq0q9i1zia768d8vzril1g6xarj7mcj")))) + (base32 "0sxslml567zm0v8g732314vd2gk9sd3k4xj22xk6p64xir29v1rw")))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; MacOS specific + `(#:skip-build? #t ; struct `sockaddr_in` has no field named `sin_len` #:cargo-inputs - (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.6) - ("rust-libc" ,rust-libc-0.2)))))) + (("rust-bitflags" ,rust-bitflags-2) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-system-configuration-sys" ,rust-system-configuration-sys-0.6)))) + (home-page "https://github.com/mullvad/system-configuration-rs") + (synopsis "Bindings to SystemConfiguration framework for macOS") + (description + "This package provides bindings to the @code{SystemConfiguration} framework +for @code{macOS}.") + (license (list license:expat license:asl2.0)))) (define-public rust-system-configuration-0.5 (package + (inherit rust-system-configuration-0.6) (name "rust-system-configuration") (version "0.5.1") (source @@ -1870,30 +1878,24 @@ macOS and iOS.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1rz0r30xn7fiyqay2dvzfy56cvaa3km74hnbz2d72p97bkf3lfms")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; struct `sockaddr_in` has no field named `sin_len` #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-system-configuration-sys" ,rust-system-configuration-sys-0.5)))) - (home-page "https://github.com/mullvad/system-configuration-rs") - (synopsis "Bindings to SystemConfiguration framework for macOS") - (description - "Bindings to @code{SystemConfiguration} framework for @code{macOS}.") - (license (list license:expat license:asl2.0)))) + ("rust-system-configuration-sys" ,rust-system-configuration-sys-0.5)))))) -(define-public rust-system-configuration-sys-0.5 +(define-public rust-system-configuration-sys-0.6 (package (name "rust-system-configuration-sys") - (version "0.5.0") + (version "0.6.0") (source (origin (method url-fetch) (uri (crate-uri "system-configuration-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jckxvdr37bay3i9v52izgy52dg690x5xfg3hd394sv2xf4b2px7")))) + (base32 "1i5sqrmgy58l4704hibjbl36hclddglh73fb3wx95jnmrq81n7cf")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) @@ -1903,3 +1905,19 @@ macOS and iOS.") (description "Low level bindings to @code{SystemConfiguration} framework for @code{macOS}.") (license (list license:expat license:asl2.0)))) + +(define-public rust-system-configuration-sys-0.5 + (package + (inherit rust-system-configuration-sys-0.6) + (name "rust-system-configuration-sys") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "system-configuration-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jckxvdr37bay3i9v52izgy52dg690x5xfg3hd394sv2xf4b2px7")))) + (arguments + `(#:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-libc" ,rust-libc-0.2)))))) diff --git a/gnu/packages/crates-audio.scm b/gnu/packages/crates-audio.scm new file mode 100644 index 00000000000..61c3e386983 --- /dev/null +++ b/gnu/packages/crates-audio.scm @@ -0,0 +1,1650 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com> +;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2024 Sergio Pastor Pérez <sergio.pastorperez@outlook.es> +;;; Copyright © 2024 Roman Scherer <roman@burningswell.com> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages crates-audio) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (gnu packages) + #:use-module (gnu packages audio) + #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-graphics) + #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-web) + #:use-module (gnu packages crates-windows) + #:use-module (gnu packages linux) + #:use-module (gnu packages llvm) + #:use-module (gnu packages mp3) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pulseaudio)) + +;;; +;;; Please: Try to add new module packages in alphabetic order. +;;; + +(define-public rust-alsa-0.9 + (package + (name "rust-alsa") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "alsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hvxc447bsynyhzhmznw6w2kwbid83p712dls4h1x8w3pavp4xgd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + (list "--" + ;; These try to use the audio interface + "--skip=pcm::drop" + "--skip=pcm::info_from_default" + "--skip=pcm::playback_to_default" + "--skip=pcm::record_from_default" + "--skip=seq::print_seqs" + "--skip=seq::seq_loopback" + "--skip=seq::seq_portsubscribeiter" + "--skip=seq::seq_subscribe" + "--skip=src/pcm.rs - pcm (line 6)") + #:cargo-inputs (("rust-alsa-sys" ,rust-alsa-sys-0.3) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2)))) + (inputs (list alsa-lib)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/diwic/alsa-rs") + (synopsis "Thin and safe wrapper around ALSA") + (description "A thin and safe wrapper around ALSA. Provides APIs for many +parts of ALSA including audio playback, audio recording, HCtl API, raw MIDI and +MIDI sequencer.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-alsa-0.8 + (package + (inherit rust-alsa-0.9) + (name "rust-alsa") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "alsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02pzlq2q8ml28ikvkvm77bwdqmi22d6ak1qvrc0cr6yjb9adwd6f")))) + (arguments + `(#:cargo-test-flags + (list "--release" + ;; Not the doc tests. + "--lib" "--bins" "--tests" "--" + ;; These try to use the audio interface + "--skip=pcm::drop" + "--skip=pcm::info_from_default" + "--skip=pcm::playback_to_default" + "--skip=pcm::record_from_default" + "--skip=seq::print_seqs" + "--skip=seq::seq_loopback" + "--skip=seq::seq_portsubscribeiter" + "--skip=seq::seq_subscribe") + #:cargo-inputs (("rust-alsa-sys" ,rust-alsa-sys-0.3) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.26)))))) + +(define-public rust-alsa-0.7 + (package + (inherit rust-alsa-0.8) + (name "rust-alsa") + (version "0.7.1") + (source (origin + (method url-fetch) + (uri (crate-uri "alsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0iwbdgb6lr81iji9sr4f91mys24pia5avnkgbkv8kxzhvkc2lmp2")))) + (arguments + (list #:cargo-test-flags `(list "--release" + ;; Not the doc tests. + "--lib" "--bins" "--tests" + "--" + ;; These try to use the audio interface + "--skip=pcm::drop" + "--skip=pcm::info_from_default" + "--skip=pcm::playback_to_default" + "--skip=pcm::record_from_default" + "--skip=seq::print_seqs" + "--skip=seq::seq_loopback" + "--skip=seq::seq_portsubscribeiter" + "--skip=seq::seq_subscribe") + #:cargo-inputs `(("rust-alsa-sys" ,rust-alsa-sys-0.3) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.24)))))) + +(define-public rust-alsa-0.6 + (package + (inherit rust-alsa-0.7) + (name "rust-alsa") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (crate-uri "alsa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0szx8finhqbffh08fp3bgh4ywz0b572vcdyh4hwyhrfgw8pza5ar")))) + (arguments + (list #:cargo-test-flags `(list "--release" + ;; Not the doc tests. + "--lib" "--bins" "--tests" + "--" + ;; These try to use the audio interface + "--skip=pcm::drop" + "--skip=pcm::info_from_default" + "--skip=pcm::playback_to_default" + "--skip=pcm::record_from_default" + "--skip=seq::print_seqs" + "--skip=seq::seq_loopback" + "--skip=seq::seq_portsubscribeiter" + "--skip=seq::seq_subscribe") + #:cargo-inputs `(("rust-alsa-sys" ,rust-alsa-sys-0.3) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nix" ,rust-nix-0.23)))))) + +(define-public rust-alsa-sys-0.3 + (package + (name "rust-alsa-sys") + (version "0.3.1") + (source (origin + (method url-fetch) + (uri (crate-uri "alsa-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09qmmnpmlcj23zcgx2xsi4phcgm5i02g9xaf801y7i067mkfx3yv")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f ; doc tests fail + #:cargo-inputs `(("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config alsa-lib)) + (home-page "https://github.com/diwic/alsa-sys") + (synopsis "FFI bindings for the ALSA sound API") + (description + "FFI bindings for the ALSA sound API. This package contains +the code to interact with the underlying operating system ALSA interface.") + (license license:expat))) + +(define-public rust-asio-sys-0.2 + (package + (name "rust-asio-sys") + (version "0.2.1") + (source (origin + (method url-fetch) + (uri (crate-uri "asio-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16lbavksj2aasadyxbdnbrll6a1m8cwl4skbxgbvr1ma2wpwv82c")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #t + #:cargo-inputs `(("rust-bindgen" ,rust-bindgen-0.56) + ("rust-cc" ,rust-cc-1) + ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/RustAudio/cpal/") + (synopsis + "Low-level interface and binding generation for the Steinberg ASIO SDK") + (description + "Low-level interface and binding generation for the Steinberg ASIO SDK.") + (license license:asl2.0))) + +(define-public rust-cpal-0.13 + (package + (name "rust-cpal") + (version "0.13.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "cpal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05j11vz8rw19gqqvpd48i7wvm6j77v8fwx5lwhlkckqjllv7h4bl")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Force cpal-0.13.5 to accept any version of jack, so + ;; that other packages like librespot-playback can use + ;; the one they want. + (substitute* "Cargo.toml.orig" + (("(jack = \\{ version = \").*(\", optional.*)" _ jack optional) + (string-append jack "*" optional)) + ;; Remove path for asio-sys, use packaged crate. + ((", path =.*,") ",")) + (copy-file "Cargo.toml.orig" "Cargo.toml"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-alsa" ,rust-alsa-0.6) + ("rust-asio-sys" ,rust-asio-sys-0.2) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-coreaudio-rs" ,rust-coreaudio-rs-0.10) + ("rust-jack" ,rust-jack-0.8) + ("rust-jni" ,rust-jni-0.19) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-mach" ,rust-mach-0.3) + ("rust-ndk" ,rust-ndk-0.6) + ("rust-ndk-glue" ,rust-ndk-glue-0.6) + ("rust-nix" ,rust-nix-0.23) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-oboe" ,rust-oboe-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-stdweb" ,rust-stdweb-0.1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-3) + ("rust-hound" ,rust-hound-3) + ("rust-ringbuf" ,rust-ringbuf-0.2)))) + (native-inputs (list pkg-config)) + (inputs (list alsa-lib)) + (home-page "https://github.com/rustaudio/cpal") + (synopsis "Low-level cross-platform audio I/O library in pure Rust") + (description "Low-level cross-platform audio I/O library in pure Rust. +Supports Linux through either JACK or ALSA.") + (license license:asl2.0))) + +(define-public rust-jack-0.10 + (package + (name "rust-jack") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "jack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0djs3j0icxbzbivhj73vgjrvjw6ncpfak2vyxjcbn4wvl9ajcwnf")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f + #:cargo-inputs + `(("rust-bitflags" ,rust-bitflags-1) + ("rust-jack-sys" ,rust-jack-sys-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4)) + #:cargo-development-inputs + `(("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)))) + (native-inputs (list pkg-config)) + (inputs (list jack-2)) + (home-page "https://github.com/RustAudio/rust-jack") + (synopsis "Real time audio and midi with JACK") + (description "Real time audio and midi with JACK.") + (license license:expat))) + +(define-public rust-jack-0.8 + (package + (inherit rust-jack-0.10) + (name "rust-jack") + (version "0.8.4") + (source (origin + (method url-fetch) + (uri (crate-uri "jack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0lz10s0n2gy128m65pf96is9ip00vfgvnkfja0y9ydmv24pw2ajx")))) + (arguments + (list #:tests? #f + #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) + ("rust-jack-sys" ,rust-jack-sys-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)))))) + +(define-public rust-jack-sys-0.4 + (package + (name "rust-jack-sys") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "jack-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17vaq4i8q5nx39rjqx9sixqn1xraf1vxs3bmrf618v8nzxchbmz9")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot find value `library` in this scope + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.7) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list jack-2)) + (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys") + (synopsis "Low-level binding to the JACK audio API") + (description "Low-level binding to the JACK audio API.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-jack-sys-0.2 + (package + (inherit rust-jack-sys-0.4) + (name "rust-jack-sys") + (version "0.2.3") + (source (origin + (method url-fetch) + (uri (crate-uri "jack-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h9c9za19nyr1prx77gkia18ia93f73lpyjdiyrvmhhbs79g54bv")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs `(("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libloading" ,rust-libloading-0.6) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + +(define-public rust-lewton-0.10 + (package + (name "rust-lewton") + (version "0.10.2") + (source (origin + (method url-fetch) + (uri (crate-uri "lewton" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c60fn004awg5c3cvx82d6na2pirf0qdz9w3b93mbcdakbglhyvp")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-byteorder" ,rust-byteorder-1) + ("rust-futures" ,rust-futures-0.1) + ("rust-ogg" ,rust-ogg-0.8) + ("rust-tinyvec" ,rust-tinyvec-1) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + `(("rust-alto" ,rust-alto-3) + ("rust-ogg" ,rust-ogg-0.8)))) + (home-page "https://github.com/RustAudio/lewton") + (synopsis "Pure Rust Vorbis decoder") + (description "A pure Rust Vorbis decoder. Vorbis is a free and open +source audio format.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-libpulse-binding-2 + (package + (name "rust-libpulse-binding") + (version "2.28.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libpulse-binding" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zza12f22wf1qs6h71lq1i73aj3kmv3036hqc7qci063vyi5fdgd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libpulse-sys" ,rust-libpulse-sys-1) + ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'set-HOME + (lambda _ (setenv "HOME" "/tmp")))))) + (native-inputs + (list pkg-config)) + (inputs + (list pulseaudio)) + (home-page "https://github.com/jnqnfe/pulse-binding-rust") + (synopsis "Binding for the PulseAudio libpulse library") + (description + "This package provides a Rust language binding for the PulseAudio libpulse +library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-libpulse-simple-binding-2 + (package + (name "rust-libpulse-simple-binding") + (version "2.28.1") + (source (origin + (method url-fetch) + (uri (crate-uri "libpulse-simple-binding" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "139hiksmxrmj8zcdqvswgjnwl1rivh915vg6cl92asizydl6pz85")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libpulse-binding" ,rust-libpulse-binding-2) + ("rust-libpulse-simple-sys" ,rust-libpulse-simple-sys-1) + ("rust-libpulse-sys" ,rust-libpulse-sys-1)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'set-HOME + (lambda _ (setenv "HOME" "/tmp")))))) + (native-inputs (list pkg-config)) + (inputs (list pulseaudio)) + (home-page "https://github.com/jnqnfe/pulse-binding-rust") + (synopsis "Rust language bindings for PulseAudio's libpulse-simple library") + (description + "A Rust language binding for the PulseAudio libpulse-simple library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-libpulse-simple-sys-1 + (package + (name "rust-libpulse-simple-sys") + (version "1.21.1") + (source (origin + (method url-fetch) + (uri (crate-uri "libpulse-simple-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lj13ibdwf69ghy1zlldxq5vsyxi1h13wqpvvh79z2wx36s16rpa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libpulse-sys" ,rust-libpulse-sys-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list pulseaudio)) + (home-page "https://github.com/jnqnfe/pulse-binding-rust") + (synopsis "FFI indings for PulseAudio's libpulse-simple system library") + (description + "FFI bindings for the PulseAudio libpulse-simple system library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-libpulse-sys-1 + (package + (name "rust-libpulse-sys") + (version "1.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libpulse-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16vs0qk6xadckb5qxlrhg0f4jn2zakfd7xih1lk1fb7lzc8f26dw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-winapi" ,rust-winapi-0.3)))) + (native-inputs + (list pkg-config)) + (inputs + (list pulseaudio)) + (home-page "https://github.com/jnqnfe/pulse-binding-rust") + (synopsis "FFI bindings for the PulseAudio") + (description + "This package provides FFI bindings for the PulseAudio libpulse system +library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-librespot-audio-0.4 + (package + (name "rust-librespot-audio") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "librespot-audio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "178djijj7fkg5ca5rhk10rvy9gs797gikvackh5qxsp1al9s6xn1")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-aes-ctr" ,rust-aes-ctr-0.6) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-librespot-core" ,rust-librespot-core-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "The audio fetching logic for Librespot") + (description + "Part of Librespot, an open source client library for Spotify. This +package contains the audio fetching logic.") + (license license:expat))) + +(define-public rust-librespot-connect-0.4 + (package + (name "rust-librespot-connect") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "librespot-connect" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1v6k20173hx27g34d24vkb4a67av7dbr3mfmng64b51y8imgpyjg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-librespot-core" ,rust-librespot-core-0.4) + ("rust-librespot-discovery" ,rust-librespot-discovery-0.4) + ("rust-librespot-playback" ,rust-librespot-playback-0.4) + ("rust-librespot-protocol" ,rust-librespot-protocol-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-protobuf" ,rust-protobuf-2) + ("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-stream" ,rust-tokio-stream-0.1)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "Discovery and Spotify Connect logic for Librespot") + (description + "Librespot is an open source client library for Spotify. This package +contains the discovery and Spotify Connect logic.") + (license license:expat))) + +(define-public rust-librespot-core-0.4 + (package + (name "rust-librespot-core") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "librespot-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vaxnnlnsx8bmphiikm4kb99795jch0xxifr0azl9rl8b3r4jqq4")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-test-flags + ``("--release" "--" + "--skip=test_connection" + "--skip=test_apresolve" + "--skip=test_apresolve_port_443") + #:cargo-inputs + `(("rust-aes" ,rust-aes-0.6) + ("rust-base64" ,rust-base64-0.13) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-http" ,rust-http-0.2) + ("rust-httparse" ,rust-httparse-1) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-proxy" ,rust-hyper-proxy-0.9) + ("rust-librespot-protocol" ,rust-librespot-protocol-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pbkdf2" ,rust-pbkdf2-0.8) + ("rust-priority-queue" ,rust-priority-queue-1) + ("rust-protobuf" ,rust-protobuf-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha-1" ,rust-sha-1-0.10) + ("rust-shannon" ,rust-shannon-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1) + ("rust-vergen" ,rust-vergen-3)) + #:cargo-development-inputs + `(("rust-env-logger" ,rust-env-logger-0.9) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "The core functionality provided by librespot") + (description + "Part of Librespot, an open source client library for +Spotify. This package contains core functionality, such as authentication, +channel and session.") + (license license:expat))) + +(define-public rust-librespot-discovery-0.4 + (package + (name "rust-librespot-discovery") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "librespot-discovery" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01igbv0xf3vj046jvblbr09cgmv25mlfajyb2903cl31iz8pga1a")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-aes-ctr" ,rust-aes-ctr-0.6) + ("rust-base64" ,rust-base64-0.13) + ("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-libmdns" ,rust-libmdns-0.7) + ("rust-librespot-core" ,rust-librespot-core-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-dns-sd" ,rust-dns-sd-0.1)) + #:cargo-development-inputs + `(("rust-futures" ,rust-futures-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-simple-logger" ,rust-simple-logger-2) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "The discovery logic of Librespot") + (description "Part of Librespot, an open source client library for +Spotify. This package contains the discovery logic.") + (license license:expat))) + +(define-public rust-librespot-metadata-0.4 + (package + (name "rust-librespot-metadata") + (version "0.4.2") + (source (origin + (method url-fetch) + (uri (crate-uri "librespot-metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "07626b84cghd3jabdvyqhn1v0lax9p1hhz6ldw2r4l6brcgkd03b")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-async-trait" ,rust-async-trait-0.1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-librespot-core" ,rust-librespot-core-0.4) + ("rust-librespot-protocol" ,rust-librespot-protocol-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-protobuf" ,rust-protobuf-2)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "The metadata elements of Librespot") + (description "Part of Librespot, an open source client library for +Spotify. This package contains the metadata logic.") + (license license:expat))) + +(define-public rust-librespot-playback-0.4 + (package + (name "rust-librespot-playback") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "librespot-playback" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dygnzldvkv1qpagr9nl62hmqh0xfcf4lsva37j0xxy7pjws142i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-alsa" ,rust-alsa-0.6) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-cpal" ,rust-cpal-0.13) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-glib" ,rust-glib-0.15) + ("rust-gstreamer" ,rust-gstreamer-0.18) + ("rust-gstreamer-app" ,rust-gstreamer-app-0.18) + ("rust-gstreamer-audio" ,rust-gstreamer-audio-0.18) + ("rust-jack" ,rust-jack-0.10) + ("rust-lewton" ,rust-lewton-0.10) + ("rust-libpulse-binding" ,rust-libpulse-binding-2) + ("rust-libpulse-simple-binding" ,rust-libpulse-simple-binding-2) + ("rust-librespot-audio" ,rust-librespot-audio-0.4) + ("rust-librespot-core" ,rust-librespot-core-0.4) + ("rust-librespot-metadata" ,rust-librespot-metadata-0.4) + ("rust-log" ,rust-log-0.4) + ("rust-ogg" ,rust-ogg-0.8) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-portaudio-rs" ,rust-portaudio-rs-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rodio" ,rust-rodio-0.15) + ("rust-sdl2" ,rust-sdl2-0.35) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-zerocopy" ,rust-zerocopy-0.6)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "Audio playback for Librespot") + (description "Audio playback for Librespot, an open source client +library for Spotify.") + (license license:expat))) + +(define-public rust-librespot-protocol-0.4 + (package + (name "rust-librespot-protocol") + (version "0.4.2") + (source (origin + (method url-fetch) + (uri (crate-uri "librespot-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17xkvhlxfkjh1z79pvq22nrxi99hcxnzafg0pdkymh3a3733lvax")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs + `(("rust-protobuf" ,rust-protobuf-2) + ("rust-glob" ,rust-glob-0.3) + ("rust-protobuf-codegen-pure" ,rust-protobuf-codegen-pure-2)))) + (home-page "https://github.com/librespot-org/librespot") + (synopsis "The protobuf logic for communicating with Spotify servers") + (description "Part of Librespot, an open source, Spotify client library. +This package contains the protobuf logic.") + (license license:expat))) + +(define-public rust-lv2-0.6 + (package + (name "rust-lv2") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xh4hjfh2w5rhzbk0g9845k25f6fxrv7xqpkr09p0x57b200qc41")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lv2-atom" ,rust-lv2-atom-2) + ("rust-lv2-core" ,rust-lv2-core-3) + ("rust-lv2-midi" ,rust-lv2-midi-1) + ("rust-lv2-state" ,rust-lv2-state-2) + ("rust-lv2-sys" ,rust-lv2-sys-2) + ("rust-lv2-time" ,rust-lv2-time-0.1) + ("rust-lv2-units" ,rust-lv2-units-0.1) + ("rust-lv2-urid" ,rust-lv2-urid-2) + ("rust-lv2-worker" ,rust-lv2-worker-0.1) + ("rust-urid" ,rust-urid-0.1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Safe, fast, and ergonomic framework to create LV2 plugins in Rust") + (description "This package provides a safe, fast, and ergonomic framework +to create LV2 plugins in Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-atom-2 + (package + (name "rust-lv2-atom") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-atom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wd9rgsn8sag8wyhjccmnn82gx4w1yyiav52nyvk579l21xlw6wm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lv2-core" ,rust-lv2-core-3) + ("rust-lv2-sys" ,rust-lv2-sys-2) + ("rust-lv2-units" ,rust-lv2-units-0.1) + ("rust-urid" ,rust-urid-0.1)) + #:cargo-development-inputs (("rust-lv2-urid" ,rust-lv2-urid-2)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Rust LV2 Atom handling library") + (description "This package provides a Rust LV2 Atom handling library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-core-3 + (package + (name "rust-lv2-core") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pj9l15zwqwj2h83f3xfpwxsj70vvhkw52gyzkljafvrbx1h00fm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lv2-core-derive" ,rust-lv2-core-derive-2) + ("rust-lv2-sys" ,rust-lv2-sys-2) + ("rust-urid" ,rust-urid-0.1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Rust LV2 core library") + (description "This package provides the Rust LV2 core library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-core-derive-2 + (package + (name "rust-lv2-core-derive") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-core-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12w3l41jzargrcywz13hbmaazfw4ix2sljl3601h6jfbdrw8zybv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Procedural macros for lv2-core") + (description "This package provides Procedural macros for lv2-core.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-midi-1 + (package + (name "rust-lv2-midi") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-midi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x0glbrfri1glgcrmvc6i1jfv6azhpqvp4ibk5cihsq3s2yfc8xd")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `wmidi` + #:cargo-inputs (("rust-lv2-atom" ,rust-lv2-atom-2) + ("rust-lv2-sys" ,rust-lv2-sys-2) + ("rust-urid" ,rust-urid-0.1) + ("rust-wmidi" ,rust-wmidi-3)) + #:cargo-development-inputs (("rust-lv2-core" ,rust-lv2-core-3) + ("rust-lv2-units" ,rust-lv2-units-0.1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Rust LV2 MIDI processing library") + (description "This package provides a Rust LV2 MIDI processing library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-state-2 + (package + (name "rust-lv2-state") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-state" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nm0fc7cb4rkmfsvvr4xbac4qf0j7wl2gws3qrcflx057i2lpsb5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lv2-atom" ,rust-lv2-atom-2) + ("rust-lv2-core" ,rust-lv2-core-3) + ("rust-lv2-sys" ,rust-lv2-sys-2) + ("rust-urid" ,rust-urid-0.1)) + #:cargo-development-inputs (("rust-lv2-urid" ,rust-lv2-urid-2) + ("rust-mktemp" ,rust-mktemp-0.4)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Rust LV2 state handling library") + (description "This package provides a Rust LV2 state handling library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-sys-2 + (package + (name "rust-lv2-sys") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c4f59mrjyy0z0wf033wp648df0sc6zirrcd6kndqj9nvvkzkl4x")))) + (build-system cargo-build-system) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Rust LV2 C header bindings") + (description "This package provides Rust LV2 C header bindings.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-time-0.1 + (package + (name "rust-lv2-time") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-time" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wznk17vvn5dph6r47vjwmf7g98pb6ij2fdhizdk95sf2qvkf82c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lv2-sys" ,rust-lv2-sys-2) + ("rust-urid" ,rust-urid-0.1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Rust LV2 wrapper for LV2 time types") + (description "This package provides a Rust LV2 wrapper for LV2 time types.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-units-0.1 + (package + (name "rust-lv2-units") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-units" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fdamp3hxdr36hqi1j6y01rz1x17if1ibzr7rr4nrabidw74gf82")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lv2-sys" ,rust-lv2-sys-2) + ("rust-urid" ,rust-urid-0.1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Rust LV2 wrapper of LV2 unit types") + (description "This package provides a Rust LV2 wrapper of LV2 unit types.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-urid-2 + (package + (name "rust-lv2-urid") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-urid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s2fcb0nyn54ml6azkbhnnxghy898x1q5vs5qgdznrhy9m20624c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lv2-core" ,rust-lv2-core-3) + ("rust-lv2-sys" ,rust-lv2-sys-2) + ("rust-urid" ,rust-urid-0.1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Rust LV2 URID handling library") + (description "This package provides a LV2 URID handling library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lv2-worker-0.1 + (package + (name "rust-lv2-worker") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "lv2-worker" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14crsrnjyarra9ipma6lhaj4gpfadvippzr134nkn0z3y30ip4fj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests panic + #:cargo-inputs (("rust-lv2-core" ,rust-lv2-core-3) + ("rust-lv2-sys" ,rust-lv2-sys-2) + ("rust-urid" ,rust-urid-0.1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Rust LV2 work offloading library") + (description "This package provides a Rust LV2 work offloading library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-minimp3-0.5 + (package + (name "rust-minimp3") + (version "0.5.1") + (source (origin + (method url-fetch) + (uri (crate-uri "minimp3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wj3nzj1swnvwsk3a4a3hkfj1d21jsi7babi40wlrxzbbzvkhm4q")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; no method named `next_frame_future` found for struct `Decoder` + #:cargo-inputs (("rust-minimp3-sys" ,rust-minimp3-sys-0.3) + ("rust-slice-deque" ,rust-slice-deque-0.3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/germangb/minimp3-rs") + (synopsis "Rust bindings for the minimp3 library") + (description "Rust bindings for the minimp3 library.") + (license license:expat))) + +(define-public rust-minimp3-sys-0.3 + (package + (name "rust-minimp3-sys") + (version "0.3.2") + (source (origin + (method url-fetch) + (uri (crate-uri "minimp3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "144vmf3s89kad0smjprzigcp2c9r5dm95n4ydilrbp399irp6772")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (native-inputs (list pkg-config)) + (inputs (list minimp3)) + (home-page "https://github.com/germangb/minimp3-rs") + (synopsis "Rust bindings for the minimp3 library") + (description "Rust bindings for the minimp3 library.") + (license license:expat))) + +(define-public rust-oboe-0.4 + (package + (name "rust-oboe") + (version "0.4.6") + (source (origin + (method url-fetch) + (uri (crate-uri "oboe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hd5626s8qkpgrl2alwz73i8rh1rzifbxj6pxz7zp82gicskrxi7")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #t ; requires Android libs + #:cargo-inputs `(("rust-jni" ,rust-jni-0.19) + ("rust-ndk" ,rust-ndk-0.6) + ("rust-ndk-context" ,rust-ndk-context-0.1) + ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-oboe-sys" ,rust-oboe-sys-0.4)))) + (home-page "https://github.com/katyo/oboe-rs") + (synopsis + "Safe interface for oboe an android library for low latency audio IO") + (description + "Safe interface for oboe an android library for low latency audio IO.") + (license license:asl2.0))) + +(define-public rust-oboe-sys-0.4 + (package + (name "rust-oboe-sys") + (version "0.4.5") + (source (origin + (method url-fetch) + (uri (crate-uri "oboe-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gcl494yy880h2gfgsbdd32g2h0s1n94v58j5hil9mrf6yvsnw1k")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #t ; requires Android libs + #:cargo-inputs `(("rust-bindgen" ,rust-bindgen-0.59) + ("rust-cc" ,rust-cc-1) + ("rust-fetch-unroll" ,rust-fetch-unroll-0.3)))) + (home-page "https://github.com/katyo/oboe-rs") + (synopsis + "Unsafe bindings for oboe an android library for low latency audio IO") + (description + "Unsafe bindings for oboe an android library for low latency audio IO.") + (license license:asl2.0))) + +(define-public rust-ogg-0.8 + (package + (name "rust-ogg") + (version "0.8.0") + (source (origin + (method url-fetch) + (uri (crate-uri "ogg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vjxmqcv9252aj8byy70iy2krqfjknfcxg11lcyikj11pzlb8lb9")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + `(("rust-rand" ,rust-rand-0.3)))) + (home-page "https://github.com/RustAudio/ogg") + (synopsis "Ogg container decoder and encoder written in pure Rust") + (description "An Ogg decoder and encoder. Implements the xiph.org Ogg +spec in pure Rust.") + (license license:expat))) + +(define-public rust-pipewire-0.7 + (package + (name "rust-pipewire") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pipewire" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sg9cbvhp0s07a337zwli0xm40f8wkvm06d72nsr1s35vp40kl52")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-libspa" ,rust-libspa-0.7) + ("rust-libspa-sys" ,rust-libspa-sys-0.7) + ("rust-nix" ,rust-nix-0.26) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pipewire-sys" ,rust-pipewire-sys-0.7) + ("rust-thiserror" ,rust-thiserror-1)))) + (native-inputs + (list pkg-config)) + (inputs + (list pipewire clang)) + (home-page "https://pipewire.org") + (synopsis "Rust bindings for PipeWire") + (description "This package provides Rust bindings for @code{PipeWire}.") + (license license:expat))) + +(define-public rust-pipewire-sys-0.7 + (package + (name "rust-pipewire-sys") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pipewire-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r4z0farzflycgfp6x7z65h57np4l1qnpj4r8z5lcwkkgd70h349")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) + ("rust-libspa-sys" ,rust-libspa-sys-0.7) + ("rust-system-deps" ,rust-system-deps-6)))) + (native-inputs + (list pkg-config clang)) + (inputs + (list pipewire)) + (home-page "https://pipewire.org") + (synopsis "Rust FFI bindings for PipeWire") + (description + "This package provides Rust FFI bindings for @code{PipeWire}.") + (license license:expat))) + +(define-public rust-portaudio-rs-0.3 + (package + (name "rust-portaudio-rs") + (version "0.3.2") + (source (origin + (method url-fetch) + (uri (crate-uri "portaudio-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0qnmc7amk0fzbcs985ixv0k4955f0fmpkhrl9ps9pk3cz7pvbdnd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-portaudio-sys" ,rust-portaudio-sys-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list portaudio alsa-lib)) + (home-page "https://github.com/RustAudio/rust-portaudio") + (synopsis "Rust bindings for PortAudio a cross-platfomr audio library") + (description "Rusting bindings for PortAudio an open source, cross-platform +audio I/O library.") + (license license:expat))) + +(define-public rust-portaudio-sys-0.1 + (package + (name "rust-portaudio-sys") + (version "0.1.1") + (source (origin + (method url-fetch) + (uri (crate-uri "portaudio-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xdpywirpr1kqkbak7hnny62gmsc93qgc3ij3j2zskrvjpxa952i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list portaudio alsa-lib)) + (home-page "https://github.com/RustAudio/rust-portaudio") + (synopsis "Bindings for PortAudio a cross-platform audio library") + (description "Bindings for PortAudio an open source, cross-platform audio +I/O library.") + (license license:expat))) + +(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-symphonia-0.4 + (package + (name "rust-symphonia") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dx4v5libbksi4rd6b9290nci3h8xqyakymhxd72yybyl25g7rd7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-symphonia-bundle-flac" ,rust-symphonia-bundle-flac-0.4) + ("rust-symphonia-bundle-mp3" ,rust-symphonia-bundle-mp3-0.4) + ("rust-symphonia-codec-aac" ,rust-symphonia-codec-aac-0.4) + ("rust-symphonia-codec-pcm" ,rust-symphonia-codec-pcm-0.4) + ("rust-symphonia-codec-vorbis" ,rust-symphonia-codec-vorbis-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4) + ("rust-symphonia-format-isomp4" ,rust-symphonia-format-isomp4-0.4) + ("rust-symphonia-format-ogg" ,rust-symphonia-format-ogg-0.4) + ("rust-symphonia-format-wav" ,rust-symphonia-format-wav-0.4) + ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis + "Symphonia is a pure Rust media container and audio decoding library") + (description + "Symphonia is a pure Rust media container and audio decoding library +that supports a wide range of audio formats.") + (license license:mpl2.0))) + +(define-public rust-symphonia-bundle-flac-0.4 + (package + (name "rust-symphonia-bundle-flac") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-bundle-flac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00jxn9izfg1g07srhgglpqgadmzwsr88sqnnxw3mskpvyl958vhi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4) + ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4) + ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "FLAC demuxer and decoder for the Symphonia library") + (description + "Symphonia is a pure Rust audio decoding and media demuxing library +supporting a wide range of audio formats. This package contains a FLAC demuxer +and decoder.") + (license license:mpl2.0))) + +(define-public rust-symphonia-bundle-mp3-0.4 + (package + (name "rust-symphonia-bundle-mp3") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-bundle-mp3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14074njhgrcgh2p5iryrd68mgdzcxf9v7p8xfm8ldkhylv29fkgc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4) + ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "MP1, MP2, and MP3 demuxers and decoders written in pure Rust") + (description + "Symphonia is a pure Rust audio decoding and media demuxing library +supporting a wide range of aduio formats. This package contains support for +MP1, MP2 and MP3.") + (license license:mpl2.0))) + +(define-public rust-symphonia-codec-aac-0.4 + (package + (name "rust-symphonia-codec-aac") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-codec-aac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13smaxgb1jadl4jyay7hixqgwaiqrjvsvmzdvlbdzdxrgsrplgdx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "Pure Rust AAC decoder from Symphonia") + (description + "Symphonia is a pure Rust audio decoding and media demuxing library +that supports a wide range of audio formats. This package contains an AAC +decoder.") + (license license:mpl2.0))) + +(define-public rust-symphonia-codec-pcm-0.4 + (package + (name "rust-symphonia-codec-pcm") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-codec-pcm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1is49qjnfy541zpgzz498hnpz0nsq7i4nfky2133b6aqhxrm87ds")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "Pure Rust PCM audio decoder, part of Symphonia") + (description + "Symphonia is a pure Rust audio decoding and media demuxing library +that supports a wide range of audio formats. This package contains a +@acronym{PCM, Pulse-Code Modulation} audio decoder.") + (license license:mpl2.0))) + +(define-public rust-symphonia-codec-vorbis-0.4 + (package + (name "rust-symphonia-codec-vorbis") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-codec-vorbis" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yj1si92fnnzdfkw27cq324h6y1s958s8r2hl0szpvvqh1sdd7m2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4) + ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "Pure Rust Vorbis decoder, part of the Symphonia project") + (description + "Symphonia is a pure Rust audio decoding and media demuxing library +that supports a wide range of audio formats. This package is a Vorbis +decoder.") + (license license:mpl2.0))) + +(define-public rust-symphonia-core-0.4 + (package + (name "rust-symphonia-core") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j84q4a9p9qa23976spxap9s6ns3fm6fzrfz65n6cjhgpsbmw4zs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "Shared elements for Symphonia a Rust audio library") + (description + "Symphonia is a pure Rust audio decoding and media demuxing +library supporting a wide range of audio formats. This package contains +shared structs, traits, and features.") + (license license:mpl2.0))) + +(define-public rust-symphonia-format-isomp4-0.4 + (package + (name "rust-symphonia-format-isomp4") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-format-isomp4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dap5yh286j74sybjsam378v1jxkpdl3hvvm81sipv7725vkmvpy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4) + ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "Rust ISO/MP4 demuxer from the Symphonia project") + (description + "Symphonia is a pure Rust audio decoding and media demuxing library +that supports a wide range of audio formats. This package contains an +ISO/MP4 demuxer.") + (license license:mpl2.0))) + +(define-public rust-symphonia-format-ogg-0.4 + (package + (name "rust-symphonia-format-ogg") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-format-ogg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06d5327m4yk8a6yq7zzyiv2sbkwnjq28dz9cagndz6m7i1r3bcnp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4) + ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4) + ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "Pure Rust OGG demuxer, part of Symphonia") + (description + "Symphonia is a pure Rust decoding and media demuxing library that +supports a wide range of audio formats. This package is an OGG demuxer.") + (license license:mpl2.0))) + +(define-public rust-symphonia-format-wav-0.4 + (package + (name "rust-symphonia-format-wav") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-format-wav" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b8x213s44xis4pb1ibnqr1a20hsxf3phm527dvadpi0nkjsb7vd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4) + ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "Rust WAV demuxer from the Symphonia project") + (description + "Symphonia is a pure Rust decoding and media demuxing library that +supports a wide range of audio formats. This package is a WAV demuxer.") + (license license:mpl2.0))) + +(define-public rust-symphonia-metadata-0.4 + (package + (name "rust-symphonia-metadata") + (version "0.4.0") + (source (origin + (method url-fetch) + (uri (crate-uri "symphonia-metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06lvwy24kirc84r6d23ncad544525fsb6gna0plqz3d1mffmjq2j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-symphonia-core" ,rust-symphonia-core-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "Multimedia tag and metadata readers for the Symphonia library") + (description "Symphonia is a pure Rust audio decoding and media demuxing +library supporting a wide range of audio formats. This package contains +multimedia tag and metadata readers.") + (license license:mpl2.0))) + +(define-public rust-symphonia-utils-xiph-0.4 + (package + (name "rust-symphonia-utils-xiph") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "symphonia-utils-xiph" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sg1y7s607rk1akrrzyhdsqimiwwaw440jzr1cp89zs8d5n04dva")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-symphonia-core" ,rust-symphonia-core-0.4) + ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) + (home-page "https://github.com/pdeljanov/Symphonia") + (synopsis "Xiph codecs and formats for Rust's Symphonia") + (description + "Symphonia is a pure Rust audio decoding and media demuxing +library that supports a wide range of audio formats. This package contains Xiph +codecs and formats.") + (license license:mpl2.0))) + +(define-public rust-urid-0.1 + (package + (name "rust-urid") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "urid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "195672gs136vczn1r4hkjg5vfa7vdzr26bzv6lwhk0z7cvbvaa38")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-urid-derive" ,rust-urid-derive-0.1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Library for idiomatic URID support") + (description "This package provides Library for idiomatic URID support.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-urid-derive-0.1 + (package + (name "rust-urid-derive") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "urid-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i1nf0sgq4ai051h17s9msaavl3jfzdmdlsy8455pr88y0pfx7l1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/RustAudio/rust-lv2") + (synopsis "Procedural macros for urid") + (description "This package provides procedural macros for urid.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-wmidi-3 + (package + (name "rust-wmidi") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wmidi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kxnbs18nmpzm2hfwaaa5h2s77cmk5w53srzxqmrqlkdpdcrjafa")))) + (build-system cargo-build-system) + (home-page "https://github.com/RustAudio/wmidi") + (synopsis "Midi parsing library") + (description "This package provides a Midi parsing library.") + (license license:expat))) + +;;; +;;; Avoid adding new packages to the end of this file. To reduce the chances +;;; of a merge conflict, place them above by existing packages with similar +;;; functionality or similar names. +;;; diff --git a/gnu/packages/crates-check.scm b/gnu/packages/crates-check.scm new file mode 100644 index 00000000000..3d02f5421b5 --- /dev/null +++ b/gnu/packages/crates-check.scm @@ -0,0 +1,820 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 John Soo <jsoo1@asu.edu> +;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2020, 2022-2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> +;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2022 Marius Bakke <marius@gnu.org> +;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> +;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org> +;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +;;; +;;; Please: Try to add new module packages in alphabetic order. +;;; + +(define-module (gnu packages crates-check) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (gnu packages crates-io)) + +(define-public rust-criterion-0.5 + (package + (name "rust-criterion") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "criterion" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bv9ipygam3z8kk6k771gh9zi0j0lb9ir0xi1pc075ljg80jvcgj")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anes" ,rust-anes-0.1) + ("rust-async-std" ,rust-async-std-1) + ("rust-cast" ,rust-cast-0.3) + ("rust-ciborium" ,rust-ciborium-0.2) + ("rust-clap" ,rust-clap-4) + ("rust-criterion-plot" ,rust-criterion-plot-0.5) + ("rust-csv" ,rust-csv-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-oorandom" ,rust-oorandom-11) + ("rust-plotters" ,rust-plotters-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smol" ,rust-smol-1) + ("rust-tinytemplate" ,rust-tinytemplate-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs + (("rust-approx" ,rust-approx-0.5) + ("rust-futures" ,rust-futures-0.3) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://bheisler.github.io/criterion.rs/book/index.html") + (synopsis "Statistics-driven micro-benchmarking library") + (description + "This package provides a statistics-driven micro-benchmarking library.") + ;; The user can choose either license. + (license (list license:asl2.0 license:expat)))) + +(define-public rust-criterion-0.4 + (package + (inherit rust-criterion-0.5) + (name "rust-criterion") + (version "0.4.0") + (source (origin + (method url-fetch) + (uri (crate-uri "criterion" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jsl4r0yc3fpkyjbi8aa1jrm69apqq9rxwnjnd9brqmaq44nxiz7")))) + (arguments + `(#:cargo-inputs + (("rust-anes" ,rust-anes-0.1) + ("rust-async-std" ,rust-async-std-1) + ("rust-atty" ,rust-atty-0.2) + ("rust-cast" ,rust-cast-0.3) + ("rust-ciborium" ,rust-ciborium-0.2) + ("rust-clap" ,rust-clap-3) + ("rust-criterion-plot" ,rust-criterion-plot-0.5) + ("rust-csv" ,rust-csv-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-oorandom" ,rust-oorandom-11) + ("rust-plotters" ,rust-plotters-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smol" ,rust-smol-1) + ("rust-tinytemplate" ,rust-tinytemplate-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs + (("rust-approx" ,rust-approx-0.5) + ("rust-futures" ,rust-futures-0.3) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-criterion-0.3 + (package + (inherit rust-criterion-0.4) + (name "rust-criterion") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "criterion" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13yd64ah93gkbdv7qq4cr6rhgl9979jjcjk3gkhnav1b7glns7dh")))) + (arguments + `(#:cargo-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-atty" ,rust-atty-0.2) + ("rust-cast" ,rust-cast-0.3) + ("rust-clap" ,rust-clap-2) + ("rust-criterion-plot" ,rust-criterion-plot-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-oorandom" ,rust-oorandom-11) + ("rust-plotters" ,rust-plotters-0.3) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-cbor" ,rust-serde-cbor-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smol" ,rust-smol-1) + ("rust-tinytemplate" ,rust-tinytemplate-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs + (("rust-approx" ,rust-approx-0.5) + ("rust-futures" ,rust-futures-0.3) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-criterion-0.2 + (package + (inherit rust-criterion-0.3) + (name "rust-criterion") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "criterion" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1543wlpc4p1kz7sqqa7ylr8bkdr8l4f34hy4bxj7krpkahwhaqq3")))) + (arguments + `(#:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-cast" ,rust-cast-0.2) + ("rust-clap" ,rust-clap-2) + ("rust-criterion-plot" ,rust-criterion-plot-0.3) + ("rust-csv" ,rust-csv-1) + ("rust-itertools" ,rust-itertools-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rand-core" ,rust-rand-core-0.3) + ("rust-rand-os" ,rust-rand-os-0.1) + ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rayon-core" ,rust-rayon-core-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tinytemplate" ,rust-tinytemplate-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs + (("rust-approx" ,rust-approx-0.3) + ("rust-quickcheck" ,rust-quickcheck-0.8) + ("rust-rand" ,rust-rand-0.6) + ("rust-tempdir" ,rust-tempdir-0.3)))))) + +(define-public rust-criterion-cycles-per-byte-0.1 + (package + (name "rust-criterion-cycles-per-byte") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "criterion-cycles-per-byte" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15iw8zvyilx6k3a7z79vpzmpm6kkyds4c1ng3jlwfc43axd4hd4d")))) + (build-system cargo-build-system) + (arguments + ;; error: criterion-cycles-per-byte currently relies on x86 or x86_64 + `(#:skip-build? ,(not (target-x86?)) + #:cargo-inputs + (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://crates.io/crates/criterion-cycles-per-byte") + (synopsis "Measure time with CPU cycles for criterion") + (description "This package lets you measure time with CPU cycles for +criterion.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-criterion-plot-0.5 + (package + (name "rust-criterion-plot") + (version "0.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "criterion-plot" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1c866xkjqqhzg4cjvg01f8w6xc1j3j7s58rdksl52skq89iq4l3b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-itertool-num" ,rust-itertools-num-0.1) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-rand" ,rust-rand-0.8)) + #:cargo-inputs + (("rust-cast" ,rust-cast-0.3) + ("rust-itertools" ,rust-itertools-0.10)))) + (home-page "https://github.com/bheisler/criterion.rs") + (synopsis "Criterion's plotting library") + (description "This package provides criterion's plotting library.") + ;; The user can choose either license. + (license (list license:expat license:asl2.0)))) + +(define-public rust-criterion-plot-0.4 + (package + (inherit rust-criterion-plot-0.5) + (name "rust-criterion-plot") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "criterion-plot" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mys2zkizh5az6ax77m5aqifk0vz35rn0a6wykvmjx9gkzg9c2fh")))) + (arguments + `(#:cargo-inputs + (("rust-cast" ,rust-cast-0.2) + ("rust-itertools" ,rust-itertools-0.10)) + #:cargo-development-inputs + (("rust-itertools-num" ,rust-itertools-num-0.1) + ("rust-num-complex" ,rust-num-complex-0.2) + ("rust-rand" ,rust-rand-0.4)))))) + +(define-public rust-criterion-plot-0.3 + (package + (inherit rust-criterion-plot-0.4) + (name "rust-criterion-plot") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "criterion-plot" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13pv09z4ryp70qyzablkibwa2mh6c2852qq1sjr9wjigvwnj3ybn")))) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-cast" ,rust-cast-0.2) + ("rust-itertools" ,rust-itertools-0.8)) + #:cargo-development-inputs + (("rust-itertools-num" ,rust-itertools-num-0.1) + ("rust-num-complex" ,rust-num-complex-0.2) + ("rust-rand" ,rust-rand-0.4)))))) + +(define-public rust-mark-flaky-tests-1 + (package + (name "rust-mark-flaky-tests") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mark-flaky-tests" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c29bflpb5aawl5vzcai2rhvphskvh7gdr5v9sq52lx0jmy4lv2q")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-mark-flaky-tests-macro" ,rust-mark-flaky-tests-macro-1)) + #:cargo-development-inputs (("rust-paste" ,rust-paste-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/GoldsteinE/mark-flaky-tests/") + (synopsis "Mark, debug and auto-retry your flaky tests") + (description + "This package provides a way to mark, debug and auto-retry your flaky tests.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-mark-flaky-tests-macro-1 + (package + (name "rust-mark-flaky-tests-macro") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "mark-flaky-tests-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "115bb0pb4vb8pwm6lblcnc6zxxlk6w654njiphp696dj2vyiz2q7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/GoldsteinE/mark-flaky-tests/") + (synopsis "Mark, debug and auto-retry your flaky tests (proc-macro crate)") + (description + "This package provides a way to mark, debug and auto-retry your flaky tests +(proc-macro crate).") + (license (list license:expat license:asl2.0)))) + +(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 + (method url-fetch) + (uri (crate-uri "mock_instant" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vg0kmz96zazjdq57l57nm24mc2in57y090ywcq827xq8fi2jzki")))) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) + +(define-public rust-mockall-0.13 + (package + (name "rust-mockall") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "mockall" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lir70dd9cnsjlf20gi3i51ha9n7mlrkx74bx5gfszlcdk6bz9ir")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-downcast" ,rust-downcast-0.11) + ("rust-fragile" ,rust-fragile-2) + ("rust-mockall-derive" ,rust-mockall-derive-0.13) + ("rust-predicates" ,rust-predicates-3) + ("rust-predicates-tree" ,rust-predicates-tree-1)) + #:cargo-development-inputs (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-auto-enums" ,rust-auto-enums-0.8) + ("rust-futures" ,rust-futures-0.3) + ("rust-mockall-double" ,rust-mockall-double-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/asomers/mockall") + (synopsis "Powerful mock object library for Rust") + (description + "This package provides a powerful mock object library for Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-mockall-0.11 + (package + (inherit rust-mockall-0.13) + (name "rust-mockall") + (version "0.11.4") + (source (origin + (method url-fetch) + (uri (crate-uri "mockall" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15kww0a3wv300wkksc6zj0kz1jwk0hyly48daxs2vvpj300lk12c")))) + (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-2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-mockall-derive" ,rust-mockall-derive-0.11) + ("rust-predicates" ,rust-predicates-2) + ("rust-predicates-tree" ,rust-predicates-tree-1)) + #:cargo-development-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-futures" ,rust-futures-0.3) + ("rust-mockall-double" ,rust-mockall-double-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tracing" ,rust-tracing-0.1)))))) + +(define-public rust-mockall-derive-0.13 + (package + (name "rust-mockall-derive") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "mockall_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1608qajqrz23xbvv81alc6wm4l24as1bsqg4shdh3sggq8231ji5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/asomers/mockall") + (synopsis "Procedural macros for Mockall") + (description "This package provides procedural macros for Mockall.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-mockall-derive-0.11 + (package + (inherit rust-mockall-derive-0.13) + (name "rust-mockall-derive") + (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 + "1fvc9kwjcc9ia6ng7z9z02b4qkl9dvsx9m4z51xz9i0mj1k7bki2")))) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("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)))))) + +(define-public rust-mockall-double-0.3 + (package + (name "rust-mockall-double") + (version "0.3.1") + (source (origin + (method url-fetch) + (uri (crate-uri "mockall_double" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1s0k85929bf8afvdgq8m2vs8haqpkg9ysdimw7inl99mmkjrdjpi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/asomers/mockall") + (synopsis "Double test adapter that works well with Mockall") + (description + "This crate makes it even easier to use mocking by providing a way to +select the mock struct at compile time. Used with the Mockall crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-quickcheck-1 + (package + (name "rust-quickcheck") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mjhkfqwrb8mdyxdqr4zzbj1rm5dfx25n9zcc25lb6fxwiw673sq")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/BurntSushi/quickcheck") + (synopsis "Automatic property based testing with shrinking") + (description + "QuickCheck is a way to do property based testing using randomly generated +input. This crate comes with the ability to randomly generate and shrink +integers, floats, tuples, booleans, lists, strings, options and results.") + (license (list license:unlicense license:expat)))) + +(define-public rust-quickcheck-0.9 + (package + (inherit rust-quickcheck-1) + (name "rust-quickcheck") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pwl7j21wmf843kpa9gr0byb40hg975ghjrwp0yxcym99bkq6j54")))) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.7) + ("rust-rand-core" ,rust-rand-core-0.5)))))) + +(define-public rust-quickcheck-0.8 + (package + (inherit rust-quickcheck-0.9) + (name "rust-quickcheck") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mkl4wnvvjk4m32aq3an4ayfyvnmbxnzcybfm7n3fbsndb1xjdcw")))) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.6) + ("rust-rand-core" ,rust-rand-core-0.4)))))) + +(define-public rust-quickcheck-0.7 + (package + (inherit rust-quickcheck-0.9) + (name "rust-quickcheck") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05pqzja6fwdyrs1za5vmxb9ifb993knmpdsrs1fs2wyz9qz7slyl")))) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.5) + ("rust-rand-core" ,rust-rand-core-0.2)))))) + +(define-public rust-quickcheck-0.6 + (package + (inherit rust-quickcheck-0.9) + (name "rust-quickcheck") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dyazm2fcq0v9fscq1a7597zsvdl9f0j8c2bfj1jm2nlzz2sn6y0")))) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.5) + ("rust-log" ,rust-log-0.4) + ("rust-rand" ,rust-rand-0.4)))))) + +(define-public rust-quickcheck-0.5 + (package + (inherit rust-quickcheck-0.9) + (name "rust-quickcheck") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jzm1ygfbn4igaq14b9nipc8yvsn6c8panpgd1qiy5r2insjllyd")))) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.4) + ("rust-log" ,rust-log-0.3) + ("rust-rand" ,rust-rand-0.3)))))) + +(define-public rust-quickcheck-0.4 + (package + (inherit rust-quickcheck-0.5) + (name "rust-quickcheck") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01hligcv1h4pvc8ykch65qjzi7jgcq2s462v69j27slc84fl3hh2")))) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.3) + ("rust-log" ,rust-log-0.3) + ("rust-rand" ,rust-rand-0.3)))))) + +(define-public rust-quickcheck-0.2 + (package + (inherit rust-quickcheck-0.4) + (name "rust-quickcheck") + (version "0.2.27") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1vb4acppaavlnchzc1jmn5wlkgir9x9gmhgp97bavyxxqxgsg1nh")))))) + +(define-public rust-quickcheck-macros-1 + (package + (name "rust-quickcheck-macros") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s8nh0fmmzq3fd7928qcp2syvymlyv1pmww6fxcaj5np48r6jamj")))) + (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/BurntSushi/quickcheck") + (synopsis "Macro attribute for quickcheck") + (description + "This package provides a macro attribute for quickcheck.") + (license (list license:unlicense license:expat)))) + +(define-public rust-quickcheck-macros-0.9 + (package + (inherit rust-quickcheck-macros-1) + (name "rust-quickcheck-macros") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck_macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0zsb9b4jpg7qvbiym4v8y9pgqk7p1g4f5hn9gp0fnzz9v1pib330")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.9)))))) + +(define-public rust-quickcheck-macros-0.8 + (package + (inherit rust-quickcheck-macros-0.9) + (name "rust-quickcheck-macros") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "quickcheck_macros" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0b3mhn0xcrdd3fkbkx3rghhivwzwil8w991ngp6gaj70l72c3pyp")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-0.6) + ("rust-syn" ,rust-syn-0.15)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.8)))))) + +(define-public rust-tango-bench-0.6 + (package + (name "rust-tango-bench") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tango-bench" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gj2jgfdmwhrdggqh3yp8h33n1jrz6f3drmzg3nny83gihsj4y15")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-alloca" ,rust-alloca-0.4) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-colorz" ,rust-colorz-1) + ("rust-glob-match" ,rust-glob-match-0.2) + ("rust-goblin" ,rust-goblin-0.7) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-scroll" ,rust-scroll-0.11) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/bazhenov/tango") + (synopsis "Tango benchmarking harness") + (description "This package provides tango benchmarking harness.") + (license license:expat))) + +(define-public rust-tiny-bench-0.3 + (package + (name "rust-tiny-bench") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tiny-bench" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j2rsyspqbk89y6zjndpc6d36ljir1ymyj15vv6jxhaphl6q9nng")))) + (build-system cargo-build-system) + (home-page "https://github.com/EmbarkStudios/tiny-bench") + (synopsis "tiny benchmarking library") + (description "This package provides a tiny benchmarking library.") + (license (list license:expat license:asl2.0)))) + +;;; +;;; Avoid adding new packages to the end of this file. To reduce the chances +;;; of a merge conflict, place them above by existing packages with similar +;;; functionality or similar names. +;;; diff --git a/gnu/packages/crates-compression.scm b/gnu/packages/crates-compression.scm new file mode 100644 index 00000000000..5aacfadc258 --- /dev/null +++ b/gnu/packages/crates-compression.scm @@ -0,0 +1,2005 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 John Soo <jsoo1@asu.edu> +;;; Copyright © 2019, 2020, 2023-2025 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> +;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> +;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> +;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com> +;;; Copyright © 2022 Marius Bakke <marius@gnu.org> +;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr> +;;; Copyright © 2022, 2023 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2023, 2024 Steve George <steve@futurile.net> +;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu> +;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com> +;;; Copyright © 2024 Herman Rimm <herman@rimm.ee> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +;;; +;;; Please: Try to add new module packages in alphabetic order. +;;; + +(define-module (gnu packages crates-compression) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (guix gexp) + #:use-module (gnu packages cmake) + #:use-module (gnu packages compression) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-windows) + #:use-module (gnu packages pkg-config)) + +;;; +;;; Please: Try to add new module packages in alphabetic order. +;;; + +(define-public rust-autocompress-0.2 + (package + (name "rust-autocompress") + (version "0.2.2") + (source (origin + (method url-fetch) + (uri (crate-uri "autocompress" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16pjdfr5b2ixs2xk3h6mvxprxr84rpaips624d6vbap5vsdkvzx4")))) + (build-system cargo-build-system) + (arguments + (list + #:tests? #false ;The crate does not include test files + #:skip-build? #t ; could not find `block` in `zstd` + #:cargo-inputs + `(("rust-brotli" ,rust-brotli-3) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-flate2" ,rust-flate2-1) + ("rust-log" ,rust-log-0.4) + ("rust-lz4" ,rust-lz4-1) + ("rust-snap" ,rust-snap-1) + ("rust-xz2" ,rust-xz2-0.1) + ("rust-zstd" ,rust-zstd-0.9)) + #:cargo-development-inputs + `(("rust-clap" ,rust-clap-2) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) + ("rust-rand" ,rust-rand-0.8) + ("rust-temp-testdir" ,rust-temp-testdir-0.2)))) + (inputs (list xz)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/informationsea/autocompress-rs") + (synopsis "Select decoder from magic bytes or encoder from file extension") + (description + "This crate lets you automatically select a suitable decoder from magic +bytes or encoder from file extension.") + (license license:asl2.0))) + +(define-public rust-brotli-7 + (package + (name "rust-brotli") + (version "7.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g99xay61mds9d23fnfj5gfbd6g11gihfgs3y1abljwldzqvi5yc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) + ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2) + ("rust-brotli-decompressor" ,rust-brotli-decompressor-4) + ("rust-sha2" ,rust-sha2-0.10)))) + (home-page "https://github.com/dropbox/rust-brotli") + (synopsis "Brotli compressor and decompressor") + (description + "This package provides a brotli compressor and decompressor that with an +interface avoiding the rust stdlib. This makes it suitable for embedded devices +and kernels. It is designed with a pluggable allocator so that the standard +lib's allocator may be employed. The default build also includes a stdlib +allocator and stream interface. Disable this with --features=no-stdlib. All +included code is safe.") + (license (list license:bsd-3 license:expat)))) + +(define-public rust-brotli-6 + (package + (inherit rust-brotli-7) + (name "rust-brotli") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0swvf6cgbwhwrpd5y23vq6wipb6q2wqvi2j0hy0xa9lkplfrgxvl")))) + (arguments + `(#:cargo-inputs (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) + ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2) + ("rust-brotli-decompressor" ,rust-brotli-decompressor-4) + ("rust-sha2" ,rust-sha2-0.10)))))) + +(define-public rust-brotli-3 + (package + (inherit rust-brotli-7) + (name "rust-brotli") + (version "3.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "14f34ml3i8qbnh4hhlv5r6j10bkx420gspsl1cgznl1wqrdx4h6n")))) + (arguments + `(#:cargo-inputs + (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) + ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2) + ("rust-brotli-decompressor" ,rust-brotli-decompressor-2) + ("rust-sha2" ,rust-sha2-0.10)))))) + +(define-public rust-brotli-decompressor-4 + (package + (name "rust-brotli-decompressor") + (version "4.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli-decompressor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qn39c7n6wm40i2bm0d3q2qslmaavlh804iv0ccbba4m80pbsics")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; not all test files included + #:cargo-inputs (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) + ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2)))) + (home-page "https://github.com/dropbox/rust-brotli-decompressor") + (synopsis "Brotli decompressor") + (description "This package provides a brotli decompressor with no +dependency on the rust stdlib. This makes it suitable for embedded devices +and kernels.") + (license (list license:bsd-3 license:expat)))) + +(define-public rust-brotli-decompressor-2 + (package + (inherit rust-brotli-decompressor-4) + (name "rust-brotli-decompressor") + (version "2.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli-decompressor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kyyh9701dwqzwvn2frff4ww0zibikqd1s1xvl7n1pfpc3z4lbjf")))) + (arguments + `(#:tests? #f ; not all test files included + #:cargo-inputs + (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) + ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2)))))) + +(define-public rust-brotli-sys-0.3 + (package + (name "rust-brotli-sys") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kdfdbcba6zwa13xpjwgiplblkdf6vigxjbwwp6l2ascbylxwia4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/alexcrichton/brotli2-rs") + (synopsis "Raw bindings to libbrotli") + (description "This package provides raw bindings to libbrotli.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-brotli2-0.3 + (package + (name "rust-brotli2") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "brotli2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13jnhpmfkqy2xar4lxrsk3rx3i12bgnarnsxq4arhc6yxb1kdc0c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-brotli-sys" ,rust-brotli-sys-0.3) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.4)))) + (home-page "https://github.com/alexcrichton/brotli2-rs") + (synopsis "Rust bindings to compression library libbrotli") + (description + "This package provides bindings to libbrotli to provide brotli +decompression and compression to Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-bzip2-0.4 + (package + (name "rust-bzip2") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "bzip2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y27wgqkx3k2jmh4k26vra2kqjq1qc1asww8hac3cv1zxyk1dcdx")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bzip2-sys" ,rust-bzip2-sys-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + (("rust-partial-io" ,rust-partial-io-0.3) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tokio-core" ,rust-tokio-core-0.1)))) + (home-page "https://github.com/alexcrichton/bzip2-rs") + (synopsis + "Rust bindings to libbzip2 for bzip2 compression and decompression") + (description + "Bindings to @code{libbzip2} for @code{bzip2} compression and decompression +exposed as Reader/Writer streams.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-bzip2-rs-0.1 + (package + (name "rust-bzip2-rs") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "bzip2-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dgp83kixqrqj6q6574qr5zsfpbsiiwhqs3krhvsn4f8wkkmksxy")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Don't suggest nightly features of tinyvec. + (substitute* "Cargo.toml" + (("\"tinyvec/nightly_const_generics\", ") "")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-crc32fast" ,rust-crc32fast-1) + ("rust-tinyvec" ,rust-tinyvec-1)) + #:cargo-development-inputs + (("rust-bzip2" ,rust-bzip2-0.4) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) + (home-page "https://github.com/paolobarbolini/bzip2-rs") + (synopsis "Pure Rust bzip2 decompressor") + (description "Pure Rust bzip2 decompressor.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-bzip2-sys-0.1 + (package + (name "rust-bzip2-sys") + (version "0.1.11+1.0.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "bzip2-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1p2crnv8d8gpz5c2vlvzl0j55i3yqg5bi0kwsl1531x77xgraskk")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "bzip2-1.0.8") + (delete-file "build.rs") + ;; Inspired by Debian's patch. + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main() {~@ + println!(\"cargo:rustc-link-lib=bz2\");~@ + }~%"))))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/alexcrichton/bzip2-rs") + (synopsis "Rust bindings to libbzip2") + (description + "Bindings to @code{libbzip2} for bzip2 compression and decompression +exposed as Reader/Writer streams.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cloudflare-zlib-sys-0.3 + (package + (name "rust-cloudflare-zlib-sys") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cloudflare-zlib-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vyd0l0vprvh9hc1ikllybrk8xc0lz9f509d2xgxgrpyxp8vch10")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/cloudflare/zlib") + (synopsis + "Cloudflare fork of zlib with massive performance improvements") + (description + "Cloudflare fork of zlib with massive performance improvements.") + (license + (list license:expat + license:asl2.0 + license:zlib)))) + +(define-public rust-deflate-1 + (package + (name "rust-deflate") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "deflate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0bs319wa9wl7pn9j6jrrxg1gaqbak581rkx210cbix0qyljpwvy8")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; not all test files included + #:cargo-inputs + (("rust-adler32" ,rust-adler32-1) + ("rust-gzip-header" ,rust-gzip-header-1)) + #:cargo-development-inputs + (("rust-miniz-oxide" ,rust-miniz-oxide-0.5)))) + (home-page "https://github.com/image-rs/deflate-rs") + (synopsis "DEFLATE, zlib and gzip encoder written in rust") + (description "This package provides a DEFLATE, zlib and gzip encoder +written in rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-deflate-0.9 + (package + (inherit rust-deflate-1) + (name "rust-deflate") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "deflate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0w0ww0hrq4bjnihxgbnrri4lj5c8yzg31fyzx36fd9pvvw2vz5az")))) + (arguments + `(#:tests? #f ; not all test files included + #:cargo-inputs + (("rust-adler32" ,rust-adler32-1) + ("rust-gzip-header" ,rust-gzip-header-0.3)) + #:cargo-development-inputs + (("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))))) + +(define-public rust-deflate-0.8 + (package + (inherit rust-deflate-0.9) + (name "rust-deflate") + (version "0.8.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "deflate" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk")))) + (arguments + `(#:tests? #f ; not all test files included + #:cargo-inputs + (("rust-adler32" ,rust-adler32-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-gzip-header" ,rust-gzip-header-0.3)) + #:cargo-development-inputs + (("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))))) + +(define-public rust-deflate-0.7 + (package + (inherit rust-deflate-0.8) + (name "rust-deflate") + (version "0.7.20") + (source + (origin + (method url-fetch) + (uri (crate-uri "deflate" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1d7d9fpmgjnznrksmd3vlv3dyw01wsrm11ifil6ag22871xnlyvh")))) + (arguments + `(#:cargo-inputs + (("rust-adler32" ,rust-adler32-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-gzip-header" ,rust-gzip-header-0.3) + ("rust-flate2" ,rust-flate2-1)))))) + +(define-public rust-deflate64-0.1 + (package + (name "rust-deflate64") + (version "0.1.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "deflate64" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06scix17pa7wzzfsnhkycpcc6s04shs49cdaxx2k1sl0226jnsfs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/anatawa12/deflate64-rs#readme") + (synopsis "Deflate64 implementation based on .NET's implementation") + (description "Deflate64 implementation based on .NET's implementation.") + (license license:expat))) + +(define-public rust-delharc-0.6 + (package + (name "rust-delharc") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "delharc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18g5haj6bj92azif4jifhdy9vrv6blg3wyvpmxslh2gm2wkbm4qw")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Test files are missing. + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-memchr" ,rust-memchr-2)) + #:cargo-development-inputs (("rust-crc-any" ,rust-crc-any-2) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/royaltm/rust-delharc") + (synopsis "Parse and extract files from LHA/LZH archives") + (description + "This package provides a Rust library for parsing and extracting files +from LHA/LZH archives, which are often suffixed @code{.lha} or @code{.lzh}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-fdeflate-0.3 + (package + (name "rust-fdeflate") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "fdeflate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "130ga18vyxbb5idbgi07njymdaavvk6j08yh1dfarm294ssm6s0y")))) + (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-flate2-1 + (package + (name "rust-flate2") + (version "1.0.34") + (source + (origin + (method url-fetch) + (uri (crate-uri "flate2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w1nf2ap4q1sq1v6v951011wcvljk449ap7q7jnnjf8hvjs8kdd1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cloudflare-zlib-sys" ,rust-cloudflare-zlib-sys-0.3) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-libz-ng-sys" ,rust-libz-ng-sys-1) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-libz-rs-sys" ,rust-libz-rs-sys-0.3) + ("rust-miniz-oxide" ,rust-miniz-oxide-0.7)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/rust-lang/flate2-rs") + (synopsis "Bindings to miniz.c for DEFLATE compression and decompression") + (description + "Bindings to miniz.c for DEFLATE compression and decompression exposed as +Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based +streams.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gzip-header-1 + (package + (name "rust-gzip-header") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gzip-header" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "18lm2y96mahkmcd76pzyam2sl3v6lsl9mn8ajri9l0p6j9xm5k4m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crc32fast" ,rust-crc32fast-1)))) + (home-page "https://github.com/oyvindln/gzip-header") + (synopsis "Decoding and encoding the header part of gzip files") + (description + "This package provides a crate for decoding and encoding the header part +of gzip files based on the gzip header implementation in the @code{flate2} crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gzip-header-0.3 + (package + (inherit rust-gzip-header-1) + (name "rust-gzip-header") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gzip-header" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fg6vm8sgsm69szwqyz7abfbyziv6pv0jkcailimlamvsfrzwc81")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crc32fast" ,rust-crc32fast-1)))))) + +(define-public rust-gzp-0.11 + (package + (name "rust-gzp") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gzp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bvvz969c9kpyp7h6ry9mzhk7lb4hj4hpd810n0i26jjk4c5vip7")) + (snippet + #~(begin (use-modules ((guix build utils))) + ;; Switch the default from zlib-ng to zlib. + (substitute* "Cargo.toml" + (("\"deflate_zlib_ng\"") "\"deflate_zlib\"")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-core-affinity" ,rust-core-affinity-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-flume" ,rust-flume-0.10) + ("rust-libdeflater" ,rust-libdeflater-0.12) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-snap" ,rust-snap-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list zlib)) + (home-page "https://github.com/sstadick/gzp") + (synopsis "Parallel compression library") + (description "This package provides a library for parallel compression.") + (license (list license:unlicense license:expat)))) + +(define-public rust-inflate-0.4 + (package + (name "rust-inflate") + (version "0.4.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "inflate" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1zxjdn8iwa0ssxrnjmywm3r1v284wryvzrf8vkc7nyf5ijbjknqw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1)))) + (home-page "https://github.com/PistonDevelopers/inflate.git") + (synopsis "DEFLATE decoding") + (description "This package provides DEFLATE decoding.") + (license license:expat))) + +(define-public rust-libdeflate-sys-1 + (package + (name "rust-libdeflate-sys") + (version "1.23.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflate-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hbrhz3jxjs4a3lnyw9c2wlfknmijb7ahxbs53kcnpvri9y6cfs1")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Prefer the system libdeflate. + (substitute* "Cargo.toml" + (("^dynamic") "default = [\"dynamic\"]\ndynamic")) + ;; Accept any version of libdeflate. + (substitute* "build.rs" + ((".*exactly_version.*") "")) + (delete-file-recursively "libdeflate"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list libdeflate)) + (home-page "https://github.com/adamkewley/libdeflater") + (synopsis "Bindings to libdeflate") + (description + "This package provides bindings to libdeflate for DEFLATE (de)compression +exposed as non-streaming buffer operations. It contains bindings for raw +deflate, zlib, and gzip data.") + (license license:asl2.0))) + +;; TODO: Unbundle libdeflate +(define-public rust-libdeflate-sys-0.12 + (package + (inherit rust-libdeflate-sys-1) + (name "rust-libdeflate-sys") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflate-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11a7nn3p73vw3cnra36vz7mz60wx9jzhzwwji1hbmql5gy0v1xz1")))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) + +(define-public rust-libdeflater-1 + (package + (name "rust-libdeflater") + (version "1.23.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflater" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fj5a7766kk25rb8fr0i0grypdz1a3g5ij2nkh5mbh7f2z4pd0yp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libdeflate-sys" ,rust-libdeflate-sys-1)) + #:cargo-development-inputs + (("rust-adler32" ,rust-adler32-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-flate2" ,rust-flate2-1)))) + (native-inputs (list pkg-config)) + (inputs (list libdeflate)) + (home-page "https://github.com/adamkewley/libdeflater") + (synopsis "Bindings to libdeflate for DEFLATE") + (description "This package provides bindings to libdeflate for DEFLATE +(de)compression exposed as non-streaming buffer operations. Contains bindings +for raw deflate, zlib, and gzip data.") + (license license:asl2.0))) + +(define-public rust-libdeflater-0.12 + (package + (inherit rust-libdeflater-1) + (name "rust-libdeflater") + (version "0.12.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libdeflater" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cbrdvwhilvmk919izkp5bqgwfa7b8nj2ar9gp67nb345wl667k7")))) + (arguments + `(#:cargo-inputs + (("rust-libdeflate-sys" ,rust-libdeflate-sys-0.12)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-flate2" ,rust-flate2-1)))))) + +(define-public rust-libflate-2 + (package + (name "rust-libflate") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libflate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07mj9z89vbhq837q58m4v2nblgsmrn6vrp8w1j8g0kpa2kfdzna5")))) + (build-system cargo-build-system) + (arguments + `(#: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-4)))) + (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-lz77-2 + (package + (name "rust-libflate-lz77") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libflate_lz77" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gc6h98jwigscasz8vw1vv65b3rismqcbndb8hf6yf4z6qxxgq76")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-core2" ,rust-core2-0.4) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-rle-decode-fast" ,rust-rle-decode-fast-1)) + #:cargo-development-inputs (("rust-libflate" ,rust-libflate-2)))) + (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 + (origin + (method url-fetch) + (uri (crate-uri "libflate_lz77" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gxc75fb2sk0xgrh3qxvxcx1l93yhmyxn9241r251wl5zj5klbd5")))) + (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)))))) + +(define-public rust-libz-ng-sys-1 + ;; TODO: Unbundle zlib-ng. + (package + (name "rust-libz-ng-sys") + (version "1.1.16") + (source + (origin + (method url-fetch) + (uri (crate-uri "libz-ng-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f54ffm7bzqdvmcxkv2as6ir9bgzhkaq0g1jgwkz2mns04d7adj4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cmake" ,rust-cmake-0.1) + ("rust-libc" ,rust-libc-0.2)))) + (native-inputs + (list cmake-minimal pkg-config zlib)) + (home-page "https://github.com/rust-lang/libz-sys") + (synopsis "Low-level bindings to zlib-ng (libz-ng)") + (description + "This package provides low-level bindings to zlib-ng (libz-ng), a +high-performance zlib library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-libz-rs-sys-0.3 + (package + (name "rust-libz-rs-sys") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libz-rs-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vsnvkff9i4qxnid1xl7wrmhz8alvqw9z5lnpimpzzgrxr4r56q0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-zlib-rs" ,rust-zlib-rs-0.3)))) + (home-page "https://github.com/trifectatechfoundation/zlib-rs") + (synopsis "Memory-safe zlib implementation written in Rust") + (description + "This package provides a memory-safe zlib implementation written in Rust.") + (license license:zlib))) + +(define-public rust-libz-sys-1 + (package + (name "rust-libz-sys") + (version "1.1.20") + (source + (origin + (method url-fetch) + (uri (crate-uri "libz-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wp4i6zl385ilmcqafv61jwsk1mpk6yb8gpws9nwza00x19n9lfj")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "src/zlib") + (delete-file-recursively "src/zlib-ng"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ;; Build dependencies: + ("rust-cc" ,rust-cc-1) + ("rust-cmake" ,rust-cmake-0.1) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (native-inputs + (list pkg-config zlib)) + (home-page "https://github.com/rust-lang/libz-sys") + (synopsis "Bindings to the system libz library") + (description + "This package provides bindings to the system @code{libz} library (also +known as zlib).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-lz4-1 + (package + (name "rust-lz4") + (version "1.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lz4" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wad97k0asgvaj16ydd09gqs2yvgaanzcvqglrhffv7kdpc2v7ky")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-lz4-sys" ,rust-lz4-sys-1)) + #:cargo-development-inputs + (("rust-docmatic" ,rust-docmatic-0.1) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/10xGenomics/lz4-rs") + (synopsis "Rust LZ4 bindings library") + (description "This crate provides Rust LZ4 bindings.") + (license license:expat))) + +(define-public rust-lz4-compress-0.1 + (package + (name "rust-lz4-compress") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "lz4-compress" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14cb8rpdfk6q3bjkf7mirpyzb6rvvcglqnayx6lvpa92m4rnb5hg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-0.5) + ("rust-quick-error" ,rust-quick-error-1)))) + (home-page "https://github.com/ticki/tfs") + (synopsis "Pure Rust implementation of raw LZ4 compression/decompression") + (description + "Pure Rust implementation of raw LZ4 compression/decompression.") + (license license:expat))) + +(define-public rust-lz4-flex-0.11 + (package + (name "rust-lz4-flex") + (version "0.11.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "lz4_flex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n290fjvfi8jg20n6i0q77g8pqi5srnpgg7zhw1ppnlyd5bb5a9y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-twox-hash" ,rust-twox-hash-1)) + #:cargo-development-inputs (("rust-lz4-compress" ,rust-lz4-compress-0.1) + ("rust-lzzzz" ,rust-lzzzz-1) + ("rust-more-asserts" ,rust-more-asserts-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snap" ,rust-snap-1)))) + (home-page "https://github.com/pseitz/lz4_flex") + (synopsis "LZ4 implementation in Rust, no unsafe by default") + (description "LZ4 implementation in Rust, no unsafe by default.") + (license license:expat))) + +(define-public rust-lz4-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") + (version "1.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "lz4-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0059ik4xlvnss5qfh6l691psk4g3350ljxaykzv10yr0gqqppljp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/bozaro/lz4-rs") + (synopsis "Rust LZ4 sys package") + (description "This is the Rust LZ4 sys package.") + (license license:expat))) + +(define-public rust-lzma-rs-0.3 + (package + (name "rust-lzma-rs") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzma-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0phif4pnjrn28zcxgz3a7z86hhx5gdajmkrndfw4vrkahd682zi9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-crc" ,rust-crc-3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-log" ,rust-log-0.4)) + #:cargo-development-inputs + (("rust-rust-lzma" ,rust-rust-lzma-0.5)))) ;; called rust-lzma in crates-io + (native-inputs + (list pkg-config xz)) + (home-page "https://github.com/gendx/lzma-rs") + (synopsis "Codec for LZMA, LZMA2 and XZ written in pure Rust") + (description + "This package provides a codec for LZMA, LZMA2 and XZ written in pure Rust.") + (license license:expat))) + +(define-public rust-lzma-rust-0.1 + (package + (name "rust-lzma-rust") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzma-rust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12dj3w2pnvx014pzjl8pc115rldgk6cbc7w6lwg24y2d3xfwzvfm")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Only doc tests, which all fail. + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)))) + (home-page "https://github.com/dyz1990/sevenz-rust/tree/main/lzma-rust") + (synopsis "Codec LZMA/LZMA2") + (description + "This package provides LZMA/LZMA2 codec ported from tukaani xz for java'.") + (license license:asl2.0))) + +(define-public rust-lzma-sys-0.1 + (package + (name "rust-lzma-sys") + (version "0.1.20") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzma-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09sxp20waxyglgn3cjz8qjkspb3ryz2fwx4rigkwvrk46ymh9njz")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "xz-5.2"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs + (list pkg-config xz)) + (home-page "https://github.com/alexcrichton/xz2-rs") + (synopsis "Bindings to liblzma for lzma and xz stream encoding/decoding") + (description + "This package contains the raw bindings to liblzma which contains an +implementation of LZMA and xz stream encoding/decoding.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-lzw-0.10 + (package + (name "rust-lzw") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzw" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1170dfskhzlh8h2bm333811hykjvpypgnvxyhhm1rllyi2xpr53x")))) + (build-system cargo-build-system) + (home-page "https://github.com/nwin/lzw.git") + (synopsis "LZW compression and decompression") + (description + "This package provides LZW compression and decompression.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-lzzzz-1 + (package + (name "rust-lzzzz") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lzzzz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ggphn3ca5527jjq778z8hslqgmqymykgwcj63307b62r6hcr55c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)) + #:cargo-development-inputs + (("rust-assert-fs" ,rust-assert-fs-1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bytes" ,rust-bytes-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/picoHz/lzzzz") + (synopsis "Full-featured liblz4 binding for Rust") + (description "Full-featured liblz4 binding for Rust.") + (license license:expat))) + +(define-public rust-miniz-oxide-0.8 + (package + (name "rust-miniz-oxide") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wadxkg6a6z4lr7kskapj5d8pxlx7cp1ifw4daqnkzqjxych5n72")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-adler2" ,rust-adler2-2) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-simd-adler32" ,rust-simd-adler32-0.3)))) + (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide") + (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder") + (description + "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using +@code{flate2} with the @code{rust_backend} feature provides an easy to use +streaming API for miniz_oxide.") + (license (list license:expat license:zlib license:asl2.0)))) + +(define-public rust-miniz-oxide-0.7 + (package + (inherit rust-miniz-oxide-0.8) + (name "rust-miniz-oxide") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "024wv14aa75cvik7005s5y2nfc8zfidddbd7g55g7sjgnzfl18mq")))) + (arguments + `(#:cargo-inputs + (("rust-adler" ,rust-adler-1) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-simd-adler32" ,rust-simd-adler32-0.3)))))) + +(define-public rust-miniz-oxide-0.6 + (package + (inherit rust-miniz-oxide-0.7) + (name "rust-miniz-oxide") + (version "0.6.2") + (source (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yp8z6yll5ypz1ldmgnv7zi0r78kbvmqmn2mii77jzmk5069axdj")))) + (arguments + `(#:cargo-inputs + (("rust-adler" ,rust-adler-1) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-simd-adler32" ,rust-simd-adler32-0.3)))))) + +(define-public rust-miniz-oxide-0.5 + (package + (inherit rust-miniz-oxide-0.6) + (name "rust-miniz-oxide") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d2xcypr8s0skd81dhlrylas1j794qyz74snm11jc8kmy6l0nncn")))) + (arguments + `(#:cargo-inputs + (("rust-adler" ,rust-adler-1) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-simd-adler32" ,rust-simd-adler32-0.3)))))) + +(define-public rust-miniz-oxide-0.4 + (package + (inherit rust-miniz-oxide-0.5) + (name "rust-miniz-oxide") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jsfv00hl5rmx1nijn59sr9jmjd4rjnjhh4kdjy8d187iklih9d9")))) + (arguments + `(#:cargo-inputs + (("rust-adler" ,rust-adler-1) + ("rust-autocfg" ,rust-autocfg-1) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) + +(define-public rust-miniz-oxide-0.3 + (package + (inherit rust-miniz-oxide-0.4) + (name "rust-miniz-oxide") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dblrhgbm0wa8jjl8cjp81akaj36yna92df4z1h9b26n3spal7br")))) + (arguments + `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1)))))) + +(define-public rust-rust-lzma-0.5 + (package + (name "rust-rust-lzma") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-lzma" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1njlmh9hq2qg5ssdangwbdkz1lrfj2brf8kfp65k7vmfmr6w0pc9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs + (list pkg-config xz)) + (home-page "https://github.com/fpgaminer/rust-lzma") + (synopsis + "Simple interface for LZMA compression and decompression") + (description + "This package provides Simple interface for LZMA compression and decompression.") + (license license:expat))) + +(define-public rust-ruzstd-0.7 + (package + (name "rust-ruzstd") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "ruzstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17z83lw00pd3190yvdk2lksdi7my6wc0psgg07is6gf7pyb2kl7s")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;missing data files + #:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-twox-hash" ,rust-twox-hash-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/KillingSpark/zstd-rs") + (synopsis "Decoder for the zstd compression format") + (description + "This package provides a decoder for the zstd compression format.") + (license license:expat))) + +(define-public rust-ruzstd-0.5 + (package + (inherit rust-ruzstd-0.7) + (name "rust-ruzstd") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ruzstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ga8jciw7ka3mxrzl39skmsbdslajghzglcil10g0z4rh65fpi2q")))) + (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)))))) + +(define-public rust-ruzstd-0.4 + (package + (inherit rust-ruzstd-0.5) + (name "rust-ruzstd") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ruzstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p4ghqzkq36dy1x1ijnk7jmml4wi3v9bkfzlbm2hsnkiz6wglgxc")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; not all files included + "--skip=tests::decode_corpus::test_decode_corpus_files" + "--skip=tests::dict_test::test_dict_decoding" + "--skip=tests::fuzz_regressions::test_all_artifacts" + "--skip=tests::test_block_header_reading" + "--skip=tests::test_decode_from_to" + "--skip=tests::test_frame_decoder" + "--skip=tests::test_frame_header_reading" + "--skip=tests::test_specific_file" + "--skip=tests::test_streaming") + #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-thiserror-core" ,rust-thiserror-core-1) + ("rust-twox-hash" ,rust-twox-hash-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-rand" ,rust-rand-0.8)))))) + +(define-public rust-sevenz-rust-0.5 + (package + (name "rust-sevenz-rust") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sevenz-rust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0na67bs0ff01vicwwlc26sbh9jh4wpqn7988k31cixn5s231wfi3")) + (snippet + #~(begin (delete-file "tests/resources/decompress_x86.exe"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; Not all files included. + "--skip=decompress_lzma2_bcj_x86_file") + #:cargo-inputs (("rust-aes" ,rust-aes-0.8) + ("rust-bit-set" ,rust-bit-set-0.5) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-cbc" ,rust-cbc-0.1) + ("rust-crc" ,rust-crc-3) + ("rust-filetime-creation" ,rust-filetime-creation-0.1) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lzma-rust" ,rust-lzma-rust-0.1) + ("rust-nt-time" ,rust-nt-time-0.6) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-zstd" ,rust-zstd-0.13)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/dyz1990/sevenz-rust") + (synopsis "7z decompressor/compressor") + (description + "This package provides a 7z decompressor/compressor written in pure rust.") + (license license:asl2.0))) + +(define-public rust-tar-0.4 + (package + (name "rust-tar") + (version "0.4.43") + (source + (origin + (method url-fetch) + (uri (crate-uri "tar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1xm1l6gg180wq9xrq9vhyyxxpr4kvyh933yjagax05wf7wqrhnf6")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Test tarballs not included in crate. + #:cargo-inputs + (("rust-filetime" ,rust-filetime-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-xattr" ,rust-xattr-1)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/alexcrichton/tar-rs") + (synopsis "Tar file reading/writing for Rust") + (description + "This package provides a Rust implementation of a TAR file reader and +writer. This library does not currently handle compression, but it is abstract +over all I/O readers and writers. Additionally, great lengths are taken to +ensure that the entire contents are never required to be entirely resident in +memory all at once.") + (license (list license:asl2.0 + license:expat)))) + +(define-public rust-unrar-0.5 + (package + (name "rust-unrar") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "unrar" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0a8cd2l2hgmc7h5vjkvsl71vas5l7xqjwmx4kh8z48m26mvnm7f9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-regex" ,rust-regex-1) + ("rust-unrar-sys" ,rust-unrar-sys-0.5) + ("rust-widestring" ,rust-widestring-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/muja/unrar.rs") + (synopsis "List and extract RAR archives") + (description + "This package provides functionality to list and extract RAR archives.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-unrar-sys-0.5 + (package + (name "rust-unrar-sys") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "unrar_sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1npkjbqx77rsls2f2nhi6x83ass4cw9d27xl647gmzvr6h82b0rz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/muja/unrar.rs") + (synopsis "FFI bindings to unrar") + (description + "This package provides FFI bindings to unrar (with minimal abstractions).") + (license license:expat))) + +(define-public rust-xz-0.1 + (package + (name "rust-xz") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "xz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0d6sq57g1969hjl5k7gzzdbyr60za9hk8qs9iqz26biazy87d21w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-xz2" ,rust-xz2-0.1)))) + (native-inputs + (list pkg-config xz)) + (home-page "https://github.com/alexcrichton/xz2-rs") + (synopsis "Alias of `xz2` crate") + (description + "Rust bindings to @code{liblzma} providing Read/Write streams as well as +low-level in-memory encoding/decoding. Alias of @code{xz2} crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-xz2-0.1 + (package + (name "rust-xz2") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "xz2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1qk7nzpblizvayyq4xzi4b0zacmmbqr6vb9fc0v1avyp17f4931q")))) + (build-system cargo-build-system) + (arguments + `(#: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-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tokio-core" ,rust-tokio-core-0.1)))) + (native-inputs + (list pkg-config xz)) + (home-page "https://github.com/alexcrichton/xz2-rs") + (synopsis "Rust bindings to liblzma") + (description "This package provides Rust bindings to liblzma providing +Read/Write streams as well as low-level in-memory encoding and decoding.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-zip-2 + (package + (name "rust-zip") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "zip" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "151lrzswjkhwzlr6dkmgbi4s51sa8dr496n6mwiswms0xa444pnw")) + (modules '((guix build utils))) + (snippet + ;; loosen version requirement for rust-clap-4 + '(begin (substitute* "Cargo.toml" + (("version = \"=") "version = \"^")))))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;;tests missing + #:cargo-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-arbitrary" ,rust-arbitrary-1) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.3) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-deflate64" ,rust-deflate64-0.1) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-lzma-rs" ,rust-lzma-rs-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-pbkdf2" ,rust-pbkdf2-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-zeroize" ,rust-zeroize-1) + ("rust-zopfli" ,rust-zopfli-0.8) + ("rust-zstd" ,rust-zstd-0.13)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-bencher" ,rust-bencher-0.1) + ("rust-clap" ,rust-clap-4) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-time" ,rust-time-0.3) + ("rust-walkdir" ,rust-walkdir-2)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) + (home-page "https://github.com/zip-rs/zip2") + (synopsis "Library to support reading and writing Zip files") + (description + "Rust library for reading and writing Zip files.") + (license license:expat))) + +(define-public rust-zip-0.6 + (package + (inherit rust-zip-2) + (name "rust-zip") + (version "0.6.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "zip" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qcjbqfvbwxi5g9wbymf2r05cvziic2qqj4xy64q3hp48vi980vn")))) + (arguments + `(#:cargo-inputs + (("rust-aes" ,rust-aes-0.8) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bzip2" ,rust-bzip2-0.4) + ("rust-constant-time-eq" ,rust-constant-time-eq-0.1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-pbkdf2" ,rust-pbkdf2-0.11) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-time" ,rust-time-0.3) + ("rust-zstd" ,rust-zstd-0.11)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("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"))))) + +(define-public rust-zlib-rs-0.4 + (package + (name "rust-zlib-rs") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zlib-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y24i695cwvm4frs98bhjznfa19by6hkb42np7abl4lk79ah3nma")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-quickcheck" ,rust-quickcheck-1)) + #:cargo-development-inputs (("rust-crc32fast" ,rust-crc32fast-1) + ("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/trifectatechfoundation/zlib-rs") + (synopsis "Memory-safe zlib implementation written in Rust") + (description + "This package provides a memory-safe zlib implementation written in Rust.") + (license license:zlib))) + +(define-public rust-zlib-rs-0.3 + (package + (inherit rust-zlib-rs-0.4) + (name "rust-zlib-rs") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zlib-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06kkjpqddvb5n8c24mmd3lmmcsy2yfwfsjyni8dggysayfd7r50b")))) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-quickcheck" ,rust-quickcheck-1)))))) + +(define-public rust-zopfli-0.8 + (package + (name "rust-zopfli") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zopfli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ip9azz9ldk19m0m1hdppz3n5zcz0cywbg1vx59g4p5c3cwry0g5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bumpalo" ,rust-bumpalo-3) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-lockfree-object-pool" ,rust-lockfree-object-pool-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-simd-adler32" ,rust-simd-adler32-0.3)) + #:cargo-development-inputs + (("rust-miniz-oxide" ,rust-miniz-oxide-0.7) + ("rust-proptest" ,rust-proptest-1) + ("rust-proptest-derive", rust-proptest-derive-0.4)))) + (home-page "https://github.com/zopfli-rs/zopfli") + (synopsis + "Rust implementation of the Zopfli compression algorithm") + (description + "This package provides a Rust implementation of the Zopfli compression algorithm.") + (license license:asl2.0))) + +(define-public rust-zstd-0.13 + (package + (name "rust-zstd") + (version "0.13.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ygkr6wspm9clbp7ykyl0rv69cfsf9q4lic9wcqiwn34lrwbgwpw")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-zstd-safe" ,rust-zstd-safe-7)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-humansize" ,rust-humansize-2) + ("rust-partial-io" ,rust-partial-io-0.5) + ("rust-walkdir" ,rust-walkdir-2)))) + (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 + "This package provides a binding to the Zstd compression library.") + (license license:expat))) + +(define-public rust-zstd-0.12 + (package + (inherit rust-zstd-0.13) + (name "rust-zstd") + (version "0.12.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g654jj8z25rvzli2b1231pcp9y7n6vk44jaqwgifh9n2xg5j9qs")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-zstd-safe" ,rust-zstd-safe-6)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-humansize" ,rust-humansize-2) + ("rust-partial-io" ,rust-partial-io-0.5) + ("rust-walkdir" ,rust-walkdir-2)))))) + +(define-public rust-zstd-0.11 + (package + (inherit rust-zstd-0.13) + (name "rust-zstd") + (version "0.11.2+zstd.1.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r7xlmgnifhxbfyid8vkcnd5ip16gx9hf89d1l0lzrpc4q1rdk10")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-zstd-safe" ,rust-zstd-safe-5)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-3) + ("rust-humansize" ,rust-humansize-1) + ("rust-partial-io" ,rust-partial-io-0.5) + ("rust-walkdir" ,rust-walkdir-2)))))) + +(define-public rust-zstd-0.9 + (package + (inherit rust-zstd-0.11) + (name "rust-zstd") + (version "0.9.2+zstd.1.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0m5aik2jy2w1g68i4isa0c3gq9a7avq9abgjfjbc6f60yqdym413")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-zstd-safe" ,rust-zstd-safe-4)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-3) + ("rust-humansize" ,rust-humansize-1) + ("rust-partial-io" ,rust-partial-io-0.5) + ("rust-walkdir" ,rust-walkdir-2)))) + (native-inputs '()) + (inputs '()))) + +(define-public rust-zstd-safe-7 + (package + (name "rust-zstd-safe") + (version "7.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-safe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nch85m5cr493y26yvndm6a8j6sd9mxpr2awrim3dslcnr6sp8sl")))) + (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 + "This package provides safe low-level bindings to the zstd compression +library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-zstd-safe-6 + (package + (inherit rust-zstd-safe-7) + (name "rust-zstd-safe") + (version "6.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-safe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10cm0v8sw3jz3pi0wlwx9mbb2l25lm28w638a5n5xscfnk8gz67f")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-zstd-sys" ,rust-zstd-sys-2)))))) + +(define-public rust-zstd-safe-5 + (package + (inherit rust-zstd-safe-7) + (name "rust-zstd-safe") + (version "5.0.2+zstd.1.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-safe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nzl4q3xl68pq58g9xlym299bvjdii8cl7ix595ym7jgw22maahx")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-zstd-sys" ,rust-zstd-sys-2)))))) + +(define-public rust-zstd-safe-4 + (package + (inherit rust-zstd-safe-5) + (name "rust-zstd-safe") + (version "4.1.6+zstd.1.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-safe" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fz97qn7galkwl31n28cil44nxfj81ryd33v2vb041r7pd8irdll")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-zstd-sys" ,rust-zstd-sys-1)))) + (native-inputs '()) + (inputs '()))) + +;; TODO: Submit patches to use system zstd-seekable. +(define-public rust-zstd-seekable-0.1 + (package + (name "rust-zstd-seekable") + (version "0.1.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-seekable" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hn3lry2p1fzjlx6shwq1k5bcpx4lqckmvl16gqx326vbiy12jjp")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; TODO: zstd-seekable fails to link during 'check phase. + #:cargo-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-threadpool" ,rust-threadpool-1)))) + (home-page "https://nest.pijul.com/pmeunier/zstd-seekable") + (synopsis "Bindings to the seekable version of ZStandard") + (description + "This package provides bindings to the seekable version of ZStandard.") + (license license:bsd-3))) + +(define-public rust-zstd-sys-2 + (package + (name "rust-zstd-sys") + (version "2.0.13+zstd.1.5.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1almbackh06am0d2kc4a089n3al91jg3ahgg9kcrg3zfrwhhzzrq")) + (snippet #~(begin + (use-modules (guix build utils)) + (delete-file-recursively "zstd"))))) + (build-system cargo-build-system) + (arguments + `(#: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 +compression library.") + (license (list license:expat license:asl2.0)))) + +;; TODO: Unbundle zstd. +(define-public rust-zstd-sys-1 + (package + (inherit rust-zstd-sys-2) + (name "rust-zstd-sys") + (version "1.6.3+zstd.1.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a1f839k3mxh3qhjga1vd2sfxrsi41cqrnpyc5byfd6nr2jsyjgw")))) + (arguments + `(#:install-source? #f ; invalid inclusion of reserved file name + #:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.59) + ("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 995b183652a..8e2290ca993 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu> ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> -;;; Copyright © 2020, 2022-2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020, 2022-2025 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> ;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> @@ -35,6 +35,7 @@ (define-module (gnu packages crates-crypto) #:use-module (guix build-system cargo) + #:use-module (guix build-system trivial) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) @@ -46,6 +47,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-check) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-windows) @@ -66,18 +68,19 @@ (define-public rust-aead-0.5 (package (name "rust-aead") - (version "0.5.1") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "aead" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j6pmc8pk4ha64bj9l6xzbhd85s2y1dblna2zsq83h0zy6w2w6aw")))) + (base32 "1c32aviraqag7926xcb9sybdm36v5vh9gnxpn4pxdwjc50zl28ni")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-blobby" ,rust-blobby-0.3) + (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-blobby" ,rust-blobby-0.3) ("rust-bytes" ,rust-bytes-1) ("rust-crypto-common" ,rust-crypto-common-0.1) ("rust-generic-array" ,rust-generic-array-0.14) @@ -135,24 +138,6 @@ algorithms") with Associated Data (AEAD) algorithms.") (license (list license:expat license:asl2.0)))) -(define-public rust-aead-0.2 - (package - (inherit rust-aead-0.3) - (name "rust-aead") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aead" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r3ijikx9h117q0xgkc56yb0501kifjr3gsfp5bvnrz7asdipw2c")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.12) - ("rust-heapless" ,rust-heapless-0.5)))))) - (define-public rust-aes-0.8 (package (name "rust-aes") @@ -243,24 +228,30 @@ ciphers implementations.") #:cargo-development-inputs (("rust-block-cipher" ,rust-block-cipher-0.7)))))) -(define-public rust-aes-0.3 +(define-public rust-aes-0.3.2-yanked (package (inherit rust-aes-0.4) (name "rust-aes") - (version "0.3.2") + (version "0.3.2") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "aes" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "1j90iwpax0y1dqq14i8y9xgpcnnlgnljwkxg3mhzrralwf7ivssl")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-aes-soft" ,rust-aes-soft-0.3) ("rust-aesni" ,rust-aesni-0.6) - ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)))))) + ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)) + #:cargo-development-inputs + (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-aes-0.3 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-aes" rust-aes-0.3.2-yanked)) (define-public rust-aes-ctr-0.6 (package @@ -291,14 +282,14 @@ Standard}. Use the AES crate if possible, as the aes-ctr has been into it.") (define-public rust-aes-gcm-0.10 (package (name "rust-aes-gcm") - (version "0.10.1") + (version "0.10.3") (source (origin (method url-fetch) (uri (crate-uri "aes-gcm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0z2429v2d2wyf809h2wc4vwwibwypz3y4p7sn4kzkjb91ip3dqc2")))) + (base32 "1lgaqgg1gh9crg435509lqdhajg1m2vgma6f7fdj1qa2yyh10443")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -374,55 +365,6 @@ acceleration.") #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.2)))))) -(define-public rust-aes-gcm-0.6 - (package - (inherit rust-aes-gcm-0.8) - (name "rust-aes-gcm") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-gcm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lga8my3zlc0b1nhcpc1hrbykfm014fqs6d64bwrjqii05w01xc6")))) - (arguments - `(#:cargo-inputs - (("rust-aead" ,rust-aead-0.3) - ("rust-aes" ,rust-aes-0.4) - ("rust-block-cipher" ,rust-block-cipher-0.7) - ("rust-ghash" ,rust-ghash-0.3) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-criterion-cycles-per-byte" - ,rust-criterion-cycles-per-byte-0.1) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) - -(define-public rust-aes-gcm-0.5 - (package - (inherit rust-aes-gcm-0.6) - (name "rust-aes-gcm") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aes-gcm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f66b5bmyj38r1hj55wzamlzw3y1aql34lgwr2vxn93073d6njl3")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-aead" ,rust-aead-0.2) - ("rust-aes" ,rust-aes-0.3) - ("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6) - ("rust-ghash" ,rust-ghash-0.2) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)))))) - (define-public rust-aes-soft-0.6 (package (name "rust-aes-soft") @@ -451,16 +393,16 @@ AES (Rijndael) block ciphers. This package is deprecated and was replaced by the @code{aes} crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-aes-soft-0.4 +(define-public rust-aes-soft-0.4.0-yanked (package (inherit rust-aes-soft-0.6) (name "rust-aes-soft") - (version "0.4.0") + (version "0.4.0") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "aes-soft" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "19szsg0qqxq42k7bj5p3svb147n8wxy9a20n4g7mcl2fwrz689a9")))) @@ -470,26 +412,37 @@ This package is deprecated and was replaced by the @code{aes} crate.") ("rust-byteorder" ,rust-byteorder-1) ("rust-opaque-debug" ,rust-opaque-debug-0.2)) #:cargo-development-inputs - (("rust-block-cipher" ,rust-block-cipher-0.7)))))) + (("rust-block-cipher" ,rust-block-cipher-0.7)))) + (properties '((crate-version-yanked? . #t))))) -(define-public rust-aes-soft-0.3 +(define-public rust-aes-soft-0.4 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-aes-soft" rust-aes-soft-0.4.0-yanked)) + +(define-public rust-aes-soft-0.3.3-yanked (package (inherit rust-aes-soft-0.4) (name "rust-aes-soft") - (version "0.3.3") + (version "0.3.3") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "aes-soft" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "039si7yjp0wcd750sgq52c60sh2ikaxwd7rq7g0ba7ws7ypfgmyg")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6) ("rust-byteorder" ,rust-byteorder-1) - ("rust-opaque-debug" ,rust-opaque-debug-0.2)))))) + ("rust-opaque-debug" ,rust-opaque-debug-0.2)) + #:cargo-development-inputs + (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-aes-soft-0.3 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-aes-soft" rust-aes-soft-0.3.3-yanked)) (define-public rust-aesni-0.10 (package @@ -516,16 +469,16 @@ block ciphers using AES-NI. This package is deprecated and was replaced by the @code{aes} crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-aesni-0.7 +(define-public rust-aesni-0.7.0-yanked (package (inherit rust-aesni-0.10) (name "rust-aesni") - (version "0.7.0") + (version "0.7.0") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "aesni" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "0r6j0mjkyqnwvgib01cvrwfw8rlx1biw75234niv723n1fdx6l6h")))) @@ -537,18 +490,23 @@ This package is deprecated and was replaced by the @code{aes} crate.") ("rust-stream-cipher" ,rust-stream-cipher-0.4)) #:cargo-development-inputs (("rust-block-cipher" ,rust-block-cipher-0.7) - ("rust-stream-cipher" ,rust-stream-cipher-0.4)))))) + ("rust-stream-cipher" ,rust-stream-cipher-0.4)))) + (properties '((crate-version-yanked? . #t))))) -(define-public rust-aesni-0.6 +(define-public rust-aesni-0.7 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-aesni" rust-aesni-0.7.0-yanked)) + +(define-public rust-aesni-0.6.0-yanked (package (inherit rust-aesni-0.7) (name "rust-aesni") - (version "0.6.0") + (version "0.6.0") ; This version is yanked! (source (origin (method url-fetch) (uri (crate-uri "aesni" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "007imgcfl82nilfpamj5dik83pkcmkzvbkxp384p7r3iz6sscw1g")))) (arguments @@ -556,19 +514,24 @@ This package is deprecated and was replaced by the @code{aes} crate.") #:cargo-inputs (("rust-block-cipher-trait" ,rust-block-cipher-trait-0.6) ("rust-opaque-debug" ,rust-opaque-debug-0.2) - ("rust-stream-cipher" ,rust-stream-cipher-0.3)))))) + ("rust-stream-cipher" ,rust-stream-cipher-0.3)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-aesni-0.6 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-aesni" rust-aesni-0.6.0-yanked)) (define-public rust-argon2-0.5 (package (name "rust-argon2") - (version "0.5.2") + (version "0.5.3") (source (origin (method url-fetch) (uri (crate-uri "argon2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1y820hkza66lfliaxg49zskz7agj8wf7aak528livg261an4rfhp")))) + (base32 "0wn0kk97k49wxidfigmz1pdqmygqzi4h6w72ib7cpq765s4i0diw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -647,19 +610,54 @@ portable \"best effort\" constant-time operation and embedded-friendly @code{no_std} support.") (license (list license:asl2.0 license:expat)))) -(define-public rust-base64ct-1.1 +(define-public rust-bcrypt-pbkdf-0.10 (package - (inherit rust-base64ct-1) - (name "rust-base64ct") - (version "1.1.1") + (name "rust-bcrypt-pbkdf") + (version "0.10.0") (source (origin (method url-fetch) - (uri (crate-uri "base64ct" version)) + (uri (crate-uri "bcrypt-pbkdf" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0p4was874qc90q2chm2i14m9mn8zmxjis8vaxihd6a2x4aqxkd76")))) - (arguments '()))) + (base32 "18pjhsy3m2v0silsp4mjzz8i92zrpqxk9b059zrnk1w8zvhw5ska")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-blowfish" ,rust-blowfish-0.9) + ("rust-pbkdf2" ,rust-pbkdf2-0.12) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page + "https://github.com/RustCrypto/password-hashes/tree/master/bcrypt-pbkdf") + (synopsis "Bcrypt-pbkdf password-based key derivation function") + (description + "This package provides bcrypt-pbkdf password-based key derivation function.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-bcrypt-pbkdf-0.6 + (package + (inherit rust-bcrypt-pbkdf-0.10) + (name "rust-bcrypt-pbkdf") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "bcrypt-pbkdf" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ms9c5z90n5szx5nbxrqaihny5fs3sl6a1pm3szr5g86jlxw0f3w")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:cargo-inputs (("rust-blowfish" ,rust-blowfish-0.8) + ("rust-crypto-mac" ,rust-crypto-mac-0.11) + ("rust-pbkdf2" ,rust-pbkdf2-0.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-zeroize" ,rust-zeroize-1)))))) (define-public rust-blake2-0.10 (package @@ -760,19 +758,16 @@ BLAKE2bp hash functions.") (package (inherit rust-blake2b-simd-1) (name "rust-blake2b-simd") - (version "0.5.10") + (version "0.5.11") (source (origin (method url-fetch) (uri (crate-uri "blake2b_simd" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "12icvk8ixlivv3jv5nyrg01sajp4s279zb1kmif0nfja4ms2vyyq")))) + (base32 "11y5nm06lpypz65dbxgncs12ckx24i5i4a777ckfhfxd93ili9xg")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3) ("rust-arrayvec" ,rust-arrayvec-0.5) ("rust-constant-time-eq" ,rust-constant-time-eq-0.1)))))) @@ -823,15 +818,15 @@ based on Blake2s.") ciphers.") (license (list license:expat license:asl2.0)))) -(define-public rust-block-cipher-trait-0.6 +(define-public rust-block-cipher-trait-0.6.2-yanked (package (name "rust-block-cipher-trait") - (version "0.6.2") + (version "0.6.2") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "block-cipher-trait" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "0x273w6fwka0i48nrv428birdrs2jz6jdnmc0dhc1rq9pm4lv4hw")))) (build-system cargo-build-system) @@ -844,24 +839,36 @@ ciphers.") (synopsis "Block cipher algorithms") (description "This package provides a collection of block cipher algorithms. This package is deprecated. Please use block-cipher instead.") - (license (list license:expat license:asl2.0)))) + (license (list license:expat license:asl2.0)) + (properties '((crate-version-yanked? . #t))))) -(define-public rust-block-cipher-trait-0.4 +(define-public rust-block-cipher-trait-0.6 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-block-cipher-trait" + rust-block-cipher-trait-0.6.2-yanked)) + +(define-public rust-block-cipher-trait-0.4.2-yanked (package (inherit rust-block-cipher-trait-0.6) (name "rust-block-cipher-trait") - (version "0.4.2") + (version "0.4.2") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "block-cipher-trait" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "10qmg8vphqmfllb9a2yx6s7r66jh1wh33clhsawq7ikg2wgz2p6q")))) (arguments `(#:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.8)))))) + (("rust-generic-array" ,rust-generic-array-0.8)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-block-cipher-trait-0.4 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-block-cipher-trait" + rust-block-cipher-trait-0.4.2-yanked)) (define-public rust-block-modes-0.8 (package @@ -886,27 +893,6 @@ algorithms. This package is deprecated. Please use block-cipher instead.") and block modes.") (license (list license:expat license:asl2.0)))) -(define-public rust-block-modes-0.7 - (package - (inherit rust-block-modes-0.8) - (name "rust-block-modes") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "block-modes" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w3jc3n7k4xq98b9mfina4wwpg1fq1s3b0mm5whqialb7q3yi82p")))) - (arguments - `(#:cargo-inputs - (("rust-block-padding" ,rust-block-padding-0.2) - ("rust-cipher" ,rust-cipher-0.2)) - #:cargo-development-inputs - (("rust-aes" ,rust-aes-0.6) - ("rust-hex-literal" ,rust-hex-literal-0.2)))))) - (define-public rust-blowfish-0.9 (package (name "rust-blowfish") @@ -930,6 +916,24 @@ and block modes.") (description "Blowfish block cipher") (license (list license:expat license:asl2.0)))) +(define-public rust-blowfish-0.8 + (package + (inherit rust-blowfish-0.9) + (name "rust-blowfish") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "blowfish" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ax736islxcbghc2lqq4vy7zn6qdigrls71lwg11m3743pyg6gzy")))) + (arguments + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-cipher" ,rust-cipher-0.3) + ("rust-opaque-debug" ,rust-opaque-debug-0.3)) + #:cargo-development-inputs (("rust-cipher" ,rust-cipher-0.3)))))) + (define-public rust-botan-0.10 (package (name "rust-botan") @@ -971,42 +975,6 @@ and block modes.") ("rust-cstr-core" ,rust-cstr-core-0.2) ("rust-cty" ,rust-cty-0.2)))))) -(define-public rust-botan-sys-0.10 - (package - (name "rust-botan-sys") - (version "0.10.5") - (source (origin - (method url-fetch) - (uri (crate-uri "botan-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ji12rxvi4h7pap772cd2hw4xdgqdsgw6m8wqin9klpbp3hxsjcz")))) - (build-system cargo-build-system) - (arguments - `(#: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") - (description "FFI wrapper for Botan cryptography library") - (license license:expat))) - -(define-public rust-botan-sys-0.8 - (package - (inherit rust-botan-sys-0.10) - (name "rust-botan-sys") - (version "0.8.1") - (source (origin - (method url-fetch) - (uri (crate-uri "botan-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m11zblxfanrhl97j7z3ap7n17rr8j0rg91sr7f9j6y2bsniaz1x")))) - (arguments - `(#:cargo-inputs - (("rust-botan-src" ,rust-botan-src-0.21703) - ("rust-cty" ,rust-cty-0.2)))))) - (define-public rust-botan-src-0.30101 (package (name "rust-botan-src") @@ -1044,25 +1012,57 @@ and block modes.") (snippet '(begin (delete-file-recursively "botan"))))))) +(define-public rust-botan-sys-0.10 + (package + (name "rust-botan-sys") + (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 + "1ji12rxvi4h7pap772cd2hw4xdgqdsgw6m8wqin9klpbp3hxsjcz")))) + (build-system cargo-build-system) + (arguments + `(#: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") + (description "FFI wrapper for Botan cryptography library") + (license license:expat))) + +(define-public rust-botan-sys-0.8 + (package + (inherit rust-botan-sys-0.10) + (name "rust-botan-sys") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "botan-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m11zblxfanrhl97j7z3ap7n17rr8j0rg91sr7f9j6y2bsniaz1x")))) + (arguments + `(#:cargo-inputs + (("rust-botan-src" ,rust-botan-src-0.21703) + ("rust-cty" ,rust-cty-0.2)))))) + (define-public rust-c2-chacha-0.2 (package (name "rust-c2-chacha") - (version "0.2.2") + (version "0.2.4") (source (origin (method url-fetch) (uri (crate-uri "c2-chacha" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "00a11qdc8mg3z0k613rhprkc9p6xz0y7b1681x32ixg0hr3x0r3x")))) + (base32 "16mxizk6a1lq6fv1m9zmlc3s9s4wvx8iv2n3p89qp38h8g4r4w91")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-lazy-static" ,rust-lazy-static-1) ("rust-ppv-lite86" ,rust-ppv-lite86-0.2) ("rust-stream-cipher" ,rust-stream-cipher-0.3)) #:cargo-development-inputs @@ -1197,14 +1197,14 @@ XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and also optional (package (inherit rust-chacha20-0.9) (name "rust-chacha20") - (version "0.8.1") + (version "0.8.2") (source (origin (method url-fetch) (uri (crate-uri "chacha20" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14cgpnnpqsn5hmqkgrj4yaqdsvy56hkgcw5s2gqsxwhc7m1jmdq1")) + (base32 "19l0nrizh0v9mj2dcd1y0mh7nn9sjnmvvg203nwy6vx6193fb02w")) (modules '((guix build utils))) (snippet '(begin @@ -1417,49 +1417,17 @@ traits.") Cipher-based Message Authentication Code.") (license (list license:expat license:asl2.0)))) -(define-public rust-crypto-secretbox-0.1 - (package - (name "rust-crypto-secretbox") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "crypto_secretbox" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qa1w5s8dbyb88269zrmvbnillqahz394pl07bsds6gpmn3wzmmr")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5) - ("rust-chacha20" ,rust-chacha20-0.9) - ("rust-cipher" ,rust-cipher-0.4) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-poly1305" ,rust-poly1305-0.8) - ("rust-salsa20" ,rust-salsa20-0.10) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4)))) - (home-page - "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox") - (synopsis - "Pure Rust implementation of the XSalsa20Poly1305") - (description - "Pure Rust implementation of the XSalsa20Poly1305 (a.k.a. @code{NaCl} -crypto_secretbox) authenticated encryption cipher as well as the libsodium -variant of X@code{ChaCha20Poly1305}.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-crypto-bigint-0.5 (package (name "rust-crypto-bigint") - (version "0.5.2") + (version "0.5.5") (source (origin (method url-fetch) (uri (crate-uri "crypto-bigint" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "05gy7sqkxg65bj1wrgq1pbh8iwn1kmfysvzx1g22p4gx3972yk6g")))) + "0xmbdff3g6ii5sbxjxc31xfkv9lrmyril4arh3dzckd4gjsjzj8d")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1472,7 +1440,7 @@ variant of X@code{ChaCha20Poly1305}.") ("rust-zeroize" ,rust-zeroize-1)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) - ("rust-criterion" ,rust-criterion-0.4) + ("rust-criterion" ,rust-criterion-0.5) ("rust-hex-literal" ,rust-hex-literal-0.4) ("rust-num-bigint" ,rust-num-bigint-0.4) ("rust-num-integer" ,rust-num-integer-0.1) @@ -1563,6 +1531,40 @@ using const generics.") ("rust-subtle" ,rust-subtle-2) ("rust-zeroize" ,rust-zeroize-1)))))) +(define-public rust-crypto-box-0.8 + (package + (name "rust-crypto-box") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto_box" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g4fhdsx1g1d0algpkfwsmclbcbj6k27anj4mj5d0zrhwlnw69px")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5) + ("rust-blake2" ,rust-blake2-0.10) + ("rust-chacha20" ,rust-chacha20-0.9) + ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.10) + ("rust-salsa20" ,rust-salsa20-0.10) + ("rust-serdect" ,rust-serdect-0.1) + ("rust-x25519-dalek" ,rust-x25519-dalek-1) + ("rust-xsalsa20poly1305" ,rust-xsalsa20poly1305-0.9) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rmp-serde" ,rust-rmp-serde-1)))) + (home-page "https://github.com/RustCrypto/nacl-compat") + (synopsis "Pure Rust implementation of crypto_box") + (description + "This package provides a pure Rust implementation of @code{NaCl's} +crypto_box public-key authenticated encryption primitive, which combines the +X25519 Elliptic Curve Diffie-Hellman function and the XSalsa20Poly1305 +authenticated encryption cipher.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-crypto-common-0.1 (package (name "rust-crypto-common") @@ -1591,16 +1593,19 @@ of cryptographic primitives.") (define-public rust-crypto-mac-0.11 (package (name "rust-crypto-mac") - (version "0.11.0") + (version "0.11.1") (source (origin (method url-fetch) (uri (crate-uri "crypto-mac" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5")))) + (base32 "05672ncc54h66vph42s0a42ljl69bwnqjh0x4xgj2v1395psildi")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1618,18 +1623,21 @@ Code} (MAC) algorithms.") (package (inherit rust-crypto-mac-0.11) (name "rust-crypto-mac") - (version "0.10.0") + (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "crypto-mac" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19iyh7h9qaqrv29dhbd31rm6pq023ry78nw7jwr3qjy3l22zsms8")))) + (base32 "06h84hcaksgjzzzc9g9dpmifwx221qzzif6fw8l807khxh471w5z")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-blobby" ,rust-blobby-0.3) ("rust-cipher" ,rust-cipher-0.2) ("rust-generic-array" ,rust-generic-array-0.14) @@ -1675,22 +1683,59 @@ Code} (MAC) algorithms.") ("rust-generic-array" ,rust-generic-array-0.12) ("rust-subtle" ,rust-subtle-1)))))) -(define-public rust-crypto-mac-0.4 +(define-public rust-crypto-mac-0.4.0-yanked (package (inherit rust-crypto-mac-0.11) (name "rust-crypto-mac") - (version "0.4.0") + (version "0.4.0") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "crypto-mac" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "160ixpghhz5kz16f38kzcyv6lx8wmi4cgbhlhq4nazf678iib43p")))) (arguments `(#:cargo-inputs (("rust-constant-time-eq" ,rust-constant-time-eq-0.1) - ("rust-generic-array" ,rust-generic-array-0.8)))))) + ("rust-generic-array" ,rust-generic-array-0.8)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-crypto-mac-0.4 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-crypto-mac" rust-crypto-mac-0.4.0-yanked)) + +(define-public rust-crypto-secretbox-0.1 + (package + (name "rust-crypto-secretbox") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "crypto_secretbox" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qa1w5s8dbyb88269zrmvbnillqahz394pl07bsds6gpmn3wzmmr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5) + ("rust-chacha20" ,rust-chacha20-0.9) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-poly1305" ,rust-poly1305-0.8) + ("rust-salsa20" ,rust-salsa20-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4)))) + (home-page + "https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox") + (synopsis + "Pure Rust implementation of the XSalsa20Poly1305") + (description + "Pure Rust implementation of the XSalsa20Poly1305 (a.k.a. @code{NaCl} +crypto_secretbox) authenticated encryption cipher as well as the libsodium +variant of X@code{ChaCha20Poly1305}.") + (license (list license:asl2.0 license:expat)))) (define-public rust-crypto-tests-0.5 (package @@ -1717,33 +1762,29 @@ Code} (MAC) algorithms.") algorithms.") (license (list license:expat license:asl2.0)))) -(define-public rust-crypto-hash-0.3 +(define-public rust-cryptovec-0.6 (package - (name "rust-crypto-hash") - (version "0.3.4") + (name "rust-cryptovec") + (version "0.6.1") (source (origin (method url-fetch) - (uri (crate-uri "crypto-hash" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "cryptovec" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1jnxgpk0j29hzcv42viq5dckyfjnxdjsar55366j95zx80i1cxwa")))) + (base32 "1pqb2g1n3sx0d2cjiy06amcr2wlf9izwb4jj68nk5cmvlq9zmiyc")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-commoncrypto" ,rust-commoncrypto-0.2) - ("rust-hex" ,rust-hex-0.3) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-winapi" ,rust-winapi-0.3)))) - (inputs - (list openssl)) - (home-page "https://github.com/malept/crypto-hash") - (synopsis "Wrapper for OS-level cryptographic hash functions") - (description "This package provides a wrapper for OS-level cryptographic -hash functions.") - (license license:expat))) + `(#:cargo-test-flags '("--" + "--skip=CryptoVec::from_slice (line 406)") + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://pijul.org/cryptovec") + (synopsis "Vector which zeroes its memory on clears and reallocations") + (description + "This package provides a vector which zeroes its memory on clears and +reallocations.") + (license license:asl2.0))) (define-public rust-csrf-0.4 (package @@ -1841,14 +1882,14 @@ re-exported cipher crate.") (define-public rust-curve25519-dalek-4 (package (name "rust-curve25519-dalek") - (version "4.1.2") + (version "4.1.3") (source (origin (method url-fetch) (uri (crate-uri "curve25519-dalek" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0j7kqchcgycs4a11gvlda93h9w2jr05nn4hjpfyh2kn94a4pnrqa")))) + (base32 "1gmjb9dsknrr8lypmhkyjd67p1arb8mbfamlwxm7vph38my8pywp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1882,14 +1923,21 @@ on ristretto255 and Curve25519.") (package (inherit rust-curve25519-dalek-4) (name "rust-curve25519-dalek") - (version "3.2.0") + (version "3.2.1") (source (origin (method url-fetch) (uri (crate-uri "curve25519-dalek" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0q8v97275cy6v4ly6y2qwv9a8phnpjg9sy8kv7r6mgdjfacxz7qb")))) + (base32 "1h0vcl8p4syvci9zxkn3h80h06xv1fyqgcrfwrv0lnbzjr9d1ych")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*)," + " <([[:digit:]]+(\\.[[:digit:]]+)*)") + _ version _) + (string-append ">=" version))))))) (arguments `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) @@ -2003,27 +2051,6 @@ ciphers implementations.") ("rust-cipher" ,rust-cipher-0.3) ("rust-opaque-debug" ,rust-opaque-debug-0.3)))))) -(define-public rust-des-0.6 - (package - (inherit rust-des-0.7) - (name "rust-des") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "des" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bigk1x1kxvnfjn1alr8cc383z1flmj8q7g2pjl2zal8i1s7qkmj")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-cipher" ,rust-cipher-0.2) - ("rust-opaque-debug" ,rust-opaque-debug-0.3)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.2)))))) - (define-public rust-digest-0.10 (package (name "rust-digest") @@ -2208,28 +2235,6 @@ Signature Standard), providing RFC6979 deterministic signatures as well as support for added entropy.") (license (list license:asl2.0 license:expat)))) -(define-public rust-ecdsa-0.14 - (package - (inherit rust-ecdsa-0.16) - (name "rust-ecdsa") - (version "0.14.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "ecdsa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0p1wxap2s6jm06y2w3cal8dkz6p9223ir9wws70rgx8h929h2cs1")))) - (arguments - `(#:cargo-inputs (("rust-der" ,rust-der-0.6) - ("rust-elliptic-curve" ,rust-elliptic-curve-0.12) - ("rust-rfc6979" ,rust-rfc6979-0.3) - ("rust-serdect" ,rust-serdect-0.1) - ("rust-signature" ,rust-signature-1)) - #:cargo-development-inputs (("rust-elliptic-curve" ,rust-elliptic-curve-0.12) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-sha2" ,rust-sha2-0.10)))))) - (define-public rust-ecies-ed25519-0.5 (package (name "rust-ecies-ed25519") @@ -2263,6 +2268,43 @@ support for added entropy.") "ECIES on Twisted Edwards Curve25519 using AES-GCM and HKDF-SHA256.") (license (list license:expat license:asl2.0)))) +(define-public rust-ecies-ed25519-ng-0.5 + (package + (name "rust-ecies-ed25519-ng") + (version "0.5.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Revertron/ecies-ed25519-ng") + ;; Version bump without a git tag. + (commit "554ca29a1bbd55f0c7e2f75cb3c7e0e3030afc15"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04s0ycvnz1wbccf46a63w6zxiqm9yszw71q6fk1ssdc64qj7k5mh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aes-gcm" ,rust-aes-gcm-0.10) + ("rust-curve25519-dalek" ,rust-curve25519-dalek-4) + ("rust-digest" ,rust-digest-0.10) + ("rust-hex" ,rust-hex-0.4) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-ring" ,rust-ring-0.17) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-serde-cbor" ,rust-serde-cbor-0.11) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/Revertron/ecies-ed25519-ng") + (synopsis "Integrated encryption scheme on Twisted Edwards Curve25519") + (description + "ECIES on Twisted Edwards Curve25519 using AES-GCM and HKDF-SHA256.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ed25519-2 (package (name "rust-ed25519") @@ -2330,19 +2372,19 @@ implementations, including HSMs or Cloud KMS services.") (define-public rust-ed25519-compact-2 (package (name "rust-ed25519-compact") - (version "2.0.4") + (version "2.1.1") (source (origin (method url-fetch) (uri (crate-uri "ed25519-compact" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0k4y7bjl5g0l871iav4zj35qx047n0a4qsvhr28p6434hhp3hgba")))) + "1431kxw67xkk5y5kamfdjxnqbzqy5y4p032syi3wva5y8h7ldcz9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ct-codecs" ,rust-ct-codecs-1) - ("rust-ed25519" ,rust-ed25519-1) + ("rust-ed25519" ,rust-ed25519-2) ("rust-getrandom" ,rust-getrandom-0.2)) #:cargo-development-inputs (("rust-ct-codecs" ,rust-ct-codecs-1) @@ -2428,6 +2470,59 @@ generations, signing, and verification in pure Rust.") ("rust-sha2" ,rust-sha2-0.9) ("rust-zeroize" ,rust-zeroize-1)))))) +(define-public rust-ed25519-zebra-2 + (package + (name "rust-ed25519-zebra") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ed25519-zebra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0284mnhc2514b9hzyhgcf8vfggwdqwyx8vsawckv9m3dmxv8n4ha")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-curve25519-dalek" ,rust-curve25519-dalek-3) + ("rust-hex" ,rust-hex-0.4) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-color-eyre" ,rust-color-eyre-0.5) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-ed25519-zebra" ,rust-ed25519-zebra-1) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.7)))) + (home-page "https://github.com/ZcashFoundation/ed25519-zebra") + (synopsis "Zcash-flavored Ed25519 for use in Zebra") + (description + "This package provides Zcash-flavored Ed25519 for use in Zebra.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ed25519-zebra-1 + (package + (inherit rust-ed25519-zebra-2) + (name "rust-ed25519-zebra") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ed25519-zebra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zyi37p8p1qqbbkd27w52zvx5cj9b56rvc17jiw9d71j3gziynn8")))) + (arguments + `(#:cargo-inputs (("rust-curve25519-dalek" ,rust-curve25519-dalek-3) + ("rust-hex" ,rust-hex-0.4) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-rand" ,rust-rand-0.7)))))) (define-public rust-elliptic-curve-0.13 (package @@ -2474,52 +2569,17 @@ generations, signing, and verification in pure Rust.") curve forms, scalars, points, and public/secret keys composed thereof.") (license (list license:asl2.0 license:expat)))) -(define-public rust-elliptic-curve-0.12 - (package - (inherit rust-elliptic-curve-0.13) - (name "rust-elliptic-curve") - (version "0.12.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "elliptic-curve" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lwi108mh6drw5nzqzlz7ighdba5qxdg5vmwwnw1j2ihnn58ifz7")))) - (arguments - `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1) - ("rust-base64ct" ,rust-base64ct-1) - ("rust-crypto-bigint" ,rust-crypto-bigint-0.4) - ("rust-der" ,rust-der-0.6) - ("rust-digest" ,rust-digest-0.10) - ("rust-ff" ,rust-ff-0.12) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-group" ,rust-group-0.12) - ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-hkdf" ,rust-hkdf-0.12) - ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.6) - ("rust-pkcs8" ,rust-pkcs8-0.9) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-sec1" ,rust-sec1-0.3) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serdect" ,rust-serdect-0.1) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-sha3" ,rust-sha3-0.10)))))) - (define-public rust-fiat-crypto-0.2 (package (name "rust-fiat-crypto") - (version "0.2.6") + (version "0.2.9") (source (origin (method url-fetch) (uri (crate-uri "fiat-crypto" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10hkkkjynhibvchznkxx81gwxqarn9i5sgz40d6xxb8xzhsz8xhn")))) + (base32 "07c1vknddv3ak7w89n85ik0g34nzzpms6yb845vrjnv9m4csbpi8")))) (build-system cargo-build-system) (home-page "https://github.com/mit-plv/fiat-crypto") (synopsis "Fiat-crypto generated Rust") @@ -2544,14 +2604,14 @@ curve forms, scalars, points, and public/secret keys composed thereof.") (define-public rust-ghash-0.5 (package (name "rust-ghash") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "ghash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h1y3v3kj8xxkf2snv1yly0lr20fdh3jrm60p382szbiwl6pac6r")))) + (base32 "1wbg4vdgzwhkpkclz1g6bs4r5x984w5gnlsj4q5wnafb5hva9n7h")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -2613,24 +2673,6 @@ authenticated encryption cipher.") #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.2)))))) -(define-public rust-ghash-0.2 - (package - (inherit rust-ghash-0.3) - (name "rust-ghash") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "ghash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lijv1y6qcysnxv45ny5fjvc4v9gmpggxlj6xa4l065737nk02cz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-polyval" ,rust-polyval-0.3) - ("rust-zeroize" ,rust-zeroize-1)))))) - (define-public rust-hkdf-0.12 (package (name "rust-hkdf") @@ -2705,48 +2747,6 @@ Derivation Function (HKDF).") ("rust-sha-1" ,rust-sha-1-0.9) ("rust-sha2" ,rust-sha2-0.9)))))) -(define-public rust-hkdf-0.9 - (package - (inherit rust-hkdf-0.11) - (name "rust-hkdf") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hkdf" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jdvmf8aadk3s0kn9kk3dj00nprjk9glks5f8dm55r43af34j4gy")))) - (arguments - `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hmac" ,rust-hmac-0.8)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-crypto-tests" ,rust-crypto-tests-0.5) - ("rust-hex" ,rust-hex-0.4) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - -(define-public rust-hkdf-0.8 - (package - (inherit rust-hkdf-0.9) - (name "rust-hkdf") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hkdf" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qzsmqrvcmgnrb109qr2mvsmr5c4psm1702vrpcqnj02c408m81z")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-digest" ,rust-digest-0.8) - ("rust-hmac" ,rust-hmac-0.7)))))) - (define-public rust-hmac-0.12 (package (name "rust-hmac") @@ -2818,52 +2818,6 @@ Hash-based Message Authentication Code}.") ("rust-md-5" ,rust-md-5-0.9) ("rust-sha2" ,rust-sha2-0.9)))))) -(define-public rust-hmac-0.8 - (package - (inherit rust-hmac-0.11) - (name "rust-hmac") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "hmac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0h48wc7iysh4xd6ci4prh8bb7nszijrh9w3blaaq8a6cilk8hs0j")))) - (arguments - `(#:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.8) - ("rust-digest" ,rust-digest-0.9)) - #:cargo-development-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.8) - ("rust-md-5" ,rust-md-5-0.9) - ("rust-sha2" ,rust-sha2-0.9)))))) - -(define-public rust-hmac-0.7 - (package - (inherit rust-hmac-0.8) - (name "rust-hmac") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "hmac" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15cnwpssp2n1kdm9x7abir67f2hp3q6rdfj1mcck3hm4rmj5xjsx")))) - (arguments - `(#:cargo-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.7) - ("rust-digest" ,rust-digest-0.8)) - #:cargo-development-inputs - (("rust-crypto-mac" ,rust-crypto-mac-0.7) - ("rust-md-5" ,rust-md-5-0.8) - ("rust-sha2" ,rust-sha2-0.8)))))) - (define-public rust-hmac-sha1-0.1 (package (name "rust-hmac-sha1") @@ -2890,14 +2844,14 @@ Hash-based Message Authentication Code algorithm} for SHA1.") (define-public rust-k256-0.13 (package (name "rust-k256") - (version "0.13.3") + (version "0.13.4") (source (origin (method url-fetch) (uri (crate-uri "k256" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ysq18pjz040am5llgly90464x7qqq98yxfbcsladq96gsvgjvwm")))) + (base32 "06s1lxjp49zgmbxnfdy2kajyklbkl4s3jvdvy0amg552padr3qzn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) @@ -2932,13 +2886,13 @@ be used to implement arbitrary protocols.") (define-public rust-kuznyechik-0.8 (package (name "rust-kuznyechik") - (version "0.8.1") + (version "0.8.2") (source (origin (method url-fetch) (uri (crate-uri "kuznyechik" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0av39qh65xchvpfjkcwh861h9bzmmrgcrzl5h0sa5b692xabd0w4")))) + (base32 "0by12awlby61ihp097gz193h8any0dkq5z46svg6130r4jjrjy6a")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -2951,6 +2905,36 @@ be used to implement arbitrary protocols.") (description "Kuznyechik (GOST R 34.12-2015) block cipher") (license (list license:expat license:asl2.0)))) +(define-public rust-libsodium-sys-0.2 + (package + (name "rust-libsodium-sys") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsodium-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zcjka23grayr8kjrgbada6vwagp0kkni9m45v0gpbanrn3r6xvb")) + (snippet + #~(begin (use-modules (guix build utils)) + (for-each delete-file-recursively + (list "libsodium" + "mingw" + "msvc")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-walkdir" ,rust-walkdir-2)))) + (native-inputs (list pkg-config)) + (inputs (list libsodium)) + (home-page "https://github.com/sodiumoxide/sodiumoxide.git") + (synopsis "FFI binding to libsodium") + (description "This package provides FFI bindings to libsodium.") + (license (list license:expat license:asl2.0)))) + (define-public rust-mas-jose-0.7 (package (name "rust-mas-jose") @@ -3045,31 +3029,6 @@ be used to implement arbitrary protocols.") (("rust-digest" ,rust-digest-0.9) ("rust-hex-literal" ,rust-hex-literal-0.2)))))) -(define-public rust-md-5-0.8 - (package - (inherit rust-md-5-0.9) - (name "rust-md-5") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "md-5" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1j5rfxy2p76xf5f1lgaw85xla0b1bbv2lknvdhv1j0ibmzfg72m1")))) - (arguments - `(#:tests? #f ; cannot find macro `proc_macro_call` in this scope - #:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.7) - ("rust-digest" ,rust-digest-0.8) - ("rust-md5-asm" ,rust-md5-asm-0.4) - ("rust-opaque-debug" ,rust-opaque-debug-0.2)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.8) - ("rust-hex-literal" ,rust-hex-literal-0.1)))))) - (define-public rust-md5-0.7 (package (name "rust-md5") @@ -3121,14 +3080,14 @@ be used to implement arbitrary protocols.") (define-public rust-md5-asm-0.5 (package (name "rust-md5-asm") - (version "0.5.0") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "md5-asm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ixmkg8j7sqy9zln6pz9xi2dl2d9zpm8pz6p49za47n1bvradfbk")))) + "1pz217kwlvrw4bj4hil5acyp3l7g37vwf25psdc210bxzkkqx6yi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) @@ -3161,14 +3120,14 @@ compression function.") (define-public rust-nettle-7 (package (name "rust-nettle") - (version "7.3.0") + (version "7.4.0") (source (origin (method url-fetch) (uri (crate-uri "nettle" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0dk36l90p79c3xgmrzp8489h8dfaal0jzaid1n8n3cg7xbrwrzdr")))) + (base32 "0dk9rlpz4c0kf2c7298vllpnwr3lh10kkgdbslglmlz5ji5gzrj4")))) (build-system cargo-build-system) (native-inputs (list pkg-config)) @@ -3187,37 +3146,17 @@ compression function.") cryptographic library.") (license (list license:lgpl3 license:gpl2 license:gpl3)))) -(define-public rust-nettle-5 - (package - (inherit rust-nettle-7) - (version "5.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "nettle" version)) - (file-name - (string-append (package-name rust-nettle-7) "-" version ".tar.gz")) - (sha256 - (base32 "0zfplqdf3mag8r7lc124hl24vri8yg711jmm8gl1mpwnlhass2n4")) - (patches (search-patches "rust-nettle-disable-vendor.patch")))) - (arguments - `(#:cargo-inputs - (("rust-failure" ,rust-failure-0.1) - ("rust-getrandom" ,rust-getrandom-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-nettle-sys" ,rust-nettle-sys-2)))))) - (define-public rust-nettle-sys-2 (package (name "rust-nettle-sys") - (version "2.2.0") + (version "2.3.0") (source (origin (method url-fetch) (uri (crate-uri "nettle-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wwa7pmxdz7yl9jwybml2kmrj3i87jcn0h0cdc5xl0lhgcs1rs5m")))) + (base32 "1v36is0kygwc4rcdqnszgdwm14z2j8p23wbblbiq16m120x0b5dl")))) (build-system cargo-build-system) (native-inputs (list clang pkg-config)) @@ -3225,7 +3164,7 @@ cryptographic library.") (list nettle)) (arguments `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.63) + (("rust-bindgen" ,rust-bindgen-0.68) ("rust-cc" ,rust-cc-1) ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3) @@ -3238,17 +3177,68 @@ cryptographic library.") (license ;; licensed under either of these, at your option (list license:lgpl3 license:gpl2 license:gpl3)))) +(define-public rust-oo7-0.2 + (package + (name "rust-oo7") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "oo7" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13cpaq7f51gqcspd4097vjr7r2cjpxpn6c02x67dsdizk0xaiv5c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + "--skip=dbus::collection::tests::create_encrypted_item" + "--skip=dbus::collection::tests::create_plain_item" + "--skip=dbus::service::tests::create_collection") + #:cargo-inputs (("rust-aes" ,rust-aes-0.8) + ("rust-async-fs" ,rust-async-fs-2) + ("rust-async-io" ,rust-async-io-2) + ("rust-async-lock" ,rust-async-lock-3) + ("rust-blocking" ,rust-blocking-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-cbc" ,rust-cbc-0.1) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-digest" ,rust-digest-0.10) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-num" ,rust-num-0.4) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-pbkdf2" ,rust-pbkdf2-0.12) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-zbus" ,rust-zbus-3) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/bilelmoussaoui/oo7") + (synopsis "Secret Service provider") + (description + "This package provides oo7, a Rust Secret Service provider.") + (license license:expat))) + (define-public rust-orion-0.17 (package (name "rust-orion") - (version "0.17.6") + (version "0.17.7") (source (origin (method url-fetch) (uri (crate-uri "orion" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1rcm8vgzb1rvm1ilgak1lkia3wasdmnmv93b055qqg4hh40v3gbs")))) + "1lzs8dlpdbq19hi3b4358bnrypvsxvfz4xp5b492gkb0rwam9awp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -3527,6 +3517,83 @@ in pure Rust.") ("rust-sha-1" ,rust-sha-1-0.9) ("rust-sha2" ,rust-sha2-0.9)))))) +(define-public rust-pem-rfc7468-0.7 + (package + (name "rust-pem-rfc7468") + (version "0.7.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04l4852scl4zdva31c1z6jafbak0ni5pi0j38ml108zwzjdrrcw8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/pem-rfc7468") + (synopsis + "PEM Encoding implementing a subset of Privacy-Enhanced Mail encoding") + (description + "This package provides PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS +Structures, implementing a strict subset of the original Privacy-Enhanced Mail +encoding intended specifically for use with cryptographic keys, certificates, +and other messages. It provides a no_std-friendly, constant-time +implementation suitable for use with cryptographic private keys.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-pem-rfc7468-0.6 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1b5d8rvc4lgwxhs72m99fnrg0wq7bqh4x4wq0c7501ci7a1mkl94")))) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) + +(define-public rust-pem-rfc7468-0.3 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c7vrrksg8fqzxb7q4clzl14f0qnqky7jqspjqi4pailiybmvph1")))) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) + +(define-public rust-pem-rfc7468-0.2 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (((string-append ">=([[:digit:]]+(\\.[[:digit:]]+)*)," + " <([[:digit:]]+(\\.[[:digit:]]+)*)") + _ version _) + (string-append ">=" version))))))) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) + (define-public rust-pkcs1-0.7 (package (name "rust-pkcs1") @@ -3829,76 +3896,6 @@ with additional support for PKCS#8v2 asymmetric key packages (RFC 5958).") ("rust-spki" ,rust-spki-0.4) ("rust-zeroize" ,rust-zeroize-1)))))) -(define-public rust-pem-rfc7468-0.7 - (package - (name "rust-pem-rfc7468") - (version "0.7.0") - (source (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04l4852scl4zdva31c1z6jafbak0ni5pi0j38ml108zwzjdrrcw8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/pem-rfc7468") - (synopsis - "PEM Encoding implementing a subset of Privacy-Enhanced Mail encoding") - (description - "This package provides PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS -Structures, implementing a strict subset of the original Privacy-Enhanced Mail -encoding intended specifically for use with cryptographic keys, certificates, -and other messages. It provides a no_std-friendly, constant-time -implementation suitable for use with cryptographic private keys.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-pem-rfc7468-0.6 - (package - (inherit rust-pem-rfc7468-0.7) - (name "rust-pem-rfc7468") - (version "0.6.0") - (source (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1b5d8rvc4lgwxhs72m99fnrg0wq7bqh4x4wq0c7501ci7a1mkl94")))) - (arguments - `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) - -(define-public rust-pem-rfc7468-0.3 - (package - (inherit rust-pem-rfc7468-0.7) - (name "rust-pem-rfc7468") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0c7vrrksg8fqzxb7q4clzl14f0qnqky7jqspjqi4pailiybmvph1")))) - (arguments - `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) - -(define-public rust-pem-rfc7468-0.2 - (package - (inherit rust-pem-rfc7468-0.7) - (name "rust-pem-rfc7468") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4")))) - (arguments - `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1.1)))))) - (define-public rust-poly1305-0.8 (package (name "rust-poly1305") @@ -3952,14 +3949,14 @@ a cipher, can be used as a Message Authentication Code (MAC).") (define-public rust-polyval-0.6 (package (name "rust-polyval") - (version "0.6.0") + (version "0.6.2") (source (origin (method url-fetch) (uri (crate-uri "polyval" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1iihmpn1h1ag5zl368yfq0jz1drfdw7xg7zpaqpcppqiikh39wky")))) + (base32 "09gs56vm36ls6pyxgh06gw2875z2x77r8b2km8q28fql0q6yc7wx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -4025,24 +4022,6 @@ for constructing a Message Authentication Code (MAC).") #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.2)))))) -(define-public rust-polyval-0.3 - (package - (inherit rust-polyval-0.4) - (name "rust-polyval") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "polyval" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 (base32 "04m2wf4pk6gglvl12fj7ylc2iqhxmzqj46rds6zy73cpk0a39hvy")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-universal-hash" ,rust-universal-hash-0.3) - ("rust-zeroize" ,rust-zeroize-1)))))) - (define-public rust-ppv-lite86-0.2 (package (name "rust-ppv-lite86") @@ -4135,11 +4114,11 @@ Digital Signature Algorithm} (ECDSA).") ("rust-zeroize" ,rust-zeroize-1)) #:cargo-development-inputs (("rust-sha2" ,rust-sha2-0.10)))))) -(define computed-origin-method (@@ (guix packages) computed-origin-method)) (define rust-ring-0.17-sources - (let* ((version "0.17.8") - (upstream-source - (origin + (package + (name "rust-ring") + (version "0.17.8.tar.gz") ; Hack to adjust the output name. + (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/briansmith/ring") @@ -4147,182 +4126,185 @@ Digital Signature Algorithm} (ECDSA).") (file-name (git-file-name "rust-ring" version)) (sha256 (base32 "0rqfal81bf4l3dja98cajfjq2jbz1rcx7xdp2r33cxrm5y5psr28")) - (patches (search-patches "rust-ring-0.17-ring-core.patch"))))) - (origin - (method computed-origin-method) - (file-name (string-append "rust-ring-" version ".tar.gz")) - (sha256 #f) - (uri - (delay - (with-imported-modules '((guix build utils)) - #~(begin - (use-modules (guix build utils)) - (set-path-environment-variable - "PATH" '("bin") - (list #+(canonical-package gzip) - #+(canonical-package tar) - #+perl - #+nasm - #+go - #+clang ; clang-format - #+python-minimal)) - (setenv "HOME" (getcwd)) - (copy-recursively #+upstream-source - (string-append "ring-" #$version)) - (with-directory-excursion (string-append "ring-" #$version) - (begin - ;; It turns out Guix's nasm works just fine here. - (substitute* "build.rs" - (("./target/tools/windows/nasm/nasm") "nasm")) - ;; Files which would be deleted in a snippet: - (delete-file "crypto/curve25519/curve25519_tables.h") - (delete-file "crypto/fipsmodule/ec/p256-nistz-table.h") - (delete-file "crypto/fipsmodule/ec/p256_table.h") - ;; This file causes problems during the 'package phase and - ;; is not distributed with the packaged crate. - (substitute* "Cargo.toml" - (("\"bench\",") "")) - (delete-file "bench/Cargo.toml") - ;; Files to be generated in the sources: - (format #t "Generating the missing files ...~%") - (force-output) - (with-directory-excursion "crypto/curve25519" - (with-output-to-file "curve25519_tables.h" - (lambda _ (invoke "python3" "make_curve25519_tables.py"))) - ;; As seen in git between 0.17.0 and 0.17.1. - (substitute* "curve25519_tables.h" - (("static const uint8_t k25519Precomp") - "const uint8_t k25519Precomp"))) - (with-directory-excursion "crypto/fipsmodule/ec" - (invoke "go" "run" "make_tables.go") - (invoke "go" "run" "make_ec_scalar_base_mult_tests.go")) - (format #t "Generating the pregenerated files ...~%") - (force-output) - (mkdir-p "pregenerated/tmp/ring_core_generated") - - ;; We generate all the files which upstream would normally be - ;; generate by using 'RING_PREGENERATE_ASM=1 cargo build - ;; --target-dir=target/pregenerate_asm' in order to not include - ;; a dependency on cargo when generating the sources. - (define (prefix script) - (string-append - "pregenerated/" - (string-drop-right - (string-drop script - (string-index-right script #\/)) 3))) - - (for-each - (lambda (script) - (invoke "perl" script "ios64" - (string-append (prefix script) "-ios64.S")) - (invoke "perl" script "linux64" - (string-append (prefix script) "-linux64.S")) - (invoke "perl" script "win64" - (string-append (prefix script) "-win64.S"))) - '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" - "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" - "crypto/chacha/asm/chacha-armv8.pl" - "crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl" - "crypto/fipsmodule/aes/asm/vpaes-armv8.pl" - "crypto/fipsmodule/bn/asm/armv8-mont.pl" - "crypto/fipsmodule/ec/asm/p256-armv8-asm.pl" - "crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl" - "crypto/fipsmodule/modes/asm/aesv8-gcm-armv8.pl" - "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) - - (for-each - (lambda (arch) - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" - arch (string-append - "pregenerated/sha256-armv8-" arch ".S"))) - '("ios64" "linux64" "win64")) - - (for-each - (lambda (script) - (invoke "perl" script "linux32" - (string-append (prefix script) "-linux32.S"))) - '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" - "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" - "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" - "crypto/fipsmodule/aes/asm/vpaes-armv7.pl" - "crypto/fipsmodule/bn/asm/armv4-mont.pl" - "crypto/chacha/asm/chacha-armv4.pl" - "crypto/fipsmodule/modes/asm/ghash-armv4.pl" - "crypto/fipsmodule/sha/asm/sha256-armv4.pl" - "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) - - (for-each - (lambda (script) - (invoke "perl" script "elf" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append (prefix script) "-elf.S")) - (invoke "perl" script "win32n" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append - "pregenerated/tmp/" - (string-drop (prefix script) 13) "-win32n.asm"))) - '("crypto/fipsmodule/aes/asm/aesni-x86.pl" - "crypto/fipsmodule/aes/asm/vpaes-x86.pl" - "crypto/fipsmodule/bn/asm/x86-mont.pl" - "crypto/chacha/asm/chacha-x86.pl" - "crypto/fipsmodule/modes/asm/ghash-x86.pl")) - - (for-each - (lambda (script) - (invoke "perl" script "elf" - (string-append (prefix script) "-elf.S")) - (invoke "perl" script "macosx" - (string-append (prefix script) "-macosx.S")) - (invoke "perl" script "nasm" - (string-append - "pregenerated/tmp/" - (string-drop (prefix script) 13) "-nasm.asm"))) - '("crypto/chacha/asm/chacha-x86_64.pl" - "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" - "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" - "crypto/fipsmodule/bn/asm/x86_64-mont.pl" - "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" - "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" - "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" - "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" - "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl")) - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "elf" "pregenerated/sha256-x86_64-elf.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "macosx" "pregenerated/sha256-x86_64-macosx.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") - - ;; TODO: Extract ring_core_generated/prefix_symbols_nasm.inc - ;; and ring_core_generated/prefix_symbols_asm.h from build.rs. - - (for-each - (lambda (script) - (invoke "nasm" "-o" (string-append (prefix script) "o") - "-f" "win32" "-i" "include/" "-i" "pregenerated/tmp/" - "-Xgnu" "-gcv8" script)) - (find-files "pregenerated/tmp" "win32n\\.asm")) - - (for-each - (lambda (script) - (invoke "nasm" "-o" (string-append (prefix script) "o") - "-f" "win64" "-i" "include/" "-i" "pregenerated/tmp/" - "-Xgnu" "-gcv8" script)) - (find-files "pregenerated/tmp" "nasm\\.asm")) - - (format #t "Creating the tarball ...~%") - (force-output) - ;; The other option is to use cargo package --allow-dirty - (with-directory-excursion "../" - (invoke "tar" "czf" #$output - ;; avoid non-determinism in the archive - "--sort=name" "--mtime=@0" - "--owner=root:0" "--group=root:0" - (string-append "ring-" #$version)))))))))))) + (patches (search-patches "rust-ring-0.17-ring-core.patch")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; It turns out Guix's nasm works just fine here. + (substitute* "build.rs" + (("./target/tools/windows/nasm/nasm") "nasm")) + ;; These files are pregenerated: + (delete-file "crypto/curve25519/curve25519_tables.h") + (delete-file "crypto/fipsmodule/ec/p256-nistz-table.h") + (delete-file "crypto/fipsmodule/ec/p256_table.h") + ;; As seen in git between 0.17.0 and 0.17.1. + (substitute* "crypto/curve25519/make_curve25519_tables.py" + (("static const uint8_t k25519Precomp") + "const uint8_t k25519Precomp")) + ;; This file causes problems during the 'package phase and + ;; is not distributed with the packaged crate. + (substitute* "Cargo.toml" + (("\"bench\",") "")) + (delete-file "bench/Cargo.toml"))))) + (build-system trivial-build-system) + (arguments + (list + #:modules '((guix build utils)) + #:builder + #~(begin + (use-modules (guix build utils)) + (setenv "PATH" + (string-join + (list #+(this-package-native-input "clang") ; for clang-format + #+(this-package-native-input "go") + #+(this-package-native-input "gzip") + #+(this-package-native-input "nasm") + #+(this-package-native-input "perl") + #+(this-package-native-input "python-minimal") + #+(this-package-native-input "tar")) + "/bin:" 'suffix)) + + (setenv "HOME" (getcwd)) + (copy-recursively #+source (string-append "ring-" #$version)) + (with-directory-excursion (string-append "ring-" #$version) + (begin + (with-directory-excursion "crypto/curve25519" + (with-output-to-file "curve25519_tables.h" + (lambda _ (invoke "python3" "make_curve25519_tables.py")))) + (with-directory-excursion "crypto/fipsmodule/ec" + (invoke "go" "run" "make_tables.go") + (invoke "go" "run" "make_ec_scalar_base_mult_tests.go")) + (format #t "Generating the pregenerated files ...~%") + (force-output) + (mkdir-p "pregenerated/tmp/ring_core_generated") + + ;; We generate all the files which upstream would normally be + ;; generate by using 'RING_PREGENERATE_ASM=1 cargo build + ;; --target-dir=target/pregenerate_asm' in order to not include + ;; a dependency on cargo when generating the sources. + (define (prefix script) + (string-append + "pregenerated/" + (string-drop-right + (string-drop script + (string-index-right script #\/)) 3))) + + (for-each + (lambda (script) + (invoke "perl" script "ios64" + (string-append (prefix script) "-ios64.S")) + (invoke "perl" script "linux64" + (string-append (prefix script) "-linux64.S")) + (invoke "perl" script "win64" + (string-append (prefix script) "-win64.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/chacha/asm/chacha-armv8.pl" + "crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl" + "crypto/fipsmodule/aes/asm/vpaes-armv8.pl" + "crypto/fipsmodule/bn/asm/armv8-mont.pl" + "crypto/fipsmodule/ec/asm/p256-armv8-asm.pl" + "crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl" + "crypto/fipsmodule/modes/asm/aesv8-gcm-armv8.pl" + "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) + + (for-each + (lambda (arch) + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + arch (string-append + "pregenerated/sha256-armv8-" arch ".S"))) + '("ios64" "linux64" "win64")) + + (for-each + (lambda (script) + (invoke "perl" script "linux32" + (string-append (prefix script) "-linux32.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" + "crypto/fipsmodule/aes/asm/vpaes-armv7.pl" + "crypto/fipsmodule/bn/asm/armv4-mont.pl" + "crypto/chacha/asm/chacha-armv4.pl" + "crypto/fipsmodule/modes/asm/ghash-armv4.pl" + "crypto/fipsmodule/sha/asm/sha256-armv4.pl" + "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "win32n" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-win32n.asm"))) + '("crypto/fipsmodule/aes/asm/aesni-x86.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86.pl" + "crypto/fipsmodule/bn/asm/x86-mont.pl" + "crypto/chacha/asm/chacha-x86.pl" + "crypto/fipsmodule/modes/asm/ghash-x86.pl")) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "nasm" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-nasm.asm"))) + '("crypto/chacha/asm/chacha-x86_64.pl" + "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" + "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" + "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" + "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" + "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "elf" "pregenerated/sha256-x86_64-elf.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "macosx" "pregenerated/sha256-x86_64-macosx.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") + + ;; TODO: Extract ring_core_generated/prefix_symbols_nasm.inc + ;; and ring_core_generated/prefix_symbols_asm.h from build.rs. + + (for-each + (lambda (script) + (invoke "nasm" "-o" (string-append (prefix script) "o") + "-f" "win32" "-i" "include/" "-i" "pregenerated/tmp/" + "-Xgnu" "-gcv8" script)) + (find-files "pregenerated/tmp" "win32n\\.asm")) + + (for-each + (lambda (script) + (invoke "nasm" "-o" (string-append (prefix script) "o") + "-f" "win64" "-i" "include/" "-i" "pregenerated/tmp/" + "-Xgnu" "-gcv8" script)) + (find-files "pregenerated/tmp" "nasm\\.asm")) + + (format #t "Creating the tarball ...~%") + (force-output) + (with-directory-excursion "../" + (invoke "tar" "czf" #$output + ;; avoid non-determinism in the archive + "--sort=name" "--mtime=@0" + "--owner=root:0" "--group=root:0" + (string-append "ring-" #$version)))))))) + (native-inputs + (list clang go gzip nasm perl python-minimal tar)) + (home-page "https://github.com/briansmith/ring") + (synopsis "Safe, fast, small crypto using Rust") + (description "This package provided safe, fast, small crypto using Rust.") + (license (list license:isc license:openssl)))) (define-public rust-ring-0.17 (package @@ -4347,179 +4329,180 @@ Digital Signature Algorithm} (ECDSA).") (license (list license:isc license:openssl)))) (define rust-ring-0.16-sources - (let* ((version "0.16.20") - (upstream-source - (origin + (package + (inherit rust-ring-0.17-sources) + (name "rust-ring") + (version "0.16.20.tar.gz") ; Hack to adjust the output name. + (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/briansmith/ring") (commit "9cc0d45f4d8521f467bb3a621e74b1535e118188"))) (file-name (git-file-name "rust-ring" version)) (sha256 - (base32 "1aps05i5308ka03968glnnqr4kdkk2x4ghlg5vrqhl78jm6ivvby"))))) - (origin - (method computed-origin-method) - (file-name (string-append "rust-ring-" version ".tar.gz")) - (sha256 #f) - (uri - (delay - (with-imported-modules '((guix build utils)) - #~(begin - (use-modules (guix build utils)) - (set-path-environment-variable - "PATH" '("bin") - (list #+(canonical-package gzip) - #+(canonical-package tar) - #+perl - #+nasm - #+go - #+clang ; clang-format - #+python2-minimal)) - (setenv "HOME" (getcwd)) - (copy-recursively #+upstream-source - (string-append "ring-" #$version)) - (with-directory-excursion (string-append "ring-" #$version) - (begin - ;; It turns out Guix's nasm works just fine here. - (substitute* "build.rs" - (("./target/tools/nasm") "nasm")) - ;; Files which would be deleted in a snippet: - (delete-file "crypto/curve25519/curve25519_tables.h") - (delete-file "crypto/fipsmodule/ec/ecp_nistz256_table.inl") - ;; Files to be generated in the sources: - (format #t "Generating the missing files ...~%") - (force-output) - (with-directory-excursion "crypto/curve25519" - (with-output-to-file "curve25519_tables.h" - (lambda _ (invoke "python" "make_curve25519_tables.py")))) - (with-directory-excursion "crypto/fipsmodule/ec" - (with-output-to-file "ecp_nistz256_table.inl" - (lambda _ (invoke "go" "run" "make_p256-x86_64-table.go")))) - (format #t "Generating the pregenerated files ...~%") - (force-output) - (mkdir-p "pregenerated/tmp") - - ;; We generate all the files which upstream would normally be - ;; generate by using '(cd pregenerate_asm && cargo clean && - ;; cargo build) ./pregenerate_asm/target/debug/pregenerate_asm' - ;; in order to not include a dependency on cargo when - ;; generating the sources. - (define (prefix script) - (string-append - "pregenerated/" - (string-drop-right - (string-drop script - (string-index-right script #\/)) 3))) - - (for-each - (lambda (script) - (invoke "perl" script "elf" - (string-append (prefix script) "-elf.S")) - (invoke "perl" script "macosx" - (string-append (prefix script) "-macosx.S")) - (invoke "perl" script "nasm" - (string-append - "pregenerated/tmp/" - (string-drop (prefix script) 13) "-nasm.asm"))) - '("crypto/fipsmodule/aes/asm/aesni-x86_64.pl" - "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" - "crypto/fipsmodule/bn/asm/x86_64-mont.pl" - "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" - "crypto/chacha/asm/chacha-x86_64.pl" - "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" - "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" - "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" - "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl")) - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "elf" "pregenerated/sha256-x86_64-elf.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "macosx" "pregenerated/sha256-x86_64-macosx.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") - - (for-each - (lambda (script) - (invoke "nasm" "-o" (string-append (prefix script) "obj") - "-f" "win64" "-Xgnu" "-gcv8" script)) - (find-files "pregenerated/tmp" "\\.asm")) - - (for-each - (lambda (script) - (invoke "perl" script "ios64" - (string-append (prefix script) "-ios64.S")) - (invoke "perl" script "linux64" - (string-append (prefix script) "-linux64.S"))) - '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" - "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" - "crypto/fipsmodule/aes/asm/vpaes-armv8.pl" - "crypto/fipsmodule/bn/asm/armv8-mont.pl" - "crypto/chacha/asm/chacha-armv8.pl" - "crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl" - "crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl" - "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" - "ios64" "pregenerated/sha256-armv8-ios64.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" - "linux64" "pregenerated/sha256-armv8-linux64.S") - - (for-each - (lambda (script) - (invoke "perl" script "elf" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append (prefix script) "-elf.S")) - (invoke "perl" script "macosx" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append (prefix script) "-macosx.S")) - (invoke "perl" script "win32n" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append - "pregenerated/tmp/" - (string-drop (prefix script) 13) "-win32n.asm"))) - '("crypto/fipsmodule/aes/asm/aesni-x86.pl" - "crypto/fipsmodule/aes/asm/vpaes-x86.pl" - "crypto/fipsmodule/bn/asm/x86-mont.pl" - "crypto/chacha/asm/chacha-x86.pl" - "crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl" - "crypto/fipsmodule/modes/asm/ghash-x86.pl")) - - (for-each - (lambda (script) - (invoke "nasm" "-o" (string-append (prefix script) "obj") - "-f" "win32" "-Xgnu" "-gcv8" script)) - (find-files "pregenerated/tmp" "-win32n\\.asm")) - - (for-each - (lambda (script) - (invoke "perl" script "ios32" - (string-append (prefix script) "-ios32.S")) - (invoke "perl" script "linux32" - (string-append (prefix script) "-linux32.S"))) - '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" - "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" - "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" - "crypto/fipsmodule/aes/asm/vpaes-armv7.pl" - "crypto/fipsmodule/bn/asm/armv4-mont.pl" - "crypto/chacha/asm/chacha-armv4.pl" - "crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl" - "crypto/fipsmodule/modes/asm/ghash-armv4.pl" - "crypto/fipsmodule/sha/asm/sha256-armv4.pl" - "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) - - (format #t "Creating the tarball ...~%") - (force-output) - ;; The other option is to use cargo package --allow-dirty - (with-directory-excursion "../" - (invoke "tar" "czf" #$output - ;; avoid non-determinism in the archive - "--sort=name" "--mtime=@0" - "--owner=root:0" "--group=root:0" - (string-append "ring-" #$version)))))))))))) + (base32 "1aps05i5308ka03968glnnqr4kdkk2x4ghlg5vrqhl78jm6ivvby")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; It turns out Guix's nasm works just fine here. + (substitute* "build.rs" + (("./target/tools/nasm") "nasm")) + ;; These files are pregenerated: + (delete-file "crypto/curve25519/curve25519_tables.h") + (delete-file "crypto/fipsmodule/ec/ecp_nistz256_table.inl"))))) + (arguments + (list + #:modules '((guix build utils)) + #:builder + #~(begin + (use-modules (guix build utils)) + (setenv "PATH" + (string-join + (list #+(this-package-native-input "clang") ; for clang-format + #+(this-package-native-input "go") + #+(this-package-native-input "gzip") + #+(this-package-native-input "nasm") + #+(this-package-native-input "perl") + #+(this-package-native-input "python2-minimal") + #+(this-package-native-input "tar")) + "/bin:" 'suffix)) + + (setenv "HOME" (getcwd)) + (copy-recursively #+source (string-append "ring-" #$version)) + (with-directory-excursion (string-append "ring-" #$version) + (begin + (with-directory-excursion "crypto/curve25519" + (with-output-to-file "curve25519_tables.h" + (lambda _ (invoke "python" "make_curve25519_tables.py")))) + (with-directory-excursion "crypto/fipsmodule/ec" + (with-output-to-file "ecp_nistz256_table.inl" + (lambda _ (invoke "go" "run" "make_p256-x86_64-table.go")))) + (format #t "Generating the pregenerated files ...~%") + (force-output) + (mkdir-p "pregenerated/tmp") + + ;; We generate all the files which upstream would normally be + ;; generate by using '(cd pregenerate_asm && cargo clean && + ;; cargo build) ./pregenerate_asm/target/debug/pregenerate_asm' + ;; in order to not include a dependency on cargo when + ;; generating the sources. + (define (prefix script) + (string-append + "pregenerated/" + (string-drop-right + (string-drop script + (string-index-right script #\/)) 3))) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "nasm" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-nasm.asm"))) + '("crypto/fipsmodule/aes/asm/aesni-x86_64.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" + "crypto/chacha/asm/chacha-x86_64.pl" + "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" + "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" + "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" + "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "elf" "pregenerated/sha256-x86_64-elf.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "macosx" "pregenerated/sha256-x86_64-macosx.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") + + (for-each + (lambda (script) + (invoke "nasm" "-o" (string-append (prefix script) "obj") + "-f" "win64" "-Xgnu" "-gcv8" script)) + (find-files "pregenerated/tmp" "\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios64" + (string-append (prefix script) "-ios64.S")) + (invoke "perl" script "linux64" + (string-append (prefix script) "-linux64.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/vpaes-armv8.pl" + "crypto/fipsmodule/bn/asm/armv8-mont.pl" + "crypto/chacha/asm/chacha-armv8.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl" + "crypto/fipsmodule/modes/asm/ghash-neon-armv8.pl" + "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "ios64" "pregenerated/sha256-armv8-ios64.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "linux64" "pregenerated/sha256-armv8-linux64.S") + + (for-each + (lambda (script) + (invoke "perl" script "elf" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "win32n" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-win32n.asm"))) + '("crypto/fipsmodule/aes/asm/aesni-x86.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86.pl" + "crypto/fipsmodule/bn/asm/x86-mont.pl" + "crypto/chacha/asm/chacha-x86.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl" + "crypto/fipsmodule/modes/asm/ghash-x86.pl")) + + (for-each + (lambda (script) + (invoke "nasm" "-o" (string-append (prefix script) "obj") + "-f" "win32" "-Xgnu" "-gcv8" script)) + (find-files "pregenerated/tmp" "-win32n\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios32" + (string-append (prefix script) "-ios32.S")) + (invoke "perl" script "linux32" + (string-append (prefix script) "-linux32.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" + "crypto/fipsmodule/aes/asm/vpaes-armv7.pl" + "crypto/fipsmodule/bn/asm/armv4-mont.pl" + "crypto/chacha/asm/chacha-armv4.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl" + "crypto/fipsmodule/modes/asm/ghash-armv4.pl" + "crypto/fipsmodule/sha/asm/sha256-armv4.pl" + "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) + + (format #t "Creating the tarball ...~%") + (force-output) + ;; The other option is to use cargo package --allow-dirty + (with-directory-excursion "../" + (invoke "tar" "czf" #$output + ;; avoid non-determinism in the archive + "--sort=name" "--mtime=@0" + "--owner=root:0" "--group=root:0" + (string-append "ring-" #$version)))))))) + (native-inputs + (list clang go gzip nasm perl python2-minimal tar)))) (define-public rust-ring-0.16 (package @@ -4546,196 +4529,197 @@ Digital Signature Algorithm} (ECDSA).") "i686-linux" "x86_64-linux")))) (define rust-ring-0.14-sources - (let* ((version "0.14.6") - (upstream-source - (origin + (package + (inherit rust-ring-0.17-sources) + (name "rust-ring") + (version "0.14.6.tar.gz") ; Hack to adjust the output name. + (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/briansmith/ring") (commit "ef85df478152aa3fe06c811309379efa08f8a529"))) (file-name (git-file-name "rust-ring" version)) (sha256 - (base32 "12dgw2spvmkdypgzymw3bxpv4bbpnlq8s10sdggral31x597n6xx"))))) - (origin - (method computed-origin-method) - (file-name (string-append "rust-ring-" version ".tar.gz")) - (sha256 #f) - (uri - (delay - (with-imported-modules '((guix build utils)) - #~(begin - (use-modules (guix build utils)) - (set-path-environment-variable - "PATH" '("bin") - (list #+(canonical-package gzip) - #+(canonical-package tar) - #+perl - #+yasm - #+go - #+clang ; clang-format - #+python2-minimal)) - (setenv "HOME" (getcwd)) - (copy-recursively #+upstream-source - (string-append "ring-" #$version)) - (with-directory-excursion (string-append "ring-" #$version) - (begin - ;; It turns out Guix's yasm works just fine here. - (substitute* "build.rs" - (("yasm.exe") "yasm")) - ;; Files which would be deleted in a snippet: - (delete-file "third_party/fiat/curve25519_tables.h") - (delete-file "crypto/fipsmodule/ec/ecp_nistz256_table.inl") - (delete-file "util/ar/testdata/linux/libsample.a") - (delete-file "util/ar/testdata/mac/libsample.a") - (delete-file "util/ar/testdata/windows/sample.lib") - ;; Fix the doc tests. - (substitute* "src/ec/curve25519/ed25519/verification.rs" - ((";;") ";")) - ;; Files to be generated in the sources: - (format #t "Generating the missing files ...~%") - (force-output) - (with-directory-excursion "third_party/fiat" - (with-output-to-file "curve25519_tables.h" - (lambda _ (invoke "python" "make_curve25519_tables.py")))) - (with-directory-excursion "crypto/fipsmodule/ec" - ;; This one seems to have been changed elsewhere in the - ;; sources but not in the script generating the definition. - (substitute* "make_p256-x86_64-table.go" - (("ecp_nistz256_precomputed") "GFp_nistz256_precomputed")) - (with-output-to-file "ecp_nistz256_table.inl" - (lambda _ (invoke "go" "run" "make_p256-x86_64-table.go")))) - (format #t "Generating the pregenerated files ...~%") - (force-output) - (mkdir-p "pregenerated/tmp") - - ;; We generate all the files which upstream would normally be - ;; generate by using '(cd pregenerate_asm && cargo clean && - ;; cargo build) ./pregenerate_asm/target/debug/pregenerate_asm' - ;; in order to not include a dependency on cargo when - ;; generating the sources. - (define (prefix script) - (string-append - "pregenerated/" - (string-drop-right - (string-drop script - (string-index-right script #\/)) 3))) - - (for-each - (lambda (script) - (invoke "perl" script "elf" - (string-append (prefix script) "-elf.S")) - (invoke "perl" script "macosx" - (string-append (prefix script) "-macosx.S")) - (invoke "perl" script "nasm" - (string-append - "pregenerated/tmp/" - (string-drop (prefix script) 13) "-nasm.asm"))) - '("crypto/fipsmodule/aes/asm/aes-x86_64.pl" - "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" - "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" - "crypto/fipsmodule/bn/asm/x86_64-mont.pl" - "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" - "crypto/chacha/asm/chacha-x86_64.pl" - "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" - "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" - "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" - "crypto/poly1305/asm/poly1305-x86_64.pl" - "crypto/fipsmodule/sha/asm/sha512-x86_64.pl")) - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "elf" "pregenerated/sha256-x86_64-elf.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "macosx" "pregenerated/sha256-x86_64-macosx.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") - - (for-each - (lambda (script) - (invoke "yasm" "-X" "vc" "--dformat=cv8" - "--oformat=win64" "--machine=amd64" "-o" - (string-append (prefix script) "obj") script)) - (find-files "pregenerated/tmp" "\\.asm")) - - (for-each - (lambda (script) - (invoke "perl" script "ios64" - (string-append (prefix script) "-ios64.S")) - (invoke "perl" script "linux64" - (string-append (prefix script) "-linux64.S"))) - '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" - "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" - "crypto/fipsmodule/bn/asm/armv8-mont.pl" - "crypto/chacha/asm/chacha-armv8.pl" - "crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl" - "crypto/poly1305/asm/poly1305-armv8.pl" - "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" - "ios64" "pregenerated/sha256-armv8-ios64.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" - "linux64" "pregenerated/sha256-armv8-linux64.S") - - (for-each - (lambda (script) - (invoke "perl" script "elf" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append (prefix script) "-elf.S")) - (invoke "perl" script "macosx" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append (prefix script) "-macosx.S")) - (invoke "perl" script "win32n" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append - "pregenerated/tmp/" - (string-drop (prefix script) 13) "-win32n.asm"))) - '("crypto/fipsmodule/aes/asm/aes-586.pl" - "crypto/fipsmodule/aes/asm/aesni-x86.pl" - "crypto/fipsmodule/aes/asm/vpaes-x86.pl" - "crypto/fipsmodule/bn/asm/x86-mont.pl" - "crypto/chacha/asm/chacha-x86.pl" - "crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl" - "crypto/fipsmodule/modes/asm/ghash-x86.pl" - "crypto/poly1305/asm/poly1305-x86.pl" - "crypto/fipsmodule/sha/asm/sha256-586.pl" - "crypto/fipsmodule/sha/asm/sha512-586.pl")) - - (for-each - (lambda (script) - (invoke "yasm" "-X" "vc" "--dformat=cv8" - "--oformat=win32" "--machine=x86" "-o" - (string-append (prefix script) "obj") script)) - (find-files "pregenerated/tmp" "-win32n\\.asm")) - - (for-each - (lambda (script) - (invoke "perl" script "ios32" - (string-append (prefix script) "-ios32.S")) - (invoke "perl" script "linux32" - (string-append (prefix script) "-linux32.S"))) - '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" - "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" - "crypto/fipsmodule/aes/asm/aes-armv4.pl" - "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" - "crypto/fipsmodule/bn/asm/armv4-mont.pl" - "crypto/chacha/asm/chacha-armv4.pl" - "crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl" - "crypto/fipsmodule/modes/asm/ghash-armv4.pl" - "crypto/poly1305/asm/poly1305-armv4.pl" - "crypto/fipsmodule/sha/asm/sha256-armv4.pl" - "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) - - (format #t "Creating the tarball ...~%") - (force-output) - ;; The other option is to use cargo package --allow-dirty - (with-directory-excursion "../" - (invoke "tar" "czf" #$output - ;; avoid non-determinism in the archive - "--sort=name" "--mtime=@0" - "--owner=root:0" "--group=root:0" - (string-append "ring-" #$version)))))))))))) + (base32 "12dgw2spvmkdypgzymw3bxpv4bbpnlq8s10sdggral31x597n6xx")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; It turns out Guix's yasm works just fine here. + (substitute* "build.rs" + (("yasm.exe") "yasm")) + ;; These files are pregenerated: + (delete-file "third_party/fiat/curve25519_tables.h") + (delete-file "crypto/fipsmodule/ec/ecp_nistz256_table.inl") + (delete-file "util/ar/testdata/linux/libsample.a") + (delete-file "util/ar/testdata/mac/libsample.a") + (delete-file "util/ar/testdata/windows/sample.lib") + ;; Fix the doc tests. + (substitute* "src/ec/curve25519/ed25519/verification.rs" + ((";;") ";")))))) + (arguments + (list + #:modules '((guix build utils)) + #:builder + #~(begin + (use-modules (guix build utils)) + (setenv "PATH" + (string-join + (list #+(this-package-native-input "clang") ; for clang-format + #+(this-package-native-input "go") + #+(this-package-native-input "gzip") + #+(this-package-native-input "perl") + #+(this-package-native-input "python2-minimal") + #+(this-package-native-input "tar") + #+(this-package-native-input "yasm")) + "/bin:" 'suffix)) + + (setenv "HOME" (getcwd)) + (copy-recursively #+source (string-append "ring-" #$version)) + (with-directory-excursion (string-append "ring-" #$version) + (begin + (with-directory-excursion "third_party/fiat" + (with-output-to-file "curve25519_tables.h" + (lambda _ (invoke "python" "make_curve25519_tables.py")))) + (with-directory-excursion "crypto/fipsmodule/ec" + ;; This one seems to have been changed elsewhere in the + ;; sources but not in the script generating the definition. + (substitute* "make_p256-x86_64-table.go" + (("ecp_nistz256_precomputed") "GFp_nistz256_precomputed")) + (with-output-to-file "ecp_nistz256_table.inl" + (lambda _ (invoke "go" "run" "make_p256-x86_64-table.go")))) + (format #t "Generating the pregenerated files ...~%") + (force-output) + (mkdir-p "pregenerated/tmp") + + ;; We generate all the files which upstream would normally be + ;; generate by using '(cd pregenerate_asm && cargo clean && + ;; cargo build) ./pregenerate_asm/target/debug/pregenerate_asm' + ;; in order to not include a dependency on cargo when + ;; generating the sources. + (define (prefix script) + (string-append + "pregenerated/" + (string-drop-right + (string-drop script (string-index-right script #\/)) 3))) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "nasm" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-nasm.asm"))) + '("crypto/fipsmodule/aes/asm/aes-x86_64.pl" + "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" + "crypto/chacha/asm/chacha-x86_64.pl" + "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" + "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" + "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" + "crypto/poly1305/asm/poly1305-x86_64.pl" + "crypto/fipsmodule/sha/asm/sha512-x86_64.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "elf" "pregenerated/sha256-x86_64-elf.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "macosx" "pregenerated/sha256-x86_64-macosx.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") + + (for-each + (lambda (script) + (invoke "yasm" "-X" "vc" "--dformat=cv8" + "--oformat=win64" "--machine=amd64" "-o" + (string-append (prefix script) "obj") script)) + (find-files "pregenerated/tmp" "\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios64" + (string-append (prefix script) "-ios64.S")) + (invoke "perl" script "linux64" + (string-append (prefix script) "-linux64.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/bn/asm/armv8-mont.pl" + "crypto/chacha/asm/chacha-armv8.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl" + "crypto/poly1305/asm/poly1305-armv8.pl" + "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "ios64" "pregenerated/sha256-armv8-ios64.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "linux64" "pregenerated/sha256-armv8-linux64.S") + + (for-each + (lambda (script) + (invoke "perl" script "elf" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "win32n" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-win32n.asm"))) + '("crypto/fipsmodule/aes/asm/aes-586.pl" + "crypto/fipsmodule/aes/asm/aesni-x86.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86.pl" + "crypto/fipsmodule/bn/asm/x86-mont.pl" + "crypto/chacha/asm/chacha-x86.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl" + "crypto/fipsmodule/modes/asm/ghash-x86.pl" + "crypto/poly1305/asm/poly1305-x86.pl" + "crypto/fipsmodule/sha/asm/sha256-586.pl" + "crypto/fipsmodule/sha/asm/sha512-586.pl")) + + (for-each + (lambda (script) + (invoke "yasm" "-X" "vc" "--dformat=cv8" + "--oformat=win32" "--machine=x86" "-o" + (string-append (prefix script) "obj") script)) + (find-files "pregenerated/tmp" "-win32n\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios32" + (string-append (prefix script) "-ios32.S")) + (invoke "perl" script "linux32" + (string-append (prefix script) "-linux32.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/aes-armv4.pl" + "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" + "crypto/fipsmodule/bn/asm/armv4-mont.pl" + "crypto/chacha/asm/chacha-armv4.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl" + "crypto/fipsmodule/modes/asm/ghash-armv4.pl" + "crypto/poly1305/asm/poly1305-armv4.pl" + "crypto/fipsmodule/sha/asm/sha256-armv4.pl" + "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) + + (format #t "Creating the tarball ...~%") + (force-output) + ;; The other option is to use cargo package --allow-dirty + (with-directory-excursion "../" + (invoke "tar" "czf" #$output + ;; avoid non-determinism in the archive + "--sort=name" "--mtime=@0" + "--owner=root:0" "--group=root:0" + (string-append "ring-" #$version)))))))) + (native-inputs + (list clang go gzip perl python2-minimal tar yasm)))) + (define-public rust-ring-0.14 (package (inherit rust-ring-0.16) @@ -4752,197 +4736,199 @@ Digital Signature Algorithm} (ECDSA).") ("rust-winapi" ,rust-winapi-0.3)))))) (define rust-ring-0.13-sources - (let* ((version "0.13.5") - (upstream-source - (origin + (package + (inherit rust-ring-0.17-sources) + (name "rust-ring") + (version "0.13.5.tar.gz") ; Hack to adjust the output name + (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/briansmith/ring") (commit "704e4216a397bd830479bcd6d7dd67fc62cdbe67"))) (file-name (git-file-name "rust-ring" version)) (sha256 - (base32 "0iqwf8i2i0a46ymrqss1ngbd2lqphk0mw74c65pxb8skyn2n7csi"))))) - (origin - (method computed-origin-method) - (file-name (string-append "rust-ring-" version ".tar.gz")) - (sha256 #f) - (uri - (delay - (with-imported-modules '((guix build utils)) - #~(begin - (use-modules (guix build utils)) - (set-path-environment-variable - "PATH" '("bin") - (list #+(canonical-package gzip) - #+(canonical-package tar) - #+perl - #+yasm - #+go - #+clang ; clang-format - #+python2-minimal)) - (setenv "HOME" (getcwd)) - (copy-recursively #+upstream-source - (string-append "ring-" #$version)) - (with-directory-excursion (string-append "ring-" #$version) - (begin - ;; Make some adjustments for newer versions of rust - ;; error: `...` range patterns are deprecated - (substitute* "src/digest/sha1.rs" - (("0\\.\\.\\.") "0..=")) - (substitute* "build.rs" - (("out_dir\\.clone\\(\\)") "out_dir") - (("libs\\.into_iter\\(\\)") "libs.iter()")) - ;; It turns out Guix's yasm works just fine here. - (substitute* "build.rs" - (("yasm.exe") "yasm")) - ;; Files which would be deleted in a snippet: - (delete-file "third_party/fiat/curve25519_tables.h") - (delete-file "crypto/fipsmodule/ec/ecp_nistz256_table.inl") - ;; Files to be generated in the sources: - (format #t "Generating the missing files ...~%") - (force-output) - (with-directory-excursion "third_party/fiat" - (with-output-to-file "curve25519_tables.h" - (lambda _ (invoke "python" "make_curve25519_tables.py")))) - (with-directory-excursion "crypto/fipsmodule/ec" - ;; This one seems to have been changed elsewhere in the - ;; sources but not in the script generating the definition. - (substitute* "make_p256-x86_64-table.go" - (("ecp_nistz256_precomputed") "GFp_nistz256_precomputed")) - (with-output-to-file "ecp_nistz256_table.inl" - (lambda _ (invoke "go" "run" "make_p256-x86_64-table.go")))) - (format #t "Generating the pregenerated files ...~%") - (force-output) - (mkdir-p "pregenerated/tmp") - - ;; We generate all the files which upstream would normally be - ;; generate by using '(cd pregenerate_asm && cargo clean && - ;; cargo build) ./pregenerate_asm/target/debug/pregenerate_asm' - ;; in order to not include a dependency on cargo when - ;; generating the sources. - (define (prefix script) - (string-append - "pregenerated/" - (string-drop-right - (string-drop script - (string-index-right script #\/)) 3))) - - (for-each - (lambda (script) - (invoke "perl" script "elf" - (string-append (prefix script) "-elf.S")) - (invoke "perl" script "macosx" - (string-append (prefix script) "-macosx.S")) - (invoke "perl" script "nasm" - (string-append - "pregenerated/tmp/" - (string-drop (prefix script) 13) "-nasm.asm"))) - '("crypto/fipsmodule/aes/asm/aes-x86_64.pl" - "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" - "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" - "crypto/fipsmodule/bn/asm/x86_64-mont.pl" - "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" - "crypto/chacha/asm/chacha-x86_64.pl" - "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" - "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" - "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" - "crypto/poly1305/asm/poly1305-x86_64.pl" - "crypto/fipsmodule/sha/asm/sha512-x86_64.pl")) - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "elf" "pregenerated/sha256-x86_64-elf.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "macosx" "pregenerated/sha256-x86_64-macosx.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" - "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") - - (for-each - (lambda (script) - (invoke "yasm" "-X" "vc" "--dformat=cv8" - "--oformat=win64" "--machine=amd64" "-o" - (string-append (prefix script) "obj") script)) - (find-files "pregenerated/tmp" "\\.asm")) - - (for-each - (lambda (script) - (invoke "perl" script "ios64" - (string-append (prefix script) "-ios64.S")) - (invoke "perl" script "linux64" - (string-append (prefix script) "-linux64.S"))) - '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" - "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" - "crypto/fipsmodule/bn/asm/armv8-mont.pl" - "crypto/chacha/asm/chacha-armv8.pl" - "crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl" - "crypto/poly1305/asm/poly1305-armv8.pl" - "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" - "ios64" "pregenerated/sha256-armv8-ios64.S") - - (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" - "linux64" "pregenerated/sha256-armv8-linux64.S") - - (for-each - (lambda (script) - (invoke "perl" script "elf" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append (prefix script) "-elf.S")) - (invoke "perl" script "macosx" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append (prefix script) "-macosx.S")) - (invoke "perl" script "win32n" - "-fPIC" "-DOPENSSL_IA32_SSE2" - (string-append - "pregenerated/tmp/" - (string-drop (prefix script) 13) "-win32n.asm"))) - '("crypto/fipsmodule/aes/asm/aes-586.pl" - "crypto/fipsmodule/aes/asm/aesni-x86.pl" - "crypto/fipsmodule/aes/asm/vpaes-x86.pl" - "crypto/fipsmodule/bn/asm/x86-mont.pl" - "crypto/chacha/asm/chacha-x86.pl" - "crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl" - "crypto/fipsmodule/modes/asm/ghash-x86.pl" - "crypto/poly1305/asm/poly1305-x86.pl" - "crypto/fipsmodule/sha/asm/sha256-586.pl" - "crypto/fipsmodule/sha/asm/sha512-586.pl")) - - (for-each - (lambda (script) - (invoke "yasm" "-X" "vc" "--dformat=cv8" - "--oformat=win32" "--machine=x86" "-o" - (string-append (prefix script) "obj") script)) - (find-files "pregenerated/tmp" "-win32n\\.asm")) - - (for-each - (lambda (script) - (invoke "perl" script "ios32" - (string-append (prefix script) "-ios32.S")) - (invoke "perl" script "linux32" - (string-append (prefix script) "-linux32.S"))) - '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" - "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" - "crypto/fipsmodule/aes/asm/aes-armv4.pl" - "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" - "crypto/fipsmodule/bn/asm/armv4-mont.pl" - "crypto/chacha/asm/chacha-armv4.pl" - "crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl" - "crypto/fipsmodule/modes/asm/ghash-armv4.pl" - "crypto/poly1305/asm/poly1305-armv4.pl" - "crypto/fipsmodule/sha/asm/sha256-armv4.pl" - "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) - - (format #t "Creating the tarball ...~%") - (force-output) - ;; The other option is to use cargo package --allow-dirty - (with-directory-excursion "../" - (invoke "tar" "czf" #$output - ;; avoid non-determinism in the archive - "--sort=name" "--mtime=@0" - "--owner=root:0" "--group=root:0" - (string-append "ring-" #$version)))))))))))) + (base32 "0iqwf8i2i0a46ymrqss1ngbd2lqphk0mw74c65pxb8skyn2n7csi")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Make some adjustments for newer versions of rust + ;; error: `...` range patterns are deprecated + (substitute* "src/digest/sha1.rs" + (("0\\.\\.\\.") "0..=")) + (substitute* "build.rs" + (("out_dir\\.clone\\(\\)") "out_dir") + (("libs\\.into_iter\\(\\)") "libs.iter()")) + ;; It turns out Guix's yasm works just fine here. + (substitute* "build.rs" + (("yasm.exe") "yasm")) + ;; Files which would be deleted in a snippet: + (delete-file "third_party/fiat/curve25519_tables.h") + (delete-file "crypto/fipsmodule/ec/ecp_nistz256_table.inl"))))) + (arguments + (list + #:modules '((guix build utils)) + #:builder + #~(begin + (use-modules (guix build utils)) + (setenv "PATH" + (string-join + (list #+(this-package-native-input "clang") ; for clang-format + #+(this-package-native-input "go") + #+(this-package-native-input "gzip") + #+(this-package-native-input "perl") + #+(this-package-native-input "python2-minimal") + #+(this-package-native-input "tar") + #+(this-package-native-input "yasm")) + "/bin:" 'suffix)) + + (setenv "HOME" (getcwd)) + (copy-recursively #+source (string-append "ring-" #$version)) + (with-directory-excursion (string-append "ring-" #$version) + (begin + (with-directory-excursion "third_party/fiat" + (with-output-to-file "curve25519_tables.h" + (lambda _ (invoke "python" "make_curve25519_tables.py")))) + (with-directory-excursion "crypto/fipsmodule/ec" + ;; This one seems to have been changed elsewhere in the + ;; sources but not in the script generating the definition. + (substitute* "make_p256-x86_64-table.go" + (("ecp_nistz256_precomputed") "GFp_nistz256_precomputed")) + (with-output-to-file "ecp_nistz256_table.inl" + (lambda _ (invoke "go" "run" "make_p256-x86_64-table.go")))) + (format #t "Generating the pregenerated files ...~%") + (force-output) + (mkdir-p "pregenerated/tmp") + + ;; We generate all the files which upstream would normally be + ;; generate by using '(cd pregenerate_asm && cargo clean && + ;; cargo build) ./pregenerate_asm/target/debug/pregenerate_asm' + ;; in order to not include a dependency on cargo when + ;; generating the sources. + (define (prefix script) + (string-append + "pregenerated/" + (string-drop-right + (string-drop script + (string-index-right script #\/)) 3))) + + (for-each + (lambda (script) + (invoke "perl" script "elf" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "nasm" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-nasm.asm"))) + '("crypto/fipsmodule/aes/asm/aes-x86_64.pl" + "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont.pl" + "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" + "crypto/chacha/asm/chacha-x86_64.pl" + "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" + "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" + "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" + "crypto/poly1305/asm/poly1305-x86_64.pl" + "crypto/fipsmodule/sha/asm/sha512-x86_64.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "elf" "pregenerated/sha256-x86_64-elf.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "macosx" "pregenerated/sha256-x86_64-macosx.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" + "nasm" "pregenerated/tmp/sha256-x86_64-nasm.asm") + + (for-each + (lambda (script) + (invoke "yasm" "-X" "vc" "--dformat=cv8" + "--oformat=win64" "--machine=amd64" "-o" + (string-append (prefix script) "obj") script)) + (find-files "pregenerated/tmp" "\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios64" + (string-append (prefix script) "-ios64.S")) + (invoke "perl" script "linux64" + (string-append (prefix script) "-linux64.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/bn/asm/armv8-mont.pl" + "crypto/chacha/asm/chacha-armv8.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv8.pl" + "crypto/poly1305/asm/poly1305-armv8.pl" + "crypto/fipsmodule/sha/asm/sha512-armv8.pl")) + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "ios64" "pregenerated/sha256-armv8-ios64.S") + + (invoke "perl" "crypto/fipsmodule/sha/asm/sha512-armv8.pl" + "linux64" "pregenerated/sha256-armv8-linux64.S") + + (for-each + (lambda (script) + (invoke "perl" script "elf" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-elf.S")) + (invoke "perl" script "macosx" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append (prefix script) "-macosx.S")) + (invoke "perl" script "win32n" + "-fPIC" "-DOPENSSL_IA32_SSE2" + (string-append + "pregenerated/tmp/" + (string-drop (prefix script) 13) "-win32n.asm"))) + '("crypto/fipsmodule/aes/asm/aes-586.pl" + "crypto/fipsmodule/aes/asm/aesni-x86.pl" + "crypto/fipsmodule/aes/asm/vpaes-x86.pl" + "crypto/fipsmodule/bn/asm/x86-mont.pl" + "crypto/chacha/asm/chacha-x86.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-x86.pl" + "crypto/fipsmodule/modes/asm/ghash-x86.pl" + "crypto/poly1305/asm/poly1305-x86.pl" + "crypto/fipsmodule/sha/asm/sha256-586.pl" + "crypto/fipsmodule/sha/asm/sha512-586.pl")) + + (for-each + (lambda (script) + (invoke "yasm" "-X" "vc" "--dformat=cv8" + "--oformat=win32" "--machine=x86" "-o" + (string-append (prefix script) "obj") script)) + (find-files "pregenerated/tmp" "-win32n\\.asm")) + + (for-each + (lambda (script) + (invoke "perl" script "ios32" + (string-append (prefix script) "-ios32.S")) + (invoke "perl" script "linux32" + (string-append (prefix script) "-linux32.S"))) + '("crypto/fipsmodule/aes/asm/aesv8-armx.pl" + "crypto/fipsmodule/modes/asm/ghashv8-armx.pl" + "crypto/fipsmodule/aes/asm/aes-armv4.pl" + "crypto/fipsmodule/aes/asm/bsaes-armv7.pl" + "crypto/fipsmodule/bn/asm/armv4-mont.pl" + "crypto/chacha/asm/chacha-armv4.pl" + "crypto/fipsmodule/ec/asm/ecp_nistz256-armv4.pl" + "crypto/fipsmodule/modes/asm/ghash-armv4.pl" + "crypto/poly1305/asm/poly1305-armv4.pl" + "crypto/fipsmodule/sha/asm/sha256-armv4.pl" + "crypto/fipsmodule/sha/asm/sha512-armv4.pl")) + + (format #t "Creating the tarball ...~%") + (force-output) + ;; The other option is to use cargo package --allow-dirty + (with-directory-excursion "../" + (invoke "tar" "czf" #$output + ;; avoid non-determinism in the archive + "--sort=name" "--mtime=@0" + "--owner=root:0" "--group=root:0" + (string-append "ring-" #$version)))))))) + (native-inputs + (list clang go gzip perl python2-minimal tar yasm)))) + (define-public rust-ring-0.13 (package (inherit rust-ring-0.14) @@ -5017,14 +5003,14 @@ traits with cryptographic algorithm implementations from @code{ring}.") (define-public rust-rsa-0.9 (package (name "rust-rsa") - (version "0.9.6") + (version "0.9.7") (source (origin (method url-fetch) (uri (crate-uri "rsa" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1z0d1aavfm0v4pv8jqmqhhvvhvblla1ydzlvwykpc3mkzhj523jx")))) + "06amqm85raq26v6zg00fbf93lbj3kx559n2lpxc3wrvbbiy5vis7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -5186,27 +5172,6 @@ hashing function.") ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-rust-argon2-0.7 - (package - (inherit rust-rust-argon2-0.8) - (name "rust-rust-argon2") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rust-argon2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05xh5wfxgzq3b6jys8r34f3hmqqfs8ylvf934n9z87wfv95szj1b")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-constant-time-eq" ,rust-constant-time-eq-0.1) - ("rust-base64" ,rust-base64-0.11) - ("rust-blake2b-simd" ,rust-blake2b-simd-0.5) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)))))) - (define-public rust-salsa20-0.10 (package (name "rust-salsa20") @@ -5249,25 +5214,6 @@ in pure Rust.") (("rust-cipher" ,rust-cipher-0.3) ("rust-zeroize" ,rust-zeroize-1)))))) -(define-public rust-salsa20-0.7 - (package - (inherit rust-salsa20-0.10) - (name "rust-salsa20") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "salsa20" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09c16m566g45f41xx3673zyzwca3mykz630fmv2mbjbvmwcc4fw0")))) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.2)))))) - (define-public rust-scrypt-0.11 (package (name "rust-scrypt") @@ -5367,67 +5313,11 @@ function.") (synopsis "Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats") (description - "This package procides a pure Rust implementation of SEC1: Elliptic Curve + "This package provides a pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats including ASN.1 DER-serialized private keys as well as the Elliptic-Curve-Point-to-Octet-String encoding.") (license (list license:asl2.0 license:expat)))) -(define-public rust-sec1-0.3 - (package - (inherit rust-sec1-0.7) - (name "rust-sec1") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sec1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a09lk5w3nyggpyz54m10nnlg9v8qbh6kw3v1bgla31988c4rqiv")))) - (arguments - `(#:cargo-inputs (("rust-base16ct" ,rust-base16ct-0.1) - ("rust-der" ,rust-der-0.6) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-pkcs8" ,rust-pkcs8-0.9) - ("rust-serdect" ,rust-serdect-0.1) - ("rust-subtle" ,rust-subtle-2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-secp256k1-0.21 - (package - (name "rust-secp256k1") - (version "0.21.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "secp256k1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09gia5hjf1hb9jgac9nzq0s0ijbsdjfflh40xw8z08avgl0q6y5b")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10) - ("rust-rand" ,rust-rand-0.6) - ("rust-secp256k1-sys" ,rust-secp256k1-sys-0.4) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-bitcoin-hashes" ,rust-bitcoin-hashes-0.10) - ("rust-rand" ,rust-rand-0.6) - ("rust-rand-core" ,rust-rand-core-0.4) - ("rust-serde-test" ,rust-serde-test-1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/rust-bitcoin/rust-secp256k1/") - (synopsis - "Rust wrapper library for Pieter Wuille's @code{libsecp256k1}") - (description - "This package is a Rust wrapper library for Pieter Wuille's -@code{libsecp256k1}. It implements ECDSA and BIP 340 signatures for the -SECG elliptic curve group secp256k1 and related utilities.") - (license license:cc0))) - (define-public rust-secp256k1-sys-0.4 (package (name "rust-secp256k1-sys") @@ -5562,34 +5452,6 @@ for data that potentially contains secrets (e.g. cryptographic keys).") (("rust-digest" ,rust-digest-0.9) ("rust-hex-literal" ,rust-hex-literal-0.2)))))) -(define-public rust-sha-1-0.8 - (package - (inherit rust-sha-1-0.9) - (name "rust-sha-1") - (version "0.8.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha-1" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pv387q0r7llk2cqzyq0nivzvkgqgzsiygqzlv7b68z9xl5lvngp")))) - (arguments - `(#:cargo-test-flags - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-block-buffer" ,rust-block-buffer-0.7) - ("rust-digest" ,rust-digest-0.8) - ("rust-fake-simd" ,rust-fake-simd-0.1) - ("rust-opaque-debug" ,rust-opaque-debug-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-sha1-asm" ,rust-sha1-asm-0.4)) - #:cargo-development-inputs - (("rust-digest" ,rust-digest-0.8) - ("rust-hex-literal" ,rust-hex-literal-0.1)))))) - (define-public rust-sha1-0.10 (package (name "rust-sha1") @@ -5621,24 +5483,16 @@ for data that potentially contains secrets (e.g. cryptographic keys).") (package (inherit rust-sha1-0.10) (name "rust-sha1") - (version "0.6.0") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "sha1" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "03gs2q4m67rn2p8xcdfxhip6mpgahdwm12bnb3vh90ahv9grhy95")))) + (base32 "0w1p0s9060cv1vlgfa5c93kjksmvzjjc8j780lns3jj5fk4hbnn1")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-openssl" ,rust-openssl-0.10) - ("rust-rand" ,rust-rand-0.4) - ("rust-serde-json" ,rust-serde-json-1)))))) + `(#:cargo-inputs (("rust-sha1-smol" ,rust-sha1-smol-1)))))) (define-public rust-sha1-0.2 (package @@ -5649,75 +5503,57 @@ for data that potentially contains secrets (e.g. cryptographic keys).") (origin (method url-fetch) (uri (crate-uri "sha1" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0p09zfhd27z6yr5in07gfjcx345010rw51ivlcf14364x3hv2c6c")))) + (base32 "0p09zfhd27z6yr5in07gfjcx345010rw51ivlcf14364x3hv2c6c")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments `(#:tests? #f ; Tests require openssl-1.0 #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.7) - ("rust-rand" ,rust-rand-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))))))) + ("rust-rand" ,rust-rand-0.3)))))) (define-public rust-sha1-asm-0.5 (package (name "rust-sha1-asm") - (version "0.5.1") + (version "0.5.3") (source (origin (method url-fetch) (uri (crate-uri "sha1-asm" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1b7ab7f4n87pqdmbl1a5jrc2axf27pvbndsz9qiwwgxw01qlygan")))) + (base32 "0asqxlxf5li7ac9mi49qj890rzsfb5px5ynzmqq12z5nz2xcwsi8")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1)))) + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) (home-page "https://github.com/RustCrypto/asm-hashes") (synopsis "Assembly implementation of SHA-1 compression function") (description "Assembly implementation of SHA-1 compression function.") (license license:expat))) -(define-public rust-sha1-asm-0.4 - (package - (inherit rust-sha1-asm-0.5) - (name "rust-sha1-asm") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "sha1-asm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1z5vdimd7l0vmr2p7kjibi0rghf5frb1ld0gzdkxrxfmkllf5nmr")))))) - (define-public rust-sha1-smol-1 (package (name "rust-sha1-smol") - (version "1.0.0") + (version "1.0.1") (source (origin (method url-fetch) (uri (crate-uri "sha1_smol" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04nhbhvsk5ms1zbshs80iq5r1vjszp2xnm9f0ivj38q3dhc4f6mf")))) + "0pbh2xjfnzgblws3hims0ib5bphv7r5rfdpizyh51vnzvnribymv")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-serde" ,rust-serde-1)))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.4) + ("rust-serde-json" ,rust-serde-json-1)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) (home-page "https://github.com/mitsuhiko/sha1-smol") (synopsis "Dependency free SHA1 implementation") (description @@ -5761,23 +5597,21 @@ code is translated from C to Rust using c2rust.") (package (inherit rust-sha1collisiondetection-0.3) (name "rust-sha1collisiondetection") - (version "0.2.3") + (version "0.2.7") (source (origin (method url-fetch) (uri (crate-uri "sha1collisiondetection" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10nh7s3d02136kkz93pxyfv628ls5xz8ndg27pkb6na0ghccz9np")))) + (base32 "13mkl29ma6sqybzvr8dqpj0f697d1xk1d0a39kdcgcihhg7r61xj")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-generic-array" ,rust-generic-array-0.14) - ("rust-libc" ,rust-libc-0.2) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-structopt" ,rust-structopt-0.3)))))) + `(#:cargo-inputs (("rust-digest" ,rust-digest-0.9) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-structopt" ,rust-structopt-0.3)) + #:cargo-development-inputs (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hex-literal" ,rust-hex-literal-0.3)))))) (define-public rust-sha2-0.10 (package @@ -5860,14 +5694,14 @@ function family including SHA-224, SHA-256, SHA-384, and SHA-512.") (define-public rust-sha2-asm-0.6 (package (name "rust-sha2-asm") - (version "0.6.3") + (version "0.6.4") (source (origin (method url-fetch) (uri (crate-uri "sha2-asm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kp480744vkwg3fqx98379nsdw1lzzzimd88v0qgpqqic03afyzj")))) + (base32 "1ay1vai08d802avl41r0s6r1nrcnzv7jnj5xna34d03mc56j2idq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -5882,14 +5716,16 @@ functions core functionality.") (package (inherit rust-sha2-asm-0.6) (name "rust-sha2-asm") - (version "0.5.4") + (version "0.5.5") (source (origin (method url-fetch) (uri (crate-uri "sha2-asm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0y4n8r4362y2fa6p2j0dgny4zfi194gdf01l6j850n9vf8ha3kwj")))))) + (base32 "192xi35b9qp2ph4fv584z8gy8mr9bsxkbfvb9q9z40k5pqjz5hm7")))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) (define-public rust-sha256-1 (package @@ -6058,8 +5894,35 @@ for additional details.") ("rust-syn" ,rust-syn-1) ("rust-synstructure" ,rust-synstructure-0.12)))))) +(define-public rust-simple-asn1-0.6 + (package + (name "rust-simple-asn1") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "simple_asn1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11d0l3l7lppzr1wxhvsbmjmw6s2vy3v7b8ygz500z4di9qhfbi5d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-time" ,rust-time-0.3)))) + (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-simple-asn1-0.4 (package + (inherit rust-simple-asn1-0.6) (name "rust-simple-asn1") (version "0.4.1") (source @@ -6069,18 +5932,12 @@ for additional details.") (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))) + ("rust-rand" ,rust-rand-0.5)))))) (define-public rust-sm3-0.4 (package @@ -6187,6 +6044,106 @@ OIDs)") (base32 "0ckgkcg6db5y94dqhmyikgn8yrsah6pyf4j197hv1c51bp0s00aw")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-der" ,rust-der-0.4)))))) +(define-public rust-ssh-cipher-0.2 + (package + (name "rust-ssh-cipher") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ssh-cipher" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kvq113x9fcy2jcxp00xk472zxm8d9zxxz2vyqx3rlzh88ki7b6a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aes" ,rust-aes-0.8) + ("rust-aes-gcm" ,rust-aes-gcm-0.10) + ("rust-cbc" ,rust-cbc-0.1) + ("rust-chacha20" ,rust-chacha20-0.9) + ("rust-cipher" ,rust-cipher-0.4) + ("rust-ctr" ,rust-ctr-0.9) + ("rust-des" ,rust-des-0.8) + ("rust-poly1305" ,rust-poly1305-0.8) + ("rust-ssh-encoding" ,rust-ssh-encoding-0.2) + ("rust-subtle" ,rust-subtle-2)))) + (home-page "https://github.com/RustCrypto/SSH/tree/master/ssh-cipher") + (synopsis "Pure Rust implementation of SSH symmetric encryption") + (description + "This package provides Pure Rust implementation of SSH symmetric encryption +including support for the modern aes128-gcm@@openssh.com/aes256-gcm@@openssh.com +and chacha20-poly1305@@openssh.com algorithms as well as legacy support for +older ciphers.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-ssh-encoding-0.2 + (package + (name "rust-ssh-encoding") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ssh-encoding" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05aavlhk68vm60vbw8lcgx1p5wry367ck8niij7af221xywl54pb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-pem-rfc7468" ,rust-pem-rfc7468-0.7) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4)))) + (home-page "https://github.com/RustCrypto/SSH/tree/master/ssh-encoding") + (synopsis "Pure Rust implementation of SSH data type decoders/encoders") + (description + "This package provides Pure Rust implementation of SSH data type +decoders/encoders as described in RFC4251.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-ssh-key-0.6 + (package + (name "rust-ssh-key") + (version "0.6.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "ssh-key" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hx8as8rvnk31ncqg7dlqgcw9bmngkznn3xamf6d010ggwlzb1iv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bcrypt-pbkdf" ,rust-bcrypt-pbkdf-0.10) + ("rust-dsa" ,rust-dsa-0.6) + ("rust-ed25519-dalek" ,rust-ed25519-dalek-2) + ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8) + ("rust-p256" ,rust-p256-0.13) + ("rust-p384" ,rust-p384-0.13) + ("rust-p521" ,rust-p521-0.13) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-rsa" ,rust-rsa-0.9) + ("rust-sec1" ,rust-sec1-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-signature" ,rust-signature-2) + ("rust-ssh-cipher" ,rust-ssh-cipher-0.2) + ("rust-ssh-encoding" ,rust-ssh-encoding-0.2) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-rand-chacha" ,rust-rand-chacha-0.3)))) + (home-page "https://github.com/RustCrypto/SSH/tree/master/ssh-key") + (synopsis "Pure Rust implementation of SSH key file format decoders/encoders") + (description + "This package provides Pure Rust implementation of SSH key file format +decoders/encoders as described in RFC4251/RFC4253 and @code{OpenSSH} key +formats, as well as \"sshsig\" signatures and certificates (including +certificate validation and certificate authority support), with further support +for the `authorized_keys` and `known_hosts` file formats.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-stream-cipher-0.4 (package (name "rust-stream-cipher") @@ -6210,37 +6167,39 @@ OIDs)") (description "This package provides stream cipher traits.") (license (list license:expat license:asl2.0)))) -(define-public rust-stream-cipher-0.3 +(define-public rust-stream-cipher-0.3.2-yanked (package (inherit rust-stream-cipher-0.4) (name "rust-stream-cipher") - (version "0.3.0") + (version "0.3.2") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "stream-cipher" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 - (base32 - "1g1nd8r6pph70rzk5yyvg7a9ji7pkap9ddiqpp4v9xa9ys0bqqc8")))) + (base32 "1333qng84n6b15p8kndhajlgvbp1rgdddx04xgsvrjlnb1m2acc1")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-blobby" ,rust-blobby-0.1) - ("rust-generic-array" ,rust-generic-array-0.13)))))) + ("rust-generic-array" ,rust-generic-array-0.14)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-stream-cipher-0.3 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-stream-cipher" rust-stream-cipher-0.3.2-yanked)) (define-public rust-streebog-0.10 (package (name "rust-streebog") - (version "0.10.0") + (version "0.10.2") (source (origin (method url-fetch) (uri (crate-uri "streebog" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1w7sxj3risp0zqm6r4mc73bd3fn3bnlxi4l10gp7661i5asr6ajz")))) + (base32 "0dnm1f3bkm8rvskvl3cvhh1f2nbrpckr8c3hw1hc7kj2ibnyczwy")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -6280,14 +6239,14 @@ OIDs)") (define-public rust-subtle-2 (package (name "rust-subtle") - (version "2.5.0") + (version "2.6.1") (source (origin (method url-fetch) (uri (crate-uri "subtle" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1g2yjs7gffgmdvkkq0wrrh0pxds3q0dv6dhkw9cdpbib656xdkc1")))) + (base32 "14ijxaymghbl1p0wql9cib5zlwiina7kall6w7g89csprkgbvhhk")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) @@ -6450,31 +6409,6 @@ and deserialization.") One-Time Password library.") (license license:expat))) -(define-public rust-totp-lite-1 - (package - (name "rust-totp-lite") - (version "1.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "totp-lite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12ql4pi9q7sf5651588wia2l5h4mil3kv9jrrkib5gvlpvl0k05i")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-digest" ,rust-digest-0.9) - ("rust-hmac" ,rust-hmac-0.11) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-sha2" ,rust-sha2-0.9)))) - (home-page "https://github.com/fosskers/totp-lite") - (synopsis "Simple, correct TOTP library") - (description "Rust-totp-lite provides a simple, correct time-based -One-Time Password library.") - (license license:expat))) - (define-public rust-twofish-0.7 (package (name "rust-twofish") @@ -6527,7 +6461,7 @@ One-Time Password library.") (package (inherit rust-universal-hash-0.5) (name "rust-universal-hash") - (version "0.4.0") + (version "0.4.1") (source (origin (method url-fetch) @@ -6535,30 +6469,17 @@ One-Time Password library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "00hljq64l0p68yrncvyww4cdgkzpzl49vrlnj57kwblkak3b49l3")))) + "01av09i0rqcl8f0xgvn2g07kzyafgbiwdhkfwq0m14kyd67lw8cz")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (arguments `(#:cargo-inputs (("rust-generic-array" ,rust-generic-array-0.14) ("rust-subtle" ,rust-subtle-2)))))) -(define-public rust-universal-hash-0.3 - (package - (inherit rust-universal-hash-0.4) - (name "rust-universal-hash") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "universal-hash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00aa241pab99z66f0s464vdrxnk3igs8z1qm6j01chcv5w7r036z")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-generic-array" ,rust-generic-array-0.12) - ("rust-subtle" ,rust-subtle-2)))))) - (define-public rust-x25519-dalek-2 (package (name "rust-x25519-dalek") @@ -6638,6 +6559,30 @@ Diffie-Hellman key exchange, with curve operations provided by rand_core.") (license license:bsd-3))) +(define-public rust-xsalsa20poly1305-0.9 + (package + (name "rust-xsalsa20poly1305") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "xsalsa20poly1305" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ixnzy6srqk9gkxyh2rrwhpvnc0v3z3gfxgfg36q2zsnaz9xm9h2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aead" ,rust-aead-0.5) + ("rust-poly1305" ,rust-poly1305-0.8) + ("rust-salsa20" ,rust-salsa20-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-zeroize" ,rust-zeroize-1)))) + (home-page "https://github.com/RustCrypto/AEADs") + (synopsis "DEPRECATED: please use the `crypto_secretbox` crate") + (description + "DEPRECATED: please use the `crypto_secretbox` crate.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-z85-3 (package (name "rust-z85") diff --git a/gnu/packages/crates-database.scm b/gnu/packages/crates-database.scm new file mode 100644 index 00000000000..033a14b23eb --- /dev/null +++ b/gnu/packages/crates-database.scm @@ -0,0 +1,1645 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> +;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2020, 2021, 2023-2025 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2021 Léo Le Bouter <lle-bout@zaclys.net> +;;; Copyright © 2021 Vinicius Monego <monego@posteo.net> +;;; Copyright © 2021 Domagoj Stolfa <domagoj.stolfa@gmail.com> +;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> +;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> +;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +;;; +;;; Please: Try to add new module packages in alphabetic order. +;;; + +(define-module (gnu packages crates-database) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix utils) + #:use-module (guix gexp) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) + #: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 databases) + #:use-module (gnu packages sqlite)) + +(define-public rust-diesel-2 + (package + (name "rust-diesel") + (version "2.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "diesel" version)) + (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 + "0kcfkfhsv5yv3ksj440ajgic930359i2bqi77ss4dm5pyvn3b0dj")))) + (arguments + `(#:cargo-test-flags + '("--release" + "--features" "sqlite" + "--" + "--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) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-diesel-derives" ,rust-diesel-derives-1) + ("rust-ipnetwork" ,rust-ipnetwork-0.17) + ("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-pq-sys" ,rust-pq-sys-0.4) + ("rust-quickcheck" ,rust-quickcheck-0.4) + ("rust-r2d2" ,rust-r2d2-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-time" ,rust-time-0.1) + ("rust-url" ,rust-url-1) + ("rust-uuid" ,rust-uuid-0.5) + ("rust-uuid" ,rust-uuid-0.8)) + #:cargo-development-inputs + (("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)))))) + +(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 "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 + (origin + (method url-fetch) + (uri (crate-uri "diesel_derives" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1lsq133fwk0zj8xvxhdxqgg0xs31zf3abnwdyshaf0ldca7hkxa5")))) + (arguments + `(#:tests? #f ; cannot find type `SqliteConnection` in this scope + #:cargo-test-flags + '("--release" + "--features" "sqlite" + "--" + "--skip=expression::count::count") + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-diesel" ,rust-diesel-1) + ("rust-dotenv" ,rust-dotenv-0.10)))))) + +(define-public rust-diesel-migrations-2 + (package + (name "rust-diesel-migrations") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "diesel_migrations" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b0ld4azk73rg2axwq7a4wnpwba3085f43jp3cw62n8c2bqb6dk0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-diesel" ,rust-diesel-2) + ("rust-migrations-internals" ,rust-migrations-internals-2) + ("rust-migrations-macros" ,rust-migrations-macros-2)) + #:cargo-development-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-dotenvy" ,rust-dotenvy-0.15) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://diesel.rs") + (synopsis "Migration management for diesel") + (description "This package provides migration management for Diesel.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-diesel-migrations-1 + (package + (inherit rust-diesel-migrations-2) + (name "rust-diesel-migrations") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "diesel_migrations" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k4g03ciqwya2xc1xvy5s9cs6q55k45wxa1gszswfg9m2f2dwg5z")))) + (arguments + `(#:tests? #f ;doctest_setup.rs: No such file or directory + #:cargo-inputs + (("rust-migrations-internals" ,rust-migrations-internals-1) + ("rust-migrations-macros" ,rust-migrations-macros-1)) + #:cargo-development-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-diesel" ,rust-diesel-1) + ("rust-dotenv" ,rust-dotenv-0.10)))))) + +(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-liblmdb-sys-0.2 + (package + (name "rust-liblmdb-sys") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "liblmdb-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0j9f9l6fbaaqfbvfmb9rd2b9acqjyh7pn1ma3bv0pxl0lnikivgy")) + (snippet + #~(begin + (use-modules (guix build utils)) + (delete-file-recursively "mdb") + ;; Inspired by Debian's patch for bzip2-sys. + (delete-file "build.rs") + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main() {~@ + println!(\"cargo:rustc-link-lib=lmdb\");~@ + }~%"))))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gcc" ,rust-gcc-0.3) + ("rust-libc" ,rust-libc-0.2)))) + (inputs (list lmdb)) + (home-page "https://github.com/vhbit/lmdb-rs") + (synopsis "LMDB native lib") + (description "This package provides LMDB native lib.") + (license license:expat))) + +(define-public rust-libsqlite3-sys-0.30 + (package + (name "rust-libsqlite3-sys") + (version "0.30.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jcikvgbj84xc7ikdmpc8m4y5lyqgrb9aqblphwk67kv95xgp69f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-cc" ,rust-cc-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (inputs (list sqlite)) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Native bindings to the libsqlite3 library") + (description + "This package provides native Rust bindings to the libsqlite3 library.") + (license license:expat))) + +(define-public rust-libsqlite3-sys-0.28 + (package + (inherit rust-libsqlite3-sys-0.30) + (name "rust-libsqlite3-sys") + (version "0.28.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gzwfw0n2wqgaihcgj65wzd3lclfxyy62gixq8sv6z04fi15h40c")))) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-cc" ,rust-cc-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + +(define-public rust-libsqlite3-sys-0.27 + (package + (inherit rust-libsqlite3-sys-0.28) + (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) + (name "rust-libsqlite3-sys") + (version "0.26.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "09j3v5nhgvjdyskgwajhg9g6v3b2ij0lxiz8qqav2cxic7zjxhmg")))) + (arguments + `(#:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.64) + ("rust-cc" ,rust-cc-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + +(define-public rust-libsqlite3-sys-0.23 + (package + (inherit rust-libsqlite3-sys-0.26) + (name "rust-libsqlite3-sys") + (version "0.23.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n6b4mlpw9l74cl5mahnpaanyjsgpmz5y517kmnk6v09fiygrjnj")))) + (arguments + `(#:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.59) + ("rust-cc" ,rust-cc-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + +(define-public rust-libsqlite3-sys-0.22 + (package + (inherit rust-libsqlite3-sys-0.23) + (name "rust-libsqlite3-sys") + (version "0.22.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17gqc2mwih81j3ds479gl5zmsxqzzrcrj3yyv62vh34bgy8n82r9")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + ;; build dependencies + (("rust-bindgen" ,rust-bindgen-0.58) + ("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + +(define-public rust-libsqlite3-sys-0.20 + (package + (inherit rust-libsqlite3-sys-0.22) + (name "rust-libsqlite3-sys") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "libsqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g9gbjjpm9phhs991abkzmacszibp94m5nrh331ycd99y9ci1lv4")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + ;; build dependencies + (("rust-bindgen" ,rust-bindgen-0.55) + ("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + +(define-public rust-lmdb-rs-0.7 + (package + (name "rust-lmdb-rs") + (version "0.7.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "lmdb-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rv7c7iwgbwx92igm2r3aza8phr0lvvwqd9gwjf655gp6fsfgvsa")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ;; Don't assume liblmdb-sys is in a subdirectory. + (("path = .*") "")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-liblmdb-sys" ,rust-liblmdb-sys-0.2) + ("rust-log" ,rust-log-0.3)))) + (inputs (list lmdb)) + (home-page "https://github.com/vhbit/lmdb-rs") + (synopsis "LMDB bindings") + (description "This package provides LMDB bindings.") + (license license:expat))) + +(define-public rust-mysqlclient-sys-0.2 + (package + (name "rust-mysqlclient-sys") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "mysqlclient-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16wndr59cbpc2wgli45zfgi0hi837pbrsh1aqh2k0ads50akh6zn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (native-inputs + (list `(,mariadb "lib"))) + (home-page "https://github.com/sgrif/mysqlclient-sys") + (synopsis "Auto-generated rust bindings for libmysqlclient") + (description "This package provides auto-generated rust bindings for +libmysqlclient.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-postgres-0.19 + (package + (name "rust-postgres") + (version "0.19.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "postgres" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hnid1d78zrr8ph12lpvp5b2cpx2fsqqgqs2yn1q23c6g7jix1y7")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; tests require postgres server. + #:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-postgres" ,rust-tokio-postgres-0.7)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/sfackler/rust-postgres") + (synopsis "Native, synchronous PostgreSQL client") + (description + "This package provides a native, synchronous PostgreSQL client.") + (license license:expat))) + +(define-public rust-postgres-derive-0.4 + (package + (name "rust-postgres-derive") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "postgres-derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xqlf1gffy3q8hra3fm0vm9x8i5fkvi0qjl99d0xirxh3hidsmy8")))) + (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/sfackler/rust-postgres") + (synopsis "Internal crate used by postgres-types") + (description + "This is an internal crate used by postgres-types.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-postgres-protocol-0.6 + (package + (name "rust-postgres-protocol") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "postgres-protocol" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wxzs78zvz00bh3bhbbp9hnq9hg77f8h5pzjmcy9481fsdq0ygpz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) + ("rust-hmac" ,rust-hmac-0.10) + ("rust-md-5" ,rust-md-5-0.9) + ("rust-memchr" ,rust-memchr-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-stringprep" ,rust-stringprep-0.1)))) + (home-page "https://github.com/sfackler/rust-postgres") + (synopsis "Low level Postgres protocol APIs") + (description + "This package provides low level Postgres protocol APIs.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-postgres-types-0.2 + (package + (name "rust-postgres-types") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "postgres-types" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0brsqkydz0grfy60nc1d0hxa9jbpim0c7c52v467nrdpw4ql23s3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bit-vec" ,rust-bit-vec-0.6) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-eui48" ,rust-eui48-0.4) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) + ("rust-geo-types" ,rust-geo-types-0.7) + ("rust-geo-types" ,rust-geo-types-0.6) + ("rust-postgres-derive" ,rust-postgres-derive-0.4) + ("rust-postgres-protocol" ,rust-postgres-protocol-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-time" ,rust-time-0.2) + ("rust-uuid" ,rust-uuid-0.8)))) + (home-page "https://github.com/sfackler/rust-postgres") + (synopsis "Conversions between Rust and Postgres values") + (description + "This package provides a Rust implementation for conversions between Rust +and Postgres values.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-pq-sys-0.4 + (package + (name "rust-pq-sys") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "pq-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1npz9756283pjq3lcpwss8xh1rw4sx8f6dz8cxdg90h5bbp5xhka")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (native-inputs + (list postgresql)) + (home-page "https://crates.io/crates/pq-sys") + (synopsis "Auto-generated rust bindings for libpq") + (description "This package provides auto-generated rust bindings for +libpq.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rusqlite-0.32 + (package + (name "rust-rusqlite") + (version "0.32.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vlx040bppl414pbjgbp7qr4jdxwszi9krx0m63zzf2f2whvflvp")))) + (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.30) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.3) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("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.31 + (package + (inherit rust-rusqlite-0.32) + (name "rust-rusqlite") + (version "0.31.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bic69apqidimqf8gm80b98a832qzl9x6ns8myzah4yjg2ifnf5q")))) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-csv" ,rust-csv-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.9) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.28) + ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.2) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-unicase" ,rust-unicase-2) + ("rust-uuid" ,rust-uuid-1)))))) + +(define-public rust-rusqlite-0.30 + (package + (inherit rust-rusqlite-0.31) + (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 + (method url-fetch) + (uri (crate-uri "rusqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wj12rmwa8g0bfhsk307fl84k0xcw8ji872xx3k447apdl1rv6sl")))) + (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.2) + ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) + ("rust-hashlink" ,rust-hashlink-0.8) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.26) + ("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-macros-0.3 + (package + (name "rust-rusqlite-macros") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i8fiv3jqwjcq2rdbwd5wycvh6fyfrw0y2wazinr2wpicifmxp7c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-litrs" ,rust-litrs-0.4) + ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.13)))) + (home-page "https://github.com/rusqlite/rusqlite") + (synopsis "Private implementation detail of rusqlite crate") + (description "This package provides a private implementation detail of the +@code{rusqlite} crate.") + (license license:expat))) + +(define-public rust-rusqlite-macros-0.2 + (package + (inherit rust-rusqlite-macros-0.3) + (name "rust-rusqlite-macros") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rusqlite-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07y5887q4via4k7hdfxh61nmcwwz8r0bqlgxrk1p177lrkgz8cdp")))) + (arguments + `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-litrs" ,rust-litrs-0.4) + ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) + +(define-public rust-rusqlite-macros-0.1 + (package + (inherit rust-rusqlite-macros-0.2) + (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-sled-0.34 + (package + (name "rust-sled") + (version "0.34.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "sled" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dcr2s7cylj5mb33ci3kpx7fz797jwvysnl5airrir9cgirv95kz")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot borrow `sub` as mutable, as it is not declared as mutable + #:cargo-test-flags '("--features" "testing") + #:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-color-backtrace" ,rust-color-backtrace-0.5) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-crossbeam-epoch" ,rust-crossbeam-epoch-0.9) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-fs2" ,rust-fs2-0.4) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-rio" ,rust-rio-0.9) + ("rust-zstd" ,rust-zstd-0.9)) + #:cargo-development-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-quickcheck" ,rust-quickcheck-0.9) + ("rust-rand" ,rust-rand-0.7) + ("rust-rand-chacha" ,rust-rand-chacha-0.2) + ("rust-rand-distr" ,rust-rand-distr-0.3) + ("rust-zerocopy" ,rust-zerocopy-0.3)))) + (home-page "https://github.com/spacejam/sled") + (synopsis "Pure-rust transactional embedded database") + (description + "This package provides a lightweight high-performance pure-rust +transactional embedded database.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sqlformat-0.2 + (package + (name "rust-sqlformat") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlformat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14470h40gn0f6jw9xxzbpwh5qy1fgvkhkfz8xjyzgi0cvf9kmfkv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nom" ,rust-nom-7) + ("rust-unicode-categories" ,rust-unicode-categories-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-indoc" ,rust-indoc-2)))) + (home-page "https://github.com/shssoichiro/sqlformat-rs") + (synopsis "Formats whitespace in a SQL string to make it easier to read") + (description + "This package provides formating of whitespace in a SQL string to make +it easier to read.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sqlite-0.36 + (package + (name "rust-sqlite") + (version "0.36.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13kimsfaxl81wm82j6qjzhycvyq4ljzi4kgbzr969vibdyqnzzjx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-sqlite3-sys" ,rust-sqlite3-sys-0.17)) + #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))) + (inputs (list sqlite)) + (home-page "https://github.com/stainless-steel/sqlite") + (synopsis "Interface to SQLite") + (description "The package provides an interface to SQLite.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-sqlite-0.30 + (package + (inherit rust-sqlite-0.36) + (name "rust-sqlite") + (version "0.30.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lbfa0gjkqlhcmj4jy72kzfgd6a57z8gs1y7g34cbp4msvm4rk3f")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.15)) + #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))))) + +(define-public rust-sqlite-0.27 + (package + (inherit rust-sqlite-0.30) + (name "rust-sqlite") + (version "0.27.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11f1fw5gffni7mqr6mrliacr86v0yg9zmgvj3lhfdv1iz54vjv76")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.14)) + #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))))) + +(define-public rust-sqlite3-parser-0.13 + (package + (name "rust-sqlite3-parser") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02sjybc8r2nwpgi54bcp2vjmzyaczxbdxvxxx067716bsvd0flzb")))) + (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-uncased" ,rust-uncased-0.9) + ("rust-uncased" ,rust-uncased-0.9)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11)))) + (home-page "https://github.com/gwenn/lemon-rs") + (synopsis "SQL parser (as understood by SQLite)") + (description "This package provides an SQL parser (as understood by SQLite).") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-sqlite3-parser-0.12 + (package + (inherit rust-sqlite3-parser-0.13) + (name "rust-sqlite3-parser") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dx8j16ki2fsrwn1p36wnf079pvcs17549rin29x99vhkcpjbpcs")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cc" ,rust-cc-1) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) + ("rust-phf-shared" ,rust-phf-shared-0.11) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-uncased" ,rust-uncased-0.9) + ("rust-uncased" ,rust-uncased-0.9)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)))))) + +(define-public rust-sqlite3-src-0.6 + (package + (name "rust-sqlite3-src") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jkvjhgrfsq5m2ps3hh792mamwv8v6kf2gdj3wldn9vwyxnllk8p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (inputs (list sqlite)) + (home-page "https://github.com/stainless-steel/sqlite3-src") + (synopsis "Provider of SQLite") + (description "The package provides SQLite.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-sqlite3-src-0.5 + (package + (inherit rust-sqlite3-src-0.6) + (name "rust-sqlite3-src") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m74wrkpify3z0xvrw4i2yssn9m9sjwqa5ipk6aq6f7fl58mmjdz")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Only allow for linking to system sqlite3. + (delete-file-recursively "source") + (delete-file "build.rs") + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main (){~@ + println!(\"cargo:rustc-link-lib=sqlite3\");~@ + }~%"))))))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + +(define-public rust-sqlite3-src-0.4 + (package + (inherit rust-sqlite3-src-0.5) + (name "rust-sqlite3-src") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14ancc9jafw5ql9carg27icjxcfrdz5izxk4bj7fp5n909x5m0fi")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Only allow for linking to system sqlite3. + (delete-file-recursively "source") + (delete-file "build.rs") + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main (){~@ + println!(\"cargo:rustc-link-lib=sqlite3\");~@ + }~%"))))))) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + +(define-public rust-sqlite3-src-0.3 + (package + (inherit rust-sqlite3-src-0.5) + (name "rust-sqlite3-src") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-src" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18ygmfcpkccs8s9m5s9q31rrx1mrdps387w9yp3481jswxyb0q52")))) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + +(define-public rust-sqlite3-sys-0.17 + (package + (name "rust-sqlite3-sys") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rdds3kzxbxwy3lpsvgy7g8nh609nzqpxv4jvj23ag0c16kss09r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-sqlite3-src" ,rust-sqlite3-src-0.6)))) + (inputs (list sqlite)) + (home-page "https://github.com/stainless-steel/sqlite3-sys") + (synopsis "Bindings to SQLite") + (description "The package provides bindings to SQLite.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-sqlite3-sys-0.15 + (package + (inherit rust-sqlite3-sys-0.17) + (name "rust-sqlite3-sys") + (version "0.15.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fq6m21dnd5yqrzknsmnl2565nahdwa29s7x12xhxr1kjik2qxgj")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-sqlite3-src" ,rust-sqlite3-src-0.5)) + #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))))) + +(define-public rust-sqlite3-sys-0.14 + (package + (inherit rust-sqlite3-sys-0.15) + (name "rust-sqlite3-sys") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vmrzgchmbqk9jk1dq1jp1lq6id0p3h8vwna02x60ly59y19jz6l")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-sqlite3-src" ,rust-sqlite3-src-0.4)) + #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))))) + +(define-public rust-sqlite3-sys-0.13 + (package + (inherit rust-sqlite3-sys-0.15) + (name "rust-sqlite3-sys") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlite3-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m1f5r4xg5i3r6795q8vwqfdcq3gh1qlfjwkywnka57bz8lg1lh4")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("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 implementation 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-sqlx-0.7 + (package + (name "rust-sqlx") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlx" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ahadprvyhjraq0c5712x3kdkp1gkwfm9nikrmcml2h03bzwr8n9")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-sqlx-core" ,rust-sqlx-core-0.7) + ("rust-sqlx-macros" ,rust-sqlx-macros-0.7) + ("rust-sqlx-mysql" ,rust-sqlx-mysql-0.7) + ("rust-sqlx-postgres" ,rust-sqlx-postgres-0.7) + ("rust-sqlx-sqlite" ,rust-sqlx-sqlite-0.7)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-dotenvy" ,rust-dotenvy-0.15) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-futures" ,rust-futures-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27) + ("rust-paste" ,rust-paste-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/launchbadge/sqlx") + (synopsis "Rust SQL Toolkit") + (description + "This package provides the Rust SQL Toolkit. An async, pure Rust SQL +crate featuring compile-time checked queries without a DSL. Supports +@code{PostgreSQL}, @code{MySQL}, and SQLite.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sqlx-core-0.7 + (package + (name "rust-sqlx-core") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlx-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xiyr35dq10sf7lq00291svcj9wbaaz1ihandjmrng9a6jlmkfi4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-async-io" ,rust-async-io-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-atoi" ,rust-atoi-2) + ("rust-bigdecimal" ,rust-bigdecimal-0.3) + ("rust-bit-vec" ,rust-bit-vec-0.6) + ("rust-bstr" ,rust-bstr-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-crc" ,rust-crc-3) + ("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3) + ("rust-digest" ,rust-digest-0.10) + ("rust-either" ,rust-either-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-event-listener" ,rust-event-listener-2) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-intrusive" ,rust-futures-intrusive-0.5) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hashlink" ,rust-hashlink-0.8) + ("rust-hex" ,rust-hex-0.4) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-ipnetwork" ,rust-ipnetwork-0.20) + ("rust-log" ,rust-log-0.4) + ("rust-mac-address" ,rust-mac-address-1) + ("rust-memchr" ,rust-memchr-2) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-paste" ,rust-paste-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-regex" ,rust-regex-1) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-sqlformat" ,rust-sqlformat-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-1) + ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + #:cargo-development-inputs (("rust-sqlx" ,rust-sqlx-0.7) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/launchbadge/sqlx") + (synopsis "Core of SQLx, the rust SQL toolkit") + (description + "This package provides Core of SQLx, the rust SQL toolkit. Not intended +to be used directly.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sqlx-macros-0.7 + (package + (name "rust-sqlx-macros") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlx-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09rih250868nfkax022y5dyk24a7qfw6scjy3sgalbzb8lihx92f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-sqlx-core" ,rust-sqlx-core-0.7) + ("rust-sqlx-macros-core" ,rust-sqlx-macros-core-0.7) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/launchbadge/sqlx") + (synopsis + "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly") + (description + "This package provides Macros for SQLx, the rust SQL toolkit. Not +intended to be used directly.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sqlx-macros-core-0.7 + (package + (name "rust-sqlx-macros-core") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlx-macros-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j7k0fw7n6pgabqnj6cbp8s3rmd3yvqr4chjj878cvd1m99yycsq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-dotenvy" ,rust-dotenvy-0.15) + ("rust-either" ,rust-either-1) + ("rust-heck" ,rust-heck-0.4) + ("rust-hex" ,rust-hex-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-sqlx-core" ,rust-sqlx-core-0.7) + ("rust-sqlx-mysql" ,rust-sqlx-mysql-0.7) + ("rust-sqlx-postgres" ,rust-sqlx-postgres-0.7) + ("rust-sqlx-sqlite" ,rust-sqlx-sqlite-0.7) + ("rust-syn" ,rust-syn-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/launchbadge/sqlx") + (synopsis "Macro support core for SQLx, the Rust SQL toolkit") + (description + "This package provides Macro support core for SQLx, the Rust SQL toolkit. +Not intended to be used directly.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sqlx-mysql-0.7 + (package + (name "rust-sqlx-mysql") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlx-mysql" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "066lxhb80xgb8r5m2yy3a7ydjvp0b6wsk9s7whwfa83d46817lqy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=options::MySqlConnectOptions (line 35)") + #:cargo-inputs (("rust-atoi" ,rust-atoi-2) + ("rust-base64" ,rust-base64-0.21) + ("rust-bigdecimal" ,rust-bigdecimal-0.3) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-crc" ,rust-crc-3) + ("rust-digest" ,rust-digest-0.10) + ("rust-dotenvy" ,rust-dotenvy-0.15) + ("rust-either" ,rust-either-1) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-hex" ,rust-hex-0.4) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-itoa" ,rust-itoa-1) + ("rust-log" ,rust-log-0.4) + ("rust-md-5" ,rust-md-5-0.10) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.9) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-serde" ,rust-serde-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-sqlx-core" ,rust-sqlx-core-0.7) + ("rust-stringprep" ,rust-stringprep-0.1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-uuid" ,rust-uuid-1) + ("rust-whoami" ,rust-whoami-1)))) + (home-page "https://github.com/launchbadge/sqlx") + (synopsis "MySQL driver implementation for SQLx") + (description + "This package provides @code{MySQL} driver implementation for SQLx. Not +for direct use; see the `sqlx` crate for details.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sqlx-postgres-0.7 + (package + (name "rust-sqlx-postgres") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlx-postgres" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zjp30wj4n2f25dnb32vsg6jfpa3gw6dmfd0i5pr4kw91fw4x0kw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=advisory_lock::PgAdvisoryLock::new" + "--skip=listener::PgListener::recv" + "--skip=listener::PgListener::try_recv" + "--skip=options::PgConnectOptions") + #:cargo-inputs (("rust-atoi" ,rust-atoi-2) + ("rust-base64" ,rust-base64-0.21) + ("rust-bigdecimal" ,rust-bigdecimal-0.3) + ("rust-bit-vec" ,rust-bit-vec-0.6) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-crc" ,rust-crc-3) + ("rust-dotenvy" ,rust-dotenvy-0.15) + ("rust-etcetera" ,rust-etcetera-0.8) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-io" ,rust-futures-io-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-home" ,rust-home-0.5) + ("rust-ipnetwork" ,rust-ipnetwork-0.20) + ("rust-itoa" ,rust-itoa-1) + ("rust-log" ,rust-log-0.4) + ("rust-mac-address" ,rust-mac-address-1) + ("rust-md-5" ,rust-md-5-0.10) + ("rust-memchr" ,rust-memchr-2) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-sqlx-core" ,rust-sqlx-core-0.7) + ("rust-stringprep" ,rust-stringprep-0.1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-uuid" ,rust-uuid-1) + ("rust-whoami" ,rust-whoami-1)))) + (home-page "https://github.com/launchbadge/sqlx") + (synopsis "PostgreSQL driver implementation for SQLx") + (description + "This package provides @code{PostgreSQL} driver implementation for SQLx. +Not for direct use; see the `sqlx` crate for details.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-sqlx-sqlite-0.7 + (package + (name "rust-sqlx-sqlite") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "sqlx-sqlite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ap0bb2hazbrdgd7mhnckdg9xcchx0k094di9gnhpnhlhh5fyi5j")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; cannot index into a value of type `IntMap<ColumnType>` + #:cargo-inputs (("rust-atoi" ,rust-atoi-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-flume" ,rust-flume-0.11) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-intrusive" ,rust-futures-intrusive-0.5) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.27) + ("rust-log" ,rust-log-0.4) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-sqlx-core" ,rust-sqlx-core-0.7) + ("rust-time" ,rust-time-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-url" ,rust-url-2) + ("rust-urlencoding" ,rust-urlencoding-2) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-sqlx" ,rust-sqlx-0.7)))) + (home-page "https://github.com/launchbadge/sqlx") + (synopsis "SQLite driver implementation for SQLx") + (description + "This package provides SQLite driver implementation for SQLx. Not for +direct use; see the `sqlx` crate for details.") + (license (list license:expat license:asl2.0)))) + diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 9d7f44693ae..539e0acc3ae 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> ;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> -;;; Copyright © 2020, 2021, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020, 2021, 2023-2025 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020 John Soo <jsoo1@asu.edu> ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com> ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org> @@ -43,13 +43,17 @@ #:use-module (gnu packages assembly) #:use-module (gnu packages compression) #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-web) #:use-module (gnu packages crates-windows) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gl) + #:use-module (gnu packages glib) #:use-module (gnu packages image) + #:use-module (gnu packages image-processing) #:use-module (gnu packages llvm) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -120,14 +124,14 @@ shapes, lines and text to buffers.") (define-public rust-ansi-colours-1 (package (name "rust-ansi-colours") - (version "1.2.2") + (version "1.2.3") (source (origin (method url-fetch) (uri (crate-uri "ansi_colours" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "104aj4fi8nxdb9c5ahpwn53afmfcdzmwi3k9rawl3lvm42ymh5ba")) + (base32 "1zimwh84gs1r0g0chy6x5lm9v0ksxxlzwy8nyj80f6cq08zc9vhl")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -139,6 +143,7 @@ shapes, lines and text to buffers.") (arguments `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-anstyle" ,rust-anstyle-1) ("rust-rgb" ,rust-rgb-0.8) ("rust-termcolor" ,rust-termcolor-1)) #:cargo-development-inputs @@ -220,24 +225,28 @@ text or blue underlined text, on ANSI terminals.") "1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13")))) (arguments `()))) -(define-public rust-ansi-to-tui-2 +(define-public rust-ansi-to-tui-7 (package (name "rust-ansi-to-tui") - (version "2.0.2") + (version "7.0.0") (source (origin (method url-fetch) (uri (crate-uri "ansi-to-tui" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0l43nyj2difngwjbiy6vd5p8bw96w06swgw5hx6vi9zvqzs8wyqm")))) + (base32 "0b4iynqcqaav8i55w8lk7ypm6xr845vh32lcw8vxffff3qgmwmb7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-nom" ,rust-nom-7) + ("rust-ratatui" ,rust-ratatui-0.29) ("rust-simdutf8" ,rust-simdutf8-0.1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tui" ,rust-tui-0.16)) - #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)))) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) (home-page "https://github.com/uttarayan21/ansi-to-tui") (synopsis "Library to convert ansi color coded text into @code{ratatui::text::Text}") @@ -385,22 +394,21 @@ Mac, and Unix.") (define-public rust-av-data-0.4 (package (name "rust-av-data") - (version "0.4.3") + (version "0.4.4") (source (origin (method url-fetch) (uri (crate-uri "av-data" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "135kq5javpf83xci44srw9k0inh3g6k40ijr4qi3s6qn6m1y4jhj")))) + (base32 "13ih12xbhjykwrncdsvnibjanjymmxbn2mqc3014r4hpsfjpp9pw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-byte-slice-cast" ,rust-byte-slice-cast-1) ("rust-bytes" ,rust-bytes-1) ("rust-num-derive" ,rust-num-derive-0.4) ("rust-num-rational" ,rust-num-rational-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-thiserror" ,rust-thiserror-1)))) + ("rust-num-traits" ,rust-num-traits-0.2)))) (home-page "https://github.com/rust-av/rust-av") (synopsis "Multimedia data structures") (description "This package provides multimedia data structures.") @@ -504,22 +512,27 @@ alpha channel embedding.") #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)) #:cargo-development-inputs (("rust-avif-parse" ,rust-avif-parse-1)))))) -(define-public rust-avif-serialize-0.6 +(define-public rust-avif-serialize-0.6.5-yanked (package (inherit rust-avif-serialize-0.7) (name "rust-avif-serialize") - (version "0.6.5") + (version "0.6.5") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "avif-serialize" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "130wq838lslkcqcp2kjci7q3aq9qpir07pvxndc81xqbn63wvdjg")))) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.5)))))) + (("rust-arrayvec" ,rust-arrayvec-0.5)))) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-avif-serialize-0.6 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-avif-serialize" rust-avif-serialize-0.6.5-yanked)) (define-public rust-box-drawing-0.1 (package @@ -666,47 +679,23 @@ for computer graphics.") (;("rust-glium" ,rust-glium-0.19) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-color-to-tui-0.2 - (package - (name "rust-color-to-tui") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "color-to-tui" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1k3vyp2fl0lcqs8iwssv56562kag6ljqaixirrci77ydmcq3zi0s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1) - ("rust-tui" ,rust-tui-0.16)) - #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://git.uttarayan.me/uttarayan/color-to-tui") - (synopsis - "Parse colors and convert them to @code{ratatui::style::Colors}") - (description - "This package provides parsing colors and converting them to -@code{ratatui::style::Colors}.") - (license license:expat))) - (define-public rust-colorous-1 (package (name "rust-colorous") - (version "1.0.12") + (version "1.0.15") (source (origin (method url-fetch) (uri (crate-uri "colorous" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1crqxkhpvwjcnjggp2qjs2mzyd1xrv3drgqq4bzlhi9ggj687c3y")))) + (base32 "146g6rl0083r1h8y5nzq9ca28jqqw3mmapc0bfzg7f91z7ygk1hb")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs (("rust-dejavu" ,rust-dejavu-2) - ("rust-image" ,rust-image-0.24) - ("rust-imageproc" ,rust-imageproc-0.23) - ("rust-rusttype" ,rust-rusttype-0.9)))) + `(#:cargo-development-inputs (("rust-ab-glyph" ,rust-ab-glyph-0.2) + ("rust-dejavu" ,rust-dejavu-2) + ("rust-image" ,rust-image-0.25) + ("rust-imageproc" ,rust-imageproc-0.25)))) (home-page "https://github.com/dtolnay/colorous") (synopsis "Professional color schemes ported from d3-scale-chromatic") (description "Professional color schemes ported from d3-scale-chromatic.") @@ -741,14 +730,14 @@ for computer graphics.") (package (inherit rust-core-graphics-0.24) (name "rust-core-graphics") - (version "0.23.1") + (version "0.23.2") (source (origin (method url-fetch) (uri (crate-uri "core-graphics" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04m2hpzrkzkkxmvlak20ivlgf8rcsh3j3y67vgz2c30iyjx2j2lp")))) + (base32 "10dhv3gk4kmbzl14xxkrhhky4fdp8h6nzff6h0019qgr6nz84xy0")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -782,20 +771,19 @@ for computer graphics.") (package (inherit rust-core-graphics-0.22) (name "rust-core-graphics") - (version "0.21.1") + (version "0.21.0") (source (origin (method url-fetch) (uri (crate-uri "core-graphics" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1i9gwzkil9k276317by0mi1pxz036h412dmcp1bzmlq4adj5anha")))) + (base32 "0y5rxchfhvjw25d19h9kz5pzshdngs26frgvx2n3w86gg11pr9jj")))) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics-types" ,rust-core-graphics-types-0.1) ("rust-foreign-types" ,rust-foreign-types-0.3) ("rust-libc" ,rust-libc-0.2)))))) @@ -868,20 +856,19 @@ for computer graphics.") (package (inherit rust-core-graphics-types-0.2) (name "rust-core-graphics-types") - (version "0.1.1") + (version "0.1.3") (source (origin (method url-fetch) (uri (crate-uri "core-graphics-types" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12vqf0n5mjjcqjksdd82n2zh8hfda2zpiiqsr522c2266j5vcs1s")))) + (base32 "1bxg8nxc8fk4kxnqyanhf36wq0zrjr552c58qy6733zn2ihhwfa5")))) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; link kind `framework` is only supported on Apple targets #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-foreign-types" ,rust-foreign-types-0.3) ("rust-libc" ,rust-libc-0.2)))))) (define-public rust-core-video-sys-0.1 @@ -1010,22 +997,6 @@ and iOS.") (description "This package provides libdav1d bindings in rust.") (license license:expat))) -(define-public rust-dav1d-0.6 - (package - (inherit rust-dav1d-0.10) - (name "rust-dav1d") - (version "0.6.1") - (source (origin - (method url-fetch) - (uri (crate-uri "dav1d" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0qz2lx37pmx798lysgh6k5lk5y20ckr7pp8c1p6v2z0p721i913j")))) - (arguments - `(#:cargo-inputs - (("rust-dav1d-sys" ,rust-dav1d-sys-0.3)))))) - (define-public rust-dav1d-sys-0.8 (package (name "rust-dav1d-sys") @@ -1050,64 +1021,26 @@ and iOS.") (description "This package provides FFI bindings to dav1d.") (license license:expat))) -(define-public rust-dav1d-sys-0.7 - (package - (inherit rust-dav1d-sys-0.8) - (name "rust-dav1d-sys") - (version "0.7.3") - (source (origin - (method url-fetch) - (uri (crate-uri "dav1d-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13z5qvf35lkda67l6l1bkdp1gmqg75cqfblldxh4n8rbmn4zsj9s")))) - (arguments - `(#:skip-build? #t ; Expects 1.0.0 <= dav1d < 1.3.0 - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-system-deps" ,rust-system-deps-6)))))) - -(define-public rust-dav1d-sys-0.3 +(define-public rust-dcv-color-primitives-0.6 (package - (inherit rust-dav1d-sys-0.7) - (name "rust-dav1d-sys") - (version "0.3.5") + (name "rust-dcv-color-primitives") + (version "0.6.1") (source (origin (method url-fetch) - (uri (crate-uri "dav1d-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "dcv-color-primitives" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10y8637snqc3kb9mhs8p9zi8171ba2hlbvhk06vs6hfifx60rr48")))) - (arguments - `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.59) - ("rust-system-deps" ,rust-system-deps-6)))) - (native-inputs - (list pkg-config)) - (inputs - (list dav1d clang llvm)))) - -(define-public rust-dcv-color-primitives-0.4 - (package - (name "rust-dcv-color-primitives") - (version "0.4.1") - (source (origin - (method url-fetch) - (uri (crate-uri "dcv-color-primitives" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01c0ag8dwzz00hyq9qam9d5j6yzdh8xpidcn37vgkzlmhgfz8mql")))) + (base32 "0k3384cfwhc8z9pxj0gb6dz8sjcwsamnpbrkbc570sfhzvnn5b87")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-paste" ,rust-paste-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) + `(#:cargo-inputs (("rust-paste" ,rust-paste-1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-getrandom" ,rust-getrandom-0.2) ("rust-itertools" ,rust-itertools-0.10) + ("rust-perf-event" ,rust-perf-event-0.4) ("rust-rand" ,rust-rand-0.8) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) (home-page "https://github.com/aws/dcv-color-primitives") @@ -1182,27 +1115,27 @@ and iOS.") "Safe, low-level bindings to the Direct Rendering Manager API.") (license license:expat))) -(define-public rust-drm-0.10 +(define-public rust-drm-0.11 (package (inherit rust-drm-0.12) (name "rust-drm") - (version "0.10.0") + (version "0.11.1") (source (origin (method url-fetch) (uri (crate-uri "drm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11xyv3l03a3zxsrfr02mwnn5d6h4100919zb2v9fpizv7xq1pywp")))) + (base32 "1pnwicchrbkmfx9rn222q7a8jalzm6faa9pgnkdffnnpc2gady50")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-drm-ffi" ,rust-drm-ffi-0.6) + ("rust-drm-ffi" ,rust-drm-ffi-0.7) ("rust-drm-fourcc" ,rust-drm-fourcc-2) - ("rust-nix" ,rust-nix-0.27)) + ("rust-rustix" ,rust-rustix-0.38)) #:cargo-development-inputs (("rust-image" ,rust-image-0.24) - ("rust-nix" ,rust-nix-0.27) - ("rust-rustyline" ,rust-rustyline-12)))))) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-rustyline" ,rust-rustyline-13)))))) (define-public rust-drm-ffi-0.8 (package @@ -1225,6 +1158,22 @@ and iOS.") "Safe, low-level bindings to the Direct Rendering Manager API.") (license license:expat))) +(define-public rust-drm-ffi-0.7 + (package + (inherit rust-drm-ffi-0.8) + (name "rust-drm-ffi") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "drm-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iiardadqms7gaad50qq9624xzw0asfbnpyh5biq693r0n24ycs1")))) + (arguments + `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.6) + ("rust-rustix" ,rust-rustix-0.38)))))) + (define-public rust-drm-ffi-0.6 (package (inherit rust-drm-ffi-0.8) @@ -1286,6 +1235,24 @@ Direct Rendering Manager} format fourcc.") "This package provides bindings to the Direct Rendering Manager API.") (license license:expat))) +(define-public rust-drm-sys-0.6 + (package + (inherit rust-drm-sys-0.7) + (name "rust-drm-sys") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "drm-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xiir3qkl6ccw898zbhdnckxyjlgzws5xfh526qiiwcj3y4gy29d")))) + (arguments + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-libc" ,rust-libc-0.2) + ("rust-linux-raw-sys" ,rust-linux-raw-sys-0.6) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + (define-public rust-drm-sys-0.5 (package (inherit rust-drm-sys-0.7) @@ -1334,20 +1301,19 @@ extrapolations and smoothing of generic data points.") (define-public rust-euclid-0.22 (package (name "rust-euclid") - (version "0.22.6") + (version "0.22.11") (source (origin (method url-fetch) (uri (crate-uri "euclid" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "102blw7ljphi7i2xg435z0bb0a4npmwwbgyfinqxg1m0af2q55ns")))) + (base32 "0j4yb01x9dn5hbbbigd3mwdplv4m29k5drmhmc95lj3yfi5xp75d")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-bytemuck" ,rust-bytemuck-1) ("rust-mint" ,rust-mint-0.5) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-serde" ,rust-serde-1)) @@ -1386,24 +1352,6 @@ extrapolations and smoothing of generic data points.") EUI-64, also known as MAC-48 media access control addresses.") (license (list license:expat license:asl2.0)))) -(define-public rust-eui48-0.3 - (package - (inherit rust-eui48-0.4) - (name "rust-eui48") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "eui48" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mmdhczfdxwv5v5h90ydqkx0mdqiv0h2clshm2cm4qlwp0gacw29")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-serde" ,rust-serde-1)))))) - (define-public rust-evdev-0.11 (package (name "rust-evdev") @@ -1436,28 +1384,27 @@ EUI-64, also known as MAC-48 media access control addresses.") (define-public rust-exr-1 (package (name "rust-exr") - (version "1.5.3") + (version "1.73.0") (source (origin (method url-fetch) (uri (crate-uri "exr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ssgq9zkf53mhwvhj9khvrlh0f9h3dl1pg7cs0irvn1fgvs5xbz8")))) + (base32 "1q47yq78q9k210r6jy1wwrilxwwxqavik9l3l426rd17k7srfcgq")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included #:cargo-inputs (("rust-bit-field" ,rust-bit-field-0.10) - ("rust-flume" ,rust-flume-0.10) ("rust-half" ,rust-half-2) ("rust-lebe" ,rust-lebe-0.5) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.6) + ("rust-miniz-oxide" ,rust-miniz-oxide-0.8) + ("rust-rayon-core" ,rust-rayon-core-1) ("rust-smallvec" ,rust-smallvec-1) - ("rust-threadpool" ,rust-threadpool-1) ("rust-zune-inflate" ,rust-zune-inflate-0.2)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) - ("rust-image" ,rust-image-0.24) + ("rust-image" ,rust-image-0.25) ("rust-rand" ,rust-rand-0.8) ("rust-rayon" ,rust-rayon-1) ("rust-walkdir" ,rust-walkdir-2)))) @@ -1466,8 +1413,48 @@ EUI-64, also known as MAC-48 media access control addresses.") (description "Read and write OpenEXR files without any unsafe code") (license license:bsd-3))) +(define-public rust-fast-image-resize-5 + (package + (name "rust-fast-image-resize") + (version "5.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast_image_resize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qp95mkllxmkc3q0iwh1rj9cgv0rixpjz5wdw6avv2n17g090y7c")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `testing` + #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-image" ,rust-image-0.25) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rayon" ,rust-rayon-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-libvips" ,rust-libvips-1) + ("rust-nix" ,rust-nix-0.29) + ("rust-png" ,rust-png-0.17) + ("rust-resize" ,rust-resize-0.8) + ("rust-rgb" ,rust-rgb-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tera" ,rust-tera-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/cykooz/fast_image_resize") + (synopsis "Library for fast image resizing with use of SIMD instructions") + (description + "This package provides a library for fast image resizing with use of +SIMD instructions.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fast-image-resize-2 (package + (inherit rust-fast-image-resize-5) (name "rust-fast-image-resize") (version "2.7.3") (source @@ -1477,7 +1464,6 @@ EUI-64, also known as MAC-48 media access control addresses.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0nnm59h7dl2bpi5k2wcd7zz14nl00sa33jiipbjbn48f0i09ly6c")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Unresolved import `testing' #:cargo-inputs @@ -1493,13 +1479,7 @@ EUI-64, also known as MAC-48 media access control addresses.") ("rust-rgb" ,rust-rgb-0.8) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/cykooz/fast_image_resize") - (synopsis - "Fast image resizing with using of SIMD instructions") - (description - "This package provides fast image resizing with using of SIMD instructions.") - (license (list license:expat license:asl2.0)))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-fast-srgb8-1 (package @@ -1523,24 +1503,21 @@ EUI-64, also known as MAC-48 media access control addresses.") (define-public rust-gfx-0.18 (package (name "rust-gfx") - (version "0.18.2") + (version "0.18.3") (source (origin (method url-fetch) (uri (crate-uri "gfx" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0nqmxqi3x4ni0g78g77a6aldrv8cfvzhnpqhxyd2ap4aa3wldph1")))) + (base32 "02lf16bgyvdk5imzw0r0xyxjrsyv2ficmf9kiarzvf5zx1bl0xgb")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-mint" ,rust-mint-0.5) - ("rust-draw-state" ,rust-draw-state-0.8) - ("rust-gfx-core" ,rust-gfx-core-0.9)))) + `(#:cargo-inputs + (("rust-draw-state" ,rust-draw-state-0.8) + ("rust-gfx-core" ,rust-gfx-core-0.9) + ("rust-log" ,rust-log-0.4) + ("rust-mint" ,rust-mint-0.5)))) (home-page "https://github.com/gfx-rs/gfx") (synopsis "High-performance, bindless graphics API") (description @@ -1623,19 +1600,22 @@ EUI-64, also known as MAC-48 media access control addresses.") (package (inherit rust-gif-0.12) (name "rust-gif") - (version "0.11.3") + (version "0.11.4") (source (origin (method url-fetch) (uri (crate-uri "gif" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nsfd5qvp69z8kn17ziiq8zv4mclfycyxppf5k9fm2h8g1z1i9y3")))) + (base32 "01hbw3isapzpzff8l6aw55jnaqx2bcscrbwyf3rglkbbfp397p9y")))) (arguments - `(#:skip-build? #t + `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-color-quant" ,rust-color-quant-1) - ("rust-weezl" ,rust-weezl-0.1)))))) + ("rust-weezl" ,rust-weezl-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-glob" ,rust-glob-0.3) + ("rust-png" ,rust-png-0.17)))))) (define-public rust-gif-0.10 (package @@ -1847,14 +1827,14 @@ EUI-64, also known as MAC-48 media access control addresses.") (package (inherit rust-glutin-0.32) (name "rust-glutin") - (version "0.31.2") + (version "0.31.3") (source (origin (method url-fetch) (uri (crate-uri "glutin" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04mjvgh2dipwa8wdy8gc70k8w48104v8vmr2cmqdqspq5ai5jm00")))) + (base32 "0il7aija3y17p3sz6qqzxyahrgp5crqzbf002fnr3nc69spd9z0q")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) @@ -1970,42 +1950,9 @@ EUI-64, also known as MAC-48 media access control addresses.") ("rust-winapi" ,rust-winapi-0.3) ("rust-winit" ,rust-winit-0.26)))))) -(define-public rust-glutin-0.26 - (package - (inherit rust-glutin-0.28) - (name "rust-glutin") - (version "0.26.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "glutin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18szbh4dixcr7pmymvbrpv21hv0wrpii5w03rv2534bb2ywwpq8s")))) - (arguments - `(#:cargo-inputs - (("rust-android-glue" ,rust-android-glue-0.2) - ("rust-cgl" ,rust-cgl-0.3) - ("rust-cocoa" ,rust-cocoa-0.23) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-glutin-egl-sys" ,rust-glutin-egl-sys-0.1) - ("rust-glutin-emscripten-sys" ,rust-glutin-emscripten-sys-0.1) - ("rust-glutin-gles2-sys" ,rust-glutin-gles2-sys-0.1) - ("rust-glutin-glx-sys" ,rust-glutin-glx-sys-0.1) - ("rust-glutin-wgl-sys" ,rust-glutin-wgl-sys-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libloading" ,rust-libloading-0.6) - ("rust-log" ,rust-log-0.4) - ("rust-objc" ,rust-objc-0.2) - ("rust-osmesa-sys" ,rust-osmesa-sys-0.1) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-wayland-egl" ,rust-wayland-egl-0.28) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winit" ,rust-winit-0.24)))))) - (define-public rust-glutin-0.21 (package - (inherit rust-glutin-0.26) + (inherit rust-glutin-0.28) (name "rust-glutin") (version "0.21.2") (source @@ -2347,29 +2294,6 @@ EUI-64, also known as MAC-48 media access control addresses.") (description "Core types of gpu-alloc crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-ical-0.7 - (package - (name "rust-ical") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ical" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kvk1pgas67rnp0n4424lxxs8y3n1h0fw3ap8jbfcxqdmlap57sa")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/Peltoche/ical-rs") - (synopsis "Ical/Vcard parser for Rust") - (description - "This library parse the ICalendar format defined in RFC5545, as well as -similar formats like VCard.") - (license license:asl2.0))) - (define-public rust-image-0.25 (package (name "rust-image") @@ -2437,36 +2361,36 @@ filters and decoders for the most common image formats.") (package (inherit rust-image-0.25) (name "rust-image") - (version "0.24.7") + (version "0.24.9") (source (origin (method url-fetch) (uri (crate-uri "image" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04d7f25b8nlszfv9a474n4a0al4m2sv9gqj3yiphhqr0syyzsgbg")))) + (base32 "17gnr6ifnpzvhjf6dwbl9hki8x6bji5mwcqp0048x1jm5yfi742n")))) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) ("rust-byteorder" ,rust-byteorder-1) ("rust-color-quant" ,rust-color-quant-1) - ("rust-dav1d" ,rust-dav1d-0.6) - ("rust-dcv-color-primitives" ,rust-dcv-color-primitives-0.4) + ("rust-dav1d" ,rust-dav1d-0.10) + ("rust-dcv-color-primitives" ,rust-dcv-color-primitives-0.6) ("rust-exr" ,rust-exr-1) - ("rust-gif" ,rust-gif-0.12) + ("rust-gif" ,rust-gif-0.13) ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) ("rust-mp4parse" ,rust-mp4parse-0.17) - ("rust-num-rational" ,rust-num-rational-0.4) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-png" ,rust-png-0.17) ("rust-qoi" ,rust-qoi-0.4) ("rust-ravif" ,rust-ravif-0.11) + ("rust-rayon" ,rust-rayon-1) ("rust-rgb" ,rust-rgb-0.8) ("rust-tiff" ,rust-tiff-0.9) ("rust-webp" ,rust-webp-0.2)) #:cargo-development-inputs (("rust-crc32fast" ,rust-crc32fast-1) - ("rust-criterion" ,rust-criterion-0.4) + ("rust-criterion" ,rust-criterion-0.5) ("rust-glob" ,rust-glob-0.3) ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) ("rust-num-complex" ,rust-num-complex-0.4) @@ -2621,8 +2545,46 @@ filters and decoders for the most common image formats.") "This package provides @code{WebP} encoding and decoding in pure Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-imageproc-0.25 + (package + (name "rust-imageproc") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "imageproc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "039zxplb99vq61ax305xz4p8lgyxwxkly5ca5sjm21wn11wgp4r3")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-ab-glyph" ,rust-ab-glyph-0.2) + ("rust-approx" ,rust-approx-0.5) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-image" ,rust-image-0.25) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-katexit" ,rust-katexit-0.1) + ("rust-nalgebra" ,rust-nalgebra-0.32) + ("rust-num" ,rust-num-0.4) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rayon" ,rust-rayon-1) + ("rust-sdl2" ,rust-sdl2-0.36)) + #:cargo-development-inputs + (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/image-rs/imageproc") + (synopsis "Image processing operations") + (description "This package provides image processing operations.") + (license license:expat))) + (define-public rust-imageproc-0.23 (package + (inherit rust-imageproc-0.25) (name "rust-imageproc") (version "0.23.0") (source @@ -2632,7 +2594,6 @@ filters and decoders for the most common image formats.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1mszh0jz8208r9h62aq61mda7xf6pwldcmcnl80n6ihx6n9ykbmn")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included #:cargo-inputs (("rust-approx" ,rust-approx-0.5) @@ -2651,23 +2612,19 @@ filters and decoders for the most common image formats.") (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) ("rust-image" ,rust-image-0.24) ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/image-rs/imageproc") - (synopsis "Image processing operations") - (description "Image processing operations.") - (license license:expat))) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) (define-public rust-imgref-1 (package (name "rust-imgref") - (version "1.10.1") + (version "1.11.0") (source (origin (method url-fetch) (uri (crate-uri "imgref" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "09l18s80crfn7g8ank3v44g43xns4pg7f6hpaz3sfna1bwsxmzj4")))) + (base32 "0254wzkakm31fdix6diqng0fkggknibh0b1iv570ap0djwykl9nh")))) (build-system cargo-build-system) (home-page "https://github.com/kornelski/imgref") (synopsis "2D slice of a @code{Vec}") @@ -2679,18 +2636,19 @@ pixel buffers with width, height and stride.") (define-public rust-jpeg-decoder-0.3 (package (name "rust-jpeg-decoder") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "jpeg-decoder" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gkv0zx95i4fr40fj1a10d70lqi6lfyia8r5q8qjxj8j4pj0005w")) + (base32 "1c1k53svpdyfhibkmm0ir5w0v3qmcmca8xr8vnnmizwf6pdagm7m")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" - (("=0\\.2\\.83") "^0.2.83")))))) + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included @@ -2730,6 +2688,28 @@ pixel buffers with width, height and stride.") ("rust-png" ,rust-png-0.16) ("rust-walkdir" ,rust-walkdir-2)))))) +(define-public rust-katexit-0.1 + (package + (name "rust-katexit") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "katexit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1368kfz2cfsqk2sa4gy2cdzy8ynffv24p8wq49y20b6f932084zb")))) + (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/termoshtt/katexit") + (synopsis "Insert KaTeX autorender script into rustdoc") + (description + "This package provides a @code{KaTeX} autorender script into rustdoc.") + (license license:asl2.0))) + (define-public rust-keyframe-1 (package (name "rust-keyframe") @@ -2789,6 +2769,33 @@ It's features include: (description "This package provides Rust bindings for EGL.") (license (list license:expat license:asl2.0)))) +(define-public rust-kmeans-colors-0.6 + (package + (name "rust-kmeans-colors") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "kmeans_colors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "153qfhvvm7iisqjy6sy7mfw8x9h8y9y25z7ygvfkbp0i53xmz8g9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-image" ,rust-image-0.24) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-palette" ,rust-palette-0.7) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-structopt" ,rust-structopt-0.3)))) + (home-page "https://github.com/okaneco/kmeans-colors") + (synopsis "Simple k-means clustering to find dominant colors in images") + (description + "This package provides simple k-means clustering to find dominant colors +in images. Backed by a generic k-means implementation offered as a standalone +library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-libdav1d-sys-0.6 (package (name "rust-libdav1d-sys") @@ -2820,6 +2827,27 @@ It's features include: "This package builds and links to the dav1d AV1 decoder.") (license license:bsd-2))) +(define-public rust-libvips-1 + (package + (name "rust-libvips") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libvips" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0apwyz8dm9ysxmsry2savf3q0nd12k01pm33c1g5ph2s6s9hp29k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-num-derive" ,rust-num-derive-0.4) + ("rust-num-traits" ,rust-num-traits-0.2)))) + (inputs (list glib vips)) + (home-page "https://github.com/olxgroup-oss/libvips-rust-bindings") + (synopsis "Safe bindings for libvips") + (description "This package provides safe bindings for libvips.") + (license license:expat))) + (define-public rust-libwebp-sys-0.9 (package (name "rust-libwebp-sys") @@ -2904,14 +2932,14 @@ graphics and video games.") (define-public rust-lyon-geom-1 (package (name "rust-lyon-geom") - (version "1.0.5") + (version "1.0.6") (source (origin (method url-fetch) (uri (crate-uri "lyon_geom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ydzjz8lh2jlg9gjcpmkix0yxfgkv76yn0mb67h0nasa4f6zpv7d")))) + (base32 "0w45pmyn5bpyk39wyrgniam08z3dpg23dr1yid1xywkj13f9xxla")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) @@ -2928,19 +2956,16 @@ graphics and video games.") (package (inherit rust-lyon-geom-1) (name "rust-lyon-geom") - (version "0.17.6") + (version "0.17.7") (source (origin (method url-fetch) (uri (crate-uri "lyon_geom" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "12al92qsh0f8ci3qf3533r4y5hxzzyfp972vm4wqzz9bq9vwx6ff")))) + (base32 "13lcghic8l1j632wsrds9cjw7k3vw8dhc8iy81cx50zxvb5rrn3i")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) ("rust-euclid" ,rust-euclid-0.22) ("rust-num-traits" ,rust-num-traits-0.2) @@ -3024,32 +3049,6 @@ graphics and video games.") (description "Parser for ISO base media file format (mp4).") (license license:mpl2.0))) -(define-public rust-mp4parse-0.12 - (package - (inherit rust-mp4parse-0.17) - (name "rust-mp4parse") - (version "0.12.1") - (source (origin - (method url-fetch) - (uri (crate-uri "mp4parse" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1scynvlmiy6xv2rrzzpijd812amh6a863na8i0xrcw5d9d08kl8h")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-bitreader" ,rust-bitreader-0.3) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-env-logger" ,rust-env-logger-0.8) - ("rust-fallible-collections" ,rust-fallible-collections-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-static-assertions" ,rust-static-assertions-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-test-assembler" ,rust-test-assembler-0.1) - ("rust-walkdir" ,rust-walkdir-2)))))) - (define-public rust-osmesa-sys-0.1 (package (name "rust-osmesa-sys") @@ -3435,25 +3434,29 @@ interactive applications.") (define-public rust-png-0.17 (package (name "rust-png") - (version "0.17.13") + (version "0.17.16") (source (origin (method url-fetch) (uri (crate-uri "png" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qdmajjzkdbmk5zk7qb5pc6927xa26hr2v68hbkpa9ris79v1r06")))) + (base32 "09kmkms9fmkbkarw0lnf0scqvjwwg3r7riddag0i3q39r0pil5c2")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" "--" - ;; Not all files incuded. + '("--" + ;; Not all files included. "--skip=decoder::stream::tests::image_gamma" "--skip=decoder::stream::tests::image_source_chromaticities" + "--skip=decoder::stream::tests::image_source_sbit" + "--skip=decoder::stream::tests::test_mdcv_and_clli_chunks" "--skip=decoder::stream::tests::test_two_iccp_chunks" + "--skip=decoder::stream::tests::test_png_with_broken_iccp" "--skip=encoder::tests::image_palette" - "--skip=src/decoder/mod.rs - decoder::Decoder<R>::set_ignore_text_chunk (line 269)" - "--skip=src/decoder/mod.rs - decoder::Decoder<R>::set_limits (line 182)" + "--skip=decoder::Decoder<R>::set_ignore_iccp_chunk" + "--skip=decoder::Decoder<R>::set_ignore_text_chunk" + "--skip=decoder::Decoder<R>::set_limits" "--skip=src/lib.rs - (line 13)" "--skip=src/text_metadata.rs - text_metadata (line 25)") #:cargo-inputs @@ -3461,16 +3464,17 @@ interactive applications.") ("rust-crc32fast" ,rust-crc32fast-1) ("rust-fdeflate" ,rust-fdeflate-0.3) ("rust-flate2" ,rust-flate2-1) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.7)) + ("rust-miniz-oxide" ,rust-miniz-oxide-0.8)) #:cargo-development-inputs - (("rust-byteorder" ,rust-byteorder-1) + (("rust-approx" ,rust-approx-0.5) + ("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.32) ("rust-glob" ,rust-glob-0.3) ("rust-rand" ,rust-rand-0.8) - ("rust-term" ,rust-term-0.7)))) + ("rust-term" ,rust-term-1)))) (native-inputs (list pkg-config)) (inputs (list expat fontconfig freetype)) (home-page "https://github.com/image-rs/image-png") @@ -3673,16 +3677,16 @@ in AVIF format (powers the @code{cavif} tool).") #:cargo-development-inputs (("rust-avif-parse" ,rust-avif-parse-1)))))) -(define-public rust-ravif-0.6 +(define-public rust-ravif-0.6.6-yanked (package (inherit rust-ravif-0.8) (name "rust-ravif") - (version "0.6.6") + (version "0.6.6") ; This version was yanked! (source (origin (method url-fetch) (uri (crate-uri "ravif" version)) - (file-name (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version "-yanked.tar.gz")) (sha256 (base32 "0rfm63bv0q2rjyivmzlk4wma8xff6jralh7dr1bjz2aw4knm7cw1")))) (arguments @@ -3699,7 +3703,12 @@ in AVIF format (powers the @code{cavif} tool).") (("rust-avif-parse" ,rust-avif-parse-0.13)))) (native-inputs (list nasm)) ;for building rav1e - (inputs '()))) + (inputs '()) + (properties '((crate-version-yanked? . #t))))) + +(define-public rust-ravif-0.6 + ;; There are no non-yanked versions of this semver. + (deprecated-package "rust-ravif" rust-ravif-0.6.6-yanked)) (define-public rust-raw-window-handle-0.6 (package @@ -3794,8 +3803,32 @@ in AVIF format (powers the @code{cavif} tool).") (description "Interop library between Metal and raw-window-handle.") (license (list license:expat license:asl2.0)))) +(define-public rust-resize-0.8 + (package + (name "rust-resize") + (version "0.8.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "resize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w0fsb9ab1q4yyr5fyhcahjsp5wk97vh550lg52kyy3ynk8078c7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.15) + ("rust-libm" ,rust-libm-0.2) + ("rust-rayon" ,rust-rayon-1) + ("rust-rgb" ,rust-rgb-0.8)) + #:cargo-development-inputs (("rust-png" ,rust-png-0.17)))) + (home-page "https://github.com/PistonDevelopers/resize") + (synopsis "Image resampling library in pure Rust") + (description "This package provides an image resampling library in pure Rust.") + (license license:expat))) + (define-public rust-resize-0.7 (package + (inherit rust-resize-0.8) (name "rust-resize") (version "0.7.4") (source @@ -3805,17 +3838,12 @@ in AVIF format (powers the @code{cavif} tool).") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0hdd5r2m1700y6r88v5hq3q28xixrsbfhbzqz26409jyy3zvvrw7")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-fallible-collections" ,rust-fallible-collections-0.4) ("rust-rgb" ,rust-rgb-0.8)) #:cargo-development-inputs - (("rust-png" ,rust-png-0.17)))) - (home-page "https://github.com/PistonDevelopers/resize") - (synopsis "Image resampling library in pure Rust") - (description "This package provides an image resampling library in pure Rust.") - (license license:expat))) + (("rust-png" ,rust-png-0.17)))))) (define-public rust-resize-0.4 (package @@ -3895,8 +3923,34 @@ first-class Rust objects.") using Rust.") (license license:lgpl2.0+))) +(define-public rust-sdl2-0.36 + (package + (name "rust-sdl2") + (version "0.36.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sdl2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14c84p0fxgr3c9ji82myqzh5y8106rfkrk0byhs5mb8ygmlv4ml3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Building requires several SDL2 inputs. + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-c-vec" ,rust-c-vec-2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-sdl2-sys" ,rust-sdl2-sys-0.36)))) + (home-page "https://github.com/Rust-SDL2/rust-sdl2") + (synopsis "SDL2 bindings for Rust") + (description "This package provides SDL2 bindings for Rust.") + (license license:expat))) + (define-public rust-sdl2-0.35 (package + (inherit rust-sdl2-0.36) (name "rust-sdl2") (version "0.35.2") (source (origin @@ -3905,7 +3959,6 @@ using Rust.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "06ivcavxhc7zyhbfmy2544dz0lnaqf33d9xf0jggpw93nrvr55gp")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Building requires several SDL2 inputs. #:cargo-inputs @@ -3914,14 +3967,39 @@ using Rust.") ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) - ("rust-sdl2-sys" ,rust-sdl2-sys-0.35)))) - (home-page "https://github.com/Rust-SDL2/rust-sdl2") - (synopsis "SDL2 bindings for Rust") - (description "This package provides SDL2 bindings for Rust.") + ("rust-sdl2-sys" ,rust-sdl2-sys-0.35)))))) + +(define-public rust-sdl2-sys-0.36 + (package + (name "rust-sdl2-sys") + (version "0.36.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sdl2-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0adxb3n2bq8j58x7diwnm0d96qwa0fqgwjahg2srylsxskysrg16")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `#[panic_handler]` function required, but not found + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.53) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cmake" ,rust-cmake-0.1) + ("rust-flate2" ,rust-flate2-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2) + ("rust-version-compare" ,rust-version-compare-0.1)))) + (home-page "https://github.com/rust-sdl2/rust-sdl2") + (synopsis "Raw SDL2 bindings for Rust, used internally rust-sdl2") + (description "This package provides raw SDL2 bindings for Rust, used +internally rust-sdl2.") (license license:expat))) (define-public rust-sdl2-sys-0.35 (package + (inherit rust-sdl2-sys-0.36) (name "rust-sdl2-sys") (version "0.35.2") (source (origin @@ -3933,7 +4011,6 @@ using Rust.") (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "SDL"))))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Building requires several SDL2 inputs. #:cargo-inputs @@ -3944,12 +4021,7 @@ using Rust.") ("rust-libc" ,rust-libc-0.2) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-vcpkg" ,rust-vcpkg-0.2) - ("rust-version-compare" ,rust-version-compare-0.1)))) - (home-page "https://github.com/rust-sdl2/rust-sdl2") - (synopsis "Raw SDL2 bindings for Rust, used internally rust-sdl2") - (description "This package provides raw SDL2 bindings for Rust, used -internally rust-sdl2.") - (license license:expat))) + ("rust-version-compare" ,rust-version-compare-0.1)))))) (define-public rust-smithay-client-toolkit-0.19 (package @@ -3996,14 +4068,14 @@ internally rust-sdl2.") (package (inherit rust-smithay-client-toolkit-0.19) (name "rust-smithay-client-toolkit") - (version "0.18.0") + (version "0.18.1") (source (origin (method url-fetch) (uri (crate-uri "smithay-client-toolkit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03v0h71qzg5iw5nd2k15a50ic55a9wq6bc7l5dyczfm33yadkqv0")))) + (base32 "0fpm2yfpsif7022w4xalxgn53y8w5dc8zkipcpbj1n1vmgpd6bwj")))) (arguments `(#:skip-build? #t ; Cut the dependency chain #:cargo-inputs @@ -4032,14 +4104,14 @@ internally rust-sdl2.") (package (inherit rust-smithay-client-toolkit-0.18) (name "rust-smithay-client-toolkit") - (version "0.16.0") + (version "0.16.1") (source (origin (method url-fetch) (uri (crate-uri "smithay-client-toolkit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0m7l0zhl9s3321yj8z6hf1g0w3l2ay85irgcw2r5wwfj69yw81zk")))) + "1fbfr05h4bcwkkymxwdkhh59pqwgx234pv23pxjbwb4g1gijf147")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -4086,18 +4158,17 @@ internally rust-sdl2.") (package (inherit rust-smithay-client-toolkit-0.15) (name "rust-smithay-client-toolkit") - (version "0.12.2") + (version "0.12.3") (source (origin (method url-fetch) (uri (crate-uri "smithay-client-toolkit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rjdszpf8pns99gyy8f5axf01ckc33f30dddfazyfg45xfii6vii")))) + (base32 "100bm0wk7agfk1dmfnqfjq55kn53srkyc3yq7vx9bb6ksmpwfl27")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-andrew" ,rust-andrew-0.3) ("rust-bitflags" ,rust-bitflags-1) ("rust-calloop" ,rust-calloop-0.6) @@ -4108,7 +4179,8 @@ internally rust-sdl2.") ("rust-nix" ,rust-nix-0.18) ("rust-wayland-client" ,rust-wayland-client-0.28) ("rust-wayland-cursor" ,rust-wayland-cursor-0.28) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)))))) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)) + #:cargo-development-inputs (("rust-image" ,rust-image-0.23)))))) (define-public rust-smithay-client-toolkit-0.4 (package @@ -4143,22 +4215,22 @@ internally rust-sdl2.") (define-public rust-smithay-clipboard-0.7 (package (name "rust-smithay-clipboard") - (version "0.7.0") + (version "0.7.2") (source (origin (method url-fetch) (uri (crate-uri "smithay-clipboard" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19m1rqw4fsp9x92cji9qz169004djjh376b68ylcp9g51hl2pdhb")))) + (base32 "0inqnr4x458nqz0wdcanbgn77dad3bj0m7pjj074lrv3qkp1d0nc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.19) ("rust-wayland-backend" ,rust-wayland-backend-0.3)) #:cargo-development-inputs - (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18)))) + (("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.19)))) (native-inputs (list pkg-config)) (inputs (list libxkbcommon)) (home-page "https://github.com/smithay/smithay-clipboard") @@ -4278,21 +4350,21 @@ applications.") (package (inherit rust-softbuffer-0.4) (name "rust-softbuffer") - (version "0.3.3") + (version "0.3.4") (source (origin (method url-fetch) (uri (crate-uri "softbuffer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0j199d8zg964324sppk1gnkq2361ivay7ykrlm71npg8v3ma4vc2")))) + (base32 "0qiv299v034hq7v4d79mkyvhzl05snal9m4ffm7amaiyl8mcwrpj")))) (arguments `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) ("rust-bytemuck" ,rust-bytemuck-1) ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) ("rust-cocoa" ,rust-cocoa-0.25) ("rust-core-graphics" ,rust-core-graphics-0.23) - ("rust-drm" ,rust-drm-0.10) + ("rust-drm" ,rust-drm-0.11) ("rust-fastrand" ,rust-fastrand-2) ("rust-foreign-types" ,rust-foreign-types-0.5) ("rust-js-sys" ,rust-js-sys-0.3) @@ -4341,17 +4413,46 @@ applications.") (setenv "DISPLAY" display) (system (string-append xvfb " " display " &")))))))))) +(define-public rust-svg-metadata-0.4 + (package + (name "rust-svg-metadata") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "svg_metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "002j0na1kfz4pgi43hdcz5baygzk6irnjd5lrmbqqfjldwn3sbx4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=readme_sect_usage_example_line_19") + #:cargo-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-roxmltree" ,rust-roxmltree-0.18) + ("rust-skeptic" ,rust-skeptic-0.13)) + #:cargo-development-inputs (("rust-skeptic" ,rust-skeptic-0.13)))) + (home-page "https://github.com/mre/svg-metadata") + (synopsis + "Extracts metadata (like the viewBox, width, and height) from SVG graphics") + (description + "This package provides extracts metadata (like the @code{viewBox}, width, +and height) from SVG graphics.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-tiff-0.9 (package (name "rust-tiff") - (version "0.9.0") + (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "tiff" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04b2fd3clxm0pmdlfip8xj594zyrsfwmh641i6x1gfiz9l7jn5vd")))) + (base32 "0ghyxlz566dzc3scvgmzys11dhq2ri77kb8sznjakijlxby104xs")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -5651,40 +5752,57 @@ crate @code{rust-wayland-client} for usable bindings.") (define-public rust-wayrs-client-1 (package (name "rust-wayrs-client") - (version "1.0.2") + (version "1.1.3") (source (origin (method url-fetch) (uri (crate-uri "wayrs-client" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18i19b7z4wp0mjwn256ps3pdfk47lx45h0cx8wkjlv7akkgzxnj7")))) + (base32 "0z7qcacf79ljvi7252sdw5cfa5vs6372a01b93v0cc68w5nq53hh")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-nix" ,rust-nix-0.27) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-wayrs-scanner" ,rust-wayrs-scanner-0.13)))) + `(#:cargo-inputs (("rust-tokio" ,rust-tokio-1) + ("rust-wayrs-core" ,rust-wayrs-core-1) + ("rust-wayrs-scanner" ,rust-wayrs-scanner-0.15)))) (home-page "https://github.com/MaxVerevkin/wayrs") (synopsis "Wayland client library") (description "This package provides a wayland client library.") (license license:expat))) +(define-public rust-wayrs-core-1 + (package + (name "rust-wayrs-core") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayrs-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jf5gf60rmwky1q8g09adkl6gm8wssixnhm8vc2p1b2ksh6y78mn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/MaxVerevkin/wayrs") + (synopsis "Core Wayland types for wayrs") + (description "This package provides the core Wayland types for wayrs.") + (license license:expat))) + (define-public rust-wayrs-proto-parser-2 (package (name "rust-wayrs-proto-parser") - (version "2.0.0") + (version "2.0.4") (source (origin (method url-fetch) (uri (crate-uri "wayrs-proto-parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1a9gb0iv6rm1z2n4isfb9x05pv6wlgn23hljb9s038m4dgmyn1hl")))) + (base32 "1qhav3nzd69f4ikm19kv8k246rpg71qyih60hgz8l7dv9z8gsv79")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-quick-xml" ,rust-quick-xml-0.31) - ("rust-thiserror" ,rust-thiserror-1)))) + `(#:cargo-inputs (("rust-quick-xml" ,rust-quick-xml-0.37)))) (home-page "https://github.com/MaxVerevkin/wayrs") (synopsis "Parser for wayland protocol xml files") (description "This package provides a parser for wayland protocol @@ -5694,14 +5812,14 @@ xml files.") (define-public rust-wayrs-protocols-0.13 (package (name "rust-wayrs-protocols") - (version "0.13.0") + (version "0.13.2") (source (origin (method url-fetch) (uri (crate-uri "wayrs-protocols" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1888h4wh3knjwh19v4y2gjpsv5j78c4vk08gls5f3aa1iryfpd7x")))) + (base32 "0ivs29fw27rcq7ahwy7c3zrx041fcal9cklyzg4wpri2npp64xdk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-wayrs-client" ,rust-wayrs-client-1)))) @@ -5712,21 +5830,20 @@ xml files.") with wayrs-client.") (license license:expat))) -(define-public rust-wayrs-scanner-0.13 +(define-public rust-wayrs-scanner-0.15 (package (name "rust-wayrs-scanner") - (version "0.13.2") + (version "0.15.0") (source (origin (method url-fetch) (uri (crate-uri "wayrs-scanner" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07xzg36rnnsb4z4rd82r2mk3y05vg1ssfwrry2kd4yz395sx91z3")))) + (base32 "1ic501bv24racms7gissz8v7axf71irrd134ljsjx557zv5p3w91")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-3) - ("rust-proc-macro2" ,rust-proc-macro2-1) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2) ("rust-wayrs-proto-parser" ,rust-wayrs-proto-parser-2)))) @@ -5861,14 +5978,14 @@ platform-specific getters provided by winit, or another library.") (package (inherit rust-winit-0.30) (name "rust-winit") - (version "0.29.10") + (version "0.29.15") (source (origin (method url-fetch) (uri (crate-uri "winit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kzzl8m68sq6njdr6n1b90ppfg1pfhkcq48iqxpfdshyjh8lz0jc")))) + (base32 "1jp5j96hcr6xif7asgck522791fqmlmhd3wwy3x5fmk3babasn8d")))) (arguments `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) @@ -5894,8 +6011,8 @@ platform-specific getters provided by winit, or another library.") ("rust-orbclient" ,rust-orbclient-0.3) ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-raw-window-handle" ,rust-raw-window-handle-0.6) - ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.4) ("rust-redox-syscall" ,rust-redox-syscall-0.3) ("rust-rustix" ,rust-rustix-0.38) ("rust-sctk-adwaita" ,rust-sctk-adwaita-0.8) @@ -6205,7 +6322,7 @@ platform-specific getters provided by winit, or another library.") (define-public rust-x11-2 (package (name "rust-x11") - (version "2.20.1") + (version "2.21.0") (source (origin (method url-fetch) @@ -6213,7 +6330,7 @@ platform-specific getters provided by winit, or another library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10pbvmcyqm6j6zr4zk7znk8silmilihv8jxmbxbl1b0pkidqsqy2")))) + (base32 "0bnvl09d7044k067gqdx1ln2r0ljp5f4675icwb0216d9i3aabah")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -6226,6 +6343,103 @@ platform-specific getters provided by winit, or another library.") (description "This crate provides X11 library bindings for Rust.") (license license:expat))) +(define-public rust-x11-clipboard-0.9 + (package + (name "rust-x11-clipboard") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11-clipboard" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18rmsm0lrcc4hy2wqs7gn90czv59sv5bj07bbf76nfbysyrp8bb6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=tests::should_work_but_does_not") + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-x11rb" ,rust-x11rb-0.13)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key native-inputs inputs #:allow-other-keys) + ;; Most tests require an X server. + (let ((xvfb (search-input-file (or native-inputs inputs) + "bin/Xvfb")) + (display ":1")) + (setenv "DISPLAY" display) + (system (string-append xvfb " " display " &")))))))) + (native-inputs (list xorg-server-for-tests)) + (home-page "https://github.com/quininer/x11-clipboard") + (synopsis "X11 clipboard support for Rust") + (description "This package provides x11 clipboard support for Rust.") + (license license:expat))) + +(define-public rust-x11-clipboard-0.8 + (package + (inherit rust-x11-clipboard-0.9) + (name "rust-x11-clipboard") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11-clipboard" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ps0fk1912vzy382fc8l926q8w1l8bxmw72l3kr9bwdi2l8wl6ml")))) + (arguments + `(#:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.12)) + #:phases + (modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda* (#:key native-inputs inputs #:allow-other-keys) + ;; Most tests require an X server. + (let ((xvfb (search-input-file (or native-inputs inputs) + "bin/Xvfb")) + (display ":1")) + (setenv "DISPLAY" display) + (system (string-append xvfb " " display " &")))))))))) + +(define-public rust-x11-clipboard-0.7 + (package + (inherit rust-x11-clipboard-0.8) + (name "rust-x11-clipboard") + (version "0.7.1") + (source (origin + (method url-fetch) + (uri (crate-uri "x11-clipboard" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0r3lgslbbdf0mb914n0f9q2pqci407r1pcddwbl7sfvc4alrl2wq")))) + (arguments + `(#:tests? #f ; Wants a running X server. + #:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.10)))))) + +(define-public rust-x11-dl-2 + (package + (name "rust-x11-dl") + (version "2.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "x11-dl" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vsiq62xpcfm0kn9zjw5c9iycvccxl22jya8wnk18lyxzqj5jwrq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/erlepereira/x11-rs.git") + (synopsis "X11 library bindings for Rust") + (description "This package provides X11 library bindings for Rust.") + (license license:expat))) + (define-public rust-x11rb-0.13 (package (name "rust-x11rb") @@ -6328,29 +6542,6 @@ platform-specific getters provided by winit, or another library.") ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1) ("rust-x11rb-protocol" ,rust-x11rb-protocol-0.10)))))) -(define-public rust-x11rb-0.8 - (package - (inherit rust-x11rb-0.10) - (name "rust-x11rb") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11rb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "068g5ll4l5f35c2v098hj0kj2c9ma0r7v3pbli164q9g7w5hiyvg")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gethostname" ,rust-gethostname-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.7) - ("rust-nix" ,rust-nix-0.20) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winapi-wsapoll" ,rust-winapi-wsapoll-0.1)))))) - (define-public rust-x11rb-protocol-0.13 (package (name "rust-x11rb-protocol") @@ -6424,102 +6615,31 @@ platform-specific getters provided by winit, or another library.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) -(define-public rust-x11-clipboard-0.9 - (package - (name "rust-x11-clipboard") - (version "0.9.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11-clipboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18rmsm0lrcc4hy2wqs7gn90czv59sv5bj07bbf76nfbysyrp8bb6")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=tests::should_work_but_does_not") - #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-x11rb" ,rust-x11rb-0.13)) - #:phases - (modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda* (#:key native-inputs inputs #:allow-other-keys) - ;; Most tests require an X server. - (let ((xvfb (search-input-file (or native-inputs inputs) - "bin/Xvfb")) - (display ":1")) - (setenv "DISPLAY" display) - (system (string-append xvfb " " display " &")))))))) - (native-inputs (list xorg-server-for-tests)) - (home-page "https://github.com/quininer/x11-clipboard") - (synopsis "X11 clipboard support for Rust") - (description "This package provides x11 clipboard support for Rust.") - (license license:expat))) - -(define-public rust-x11-clipboard-0.8 +(define-public rust-xkb-0.3 (package - (inherit rust-x11-clipboard-0.9) - (name "rust-x11-clipboard") - (version "0.8.1") + (name "rust-xkb") + (version "0.3.0") (source (origin (method url-fetch) - (uri (crate-uri "x11-clipboard" version)) + (uri (crate-uri "xkb" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ps0fk1912vzy382fc8l926q8w1l8bxmw72l3kr9bwdi2l8wl6ml")))) - (arguments - `(#:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.12)) - #:phases - (modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda* (#:key native-inputs inputs #:allow-other-keys) - ;; Most tests require an X server. - (let ((xvfb (search-input-file (or native-inputs inputs) - "bin/Xvfb")) - (display ":1")) - (setenv "DISPLAY" display) - (system (string-append xvfb " " display " &")))))))))) - -(define-public rust-x11-clipboard-0.7 - (package - (inherit rust-x11-clipboard-0.8) - (name "rust-x11-clipboard") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "x11-clipboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0r3lgslbbdf0mb914n0f9q2pqci407r1pcddwbl7sfvc4alrl2wq")))) - (arguments - `(#:tests? #f ; Wants a running X server. - #:cargo-inputs (("rust-x11rb" ,rust-x11rb-0.10)))))) - -(define-public rust-x11-dl-2 - (package - (name "rust-x11-dl") - (version "2.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x11-dl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vsiq62xpcfm0kn9zjw5c9iycvccxl22jya8wnk18lyxzqj5jwrq")))) + (base32 "03rfx8n3pajc95riksnshh3aqm8dqij2iis5icl88pa6ylk9x0gj")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (home-page "https://github.com/erlepereira/x11-rs.git") - (synopsis "X11 library bindings for Rust") - (description "This package provides X11 library bindings for Rust.") - (license license:expat))) + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-xcb" ,rust-xcb-1) + ("rust-xkbcommon-sys" ,rust-xkbcommon-sys-1)))) + (native-inputs + (list pkg-config)) + (inputs + (list clang libxkbcommon-1.5 mesa)) + (home-page "https://github.com/meh/rust-xkb") + (synopsis "Rusty wrapper around libxkbcommon") + (description "This package provides Rusty wrapper around libxkbcommon.") + (license license:wtfpl2))) (define-public rust-xkbcommon-0.7 (package @@ -6546,24 +6666,6 @@ platform-specific getters provided by winit, or another library.") for @code{libxkbcommon}.") (license license:expat))) -(define-public rust-xkbcommon-0.5 - (package - (inherit rust-xkbcommon-0.7) - (name "rust-xkbcommon") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "xkbcommon" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "123b96fbp693z43z2f2gbadb9dzf523n2d21j3izcaz9k6sjbnsj")))) - (arguments - `(#:cargo-inputs (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-memmap2" ,rust-memmap2-0.7)) - #:cargo-development-inputs (("rust-evdev" ,rust-evdev-0.11)))))) - (define-public rust-xkbcommon-dl-0.4 (package (name "rust-xkbcommon-dl") @@ -6628,49 +6730,23 @@ for @code{libxkbcommon}.") (description "This package provides bindings to libxkbcommon.") (license license:wtfpl2))) -(define-public rust-xkb-0.3 - (package - (name "rust-xkb") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "xkb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03rfx8n3pajc95riksnshh3aqm8dqij2iis5icl88pa6ylk9x0gj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-xcb" ,rust-xcb-1) - ("rust-xkbcommon-sys" ,rust-xkbcommon-sys-1)))) - (native-inputs - (list pkg-config)) - (inputs - (list clang libxkbcommon-1.5 mesa)) - (home-page "https://github.com/meh/rust-xkb") - (synopsis "Rusty wrapper around libxkbcommon") - (description "This package provides Rusty wrapper around libxkbcommon.") - (license license:wtfpl2))) - (define-public rust-xkeysym-0.2 (package (name "rust-xkeysym") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "xkeysym" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0886dn1rlkiazcp5n6ayqfg0ibpiny62dlbiyr9v4l32nxl8wjh5")))) + (base32 "0mksx670cszyd7jln6s7dhkw11hdfv7blwwr3isq98k22ljh1k5r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-x11rb" ,rust-x11rb-0.11)))) + ("rust-x11rb" ,rust-x11rb-0.12)))) (home-page "https://github.com/notgull/xkeysym") (synopsis "Rust library for working with X11 keysyms") (description @@ -6697,19 +6773,6 @@ for @code{libxkbcommon}.") "This package provides a YUV4MPEG2 (@file{.y4m}) encoder and decoder.") (license license:expat))) -(define-public rust-y4m-0.7 - (package - (inherit rust-y4m-0.8) - (name "rust-y4m") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "y4m" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bhdgb7hgx7j92nm6ij5n8wisp50j8ff66ks14jzwdw2mwhrjam7")))))) - ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index de15413064e..e81f1d08b4b 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -28,9 +28,13 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (gnu packages) + #:use-module (gnu packages crates-audio) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-windows) + #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gstreamer) @@ -42,6 +46,132 @@ ;;; Please: Try to add new module packages in alphabetic order. ;;; +(define-public rust-aperture-0.3 + (package + (name "rust-aperture") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "aperture" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02bjzskxp91br91yvf5f32wakp1i9948sxbsy9hdrxs52w38hr61")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs (list rust-gst-plugin-gtk4-0.11 + rust-gstreamer-0.21 + rust-gstreamer-pbutils-0.21 + rust-gstreamer-video-0.21 + rust-gtk4-0.7 + rust-log-0.4 + rust-pkg-config-0.3))) + (native-inputs (list pkg-config)) + (inputs (list gdk-pixbuf glib graphene gstreamer gst-plugins-base + gst-plugins-bad gtk pango)) + (home-page "https://gitlab.gnome.org/GNOME/snapshot") + (synopsis "GTK Widget for cameras using gstreamer and pipewire") + (description + "This package provides GTK Widget for cameras using gstreamer and pipewire.") + (license license:gpl3+))) + +(define-public rust-ashpd-0.6 + (package + (name "rust-ashpd") + (version "0.6.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "ashpd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "109d7w6v0rnpy9lv4kmhwgh0sff0440s2vybj1k0ik4ib3d2xhja")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" "--skip=src/lib.rs - (line 21)") + #:cargo-inputs (("rust-async-fs" ,rust-async-fs-2) + ("rust-async-net" ,rust-async-net-2) + ("rust-enumflags2" ,rust-enumflags2-0.7) + ("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gdk4-wayland" ,rust-gdk4-wayland-0.7) + ("rust-gdk4-x11" ,rust-gdk4-x11-0.7) + ("rust-gtk4" ,rust-gtk4-0.7) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pipewire" ,rust-pipewire-0.7) + ("rust-rand" ,rust-rand-0.8) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) + ("rust-serde" ,rust-serde-1) + ("rust-serde-repr" ,rust-serde-repr-0.1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-url" ,rust-url-2) + ("rust-wayland-backend" ,rust-wayland-backend-0.1) + ("rust-wayland-client" ,rust-wayland-client-0.30) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.30) + ("rust-zbus" ,rust-zbus-3)) + #:cargo-development-inputs (("rust-byteorder" ,rust-byteorder-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/bilelmoussaoui/ashpd") + (synopsis "XDG portals wrapper in Rust using zbus") + (description + "This package provides an XDG portals wrapper in Rust using zbus.") + (license license:expat))) + +(define-public rust-atk-0.14 + (package + (name "rust-atk") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fi6f3k1lgd0iymar58hp88k76fm5pd1npi2avdn9r3mmb922fx8")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-atk-sys" ,rust-atk-sys-0.14) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-glib" ,rust-glib-0.14) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (inputs + (list at-spi2-core glib)) + (home-page "https://gtk-rs.org/") + (synopsis "Rust bindings for the ATK library") + (description "Rust bindings for the ATK library") + (license license:expat))) + +(define-public rust-atk-0.8 + (package + (inherit rust-atk-0.14) + (name "rust-atk") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "atk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gk6ijqsd6kh8cki1wznw570499psbppg3d5bqaayagjapxawka4")))) + (arguments + `(#:cargo-inputs + (("rust-atk-sys" ,rust-atk-sys-0.9) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-glib" ,rust-glib-0.9) + ("rust-glib-sys" ,rust-glib-sys-0.9) + ("rust-gobject-sys" ,rust-gobject-sys-0.9) + ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) + (define-public rust-atk-sys-0.18 (package (name "rust-atk-sys") @@ -144,78 +274,24 @@ (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-atk-0.14 - (package - (name "rust-atk") - (version "0.14.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "atk" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fi6f3k1lgd0iymar58hp88k76fm5pd1npi2avdn9r3mmb922fx8")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-atk-sys" ,rust-atk-sys-0.14) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-glib" ,rust-glib-0.14) - ("rust-libc" ,rust-libc-0.2)) - #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) - (inputs - (list at-spi2-core glib)) - (home-page "https://gtk-rs.org/") - (synopsis "Rust bindings for the ATK library") - (description "Rust bindings for the ATK library") - (license license:expat))) - -(define-public rust-atk-0.8 - (package - (inherit rust-atk-0.14) - (name "rust-atk") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "atk" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0gk6ijqsd6kh8cki1wznw570499psbppg3d5bqaayagjapxawka4")))) - (arguments - `(#:cargo-inputs - (("rust-atk-sys" ,rust-atk-sys-0.9) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-glib" ,rust-glib-0.9) - ("rust-glib-sys" ,rust-glib-sys-0.9) - ("rust-gobject-sys" ,rust-gobject-sys-0.9) - ("rust-gtk-rs-lgpl-docs" ,rust-gtk-rs-lgpl-docs-0.1) - ("rust-libc" ,rust-libc-0.2)) - #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) - (define-public rust-cairo-rs-0.20 (package (name "rust-cairo-rs") - (version "0.20.1") + (version "0.20.5") (source (origin (method url-fetch) (uri (crate-uri "cairo-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0s9yafifi3pwf7jck0bhgwr4rlg483sqhlr32fb8q44lghafm878")))) + (base32 "1rp3jjgdz2996lk69chr84fjxr73y1gdl7c138093rks3ng6kynp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.20) ("rust-freetype-rs" ,rust-freetype-rs-0.37) ("rust-glib" ,rust-glib-0.20) - ("rust-libc" ,rust-libc-0.2) - ("rust-thiserror" ,rust-thiserror-1)) + ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-float-eq" ,rust-float-eq-1) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) @@ -1332,6 +1408,62 @@ (description "This package provides FFI bindings of GDK4 Wayland.") (license license:expat))) +(define-public rust-gdk4-win32-0.7 + (package + (name "rust-gdk4-win32") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4-win32" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mv04mipl57v1lj94j2rkrk9qm75jvdlnp7qm6nl2kpn8466arpy")))) + (build-system cargo-build-system) + (arguments + ;; The system library `gtk4-win32` required by gtk4-win32-sys` was not found. + `(#:skip-build? #t + #:cargo-inputs (("rust-gdk4" ,rust-gdk4-0.7) + ("rust-gdk4-win32-sys" ,rust-gdk4-win32-sys-0.7) + ("rust-gio" ,rust-gio-0.18) + ("rust-glib" ,rust-glib-0.18) + ("rust-khronos-egl" ,rust-khronos-egl-5) + ("rust-libc" ,rust-libc-0.2) + ("rust-windows" ,rust-windows-0.52)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (home-page "https://gtk-rs.org/gtk4-rs") + (synopsis "Rust bindings of the GDK4 Win32 library") + (description + "This package provides Rust bindings of the GDK4 Win32 library.") + (license license:expat))) + +(define-public rust-gdk4-win32-sys-0.7 + (package + (name "rust-gdk4-win32-sys") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gdk4-win32-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v9rkv1i1sbzckigdr5zjy0xzz6qf9iccikvg3qxjfnd8rsihp2b")))) + (build-system cargo-build-system) + (arguments + ;; The system library `gtk4-win32` required by gtk4-win32-sys` was not found. + `(#:skip-build? #t + #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7) + ("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://gtk-rs.org/gtk4-rs") + (synopsis "FFI bindings of GDK4 Win32") + (description "This package provides FFI bindings of GDK4 Win32.") + (license license:expat))) + (define-public rust-gdk4-x11-0.7 (package (name "rust-gdk4-x11") @@ -1393,14 +1525,14 @@ (define-public rust-gio-0.20 (package (name "rust-gio") - (version "0.20.4") + (version "0.20.6") (source (origin (method url-fetch) (uri (crate-uri "gio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0g6l7a1n63a8myjpcv10mn214w0ypijf6rq812b3wn09zgl9kndq")))) + (base32 "071n06a1zsngjr4q7k0kr7qzbxmg1pm0psjby3hkvkjnmnlx49l8")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -1415,8 +1547,7 @@ ("rust-glib" ,rust-glib-0.20) ("rust-libc" ,rust-libc-0.2) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)) + ("rust-smallvec" ,rust-smallvec-1)) #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) ("rust-futures-util" ,rust-futures-util-0.3) @@ -1659,14 +1790,14 @@ (define-public rust-gio-sys-0.20 (package (name "rust-gio-sys") - (version "0.20.4") + (version "0.20.6") (source (origin (method url-fetch) (uri (crate-uri "gio-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ya7i4m3jirrhryy6h8x5kgp3fxn6m4111009ws5aiz0ilvgqzjg")))) + (base32 "1g19jl1rg5r9isz5mpi211wswwanrgpxk9y1nlb4ij1l6mpxyrdr")))) (build-system cargo-build-system) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though @@ -1920,14 +2051,14 @@ (define-public rust-glib-0.20 (package (name "rust-glib") - (version "0.20.4") + (version "0.20.6") (source (origin (method url-fetch) (uri (crate-uri "glib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zw5xd2772vakf95pslvzmmnzg6f9wnj9vkcpkyzj2v5sg31xkxd")))) + (base32 "1qfmp4cgcm7zv92z5bc1cv8rmh8cjdbdn06r6nhvb2lrwx73xgc6")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -1946,8 +2077,7 @@ ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-memchr" ,rust-memchr-2) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)) + ("rust-smallvec" ,rust-smallvec-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) ("rust-gir-format-check" ,rust-gir-format-check-0.1) @@ -2200,14 +2330,14 @@ (define-public rust-glib-macros-0.20 (package (name "rust-glib-macros") - (version "0.20.4") + (version "0.20.5") (source (origin (method url-fetch) (uri (crate-uri "glib-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mqwhk5qnd9vbvsb335n1j6m5pbqnfycm7b3jxhhlwnm1kvqigx6")))) + (base32 "0mn1054ypcw906qpgvkqdz1wfjjb2kgfsmh4lwfykhyggai1rlp7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5) @@ -2373,14 +2503,14 @@ (define-public rust-glib-sys-0.20 (package (name "rust-glib-sys") - (version "0.20.4") + (version "0.20.6") (source (origin (method url-fetch) (uri (crate-uri "glib-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0avm6dr3q2xvlad7fcbq7an7qasaqf3k480dn19s99ngi1fwm7jz")))) + (base32 "1pn2hynpky8kh776wrlyd7wp2spzaxfqw8pv1lnc87v2x0kih2rx")))) (build-system cargo-build-system) (arguments `(;; XXX: Tests are sensitive to the version of glib, even though @@ -2662,12 +2792,13 @@ (define-public rust-gobject-sys-0.14 (package (inherit rust-gobject-sys-0.15) + (name "rust-gobject-sys") (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "gobject-sys" version)) - (file-name (string-append "rust-gobject-sys-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1xf3jiwzrjingq8jr15bjkbv6m5dypzp67cjnm5f7njrjzicm4ma")))) (arguments @@ -2925,6 +3056,44 @@ #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gst-plugin-gtk4-0.11 + (package + (name "rust-gst-plugin-gtk4") + (version "0.11.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gst-plugin-gtk4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hmky9p16hnhrwm5i63ynlwfl1bpc9fp3as5ibrni1qlfq0vhwdj")))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs (list rust-async-channel-2 + rust-gdk4-wayland-0.7 + rust-gdk4-win32-0.7 + rust-gdk4-x11-0.7 + rust-gst-plugin-version-helper-0.8 + rust-gstreamer-0.21 + rust-gstreamer-allocators-0.21 + rust-gstreamer-base-0.21 + rust-gstreamer-gl-0.21 + rust-gstreamer-gl-egl-0.21 + rust-gstreamer-gl-wayland-0.21 + rust-gstreamer-gl-x11-0.21 + rust-gstreamer-video-0.21 + rust-gtk4-0.7 + rust-once-cell-1 + rust-windows-sys-0.52))) + (native-inputs (list pkg-config)) + (inputs (list gdk-pixbuf glib graphene gstreamer gst-plugins-base + gtk pango)) + (home-page "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs") + (synopsis "GStreamer GTK 4 sink element") + (description "This package provides GStreamer GTK 4 sink element.") + (license license:mpl2.0))) + (define-public rust-gst-plugin-version-helper-0.8 (package (name "rust-gst-plugin-version-helper") @@ -3072,6 +3241,65 @@ ("rust-ron" ,rust-ron-0.7) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-gstreamer-allocators-0.21 + (package + (name "rust-gstreamer-allocators") + (version "0.21.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-allocators" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14s244qk5dznd1pvswps7k61s6ksjd3pv0fzvpgybm1k9c5v57vc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib" ,rust-glib-0.18) + ("rust-gstreamer" ,rust-gstreamer-0.21) + ("rust-gstreamer-allocators-sys" ,rust-gstreamer-allocators-sys-0.21) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer Allocators library") + (description + "This package provides Rust bindings for GStreamer Allocators library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gstreamer-allocators-sys-0.21 + (package + (name "rust-gstreamer-allocators-sys") + (version "0.21.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-allocators-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1brps4xpzigavifcwr6hs6368nilc4l03ivnv13fxb2svdw885f1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=cross_validate_constants_with_c" + "--skip=cross_validate_layout_with_c") + #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstallocators-1.0") + (description "This package provides FFI bindings to libgstallocators-1.0.") + (license license:expat))) + (define-public rust-gstreamer-app-0.18 (package (name "rust-gstreamer-app") @@ -3401,6 +3629,237 @@ (description "This package provides FFI bindings to libgstcheck-1.0.") (license license:expat))) +(define-public rust-gstreamer-gl-0.21 + (package + (name "rust-gstreamer-gl") + (version "0.21.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-gl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "140vnlxnkq12c8qqgc5i2y9wdz8c8dga25d99021cg16508vkkry")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18) + ("rust-gstreamer" ,rust-gstreamer-0.21) + ("rust-gstreamer-base" ,rust-gstreamer-base-0.21) + ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21) + ("rust-gstreamer-video" ,rust-gstreamer-video-0.21) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1) + ("rust-serde-json" ,rust-serde-json-1)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base mesa)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer GL library") + (description + "This package provides Rust bindings for GStreamer GL library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gstreamer-gl-egl-0.21 + (package + (name "rust-gstreamer-gl-egl") + (version "0.21.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-gl-egl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10nwlmyw1z4jccyrbqijx6iny2c64164jaz05dgnvi5378ianwx1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib" ,rust-glib-0.18) + ("rust-gstreamer" ,rust-gstreamer-0.21) + ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21) + ("rust-gstreamer-gl-egl-sys" ,rust-gstreamer-gl-egl-sys-0.21) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base mesa)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer GL library (EGL support)") + (description + "This package provides Rust bindings for GStreamer GL library (EGL support).") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gstreamer-gl-egl-sys-0.21 + (package + (name "rust-gstreamer-gl-egl-sys") + (version "0.21.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-gl-egl-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m79m0lbk2s89cm4vc6ckwkgs9khmh2ri7x3gfgmz2hwy2v8hg7f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base mesa)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstgl-1.0 (EGL support)") + (description + "This package provides FFI bindings to libgstgl-1.0 (EGL support).") + (license license:expat))) + +(define-public rust-gstreamer-gl-sys-0.21 + (package + (name "rust-gstreamer-gl-sys") + (version "0.21.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-gl-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kgi8rrlw2qx1p6q9ybk52wxpjn5wscx84lqfg4ng9lr7hdrg06m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=cross_validate_constants_with_c" + "--skip=cross_validate_layout_with_c") + #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-gstreamer-base-sys" ,rust-gstreamer-base-sys-0.21) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21) + ("rust-gstreamer-video-sys" ,rust-gstreamer-video-sys-0.21) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base mesa)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstgl-1.0") + (description "This package provides FFI bindings to libgstgl-1.0.") + (license license:expat))) + +(define-public rust-gstreamer-gl-wayland-0.21 + (package + (name "rust-gstreamer-gl-wayland") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-gl-wayland" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zz7as2qlf021dvpy1qs4rbahf94p6jb1msmfsgx08nhyai7dhpy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-glib" ,rust-glib-0.18) + ("rust-gstreamer" ,rust-gstreamer-0.21) + ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21) + ("rust-gstreamer-gl-wayland-sys" ,rust-gstreamer-gl-wayland-sys-0.21) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base mesa)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer GL library (Wayland support)") + (description + "This package provides Rust bindings for GStreamer GL library (Wayland support).") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gstreamer-gl-wayland-sys-0.21 + (package + (name "rust-gstreamer-gl-wayland-sys") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-gl-wayland-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "188j8i47zn93gph6ngmpjqbvm44jy0wzybr5052s6lxadzqqcywi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base mesa)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstgl-1.0 (Wayland support)") + (description + "This package provides FFI bindings to libgstgl-1.0 (Wayland support).") + (license license:expat))) + +(define-public rust-gstreamer-gl-x11-0.21 + (package + (name "rust-gstreamer-gl-x11") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-gl-x11" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zgn5aih3bcz3ci3xkdpc2jzxrxiz1hdpkwq121w5ln96ag1n0np")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18) + ("rust-gstreamer" ,rust-gstreamer-0.21) + ("rust-gstreamer-gl" ,rust-gstreamer-gl-0.21) + ("rust-gstreamer-gl-x11-sys" ,rust-gstreamer-gl-x11-sys-0.21) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base mesa)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "Rust bindings for GStreamer GL library (X11 support)") + (description + "This package provides Rust bindings for GStreamer GL library (X11 support).") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gstreamer-gl-x11-sys-0.21 + (package + (name "rust-gstreamer-gl-x11-sys") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-gl-x11-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p5wdrn3h55jx15963z1wnk7whwplpjfymy5yjsmkqdrqw1yz6n4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gstreamer-gl-sys" ,rust-gstreamer-gl-sys-0.21) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)) + #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer gst-plugins-base mesa)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstgl-1.0 (X11 support)") + (description + "This package provides FFI bindings to libgstgl-1.0 (X11 support).") + (license license:expat))) + (define-public rust-gstreamer-pbutils-0.21 (package (name "rust-gstreamer-pbutils") @@ -4149,14 +4608,14 @@ library.") (define-public rust-pango-0.20 (package (name "rust-pango") - (version "0.20.4") + (version "0.20.6") (source (origin (method url-fetch) (uri (crate-uri "pango" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mpkjnxcgng8mjf7y55q5d1md4qxswf90m5784hxg50hn5aal9ma")))) + (base32 "0jjml2rmdh6fmayqzm6nm5gp50rbm04i89g5swrkjbn5l9y4xqvi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-gio" ,rust-gio-0.20) @@ -4397,7 +4856,12 @@ library.") (uri (crate-uri "pango-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1iaxalcaaj59cl9n10svh4g50v8jrc1a36kd7n9yahx8j7ikfrs3")))) + (base32 "1iaxalcaaj59cl9n10svh4g50v8jrc1a36kd7n9yahx8j7ikfrs3")) + (modules '((guix build utils))) + (snippet + ;; Don't try to use a version of pango newer than we have packaged. + '(begin (substitute* "Cargo.toml" + (("1\\.51") "1.50")))))) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) ("rust-gobject-sys" ,rust-gobject-sys-0.18) @@ -4563,57 +5027,6 @@ library.") #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) -(define-public rust-pangocairo-0.17 - (package - (inherit rust-pangocairo-0.18) - (name "rust-pangocairo") - (version "0.17.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "pangocairo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kr2b31034b8zif4r3lf4rniqphk2bxi2q7n8iwq2wrf3k5jkgw6")))) - (arguments - `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` - #:tests? #f - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cairo-rs" ,rust-cairo-rs-0.17) - ("rust-glib" ,rust-glib-0.17) - ("rust-libc" ,rust-libc-0.2) - ("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)))))) - -(define-public rust-pangocairo-0.15 - (package - (inherit rust-pangocairo-0.17) - (name "rust-pangocairo") - (version "0.15.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pangocairo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rjk0clrjxah4kc0kybn7l7bxa5m5kpxkihxc2i7a6hx3xfa8xkq")))) - (arguments - `(;; FIXME: error[E0277]: `Errors` doesn't implement `std::fmt::Display` - #:tests? #f - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cairo-rs" ,rust-cairo-rs-0.15) - ("rust-glib" ,rust-glib-0.15) - ("rust-libc" ,rust-libc-0.2) - ("rust-pango" ,rust-pango-0.15) - ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.15)) - #:cargo-development-inputs - (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) - (define-public rust-pangocairo-sys-0.19 (package (name "rust-pangocairo-sys") @@ -4664,53 +5077,6 @@ library.") #:cargo-development-inputs (("rust-shell-words" ,rust-shell-words-1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-pangocairo-sys-0.17 - (package - (inherit rust-pangocairo-sys-0.18) - (name "rust-pangocairo-sys") - (version "0.17.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "pangocairo-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ymr4aqrdpysz0rh383s4h6hj8nbkyj7n4723f45zzzqkf6x7pwl")))) - (arguments - `(#:cargo-inputs - (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.17) - ("rust-glib-sys" ,rust-glib-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)))))) - -(define-public rust-pangocairo-sys-0.15 - (package - (inherit rust-pangocairo-sys-0.17) - (name "rust-pangocairo-sys") - (version "0.15.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pangocairo-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "154llaawy60zh8fkw2yq0r31ynpmqlsr7brryzaq2v4ijijp9kvq")))) - (arguments - `(#:cargo-inputs - (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.15) - ("rust-glib-sys" ,rust-glib-sys-0.15) - ("rust-libc" ,rust-libc-0.2) - ("rust-pango-sys" ,rust-pango-sys-0.15) - ("rust-system-deps" ,rust-system-deps-6)) - #:cargo-development-inputs - (("rust-shell-words" ,rust-shell-words-1) - ("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-search-provider-0.8 (package (name "rust-search-provider") @@ -4737,6 +5103,26 @@ library.") provider API.") (license license:gpl3+))) +(define-public rust-search-provider-0.6 + (package + (inherit rust-search-provider-0.8) + (name "rust-search-provider") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "search-provider" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01jby7xq0dd9rafw5kgskpbxgppn4imzm71w1sdj8iy9ci4ghh9z")))) + (arguments + `(#:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18) + ("rust-gdk4" ,rust-gdk4-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-zbus" ,rust-zbus-3)))))) + (define-public rust-soup-sys-0.10 (package (name "rust-soup-sys") diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7716a24dc33..e769de77233 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Ivan Petkov <ivanppetkov@gmail.com> -;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2019-2025 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2019-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2019, 2024 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr> @@ -12,7 +12,7 @@ ;;; Copyright © 2020 André Batista <nandre@riseup.net> ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net> -;;; Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2021-2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 aecepoglu <aecepoglu@fastmail.fm> ;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro> @@ -44,8 +44,10 @@ ;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca> ;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org> ;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org> -;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo> +;;; Copyright © 2024, 2025 Jordan Moore <lockbox@struct.foo> ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com> +;;; Copyright © 2024 Murilo <murilo@disroot.org> +;;; Copyright © 2025 Divya Ranjan Pattanaik <divya@subvertising.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -73,19 +75,26 @@ #:use-module (gnu packages) #:use-module (gnu packages acl) #:use-module (gnu packages admin) + #:use-module (gnu packages aidc) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages avahi) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages c) + #:use-module (gnu packages certs) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-audio) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-shell) #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-vcs) #:use-module (gnu packages crates-web) @@ -106,14 +115,12 @@ #:use-module (gnu packages llvm) #:use-module (gnu packages mail) #:use-module (gnu packages maths) - #:use-module (gnu packages mp3) #:use-module (gnu packages multiprecision) #:use-module (gnu packages nettle) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages protobuf) - #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages rust) #:use-module (gnu packages rust-apps) @@ -121,7 +128,6 @@ #:use-module (gnu packages selinux) #:use-module (gnu packages sequoia) #:use-module (gnu packages serialization) - #:use-module (gnu packages shells) #:use-module (gnu packages sqlite) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) @@ -141,21 +147,21 @@ (define-public rust-ab-glyph-0.2 (package (name "rust-ab-glyph") - (version "0.2.21") + (version "0.2.29") (source (origin (method url-fetch) (uri (crate-uri "ab_glyph" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0f8ak16r69rz55smb7vdxh603nsknr30gkayi5fqb0pmik3z242i")))) + "1c7p94qf8x6n62nrbia7nzwdxm2sbyygnhd5qfmfl7p7h30p4dpc")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests want font files. #:cargo-inputs (("rust-ab-glyph-rasterizer" ,rust-ab-glyph-rasterizer-0.1) ("rust-libm" ,rust-libm-0.2) - ("rust-owned-ttf-parser" ,rust-owned-ttf-parser-0.19)))) + ("rust-owned-ttf-parser" ,rust-owned-ttf-parser-0.25)))) (home-page "https://github.com/alexheretic/ab-glyph") (synopsis "API for rasterizing OpenType font glyphs") (description @@ -199,7 +205,7 @@ cubic beziers.") (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" "--features=testing") + '("--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) @@ -414,20 +420,6 @@ threads. This makes it robust in face of panics (it won't make your program deadlock, like the standard Barrier).") (license (list license:asl2.0 license:expat)))) -(define-public rust-adaptive-barrier-0.1 - (package - (inherit rust-adaptive-barrier-1) - (name "rust-adaptive-barrier") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "adaptive-barrier" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "003ygsiqsd85v0p846q1ym23dbp4iagn89p7k6yrvbg9di1mbjqc")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-adblock-0.7 (package (name "rust-adblock") @@ -539,106 +531,6 @@ syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching.") ("rust-sha2" ,rust-sha2-0.9) ("rust-tokio" ,rust-tokio-1)))))) -(define-public rust-addr2line-0.24 - (package - (name "rust-addr2line") - (version "0.24.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "addr2line" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xfkfsk45dwps3jq4n5ikk7v15i6g51cpnnivxgl1ga28j71vyzm")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `auxiliary` - #:cargo-inputs - (("rust-clap" ,rust-clap-4) - ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-cpp-demangle" ,rust-cpp-demangle-0.4) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-gimli" ,rust-gimli-0.31) - ("rust-memmap2" ,rust-memmap2-0.9) - ("rust-object" ,rust-object-0.36) - ("rust-rustc-demangle" ,rust-rustc-demangle-0.1) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-typed-arena" ,rust-typed-arena-2)) - #:cargo-development-inputs (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-findshlibs" ,rust-findshlibs-0.10) - ("rust-libtest-mimic" ,rust-libtest-mimic-0.7)))) - (home-page "https://github.com/gimli-rs/addr2line") - (synopsis "Symbolication library written in Rust, using gimli") - (description - "This package provides a cross-platform symbolication library written in -Rust, using gimli.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-addr2line-0.21 - (package - (inherit rust-addr2line-0.24) - (name "rust-addr2line") - (version "0.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "addr2line" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jx0k3iwyqr8klqbzk6kjvr496yd94aspis10vwsj5wy7gib4c4a")))) - (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)))))) - -(define-public rust-addr2line-0.19 - (package - (inherit rust-addr2line-0.21) - (name "rust-addr2line") - (version "0.19.0") - (source (origin - (method url-fetch) - (uri (crate-uri "addr2line" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15ywmr5wx22q69ffnn79qp65ir5p1x0k2q06plcpv6v74c5xcvx7")))) - (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.2) - ("rust-gimli" ,rust-gimli-0.27) - ("rust-object" ,rust-object-0.30) - ("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-3) - ("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)))))) - (define-public rust-addchain-0.2 (package (name "rust-addchain") @@ -687,6 +579,42 @@ Rust, using gimli.") (description "This package provides a library for parsing domain names.") (license (list license:expat license:asl2.0)))) +(define-public rust-addr2line-0.24 + (package + (name "rust-addr2line") + (version "0.24.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "addr2line" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hd1i57zxgz08j6h5qrhsnm2fi0bcqvsh389fw400xm3arz2ggnz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-clap" ,rust-clap-4) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-cpp-demangle" ,rust-cpp-demangle-0.4) + ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) + ("rust-gimli" ,rust-gimli-0.31) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-object" ,rust-object-0.36) + ("rust-rustc-demangle" ,rust-rustc-demangle-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-typed-arena" ,rust-typed-arena-2)) + #:cargo-development-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-findshlibs" ,rust-findshlibs-0.10) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.7)))) + (home-page "https://github.com/gimli-rs/addr2line") + (synopsis "Symbolication library written in Rust, using gimli") + (description + "This package provides a cross-platform symbolication library written in +Rust, using gimli.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-adler-1 (package (name "rust-adler") @@ -715,20 +643,6 @@ checksum, used in the zlib compression format.") license:asl2.0 (license:non-copyleft "https://spdx.org/licenses/0BSD.html"))))) -(define-public rust-adler-0.2 - (package - (inherit rust-adler-1) - (name "rust-adler") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "adler" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf")))) - (build-system cargo-build-system))) - (define-public rust-adler2-2 (package (name "rust-adler2") @@ -1174,25 +1088,6 @@ code that is generic with regard to the algebraic entity types.") @code{alga} crate.") (license license:asl2.0))) -(define-public rust-aliasable-deref-trait-0.2 - (package - (name "rust-aliasable-deref-trait") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "aliasable_deref_trait" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0abzqsxd09jxl01brzjnwk8zg7k8zma76gzq87385q8fqm710jxb")))) - (build-system cargo-build-system) - (home-page "https://github.com/avitex/rust-aliasable-deref-trait") - (synopsis "Marker trait for aliasable pointers") - (description - "This package provides a marker trait for types that deref to an -address that is aliasable when coerced to a raw pointer") - (license license:expat))) - (define-public rust-aliasable-0.1 (package (name "rust-aliasable") @@ -1216,17 +1111,36 @@ address that is aliasable when coerced to a raw pointer") types.") (license license:expat))) +(define-public rust-aliasable-deref-trait-0.2 + (package + (name "rust-aliasable-deref-trait") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "aliasable_deref_trait" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0abzqsxd09jxl01brzjnwk8zg7k8zma76gzq87385q8fqm710jxb")))) + (build-system cargo-build-system) + (home-page "https://github.com/avitex/rust-aliasable-deref-trait") + (synopsis "Marker trait for aliasable pointers") + (description + "This package provides a marker trait for types that deref to an +address that is aliasable when coerced to a raw pointer") + (license license:expat))) + (define-public rust-aligned-0.4 (package (name "rust-aligned") - (version "0.4.1") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "aligned" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0md67hsr0yw5qydr9hjlfz4wfxbbl39y7abkhpycf9m682a1p8l0")))) + "08srg0rbz21s1kk97b1canffly7icr31sp7l1nqk2i1ym05lqzip")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-as-slice" ,rust-as-slice-0.2)))) @@ -1236,10 +1150,29 @@ types.") "This package provides a newtype with alignment of at least `A` bytes.") (license (list license:expat license:asl2.0)))) +(define-public rust-aligned-vec-0.5 + (package + (name "rust-aligned-vec") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "aligned-vec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lb8qjqfap028ylf8zap6rkwrnrqimc3v6h3cixycjrdx1y0vaaa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/sarah-ek/aligned-vec/") + (synopsis "Aligned vector and box containers") + (description "This package provides an aligned vector and box containers.") + (license license:expat))) + (define-public rust-alloc-no-stdlib-2 (package (name "rust-alloc-no-stdlib") - (version "2.0.1") + (version "2.0.4") (source (origin (method url-fetch) @@ -1247,7 +1180,7 @@ types.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "19lhmi73fii1b6vrzh23vvp5yjqm33cb94h9yz17pn25b51yr4ji")))) + "1cy6r2sfv5y5cigv86vms7n5nlwhx1rbyxwcraqnmm1rxiib2yyc")))) (build-system cargo-build-system) (home-page "https://github.com/dropbox/rust-alloc-no-stdlib") (synopsis "Dynamic allocator that may be used with or without the stdlib") @@ -1261,7 +1194,7 @@ options to use calloc or a mutable global variable for pre-zeroed memory.") (define-public rust-alloc-stdlib-0.2 (package (name "rust-alloc-stdlib") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) @@ -1269,7 +1202,7 @@ options to use calloc or a mutable global variable for pre-zeroed memory.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1hj3r1x88aajnvigdck0diygj2isc90wa271kkj1swgiq3nxfzk9")))) + "1kkfbld20ab4165p29v172h8g0wvq8i06z8vnng14whw0isq5ywl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -1299,17 +1232,36 @@ be used with the stdlib.") in no_std.") (license license:expat))) +(define-public rust-alloca-0.4 + (package + (name "rust-alloca") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "alloca" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x6p4387rz6j7h342kp3b7bgvqzyl9mibf959pkfk9xflrgd19z5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/playXE/alloca-rs") + (synopsis "Mostly safe wrapper for alloca") + (description "This package provides a mostly safe wrapper for alloca.") + (license license:expat))) + (define-public rust-allocator-api2-0.2 (package (name "rust-allocator-api2") - (version "0.2.15") + (version "0.2.21") (source (origin (method url-fetch) (uri (crate-uri "allocator-api2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1sdgkqs0pyk61m4yjksl5fv8wld11s5rp7v4v3p5hhccvkw6rz2n")))) + "08zrzs022xwndihvzdn78yqarv2b9696y67i6h78nla3ww87jgb8")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--lib") @@ -1340,131 +1292,6 @@ in no_std.") contain numerals.") (license license:expat))) -(define-public rust-alsa-0.8 - (package - (name "rust-alsa") - (version "0.8.1") - (source (origin - (method url-fetch) - (uri (crate-uri "alsa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02pzlq2q8ml28ikvkvm77bwdqmi22d6ak1qvrc0cr6yjb9adwd6f")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - (list "--release" - ;; Not the doc tests. - "--lib" "--bins" "--tests" "--" - ;; These try to use the audio interface - "--skip=pcm::drop" - "--skip=pcm::info_from_default" - "--skip=pcm::playback_to_default" - "--skip=pcm::record_from_default" - "--skip=seq::print_seqs" - "--skip=seq::seq_loopback" - "--skip=seq::seq_portsubscribeiter" - "--skip=seq::seq_subscribe") - #:cargo-inputs (("rust-alsa-sys" ,rust-alsa-sys-0.3) - ("rust-bitflags" ,rust-bitflags-2) - ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.26)))) - (inputs (list alsa-lib)) - (native-inputs (list pkg-config)) - (home-page "https://github.com/diwic/alsa-rs") - (synopsis "Thin and safe wrapper around ALSA") - (description "A thin and safe wrapper around ALSA. Provides APIs for many -parts of ALSA including audio playback, audio recording, HCtl API, raw MIDI and -MIDI sequencer.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-alsa-0.7 - (package - (inherit rust-alsa-0.8) - (name "rust-alsa") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "alsa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0iwbdgb6lr81iji9sr4f91mys24pia5avnkgbkv8kxzhvkc2lmp2")))) - (arguments - (list #:cargo-test-flags `(list "--release" - ;; Not the doc tests. - "--lib" "--bins" "--tests" - "--" - ;; These try to use the audio interface - "--skip=pcm::drop" - "--skip=pcm::info_from_default" - "--skip=pcm::playback_to_default" - "--skip=pcm::record_from_default" - "--skip=seq::print_seqs" - "--skip=seq::seq_loopback" - "--skip=seq::seq_portsubscribeiter" - "--skip=seq::seq_subscribe") - #:cargo-inputs `(("rust-alsa-sys" ,rust-alsa-sys-0.3) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.24)))))) - -(define-public rust-alsa-0.6 - (package - (inherit rust-alsa-0.7) - (name "rust-alsa") - (version "0.6.0") - (source (origin - (method url-fetch) - (uri (crate-uri "alsa" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0szx8finhqbffh08fp3bgh4ywz0b572vcdyh4hwyhrfgw8pza5ar")))) - (arguments - (list #:cargo-test-flags `(list "--release" - ;; Not the doc tests. - "--lib" "--bins" "--tests" - "--" - ;; These try to use the audio interface - "--skip=pcm::drop" - "--skip=pcm::info_from_default" - "--skip=pcm::playback_to_default" - "--skip=pcm::record_from_default" - "--skip=seq::print_seqs" - "--skip=seq::seq_loopback" - "--skip=seq::seq_portsubscribeiter" - "--skip=seq::seq_subscribe") - #:cargo-inputs `(("rust-alsa-sys" ,rust-alsa-sys-0.3) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-nix" ,rust-nix-0.23)))))) - -(define-public rust-alsa-sys-0.3 - (package - (name "rust-alsa-sys") - (version "0.3.1") - (source (origin - (method url-fetch) - (uri (crate-uri "alsa-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09qmmnpmlcj23zcgx2xsi4phcgm5i02g9xaf801y7i067mkfx3yv")))) - (build-system cargo-build-system) - (arguments - (list #:tests? #f ; doc tests fail - #:cargo-inputs `(("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs (list pkg-config alsa-lib)) - (home-page "https://github.com/diwic/alsa-sys") - (synopsis "FFI bindings for the ALSA sound API") - (description - "FFI bindings for the ALSA sound API. This package contains -the code to interact with the underlying operating system ALSA interface.") - (license license:expat))) - (define-public rust-alto-3 (package (name "rust-alto") @@ -2113,22 +1940,6 @@ text to a terminal.") (arguments `(#:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))))) -(define-public rust-anstyle-0.2 - (package - (inherit rust-anstyle-1) - (name "rust-anstyle") - (version "0.2.8") - (source (origin - (method url-fetch) - (uri (crate-uri "anstyle" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "10kdjcyks9hcvmhk44afagnrxi4pczg6jnldjdadzbi4kyi2wqah")))) - (arguments - `(#:cargo-development-inputs - (("rust-lexopt" ,rust-lexopt-0.3)))))) - (define-public rust-anstyle-lossy-1 (package (name "rust-anstyle-lossy") @@ -2313,8 +2124,12 @@ writing colored text to a terminal.") (base32 "11ifmzawvvi6d4r1lk0dkdnbswf574npgkika4535k7j6l3s9zl8")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; `#![feature]` may not be used on the stable release channel - #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)))) + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)) + #:phases (modify-phases %standard-phases + ;; `#![feature]` may not be used on the stable release channel + ;; Enable using nightly/dev features + (add-after 'unpack 'enable-unstable-features + (lambda _ (setenv "RUSTC_BOOTSTRAP" "1")))))) (home-page "https://docs.rs/any_all_workaround/") (synopsis "Workaround for bad LLVM codegen for boolean reductions on 32-bit ARM") (description @@ -2325,14 +2140,14 @@ reductions on 32-bit ARM.") (define-public rust-anyhow-1 (package (name "rust-anyhow") - (version "1.0.89") + (version "1.0.95") (source (origin (method url-fetch) (uri (crate-uri "anyhow" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xh1vg89n56h6nqikcmgbpmkixjds33492klrp9m96xrbmhgizc6")))) + (base32 "010vd1ki8w84dzgx6c81sc8qm9n02fxic1gkpv52zp4nwrn0kb1l")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -2341,7 +2156,7 @@ reductions on 32-bit ARM.") (("rust-futures" ,rust-futures-0.3) ("rust-rustversion" ,rust-rustversion-1) ("rust-syn" ,rust-syn-2) - ("rust-thiserror" ,rust-thiserror-1) + ("rust-thiserror" ,rust-thiserror-2) ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/dtolnay/anyhow") (synopsis "Flexible concrete Error type") @@ -2349,48 +2164,6 @@ reductions on 32-bit ARM.") @code{std::error::Error}.") (license (list license:expat license:asl2.0)))) -(define-public rust-anymap-0.12 - (package - (name "rust-anymap") - (version "0.12.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "anymap" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0i23vv38i22aazp5z2hz0a44b943b6w5121kwwnpq1brpm1l559k")))) - (build-system cargo-build-system) - (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") @@ -2526,14 +2299,14 @@ on every platform.") (define-public rust-approx-0.5 (package (name "rust-approx") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "approx" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17p9g3yl061zdlrqj10npybmng81jz71dzmcanmjgcb35qhgfb87")))) + (base32 "1ilpv3dgd58rasslss0labarq7jawxmivk17wsh8wmkdm3q15cfa")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -2610,14 +2383,14 @@ last place (ULPs) comparisons.") (define-public rust-arbitrary-1 (package (name "rust-arbitrary") - (version "1.3.2") + (version "1.4.1") (source (origin (method url-fetch) (uri (crate-uri "arbitrary" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0471f0c4f1bgibhyhf8vnapkp158h1nkrzx0wnq97jwd9n0jcnkx")))) + "08zj2yanll5s5gsbmvgwvbq39iqzy3nia3yx3db3zwba08yhpqnx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-derive-arbitrary" ,rust-derive-arbitrary-1)) @@ -2636,7 +2409,8 @@ coverage-guided, mutation-based fuzzers.") (license (list license:expat license:asl2.0)))) (define-public rust-arbitrary-0.4 - (package/inherit rust-arbitrary-1 + (package + (inherit rust-arbitrary-1) (name "rust-arbitrary") (version "0.4.7") (source @@ -2684,41 +2458,6 @@ coverage-guided, mutation-based fuzzers.") "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 - (origin - (method url-fetch) - (uri (crate-uri "arboard" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1a5qfmpzcf5rwlwsligf9z1gzndpvj0jncc4s3k3z5g214c4l127")))) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=all_tests") - #:cargo-inputs - (("rust-clipboard-win" ,rust-clipboard-win-4) - ("rust-core-graphics" ,rust-core-graphics-0.21) - ("rust-image" ,rust-image-0.23) - ("rust-log" ,rust-log-0.4) - ("rust-objc" ,rust-objc-0.2) - ("rust-objc-foundation" ,rust-objc-foundation-0.1) - ("rust-objc-id" ,rust-objc-id-0.1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-scopeguard" ,rust-scopeguard-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-wl-clipboard-rs" ,rust-wl-clipboard-rs-0.4) - ("rust-x11rb" ,rust-x11rb-0.8)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.8) - ("rust-simple-logger" ,rust-simple-logger-1)))))) - (define-public rust-arc-swap-1 (package (name "rust-arc-swap") @@ -2750,50 +2489,26 @@ coverage-guided, mutation-based fuzzers.") (description "This package provides an atomically swappable Arc.") (license (list license:asl2.0 license:expat)))) -(define-public rust-arc-swap-0.4 - (package - (inherit rust-arc-swap-1) - (name "rust-arc-swap") - (version "0.4.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "arc-swap" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1a3vg89xc7r2166mc25ciw3rbqfxjylfbjwlq4wrfy433wc5mgns")))) - (arguments - `(;; These tests require network access. - #:cargo-test-flags '("--release" "--" "--skip=test_html_root_url") - #:cargo-development-inputs - (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7) - ("rust-itertools" ,rust-itertools-0.9) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-proptest" ,rust-proptest-0.9) - ("rust-version-sync" ,rust-version-sync-0.9)))))) - (define-public rust-archery-1 (package (name "rust-archery") - (version "1.1.0") + (version "1.2.1") (source (origin (method url-fetch) (uri (crate-uri "archery" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1lp7lq613dd21ay15gzbl8s5r91c96iia000rs358xk217v5aya8")))) + (base32 "0sdqlmybcvd0rzv22ac3k3xxm5anr1gpm03sf02iy0jmrlhyvqpa")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-static-assertions" ,rust-static-assertions-1) ("rust-triomphe" ,rust-triomphe-0.1)) #:cargo-development-inputs - (("rust-compiletest-rs" ,rust-compiletest-rs-0.10) + (("rust-bincode" ,rust-bincode-1) ("rust-criterion" ,rust-criterion-0.5) - ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-static-assertions" ,rust-static-assertions-1)))) (home-page "https://github.com/orium/archery") (synopsis "Abstract over the atomicity of reference-counting pointers") (description "This package provides a way to abstract @code{Rc} and @@ -2854,23 +2569,26 @@ CLI parser, like @code{rust-clap}, by pre-processing the arguments, like @code{rust-wild}.") (license (list license:expat license:asl2.0)))) -(define-public rust-argh-shared-0.1 +(define-public rust-argh-0.1 (package - (name "rust-argh-shared") + (name "rust-argh") (version "0.1.12") (source (origin (method url-fetch) - (uri (crate-uri "argh_shared" version)) + (uri (crate-uri "argh" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cbmf3n5fd7ha014m303f4bmsmj0v84an4a1rh77d9dx868z74sn")))) + (base32 "06fjmac07knqw7vahra9rkbfrrsv31yrqhf7wi623xvzjq3bmxbs")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) + `(#:cargo-inputs (("rust-argh-derive" ,rust-argh-derive-0.1) + ("rust-argh-shared" ,rust-argh-shared-0.1)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/google/argh") - (synopsis "Derive-based argument parsing optimized for code size") - (description "Derive-based argument parsing optimized for code size.") + (synopsis "Derive-based argument parser optimized for code size") + (description "Derive-based argument parser optimized for code size.") (license license:bsd-3))) (define-public rust-argh-derive-0.1 @@ -2895,26 +2613,23 @@ CLI parser, like @code{rust-clap}, by pre-processing the arguments, like (description "Derive-based argument parsing optimized for code size.") (license license:bsd-3))) -(define-public rust-argh-0.1 +(define-public rust-argh-shared-0.1 (package - (name "rust-argh") + (name "rust-argh-shared") (version "0.1.12") (source (origin (method url-fetch) - (uri (crate-uri "argh" version)) + (uri (crate-uri "argh_shared" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06fjmac07knqw7vahra9rkbfrrsv31yrqhf7wi623xvzjq3bmxbs")))) + (base32 "0cbmf3n5fd7ha014m303f4bmsmj0v84an4a1rh77d9dx868z74sn")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-argh-derive" ,rust-argh-derive-0.1) - ("rust-argh-shared" ,rust-argh-shared-0.1)) - #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) - ("rust-trybuild" ,rust-trybuild-1)))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/google/argh") - (synopsis "Derive-based argument parser optimized for code size") - (description "Derive-based argument parser optimized for code size.") + (synopsis "Derive-based argument parsing optimized for code size") + (description "Derive-based argument parsing optimized for code size.") (license license:bsd-3))) (define-public rust-argmax-0.3 @@ -2997,50 +2712,50 @@ integers.") (description "This package provides a fancy diagnostics & reporting crate.") (license license:expat))) -(define-public rust-arr-macro-impl-0.1 +(define-public rust-arr-macro-0.1 (package - (name "rust-arr-macro-impl") + (name "rust-arr-macro") (version "0.1.3") (source (origin (method url-fetch) - (uri (crate-uri "arr_macro_impl" version)) + (uri (crate-uri "arr_macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1lbjilz3pvwav72dfkcbz99rsq7m04xbdpqh8g3yvx3jsn5wf286")))) + "199086q8zva66lbg9bpz6fa67s81ra7yfa8148cwy1w7lkymn43a")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + (("rust-arr-macro-impl" ,rust-arr-macro-impl-0.1) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) (home-page "https://github.com/JoshMcguigan/arr_macro") - (synopsis "Private impl crate for arr_macro") - (description "This package provides a private @code{impl} crate for -@code{arr_macro}.") + (synopsis "Initialize arrays with ease") + (description "Array macro helps initialize arrays. It is useful when +initializing large arrays (greater than 32 elements), or arrays of types which +do not implement the copy or default traits.") (license (list license:expat license:asl2.0)))) -(define-public rust-arr-macro-0.1 +(define-public rust-arr-macro-impl-0.1 (package - (name "rust-arr-macro") + (name "rust-arr-macro-impl") (version "0.1.3") (source (origin (method url-fetch) - (uri (crate-uri "arr_macro" version)) + (uri (crate-uri "arr_macro_impl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "199086q8zva66lbg9bpz6fa67s81ra7yfa8148cwy1w7lkymn43a")))) + "1lbjilz3pvwav72dfkcbz99rsq7m04xbdpqh8g3yvx3jsn5wf286")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-arr-macro-impl" ,rust-arr-macro-impl-0.1) - ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) + (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/JoshMcguigan/arr_macro") - (synopsis "Initialize arrays with ease") - (description "Array macro helps initialize arrays. It is useful when -initializing large arrays (greater than 32 elements), or arrays of types which -do not implement the copy or default traits.") + (synopsis "Private impl crate for arr_macro") + (description "This package provides a private @code{impl} crate for +@code{arr_macro}.") (license (list license:expat license:asl2.0)))) (define-public rust-array-init-2 @@ -3124,29 +2839,76 @@ implementations for most of the standard library's methods on array like data structures.") (license license:mpl2.0))) +(define-public rust-arraydeque-0.5 + (package + (name "rust-arraydeque") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "arraydeque" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dn2xdfg3rkiqsh8a6achnmvf5nf11xk33xgjzpksliab4yjx43x")))) + (build-system cargo-build-system) + (home-page "https://github.com/andylokandy/arraydeque") + (synopsis + "Ring buffer with a fixed capacity, which can be stored on the stack") + (description + "This package provides a ring buffer with a fixed capacity, which can be stored +on the stack.") + (license (list license:expat license:asl2.0)))) + (define-public rust-arrayref-0.3 (package (name "rust-arrayref") - (version "0.3.6") + (version "0.3.9") (source (origin (method url-fetch) (uri (crate-uri "arrayref" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0i6m1l3f73i0lf0cjdf5rh3xpvxydyhfbakq7xx7bkrp5qajgid4")))) + (base32 "1jzyp0nvp10dmahaq9a2rnxqdd5wxgbvp8xaibps3zai8c9fi8kn")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.6)))) + `(#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-1)))) (home-page "https://github.com/droundy/arrayref") (synopsis "Macros to take array references of slices") - (description - "Macros to take array references of slices.") + (description "Macros to take array references of slices.") (license license:bsd-2))) +(define-public rust-arraystring-0.3 + (package + (name "rust-arraystring") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "arraystring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1181rr76jqlldrpy586cj2bzgxvzhn8crj2vg75diq8pf537qlad")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-diesel" ,rust-diesel-1) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-typenum" ,rust-typenum-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.2) + ("rust-diesel" ,rust-diesel-1) + ("rust-env-logger" ,rust-env-logger-0.5) + ("rust-inlinable-string" ,rust-inlinable-string-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallstring" ,rust-smallstring-0.1)))) + (home-page "https://github.com/paulocsanz/arraystring") + (synopsis "Fixed capacity stack based generic string") + (description + "This package provides fixed capacity stack based generic string.") + (license (list license:expat license:asl2.0)))) + (define-public rust-arrayvec-0.7 (package (name "rust-arrayvec") @@ -4153,221 +3915,6 @@ the abi_stable and structural crates.") ("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") - (version "0.2.1") - (source (origin - (method url-fetch) - (uri (crate-uri "asio-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16lbavksj2aasadyxbdnbrll6a1m8cwl4skbxgbvr1ma2wpwv82c")))) - (build-system cargo-build-system) - (arguments - (list #:skip-build? #t - #:cargo-inputs `(("rust-bindgen" ,rust-bindgen-0.56) - ("rust-cc" ,rust-cc-1) - ("rust-num-derive" ,rust-num-derive-0.3) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/RustAudio/cpal/") - (synopsis - "Low-level interface and binding generation for the Steinberg ASIO SDK") - (description - "Low-level interface and binding generation for the Steinberg ASIO SDK.") - (license license:asl2.0))) - -(define-public rust-askama-escape-0.10 - (package - (name "rust-askama-escape") - (version "0.10.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "askama_escape" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hg3rz0cma5f6385z7qmqw3jbir76jndwd5s7dqfk92v9gil75v1")))) - (build-system cargo-build-system) - (arguments (list #:skip-build? #t)) - (home-page "https://github.com/djc/askama") - (synopsis "HTML escaping extracted from Askama") - (description - "This package provides an optimized HTML escaping library, -extracted from Askama.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-askama-shared-0.12 - (package - (name "rust-askama-shared") - (version "0.12.2") - (source (origin - (method url-fetch) - (uri (crate-uri "askama_shared" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1l4fycmw65zyvfabf672sj2pc0ilfcj0y6a0csygq1wa26a2nwmz")))) - (build-system cargo-build-system) - (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-askama-escape" ,rust-askama-escape-0.10) - ("rust-comrak" ,rust-comrak-0.12) - ("rust-humansize" ,rust-humansize-1) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-nom" ,rust-nom-7) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-percent-encoding" - ,rust-percent-encoding-2) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-syn" ,rust-syn-1) - ("rust-toml" ,rust-toml-0.5)))) - (home-page "https://github.com/djc/askama") - (synopsis "Shared code for Askama") - (description "This package provides shared code for Askama.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-askama-derive-0.12 - (package - (name "rust-askama-derive") - (version "0.12.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "askama_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10qxszzrwbabpd3jh6lvk3q1a81ryfba8bh75jb18irwn5n8vzhr")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-askama-parser" ,rust-askama-parser-0.2) - ("rust-basic-toml" ,rust-basic-toml-0.1) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-serde" ,rust-serde-1) - ("rust-syn" ,rust-syn-2)))) - (home-page "https://github.com/djc/askama") - (synopsis "Procedural macro package for Askama") - (description - "This package provide the procedural macro package for Askama.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-askama-derive-0.11 - (package - (inherit rust-askama-derive-0.12) - (name "rust-askama-derive") - (version "0.11.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "askama_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wbb5l1x1bx8x8vvz4ayw196l9y64mi3vrmxm7pn8wmlx3k8ggw7")))) - (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-askama-shared" ,rust-askama-shared-0.12) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-askama-parser-0.2 - (package - (name "rust-askama-parser") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "askama_parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1h00vcnqq9qqlayx1ass4an458rk4lm3q88867cc7lb4dcf1dcdc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-nom" ,rust-nom-7)))) - (home-page "https://github.com/djc/askama") - (synopsis "Parser for Askama templates") - (description "Parser for Askama templates.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-askama-0.12 - (package - (name "rust-askama") - (version "0.12.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "askama" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a1cmp0f1b01zzbzzp81ppa6r754zpax5372aykswz5933gr345p")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-askama-derive" ,rust-askama-derive-0.12) - ("rust-askama-escape" ,rust-askama-escape-0.10) - ("rust-comrak" ,rust-comrak-0.18) - ("rust-humansize" ,rust-humansize-2) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.9)))) - (home-page "https://github.com/djc/askama") - (synopsis "Type-safe, compiled Jinja-like templates for Rust") - (description - "This package provides a type-safe, compiled Jinja-like template -library for Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-askama-0.11 - (package - (inherit rust-askama-0.12) - (name "rust-askama") - (version "0.11.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "askama" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f81mzccdadryzaf2dbad1araq4nadp9mssyvdvv31hj6w7z367v")))) - (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-askama-derive" ,rust-askama-derive-0.11) - ("rust-askama-escape" ,rust-askama-escape-0.10) - ("rust-askama-shared" ,rust-askama-shared-0.12)))))) - (define-public rust-as-raw-xcb-connection-1 (package (name "rust-as-raw-xcb-connection") @@ -4426,6 +3973,25 @@ traits.") ("rust-generic-array-0.12" ,rust-generic-array-0.12) ("rust-stable-deref-trait" ,rust-stable-deref-trait-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-ascii-1 (package (name "rust-ascii") @@ -4580,14 +4146,14 @@ approximately equal.") (define-public rust-assert-cmd-2 (package (name "rust-assert-cmd") - (version "2.0.14") + (version "2.0.16") (source (origin (method url-fetch) (uri (crate-uri "assert_cmd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1a3k03dl57psaky6brb53awzmgbjdivb62j8gy1h8n3dqqx4jwpd")))) + (base32 "0gdj0710k3lnvyjmpv8a4dgwrk9ib85l2wfw4n2xwy3qyavka66w")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -4595,12 +4161,14 @@ approximately equal.") ("rust-anstyle" ,rust-anstyle-1) ("rust-bstr" ,rust-bstr-1) ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-libc" ,rust-libc-0.2) ("rust-predicates" ,rust-predicates-3) ("rust-predicates-core" ,rust-predicates-core-1) ("rust-predicates-tree" ,rust-predicates-tree-1) ("rust-wait-timeout" ,rust-wait-timeout-0.2)) #:cargo-development-inputs - (("rust-escargot" ,rust-escargot-0.5)))) + (("rust-automod" ,rust-automod-1) + ("rust-escargot" ,rust-escargot-0.5)))) (home-page "https://github.com/assert-rs/assert_cmd") (synopsis "Test CLI Applications") (description "@code{assert_cmd} aims to simplify the process for doing @@ -4612,16 +4180,14 @@ assertions on the result of your program's run.") (package (inherit rust-assert-cmd-2) (name "rust-assert-cmd") - (version "1.0.7") + (version "1.0.8") (source (origin (method url-fetch) (uri (crate-uri "assert_cmd" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0pz938z0wipy2czmp5aym6agfsgkpzd9rhbjqg3s9p84s0dq681x")))) + (base32 "1zhz7bgzsmwc50bknw658q6i0lcwk67v6zp74fmh31ixcz3370n9")))) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-0.2) @@ -4633,29 +4199,6 @@ assertions on the result of your program's run.") #:cargo-development-inputs (("rust-escargot" ,rust-escargot-0.5)))))) -(define-public rust-assert-cmd-0.9 - (package - (inherit rust-assert-cmd-1) - (name "rust-assert-cmd") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "assert_cmd" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02gq7j9qzjkbyq4hk18cih3kylk3dyxwa2gc5k7lah9kdwkhrdn5")))) - (arguments - `(#:cargo-inputs - (("rust-escargot" ,rust-escargot-0.3) - ("rust-predicates" ,rust-predicates-0.9) - ("rust-predicates-core" ,rust-predicates-core-0.9) - ("rust-predicates-tree" ,rust-predicates-tree-0.9)) - #:cargo-development-inputs - (("rust-docmatic" ,rust-docmatic-0.1)))))) - (define-public rust-assert-float-eq-1 (package (name "rust-assert-float-eq") @@ -4833,8 +4376,30 @@ inspired by Catch2.") (description "This package provides procedural macros for assert2.") (license license:bsd-2))) +(define-public rust-associative-cache-2 + (package + (name "rust-associative-cache") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "associative-cache" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b9bgf19c27sdch6c4x2qyf34i1cl8f328knv1yk1irbg9vcv4xr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/fitzgen/associative-cache") + (synopsis "Associative cache with fixed-size capacity") + (description + "This package provides a generic N-way associative cache with fixed-size +capacity and random or least recently used (LRU) replacement.") + (license (list license:expat license:asl2.0)))) + (define-public rust-associative-cache-1 (package + (inherit rust-associative-cache-2) (name "rust-associative-cache") (version "1.0.1") (source (origin @@ -4844,29 +4409,22 @@ inspired by Catch2.") (sha256 (base32 "05lg0mwpqfqb9zh958x0358x1k5ngmmmbzjnp0imrd8vzhrn40a6")))) - (build-system cargo-build-system) (arguments ;; 2 doctests fail because rand is not declared `(#:tests? #false - #:cargo-inputs (("rust-rand" ,rust-rand-0.7)))) - (home-page "https://github.com/fitzgen/associative-cache") - (synopsis "Associative cache with fixed-size capacity") - (description - "This package provides a generic N-way associative cache with fixed-size -capacity and random or least recently used (LRU) replacement.") - (license (list license:expat license:asl2.0)))) + #:cargo-inputs (("rust-rand" ,rust-rand-0.7)))))) (define-public rust-async-attributes-1 (package (name "rust-async-attributes") - (version "1.1.1") + (version "1.1.2") (source (origin (method url-fetch) (uri (crate-uri "async-attributes" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08w41342hybxhln7j7hjsf7v04p3r9d6qdczfwp8d53xj5bd3lzg")))) + (base32 "1rcnypqgmlcw9vwh0fk8bivvz8p5v8acy0zd2njdv6yxyiwkw853")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -5006,14 +4564,14 @@ multi-consumer channels.") (define-public rust-async-compat-0.2 (package (name "rust-async-compat") - (version "0.2.3") + (version "0.2.4") (source (origin (method url-fetch) (uri (crate-uri "async-compat" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06s625ydwms36y4sn723mwq7s4bba2gmp9pq0y65s2gb3xy712pn")))) + (base32 "1h4gqla7s8wczivqskbxg7nl3qj0svd6yf9fjssgg8wnwfyr9avv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) @@ -5023,7 +4581,7 @@ multi-consumer channels.") ("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-reqwest" ,rust-reqwest-0.12) ("rust-tokio" ,rust-tokio-1) ("rust-warp" ,rust-warp-0.3)))) (native-inputs (list pkg-config)) @@ -5037,18 +4595,17 @@ multi-consumer channels.") (define-public rust-async-compression-0.4 (package (name "rust-async-compression") - (version "0.4.5") + (version "0.4.18") (source (origin (method url-fetch) (uri (crate-uri "async-compression" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19f2mdiz7jrmpbhjxmpfmixfv5640iknhxhfb57x723k5bxhqbdw")))) + (base32 "08pmavgjha81hf1acwxka82vi0r711whnp5lyha68r3hbx8mm2fz")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; could not find `proptest` in the list of imported crates - #:cargo-inputs (("rust-brotli" ,rust-brotli-3) + `(#:cargo-inputs (("rust-brotli" ,rust-brotli-7) ("rust-bzip2" ,rust-bzip2-0.4) ("rust-deflate64" ,rust-deflate64-0.1) ("rust-flate2" ,rust-flate2-1) @@ -5059,7 +4616,16 @@ multi-consumer channels.") ("rust-tokio" ,rust-tokio-1) ("rust-xz2" ,rust-xz2-0.1) ("rust-zstd" ,rust-zstd-0.13) - ("rust-zstd-safe" ,rust-zstd-safe-7)))) + ("rust-zstd-safe" ,rust-zstd-safe-7)) + #:cargo-development-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-test" ,rust-futures-test-0.3) + ("rust-ntest" ,rust-ntest-0.9) + ("rust-proptest" ,rust-proptest-1) + ("rust-proptest-derive" ,rust-proptest-derive-0.5) + ("rust-rand" ,rust-rand-0.8) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7)))) (home-page "https://github.com/Nullus157/async-compression") (synopsis "Adaptors between compression crates and Rust's modern asynchronous IO types") @@ -5134,19 +4700,19 @@ and Rust's modern asynchronous IO types.") (define-public rust-async-dup-1 (package (name "rust-async-dup") - (version "1.2.2") + (version "1.2.4") (source (origin (method url-fetch) (uri (crate-uri "async-dup" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0z3grxarv9wpck6jm31qayib9barf12a47gvii9934n0ilms29vl")))) + (base32 "0484raf2r5lj97b8skkric9ysivrp3bns0gcg67h7x9sasmqca3w")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-futures-io" ,rust-futures-io-0.3) - ("rust-simple-mutex" ,rust-simple-mutex-1)) + (("rust-async-lock" ,rust-async-lock-3) + ("rust-futures-io" ,rust-futures-io-0.3)) #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) ("rust-smol" ,rust-smol-0.1)))) @@ -5238,14 +4804,14 @@ AsyncSeek if the inner type does.") (define-public rust-async-generic-1 (package (name "rust-async-generic") - (version "1.1.1") + (version "1.1.2") (source (origin (method url-fetch) (uri (crate-uri "async-generic" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a8fd84qj7zw7sdk1qmaqcww5mhrg7jzr7fhx6wn00la37d8lm40")))) + (base32 "0wqnsinxaw6cj6wfbrj96qfrbc1gfgsm95qm6cw8gypfcs2p5wyx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -5263,29 +4829,27 @@ synchronous without duplicating it.") (define-public rust-async-global-executor-2 (package (name "rust-async-global-executor") - (version "2.0.2") + (version "2.4.1") (source (origin (method url-fetch) (uri (crate-uri "async-global-executor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xjacr43sbz2zk0zygpd9k14n95wa61x8n9i8mcdwdkz659fr1lm")))) + (base32 "1762s45cc134d38rrv0hyp41hv4iv6nmx59vswid2p0il8rvdc85")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-channel" ,rust-async-channel-1) - ("rust-async-executor" ,rust-async-executor-1) - ("rust-async-io" ,rust-async-io-1) - ("rust-async-mutex" ,rust-async-mutex-1) - ("rust-blocking" ,rust-blocking-1) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio" ,rust-tokio-0.3)))) + (list #:cargo-inputs (list rust-async-channel-2 + rust-async-executor-1 + rust-async-io-2 + rust-async-lock-3 + rust-blocking-1 + rust-futures-lite-2 + rust-once-cell-1 + rust-tokio-1 + rust-tokio-0.2 + rust-tokio-0.3) + #:cargo-development-inputs (list rust-doc-comment-0.3))) (home-page "https://github.com/async-rs/async-global-executor") (synopsis "Global executor built on top of @code{async-executor} and @code{async-io}") @@ -5297,14 +4861,14 @@ synchronous without duplicating it.") (define-public rust-async-io-2 (package (name "rust-async-io") - (version "2.3.4") + (version "2.4.0") (source (origin (method url-fetch) (uri (crate-uri "async-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1s679l7x6ijh8zcxqn5pqgdiyshpy4xwklv86ldm1rhfjll04js4")))) + (base32 "0n8h0vy53n4vdkq529scqnkzm9vcl3r73za9nj81s2nfrhiv78j3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-lock" ,rust-async-lock-3) @@ -5323,7 +4887,7 @@ synchronous without duplicating it.") ("rust-blocking" ,rust-blocking-1) ("rust-criterion" ,rust-criterion-0.4) ("rust-getrandom" ,rust-getrandom-0.2) - ("rust-inotify" ,rust-inotify-0.10) + ("rust-inotify" ,rust-inotify-0.11) ("rust-signal-hook" ,rust-signal-hook-0.3) ("rust-tempfile" ,rust-tempfile-3) ("rust-timerfd" ,rust-timerfd-1) @@ -5498,42 +5062,6 @@ crate.") (description "Macros for async-std.") (license (list license:expat license:asl2.0)))) -(define-public rust-async-mutex-1 - (package - (name "rust-async-mutex") - (version "1.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "async-mutex" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vhmsscqx48dmxw0yir6az0pbwcq6qjvcv2f43vdpn95vd9bi7a7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-event-listener" ,rust-event-listener-2)) - #:cargo-development-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-futures-intrusive" ,rust-futures-intrusive-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-smol" ,rust-smol-0.1) - ("rust-tokio" ,rust-tokio-0.2)))) - (home-page "https://github.com/stjepang/async-lock") - (synopsis "Async synchronisation primitives") - (description "This crate provides the following async synchronisation -primitives: - -@itemize -@item Barrier: enables tasks to synchronize all together at the same time. -@item Mutex: a mutual exclusion lock. -@item RwLock: a reader-writer lock, allowing any number of readers or a single writer. -@item Semaphore: limits the number of concurrent operations. -@end itemize") - (license (list license:asl2.0 license:expat)))) - (define-public rust-async-net-2 (package (name "rust-async-net") @@ -5560,70 +5088,63 @@ TCP/UDP/Unix communication.") (package (inherit rust-async-net-2) (name "rust-async-net") - (version "1.5.0") + (version "1.8.0") (source (origin (method url-fetch) (uri (crate-uri "async-net" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rgvvqb1l86hawl1j0jfyzq35yracbbh29109131izmghmf4gph6")))) + (base32 "0by1m21ciwq6kvd8jplb0mqr9yh17zil1icakdvga76f33nv2d04")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-io" ,rust-async-io-1) ("rust-blocking" ,rust-blocking-1) - ("rust-fastrand" ,rust-fastrand-1) ("rust-futures-lite" ,rust-futures-lite-1)))))) +(define-public rust-async-object-pool-0.1 + (package + (name "rust-async-object-pool") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "async-object-pool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0b3546r13bdhcigbfbmpihh8gxxpad165cp80h3dbwn3jxmlag1k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1)))) + (home-page "https://github.com/alexliesenfeld/async-object-pool") + (synopsis + "Object pool implementation that using asynchronous synchronization primitives") + (description + "This package provides a simple object pool implementation that uses only +asynchronous synchronization primitives.") + (license license:expat))) + (define-public rust-async-once-cell-0.5 (package (name "rust-async-once-cell") - (version "0.5.3") + (version "0.5.4") (source (origin (method url-fetch) (uri (crate-uri "async-once-cell" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ss2ll9r92jiv4g0fdnwqggs3dn48sakij3fg0ba95dag077jf4k")))) + (base32 "0np3zj2yvk20ha4rk7sf8s0rngywhcykl1zgyb36flkq4qvzi222")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags ; Skip the doctests. - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs (("rust-critical-section" ,rust-critical-section-1)))) + `(#:cargo-inputs (("rust-critical-section" ,rust-critical-section-1)))) (home-page "https://github.com/danieldg/async-once-cell") (synopsis "Async single assignment cells and lazy values") (description "This package provides async single assignment cells and lazy values.") (license (list license:expat license:asl2.0)))) -(define-public rust-async-oneshot-0.5 - (package - (name "rust-async-oneshot") - (version "0.5.9") - (source (origin - (method url-fetch) - (uri (crate-uri "async-oneshot" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0qslzzfz3j0fb4lvsmq5nx6lkjfbdq5sjmsl7xgj0hym08mdwixf")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Uses unstable features. - #:cargo-inputs - (("rust-futures-micro" ,rust-futures-micro-0.5)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-waker-fn" ,rust-waker-fn-1)))) - (home-page "https://github.com/irrustible/async-oneshot") - (synopsis "Async-aware oneshot channel") - (description "This package provides a fast, small, full-featured, -async-aware oneshot channel.") - (license license:mpl2.0))) - (define-public rust-async-pidfd-0.1 (package (name "rust-async-pidfd") @@ -5831,19 +5352,19 @@ futures.") (define-public rust-async-signal-0.2 (package (name "rust-async-signal") - (version "0.2.5") + (version "0.2.10") (source (origin (method url-fetch) (uri (crate-uri "async-signal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1i9466hiqghhmljjnn83a8vnxi8z013xga03f59c89d2cl7xjiwy")))) + (base32 "1wxrq3871l00mil43nmh0akvwjjjnv0bn7n2pzwbvh00k0s00zk3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-io" ,rust-async-io-2) - ("rust-async-lock" ,rust-async-lock-2) + ("rust-async-lock" ,rust-async-lock-3) ("rust-atomic-waker" ,rust-atomic-waker-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-futures-core" ,rust-futures-core-0.3) @@ -5851,11 +5372,11 @@ futures.") ("rust-rustix" ,rust-rustix-0.38) ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) ("rust-slab" ,rust-slab-0.4) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-windows-sys" ,rust-windows-sys-0.59)) #:cargo-development-inputs (("rust-async-io" ,rust-async-io-2) ("rust-fastrand" ,rust-fastrand-2) - ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-futures-lite" ,rust-futures-lite-2) ("rust-libc" ,rust-libc-0.2) ("rust-signal-hook" ,rust-signal-hook-0.3)))) (home-page "https://github.com/smol-rs/async-signal") @@ -5866,32 +5387,31 @@ futures.") (define-public rust-async-std-1 (package (name "rust-async-std") - (version "1.12.0") + (version "1.13.0") (source (origin (method url-fetch) (uri (crate-uri "async-std" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pbgxhyb97h4n0451r26njvr20ywqsbm6y1wjllnp4if82s5nmk2")))) + (base32 "059nbiyijwbndyrz0050skvlvzhds0dmnl0biwmxwbw055glfd66")))) (build-system cargo-build-system) (arguments (list #:cargo-test-flags - `(list "--release" "--" - "--skip=io_timeout_timedout") + `(list "--" "--skip=io_timeout_timedout") #:cargo-inputs `(("rust-async-attributes" ,rust-async-attributes-1) ("rust-async-channel" ,rust-async-channel-1) ("rust-async-global-executor" ,rust-async-global-executor-2) - ("rust-async-io" ,rust-async-io-1) - ("rust-async-lock" ,rust-async-lock-2) - ("rust-async-process" ,rust-async-process-1) + ("rust-async-io" ,rust-async-io-2) + ("rust-async-lock" ,rust-async-lock-3) + ("rust-async-process" ,rust-async-process-2) ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-gloo-timers" ,rust-gloo-timers-0.2) + ("rust-futures-lite" ,rust-futures-lite-2) + ("rust-gloo-timers" ,rust-gloo-timers-0.3) ("rust-kv-log-macro" ,rust-kv-log-macro-1) ("rust-log" ,rust-log-0.4) ("rust-memchr" ,rust-memchr-2) @@ -5926,12 +5446,13 @@ interfaces you are used to, but in an async version and ready for Rust's (origin (method url-fetch) (uri (crate-uri "async-std" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1k34181r1xzalyf7alka0ibnbqll6s5l435ycydm7fv1g6gill24")))) (arguments - `(#:cargo-test-flags '("--release" "--" "--skip=io_timeout") + `(#:cargo-test-flags '("--" + "--skip=io_timeout_timedout" + "--skip=src/stream/mod.rs - stream (line 36)") #:cargo-inputs (("rust-async-attributes" ,rust-async-attributes-1) ("rust-async-macros" ,rust-async-macros-1) @@ -5961,7 +5482,7 @@ interfaces you are used to, but in an async version and ready for Rust's (define-public rust-async-stream-0.3 (package (name "rust-async-stream") - (version "0.3.5") + (version "0.3.6") (source (origin (method url-fetch) @@ -5978,11 +5499,10 @@ version = \"0.4\" [dev-dependencies.trybuild]"))) (sha256 - (base32 "0l8sjq1rylkb1ak0pdyjn83b3k6x36j22myngl4sqqgg7whdsmnd")))) + (base32 "0xl4zqncrdmw2g6241wgr11dxdg4h7byy6bz3l6si03qyfk72nhb")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=test") + `(#:cargo-test-flags '("--" "--skip=test") #:cargo-inputs (("rust-async-stream-impl" ,rust-async-stream-impl-0.3) ("rust-futures-core" ,rust-futures-core-0.3) @@ -6003,14 +5523,14 @@ notation.") (define-public rust-async-stream-impl-0.3 (package (name "rust-async-stream-impl") - (version "0.3.5") + (version "0.3.6") (source (origin (method url-fetch) (uri (crate-uri "async-stream-impl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14q179j4y8p2z1d0ic6aqgy9fhwz8p9cai1ia8kpw4bw7q12mrhn")))) + (base32 "0kaplfb5axsvf1gfs2gk6c4zx6zcsns0yf3ssk7iwni7bphlvhn7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -6144,18 +5664,18 @@ methods.") (description "Parse integers directly from `[u8]` slices in safe code.") (license license:expat))) -(define-public rust-atoi-0.4 +(define-public rust-atoi-1 (package (inherit rust-atoi-2) (name "rust-atoi") - (version "0.4.0") + (version "1.0.0") (source (origin (method url-fetch) (uri (crate-uri "atoi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19fdm7gxwp98y67ghyis841vy5ka7hc1afm9cfa69qn0bzh9cs31")))) + (base32 "13mycnr954w17lcvvbpzr4rmhl1h13cg8hq63j0rrx9g6497vifp")))) (arguments `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) @@ -6240,35 +5760,14 @@ fixed atomic types.") (define-public rust-atomic-polyfill-1 (package (name "rust-atomic-polyfill") - (version "1.0.1") + (version "1.0.3") (source (origin (method url-fetch) (uri (crate-uri "atomic-polyfill" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ckvmx98ffyxax1irb61p0aln4v65xxnz4d2qgavhvcd513zb6fj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-critical-section" ,rust-critical-section-1)))) - (home-page "https://github.com/embassy-rs/atomic-polyfill") - (synopsis "Atomic polyfills, for targets where they're not available") - (description "This package provides atomic polyfills, for targets where -they're not available.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-atomic-polyfill-0.1 - (package - (name "rust-atomic-polyfill") - (version "0.1.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "atomic-polyfill" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a4vd4zq75xmwbi33flf35qmm2nf99kx3hx2m21lslqnyfrpxzz3")))) + "1x00ndablb89zvbr8m03cgjzgajg86fqn8pgz85yy2gy1pivrwlc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -6318,26 +5817,6 @@ they're not available.") (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") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "atomic-write-file" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dl4x0srdwjxm3zz3fj1c7m44i3b7mjiad550fqklj1n4bfbxkgd")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-nix" ,rust-nix-0.27) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/andreacorbellini/rust-atomic-write-file") - (synopsis "Write files atomically to a file system") - (description "Write files atomically to a file system.") - (license license:bsd-3))) - (define-public rust-atomic-waker-1 (package (name "rust-atomic-waker") @@ -6363,6 +5842,26 @@ they're not available.") "This package provides a synchronization primitive for task wakeup.") (license (list license:asl2.0 license:expat)))) +(define-public rust-atomic-write-file-0.1 + (package + (name "rust-atomic-write-file") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "atomic-write-file" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dl4x0srdwjxm3zz3fj1c7m44i3b7mjiad550fqklj1n4bfbxkgd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nix" ,rust-nix-0.27) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/andreacorbellini/rust-atomic-write-file") + (synopsis "Write files atomically to a file system") + (description "Write files atomically to a file system.") + (license license:bsd-3))) + (define-public rust-atomig-0.4 (package (name "rust-atomig") @@ -6434,6 +5933,64 @@ with custom types.") "This package provides a simple interface for querying atty.") (license license:expat))) +(define-public rust-auto-enums-0.8 + (package + (name "rust-auto-enums") + (version "0.8.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "auto_enums" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yxcdw961199wrk1v5js321ynyfd4m40c0gi2pypby2mx2vpg6s5")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "Cargo.toml" + (("\\[features\\]" all) + (string-append "[dev-dependencies]" "\n" + "macrotest = \"1\"" "\n" + "trybuild = \"1\"" "\n" + "\n" all))))))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs `(("rust-derive-utils" ,rust-derive-utils-0.14) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs `(("rust-futures" ,rust-futures-0.1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-http-body" ,rust-http-body-1) + ("rust-macrotest" ,rust-macrotest-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio" ,rust-tokio-0.1) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio" ,rust-tokio-0.3) + ("rust-trybuild" ,rust-trybuild-1)) + #:cargo-test-flags '(list "--release" "--" + ;; Skipping broken tests + "--skip=src/lib.rs - (line 547)" + "--skip=src/lib.rs - (line 672)" + "--skip=src/lib.rs - (line 755)" + "--skip=src/lib.rs - (line 818)" + "--skip=src/lib.rs - _README (line 1073)") + #:phases #~(modify-phases %standard-phases + ;; Tests depend on nightly/dev features + (add-before 'check 'enable-unstable-features + (lambda _ + (setenv "RUSTC_BOOTSTRAP" "1")))))) + (home-page "https://github.com/taiki-e/auto_enums") + (synopsis + "Library to allow multiple return types by automatically generated enum") + (description + "This package provides a library to allow multiple return types by +automatically generated enum.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-auto-impl-0.5 (package (name "rust-auto-impl") @@ -6488,58 +6045,20 @@ with custom types.") (("rust-rustversion" ,rust-rustversion-1) ("rust-trybuild" ,rust-trybuild-1)))))) -(define-public rust-autocompress-0.2 - (package - (name "rust-autocompress") - (version "0.2.2") - (source (origin - (method url-fetch) - (uri (crate-uri "autocompress" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16pjdfr5b2ixs2xk3h6mvxprxr84rpaips624d6vbap5vsdkvzx4")))) - (build-system cargo-build-system) - (arguments - (list - #:tests? #false ;The crate does not include test files - #:skip-build? #t ; could not find `block` in `zstd` - #:cargo-inputs - `(("rust-brotli" ,rust-brotli-3) - ("rust-bzip2" ,rust-bzip2-0.4) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-flate2" ,rust-flate2-1) - ("rust-log" ,rust-log-0.4) - ("rust-lz4" ,rust-lz4-1) - ("rust-snap" ,rust-snap-1) - ("rust-xz2" ,rust-xz2-0.1) - ("rust-zstd" ,rust-zstd-0.9)) - #:cargo-development-inputs - `(("rust-clap" ,rust-clap-2) - ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) - ("rust-rand" ,rust-rand-0.8) - ("rust-temp-testdir" ,rust-temp-testdir-0.2)))) - (inputs (list xz)) - (native-inputs (list pkg-config)) - (home-page "https://github.com/informationsea/autocompress-rs") - (synopsis "Select decoder from magic bytes or encoder from file extension") - (description - "This crate lets you automatically select a suitable decoder from magic -bytes or encoder from file extension.") - (license license:asl2.0))) - (define-public rust-autocfg-1 (package (name "rust-autocfg") - (version "1.1.0") + (version "1.4.0") (source (origin (method url-fetch) (uri (crate-uri "autocfg" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ylp3cb47ylzabimazvbz9ms6ap784zhb6syaz6c1jqpmcmq0s6l")))) + (base32 "09lz3by90d2hphbq56znag9v87gfpd9gb8nr82hll8z6x2nhprdc")))) (build-system cargo-build-system) + (arguments + (list #:cargo-test-flags '(list "--" "--skip=test_wrappers"))) (home-page "https://github.com/cuviper/autocfg") (synopsis "Automatic configuration for Rust compiler features") (description @@ -6584,6 +6103,67 @@ bytes or encoder from file extension.") (description "Pull in every source file in a directory as a module.") (license (list license:expat license:asl2.0)))) +(define-public rust-av-metrics-0.9 + (package + (name "rust-av-metrics") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "av-metrics" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c1m5rrrx88y1hm4i17qh0fd2rqd3jwck86lj5dkw85hpmdyjv4r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lab" ,rust-lab-0.11) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-v-frame" ,rust-v-frame-0.3)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-y4m" ,rust-y4m-0.8)))) + (home-page "https://github.com/rust-av/av-metrics") + (synopsis "Collection of algorithms for measuring audio/video metrics") + (description + "This package provides a collection of algorithms for measuring +audio/video metrics.") + (license license:expat))) + +(define-public rust-av1-grain-0.2 + (package + (name "rust-av1-grain") + (version "0.2.3") + (source (origin + (method url-fetch) + (uri (crate-uri "av1-grain" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gvqdh21bm1cfqiwyiinbqi0mg7x2lg2fwgmphma8ijxijfr0y36")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-log" ,rust-log-0.4) + ("rust-nom" ,rust-nom-7) + ("rust-num-rational" ,rust-num-rational-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-v-frame" ,rust-v-frame-0.3)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1)))) + (home-page "https://github.com/rust-av/av1-grain") + (synopsis "Helpers for generating and parsing AV1 film grain data") + (description "This package provides helpers for generating and parsing AV1 +film grain data.") + (license license:bsd-2))) + (define-public rust-average-0.13 (package (name "rust-average") @@ -6666,67 +6246,6 @@ iteratively in Rust.") in Rust.") (license (list license:asl2.0 license:expat)))) -(define-public rust-av-metrics-0.9 - (package - (name "rust-av-metrics") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "av-metrics" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0c1m5rrrx88y1hm4i17qh0fd2rqd3jwck86lj5dkw85hpmdyjv4r")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-crossbeam" ,rust-crossbeam-0.8) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-lab" ,rust-lab-0.11) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rayon" ,rust-rayon-1) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-v-frame" ,rust-v-frame-0.3)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) - ("rust-y4m" ,rust-y4m-0.8)))) - (home-page "https://github.com/rust-av/av-metrics") - (synopsis "Collection of algorithms for measuring audio/video metrics") - (description - "This package provides a collection of algorithms for measuring -audio/video metrics.") - (license license:expat))) - -(define-public rust-av1-grain-0.2 - (package - (name "rust-av1-grain") - (version "0.2.3") - (source (origin - (method url-fetch) - (uri (crate-uri "av1-grain" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gvqdh21bm1cfqiwyiinbqi0mg7x2lg2fwgmphma8ijxijfr0y36")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-arrayvec" ,rust-arrayvec-0.7) - ("rust-log" ,rust-log-0.4) - ("rust-nom" ,rust-nom-7) - ("rust-num-rational" ,rust-num-rational-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-v-frame" ,rust-v-frame-0.3)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-1) - ("rust-quickcheck-macros" ,rust-quickcheck-macros-1)))) - (home-page "https://github.com/rust-av/av1-grain") - (synopsis "Helpers for generating and parsing AV1 film grain data") - (description "This package procides helpers for generating and parsing AV1 -film grain data.") - (license license:bsd-2))) - (define-public rust-average-0.9 (package (inherit rust-average-0.10) @@ -6883,22 +6402,22 @@ film grain data.") (define-public rust-backon-0.4 (package (name "rust-backon") - (version "0.4.1") + (version "0.4.4") (source (origin (method url-fetch) (uri (crate-uri "backon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yfwd1idd5hf6aq2p0rbx4cv0n450canazr6b8cb42qjnabn26hc")))) + (base32 "1w3bqipn0fc0dr9zgpk934ii6dz1m2c8wlrk6lfsgnk8z31q4xyn")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-1) + `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-2) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-pin-project" ,rust-pin-project-1) ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-reqwest" ,rust-reqwest-0.12) ("rust-tokio" ,rust-tokio-1)))) (inputs (list openssl)) (native-inputs (list pkg-config)) @@ -6987,28 +6506,65 @@ trace (backtrace) at runtime in a Rust program.") API for Rust.") (license (list license:expat license:x11 license:asl2.0)))) -(define-public rust-base32-0.4 +(define-public rust-base-x-0.2 (package - (name "rust-base32") - (version "0.4.0") + (name "rust-base-x") + (version "0.2.11") (source (origin (method url-fetch) - (uri (crate-uri "base32" version)) + (uri (crate-uri "base-x" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ykwx8jhksqxghfgyw2pzikzjf4n9wqm1x2ww5wqyn68ssf6dki3")))) + "0w02sdqvg7zwm91agb2phikw4ri8jmncw32paxsv8ra1jv8ckfsc")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.7) - ("rust-rand" ,rust-rand-0.5)))) + (("rust-bencher" ,rust-bencher-0.1) + ("rust-json" ,rust-json-0.12) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/OrKoN/base-x-rs") + (synopsis "Encode/decode any base") + (description "This library provides for encoding and decoding any base.") + (license license:expat))) + +(define-public rust-base32-0.5 + (package + (name "rust-base32") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "base32" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xp0a3xml25xw2bp5pyac2nld7vmmfjl02qynnyfn6aznfggwb82")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-1)))) (home-page "https://github.com/andreasots/base32") (synopsis "Base32 encoder/decoder for Rust") (description "This library lets you encode and decode in either RFC4648 Base32 or in Crockford Base32.") - (license (list license:asl2.0 license:expat)))) + (license (list license:expat license:asl2.0)))) + +(define-public rust-base32-0.4 + (package + (inherit rust-base32-0.5) + (name "rust-base32") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "base32" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ykwx8jhksqxghfgyw2pzikzjf4n9wqm1x2ww5wqyn68ssf6dki3")))) + (arguments + `(#:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.7) + ("rust-rand" ,rust-rand-0.5)))))) (define-public rust-base58-0.1 (package @@ -7200,40 +6756,17 @@ c6e7d37. However, this package works only up to 128 bytes.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.4)))))) -(define-public rust-base-x-0.2 - (package - (name "rust-base-x") - (version "0.2.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "base-x" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0w02sdqvg7zwm91agb2phikw4ri8jmncw32paxsv8ra1jv8ckfsc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-json" ,rust-json-0.12) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/OrKoN/base-x-rs") - (synopsis "Encode/decode any base") - (description "This library provides for encoding and decoding any base.") - (license license:expat))) - (define-public rust-basic-toml-0.1 (package (name "rust-basic-toml") - (version "0.1.8") + (version "0.1.9") (source (origin (method url-fetch) (uri (crate-uri "basic-toml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r8l5kz5lzfw66llq8b023vx38kh35gdf8jd428ma76lr8j1bcid")))) + (base32 "1y2q0la176gmqgskarc5464fqq3rncnjc138iiayj57n53i8hcw2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -7314,105 +6847,6 @@ dependencies.") use for syntax highlighting in other crates.") (license (list license:expat license:asl2.0)))) -(define-public rust-bat-0.22 - (package - (inherit rust-bat-0.24) - (name "rust-bat") - (version "0.22.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bat" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0pdnbblvf2dkmnf6yybmysgmlw4j79j7c6mylcc8317h0xsymzgv")))) - (arguments - `(#:cargo-inputs - (("rust-ansi-colours" ,rust-ansi-colours-1) - ("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-atty" ,rust-atty-0.2) - ("rust-bincode" ,rust-bincode-1) - ("rust-bugreport" ,rust-bugreport-0.5) - ("rust-bytesize" ,rust-bytesize-1) - ("rust-clap" ,rust-clap-3) - ("rust-clircle" ,rust-clircle-0.3) - ("rust-console" ,rust-console-0.15) - ("rust-content-inspector" ,rust-content-inspector-0.2) - ("rust-dirs-next" ,rust-dirs-next-2) - ("rust-encoding" ,rust-encoding-0.2) - ("rust-flate2" ,rust-flate2-1) - ("rust-git2" ,rust-git2-0.15) - ("rust-globset" ,rust-globset-0.4) - ("rust-grep-cli" ,rust-grep-cli-0.1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-path-abs" ,rust-path-abs-0.5) - ("rust-regex" ,rust-regex-1) - ("rust-semver" ,rust-semver-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-shell-words" ,rust-shell-words-1) - ("rust-syntect" ,rust-syntect-5) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-wild" ,rust-wild-2)) - #:cargo-development-inputs - (("rust-assert-cmd" ,rust-assert-cmd-2) - ("rust-nix" ,rust-nix-0.24) - ("rust-predicates" ,rust-predicates-2) - ("rust-serial-test" ,rust-serial-test-0.6) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-wait-timeout" ,rust-wait-timeout-0.2)))) - (native-inputs (list pkg-config)) - (inputs (list libgit2 openssl zlib)))) - -(define-public rust-bat-0.18 - (package - (inherit rust-bat-0.22) - (name "rust-bat") - (version "0.18.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "bat" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qlk032dd6zxda1v7clah33nafxygaw3x7f73ajwlvk956nrn1js")))) - (arguments - `(#:cargo-inputs - (("rust-ansi-colours" ,rust-ansi-colours-1) - ("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-atty" ,rust-atty-0.2) - ("rust-bugreport" ,rust-bugreport-0.4) - ("rust-clap" ,rust-clap-2) - ("rust-clircle" ,rust-clircle-0.3) - ("rust-console" ,rust-console-0.14) - ("rust-content-inspector" ,rust-content-inspector-0.2) - ("rust-dirs-next" ,rust-dirs-next-2) - ("rust-encoding" ,rust-encoding-0.2) - ("rust-error-chain" ,rust-error-chain-0.12) - ("rust-git2" ,rust-git2-0.13) - ("rust-globset" ,rust-globset-0.4) - ("rust-grep-cli" ,rust-grep-cli-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-path-abs" ,rust-path-abs-0.5) - ("rust-semver" ,rust-semver-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-shell-words" ,rust-shell-words-1) - ("rust-syntect" ,rust-syntect-4) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-wild" ,rust-wild-2)) - #:cargo-development-inputs - (("rust-assert-cmd" ,rust-assert-cmd-1) - ("rust-nix" ,rust-nix-0.21) - ("rust-predicates" ,rust-predicates-1) - ("rust-serial-test" ,rust-serial-test-0.5) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-wait-timeout" ,rust-wait-timeout-0.2)))) - (inputs - (list libgit2 zlib)))) - (define-public rust-battery-0.7 (package (name "rust-battery") @@ -7514,14 +6948,14 @@ and no more (caveat: black_box is still missing!).") (define-public rust-bigdecimal-0.4 (package (name "rust-bigdecimal") - (version "0.4.2") + (version "0.4.7") (source (origin (method url-fetch) (uri (crate-uri "bigdecimal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jcbzgna6292vgq0slw5iah929wl0xbps22zr63bp99y8az1jrn0")))) + (base32 "0b284z1lxc8r5090lr1xi2kny3jncqrlv02wk03mmin506pz6cbz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1) @@ -7531,7 +6965,7 @@ and no more (caveat: black_box is still missing!).") ("rust-num-traits" ,rust-num-traits-0.2) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-paste" ,rust-paste-1) - ("rust-serde-json" ,rust-serde-json-0.9) + ("rust-serde-test" ,rust-serde-test-0.8) ("rust-siphasher" ,rust-siphasher-0.3)))) (home-page "https://github.com/akubera/bigdecimal-rs") (synopsis "Arbitrary precision decimal numbers") @@ -7542,21 +6976,21 @@ and no more (caveat: black_box is still missing!).") (package (inherit rust-bigdecimal-0.4) (name "rust-bigdecimal") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "bigdecimal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i1px8hk4l71n307c7h7igrdy37pzpm7dcni269gwab438ak7bva")))) + (base32 "1ypfsldr1ng80n3ax1h699kqw3s5gzzqvr30zc4ybh5g1vf3sxx6")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-num-bigint" ,rust-num-bigint-0.4) ("rust-num-integer" ,rust-num-integer-0.1) ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1)))))) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-bigdecimal-0.2 (package @@ -7648,30 +7082,32 @@ base32 and base16 (hex)") that uses Serde for transforming structs into bytes and vice versa!") (license license:expat))) -(define-public rust-bindgen-0.70 +(define-public rust-bindgen-0.71 (package (name "rust-bindgen") - (version "0.70.1") + (version "0.71.1") (source (origin (method url-fetch) (uri (crate-uri "bindgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vyf0jp6apcy9kjyz4s8vldj0xqycnbzb6zv3skkwiqdi3nqz7gl")))) + (base32 "1cynz43s9xwjbd1y03rx9h37xs0isyl8bi6g6yngp35nglyvyn2z")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9) + `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.11) ("rust-bitflags" ,rust-bitflags-2) ("rust-cexpr" ,rust-cexpr-0.6) ("rust-clang-sys" ,rust-clang-sys-1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) ("rust-itertools" ,rust-itertools-0.10) ("rust-log" ,rust-log-0.4) ("rust-prettyplease" ,rust-prettyplease-0.2) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-regex" ,rust-regex-1) - ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-rustc-hash" ,rust-rustc-hash-2) ("rust-shlex" ,rust-shlex-1) ("rust-syn" ,rust-syn-2)))) (inputs (list clang)) @@ -7681,6 +7117,33 @@ that uses Serde for transforming structs into bytes and vice versa!") bindings to C and C++ libraries.") (license license:bsd-3))) +(define-public rust-bindgen-0.70 + (package + (inherit rust-bindgen-0.71) + (name "rust-bindgen") + (version "0.70.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vyf0jp6apcy9kjyz4s8vldj0xqycnbzb6zv3skkwiqdi3nqz7gl")))) + (arguments + `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-cexpr" ,rust-cexpr-0.6) + ("rust-clang-sys" ,rust-clang-sys-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-shlex" ,rust-shlex-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-bindgen-0.69 (package (inherit rust-bindgen-0.70) @@ -8009,8 +7472,6 @@ bindings to C and C++ libraries.") (sha256 (base32 "0hxlvy9q9984rr3rqaxwmgxjrd9wh11mcc161hv3shz6b7jkrcbm")))) - (inputs - (list clang)) (arguments `(#:cargo-test-flags (list "--release" "--" @@ -8108,67 +7569,17 @@ bindings to C and C++ libraries.") ("rust-regex" ,rust-regex-1) ("rust-which" ,rust-which-1)))))) -(define-public rust-bio-types-1 - (package - (name "rust-bio-types") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bio-types" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jmad6knx576mmz9djnqz4kldzql9mqvzs95202hh67jhydp8icx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-clap" ,rust-clap-4) - ("rust-derive-new" ,rust-derive-new-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-petgraph" ,rust-petgraph-0.6) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-strum-macros" ,rust-strum-macros-0.24) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://rust-bio.github.io") - (synopsis "Common biomedical types for use in rust-bio and rust-htslib") - (description - "This package provides a collection of common biomedical types for use in -rust-bio and rust-htslib.") - (license license:expat))) - -(define-public rust-bio-types-0.12 - (package - (inherit rust-bio-types-1) - (name "rust-bio-types") - (version "0.12.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bio-types" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dmcjwky9fszmwwg7ywv52xhz93zibsgl7nj9x7gadvz8yb45g0k")))) - (arguments - `(#:cargo-inputs - (("rust-derive-new" ,rust-derive-new-0.5) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-petgraph" ,rust-petgraph-0.6) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-strum-macros" ,rust-strum-macros-0.21) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-bio-1 (package (name "rust-bio") - (version "1.5.0") + (version "1.6.0") (source (origin (method url-fetch) (uri (crate-uri "bio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xdx5iih68lraiy6f8n200bgrdfl307dmgdmb984ynmzpb2wzp15")))) + (base32 "1hpnfwjyqg23dlk75frydf9kgilccyn3haaw6xdwh25zpa9wnwks")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -8182,7 +7593,6 @@ rust-bio and rust-htslib.") ("rust-editdistancek" ,rust-editdistancek-1) ("rust-enum-map" ,rust-enum-map-0.6) ("rust-fxhash" ,rust-fxhash-0.2) - ("rust-getset" ,rust-getset-0.1) ("rust-itertools" ,rust-itertools-0.11) ("rust-itertools-num" ,rust-itertools-num-0.1) ("rust-lazy-static" ,rust-lazy-static-1) @@ -8200,8 +7610,8 @@ rust-bio and rust-htslib.") ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-statrs" ,rust-statrs-0.15) - ("rust-strum" ,rust-strum-0.24) - ("rust-strum-macros" ,rust-strum-macros-0.24) + ("rust-strum" ,rust-strum-0.25) + ("rust-strum-macros" ,rust-strum-macros-0.25) ("rust-thiserror" ,rust-thiserror-1) ("rust-triple-accel" ,rust-triple-accel-0.4) ("rust-vec-map" ,rust-vec-map-0.8)) @@ -8368,17 +7778,87 @@ useful for bioinformatics, but also in other fields.") ("rust-rand" ,rust-rand-0.8) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-bio-types-1 + (package + (name "rust-bio-types") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "bio-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zmdcvj44a088larkahcic5z61cwn2x80iym0w14albzid7zbp7l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-3) + ("rust-derive-new" ,rust-derive-new-0.6) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-strum-macros" ,rust-strum-macros-0.25) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://rust-bio.github.io") + (synopsis "Common biomedical types for use in rust-bio and rust-htslib") + (description + "This package provides a collection of common biomedical types for use in +rust-bio and rust-htslib.") + (license license:expat))) + +(define-public rust-bio-types-0.12 + (package + (inherit rust-bio-types-1) + (name "rust-bio-types") + (version "0.12.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bio-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dmcjwky9fszmwwg7ywv52xhz93zibsgl7nj9x7gadvz8yb45g0k")))) + (arguments + `(#:cargo-inputs + (("rust-derive-new" ,rust-derive-new-0.5) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-strum-macros" ,rust-strum-macros-0.21) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-biquad-0.4 + (package + (name "rust-biquad") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "biquad" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gpc13lag439nmq077wfwz055qbjaxbpk7znvnbddbg3wgsj81c2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libm" ,rust-libm-0.1)))) + (home-page "https://github.com/korken89/biquad-rs") + (synopsis "Rust library for digital second order IIR filters") + (description "This package provides a Rust library for digital second +order IIR filters, also known as biquads.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bit-field-0.10 (package (name "rust-bit-field") - (version "0.10.1") + (version "0.10.2") (source (origin (method url-fetch) (uri (crate-uri "bit_field" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "192rsg8g3ki85gj8rzslblnwr53yw5q4l8vfg6bf1lkn4cfdvdnw")))) + (base32 "0qav5rpm4hqc33vmf4vc4r0mh51yjx5vmd9zhih26n9yjs3730nw")))) (build-system cargo-build-system) (home-page "https://github.com/phil-opp/rust-bit-field") (synopsis "Methods for operating on individual bits and ranges of bits") @@ -8388,30 +7868,44 @@ methods for operating on individual bits and ranges of bits on Rust's integral types.") (license (list license:asl2.0 license:expat)))) -(define-public rust-bit-set-0.5 +(define-public rust-bit-set-0.8 (package (name "rust-bit-set") - (version "0.5.3") + (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "bit-set" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wcm9vxi00ma4rcxkl3pzzjli6ihrpn9cfdi0c5b4cvga2mxs007")))) + (base32 "18riaa10s6n59n39vix0cr7l2dgwdhcpbcm97x1xbyfp1q47x008")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bit-vec" ,rust-bit-vec-0.6)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.3)))) + `(#:cargo-inputs (("rust-bit-vec" ,rust-bit-vec-0.8) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/contain-rs/bit-set") (synopsis "Set of bits") - (description - "This package provides a set of bits.") + (description "This package provides a set of bits.") (license (list license:asl2.0 license:expat)))) +(define-public rust-bit-set-0.5 + (package + (inherit rust-bit-set-0.8) + (name "rust-bit-set") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "bit-set" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wcm9vxi00ma4rcxkl3pzzjli6ihrpn9cfdi0c5b4cvga2mxs007")))) + (arguments + `(#:cargo-inputs (("rust-bit-vec" ,rust-bit-vec-0.6)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) + (define-public rust-bit-set-0.4 (package (inherit rust-bit-set-0.5) @@ -8433,32 +7927,50 @@ types.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-bit-vec-0.8 + (package + (name "rust-bit-vec") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bit-vec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xxa1s2cj291r7k1whbxq840jxvmdsq9xgh7bvrxl46m80fllxjy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-borsh" ,rust-borsh-1) + ("rust-miniserde" ,rust-miniserde-0.1) + ("rust-nanoserde" ,rust-nanoserde-0.1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/contain-rs/bit-vec") + (synopsis "Vector of bits") + (description "This package provides a vector of bits.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-bit-vec-0.6 (package + (inherit rust-bit-vec-0.8) (name "rust-bit-vec") (version "0.6.3") (source (origin (method url-fetch) (uri (crate-uri "bit-vec" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1ywqjnv60cdh1slhz67psnp422md6jdliji6alq0gmly2xm9p7rl")))) - (build-system cargo-build-system) + (base32 "1ywqjnv60cdh1slhz67psnp422md6jdliji6alq0gmly2xm9p7rl")))) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-rand" ,rust-rand-0.7) ("rust-rand-xorshift" ,rust-rand-xorshift-0.2) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/contain-rs/bit-vec") - (synopsis "Vector of bits") - (description - "This package provides a vector of bits.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-bit-vec-0.5 (package @@ -8499,33 +8011,6 @@ types.") `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) -(define-public rust-bitcoin-hashes-0.10 - (package - (name "rust-bitcoin-hashes") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bitcoin_hashes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1c25nzrd2kn5znhjgxb9n48hc7swapiln8dqqndq368x38gcjv00")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-core2" ,rust-core2-0.3) - ("rust-schemars" ,rust-schemars-0.8) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-test" ,rust-serde-test-1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/rust-bitcoin/bitcoin_hashes/") - (synopsis "Hash functions used by @code{rust-bitcoin}") - (description "This Rust library provides hash functions that are used by -@code{rust-bitcoin}.") - (license license:cc0))) - (define-public rust-bitfield-0.14 (package (name "rust-bitfield") @@ -8666,21 +8151,6 @@ behave like a set of bitflags.") (base32 "0v8hh6wdkpk9my8z8442g4hqrqf05h0qj53dsay6mv18lqvqklda")))))) -(define-public rust-bitflags-0.2 - (package - (inherit rust-bitflags-1) - (name "rust-bitflags") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bitflags" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09yk0lk3vjsrvfcnzljmgvz9inpjs0idykvni7kij38l5vn807x4")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)))) - (define-public rust-bitmaps-3 (package (name "rust-bitmaps") @@ -8768,14 +8238,14 @@ the buffer.") (define-public rust-bitstream-io-2 (package (name "rust-bitstream-io") - (version "2.3.0") + (version "2.6.0") (source (origin (method url-fetch) (uri (crate-uri "bitstream-io" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vj4f4kg3ls3j41180a7ia65rj2p762mbzimm0bxiw22ds2x24kw")))) + (base32 "1cli390l1dhp9skygyjjnqvczp36b7f31mkx9ry3dg26330cv6b0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-core2" ,rust-core2-0.4)))) @@ -8786,35 +8256,6 @@ the buffer.") streams in big-endian and little-endian formats.") (license (list license:expat license:asl2.0)))) -(define-public rust-bitstream-io-1 - (package - (inherit rust-bitstream-io-2) - (name "rust-bitstream-io") - (version "1.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bitstream-io" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kq7hgc66pkbg9kwp8qazaz5x0dagaihml6b8ixsa17xb5k5fig4")))))) - -(define-public rust-bitstream-io-0.8 - (package - (inherit rust-bitstream-io-1) - (name "rust-bitstream-io") - (version "0.8.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "bitstream-io" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "00a6wy54s1dmadm5xz8k2cbsd7ixvm48mlc45bk0fdy0pbra6jk1")))) - (arguments `(#:skip-build? #t)))) - (define-public rust-bitvec-1 (package (name "rust-bitvec") @@ -8939,24 +8380,34 @@ streams in big-endian and little-endian formats.") ("rust-serde-test" ,rust-serde-test-1) ("rust-static-assertions" ,rust-static-assertions-1)))))) -(define-public rust-blas-sys-0.7 +(define-public rust-blanket-0.3 (package - (name "rust-blas-sys") - (version "0.7.1") + (name "rust-blanket") + (version "0.3.0") (source (origin (method url-fetch) - (uri (crate-uri "blas-sys" version)) + (uri (crate-uri "blanket" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k")))) + (base32 "1zvffm82h5825lcf9c0xy76mj487il472cpvcbiidy8dzslj3cg0")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/blas-lapack-rs/blas-sys") - (synopsis "Rust bindings to BLAS (Fortran)") - (description "The package provides bindings to BLAS (Fortran).") - (license (list license:asl2.0 license:expat)))) + `(#: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-blas-0.22 (package @@ -8979,34 +8430,24 @@ streams in big-endian and little-endian formats.") (description "The package provides wrappers for BLAS (Fortran).") (license (list license:asl2.0 license:expat)))) -(define-public rust-blanket-0.3 +(define-public rust-blas-sys-0.7 (package - (name "rust-blanket") - (version "0.3.0") + (name "rust-blas-sys") + (version "0.7.1") (source (origin (method url-fetch) - (uri (crate-uri "blanket" version)) + (uri (crate-uri "blas-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zvffm82h5825lcf9c0xy76mj487il472cpvcbiidy8dzslj3cg0")))) + (base32 "0h14zjycwc76v15h8qll9z1xiryvmpvsb5gam97pqpdjrrwv5c8k")))) (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))) + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/blas-lapack-rs/blas-sys") + (synopsis "Rust bindings to BLAS (Fortran)") + (description "The package provides bindings to BLAS (Fortran).") + (license (list license:asl2.0 license:expat)))) (define-public rust-blobby-0.3 (package @@ -9149,19 +8590,16 @@ storage.") (package (inherit rust-block-padding-0.2) (name "rust-block-padding") - (version "0.1.4") + (version "0.1.5") (source (origin (method url-fetch) (uri (crate-uri "block-padding" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "02fz9wx5dmgpc79ndrb9xfxqlrkk7lg5wki2blz2zqg27spw6kbd")))) + (base32 "1xbkmysiz23vimd17rnsjpw9bgjxipwfslwyygqlkx4in3dxwygs")))) (arguments - `(#:cargo-inputs - (("rust-byte-tools" ,rust-byte-tools-0.3)))))) + `(#:cargo-inputs (("rust-byte-tools" ,rust-byte-tools-0.3)))))) (define-public rust-blocking-1 (package @@ -9237,14 +8675,14 @@ programs.") (define-public rust-borsh-1 (package (name "rust-borsh") - (version "1.3.0") + (version "1.5.3") (source (origin (method url-fetch) (uri (crate-uri "borsh" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a1hic4kj1rcy86qkmappi4ckch7iwap52akhx3bafqszkdddm16")))) + (base32 "00vz4ngik3dz86j83ra6w3c8rq9amh1n9kaw452f6i5dfdzr81i5")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests aren't setup correctly. @@ -9252,15 +8690,14 @@ programs.") ("rust-borsh-derive" ,rust-borsh-derive-1) ("rust-bson" ,rust-bson-2) ("rust-bytes" ,rust-bytes-1) - ("rust-cfg-aliases" ,rust-cfg-aliases-0.1) + ("rust-cfg-aliases" ,rust-cfg-aliases-0.2) ("rust-hashbrown" ,rust-hashbrown-0.14)) - #:cargo-development-inputs (("rust-bson" ,rust-bson-2) - ("rust-bytes" ,rust-bytes-1) - ("rust-insta" ,rust-insta-1)))) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1) + ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://borsh.io") (synopsis "Borsch is the binary object representation serializer for hashing") (description "This crate implements @code{borsh}, the binary object -representation serializer for hasing. It is meant to be used in +representation serializer for hashing. It is meant to be used in security-critical projects as it prioritizes consistency, safety, speed, and comes with a strict specification.") (license (list license:expat license:asl2.0)))) @@ -9269,14 +8706,14 @@ comes with a strict specification.") (package (inherit rust-borsh-1) (name "rust-borsh") - (version "0.10.3") + (version "0.10.4") (source (origin (method url-fetch) (uri (crate-uri "borsh" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sq4l9jfik5dmpy1islcj40bing1jkji2q1qbrkvq1d02n92f521")))) + (base32 "1vkgajwrpncr46hk6nn8j3382jffkpy9xhcisfxdwb5n9vb58phi")))) (arguments `(#:tests? #f ; the trait bound `BytesMut: BorshSerialize` is not satisfied #:cargo-inputs @@ -9289,23 +8726,22 @@ comes with a strict specification.") (define-public rust-borsh-derive-1 (package (name "rust-borsh-derive") - (version "1.3.0") + (version "1.5.3") (source (origin (method url-fetch) (uri (crate-uri "borsh-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1q0h8y7xpilasaqc3s7drjh3qzxk7k83wc5ns9x7gpf4kiq1hjdz")))) + (base32 "0i3jdajyd0mjbrsaxx3y93x13ghnylr9hv0rff1xd2wkicxklnf2")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests aren't setup correctly. #:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) - ("rust-proc-macro-crate" ,rust-proc-macro-crate-2) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-3) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2) - ("rust-syn-derive" ,rust-syn-derive-0.1)) + ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs (("rust-insta" ,rust-insta-1) ("rust-prettyplease" ,rust-prettyplease-0.2) ("rust-syn" ,rust-syn-2)))) @@ -9318,14 +8754,14 @@ comes with a strict specification.") (package (inherit rust-borsh-derive-1) (name "rust-borsh-derive") - (version "0.10.3") + (version "0.10.4") (source (origin (method url-fetch) (uri (crate-uri "borsh-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xslbx3qj531aq8ny1bkr45ibjmpsx0szsfc57rm33akj4v62m07")))) + (base32 "12gg3kgi6gi4qlqrxlccpnhffsxsb8scbqlnss6rj8wl1pw164l3")))) (arguments `(#:cargo-inputs (("rust-borsh-derive-internal" ,rust-borsh-derive-internal-0.10) @@ -9337,14 +8773,14 @@ comes with a strict specification.") (define-public rust-borsh-derive-internal-0.10 (package (name "rust-borsh-derive-internal") - (version "0.10.3") + (version "0.10.4") (source (origin (method url-fetch) (uri (crate-uri "borsh-derive-internal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yx27ic6aal83bdi1h6v80wfs9ixvw51qzmdgcn8sn8rd4akid5g")))) + (base32 "1cvn16046101px9b98i3np95rmrwvzbi63d7l957362cci8bmmk5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -9359,14 +8795,14 @@ comes with a strict specification.") (define-public rust-borsh-schema-derive-internal-0.10 (package (name "rust-borsh-schema-derive-internal") - (version "0.10.3") + (version "0.10.4") (source (origin (method url-fetch) (uri (crate-uri "borsh-schema-derive-internal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kaw1xdprb8chqj50c8gxjb5dadx1rac91zg8s81njpp8g60ahk3")))) + (base32 "1m5nldxh5ji4hxw7g3zlm6xqwj4f2j32nsg6hfz2fd06dzcr2ri7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -9444,60 +8880,17 @@ comes with a strict specification.") program to verify sandboxing measures are adequate.") (license license:lgpl3))) -(define-public rust-boxxy-0.12 - (package - (inherit rust-boxxy-0.13) - (name "rust-boxxy") - (version "0.12.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "boxxy" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1q0wpz955y3iwd35bqk3pbx2vx904fhyj75j7d6mrb7ib5fs5kxg")))) - (arguments - `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-base64" ,rust-base64-0.13) - ("rust-bufstream" ,rust-bufstream-0.1) - ("rust-caps" ,rust-caps-0.5) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-clap" ,rust-clap-2) - ("rust-errno" ,rust-errno-0.2) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-libflate" ,rust-libflate-1) - ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.22) - ("rust-pledge" ,rust-pledge-0.4) - ("rust-regex" ,rust-regex-1) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-rustyline" ,rust-rustyline-9) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-tar" ,rust-tar-0.4) - ("rust-tokio" ,rust-tokio-1) - ("rust-webpki" ,rust-webpki-0.21)) - #:cargo-development-inputs - (("rust-ctrlc" ,rust-ctrlc-3) - ("rust-elf" ,rust-elf-0.0.10) - ("rust-env-logger" ,rust-env-logger-0.9) - ("rust-rustls" ,rust-rustls-0.16) - ("rust-sha2" ,rust-sha2-0.9)))))) - (define-public rust-bracoxide-0.1 (package (name "rust-bracoxide") - (version "0.1.3") + (version "0.1.4") (source (origin (method url-fetch) (uri (crate-uri "bracoxide" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j71fs71ss70rj7n4na8hg63w93czhrjdgi7di6nma12lrfg79xd")))) + (base32 "13khmkxxh583hhzz0bvkg6bqwpnz4b9g400sq8liz3jf8asvrh7v")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) @@ -9578,142 +8971,6 @@ Bresenham's line algorithm.") @code{mpsc} pattern to enable broadcasting items.") (license (list license:expat license:asl2.0)))) -(define-public rust-brotli-7 - (package - (name "rust-brotli") - (version "7.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "brotli" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1g99xay61mds9d23fnfj5gfbd6g11gihfgs3y1abljwldzqvi5yc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) - ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2) - ("rust-brotli-decompressor" ,rust-brotli-decompressor-4) - ("rust-sha2" ,rust-sha2-0.10)))) - (home-page "https://github.com/dropbox/rust-brotli") - (synopsis "Brotli compressor and decompressor") - (description - "This package provides a brotli compressor and decompressor that with an -interface avoiding the rust stdlib. This makes it suitable for embedded devices -and kernels. It is designed with a pluggable allocator so that the standard -lib's allocator may be employed. The default build also includes a stdlib -allocator and stream interface. Disable this with --features=no-stdlib. All -included code is safe.") - (license (list license:bsd-3 license:expat)))) - -(define-public rust-brotli-3 - (package - (inherit rust-brotli-7) - (name "rust-brotli") - (version "3.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "brotli" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "14f34ml3i8qbnh4hhlv5r6j10bkx420gspsl1cgznl1wqrdx4h6n")))) - (arguments - `(#:cargo-inputs - (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) - ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2) - ("rust-brotli-decompressor" ,rust-brotli-decompressor-2) - ("rust-sha2" ,rust-sha2-0.10)))))) - -(define-public rust-brotli-decompressor-4 - (package - (name "rust-brotli-decompressor") - (version "4.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "brotli-decompressor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qn39c7n6wm40i2bm0d3q2qslmaavlh804iv0ccbba4m80pbsics")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; not all test files included - #:cargo-inputs (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) - ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2)))) - (home-page "https://github.com/dropbox/rust-brotli-decompressor") - (synopsis "Brotli decompressor") - (description "This package provides a brotli decompressor with no -dependency on the rust stdlib. This makes it suitable for embedded devices -and kernels.") - (license (list license:bsd-3 license:expat)))) - -(define-public rust-brotli-decompressor-2 - (package - (inherit rust-brotli-decompressor-4) - (name "rust-brotli-decompressor") - (version "2.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "brotli-decompressor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kyyh9701dwqzwvn2frff4ww0zibikqd1s1xvl7n1pfpc3z4lbjf")))) - (arguments - `(#:tests? #f ; not all test files included - #:cargo-inputs - (("rust-alloc-no-stdlib" ,rust-alloc-no-stdlib-2) - ("rust-alloc-stdlib" ,rust-alloc-stdlib-0.2)))))) - -(define-public rust-brotli-sys-0.3 - (package - (name "rust-brotli-sys") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "brotli-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kdfdbcba6zwa13xpjwgiplblkdf6vigxjbwwp6l2ascbylxwia4")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/alexcrichton/brotli2-rs") - (synopsis "Raw bindings to libbrotli") - (description "This package provides raw bindings to libbrotli.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-brotli2-0.3 - (package - (name "rust-brotli2") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "brotli2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13jnhpmfkqy2xar4lxrsk3rx3i12bgnarnsxq4arhc6yxb1kdc0c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-brotli-sys" ,rust-brotli-sys-0.3) - ("rust-libc" ,rust-libc-0.2)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.4)))) - (home-page "https://github.com/alexcrichton/brotli2-rs") - (synopsis "Rust bindings to compression library libbrotli") - (description - "This package provides bindings to libbrotli to provide brotli -decompression and compression to Rust.") - (license (list license:expat license:asl2.0)))) - (define-public rust-browserslist-rs-0.6 (package (name "rust-browserslist-rs") @@ -9778,7 +9035,7 @@ decompression and compression to Rust.") (("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-rust-base58" ,rust-rust-base58-0.0.4) ("rust-tinyvec" ,rust-tinyvec-1)))) (home-page "https://github.com/Nullus157/bs58-rs") (synopsis "Another Base58 codec implementation") @@ -9789,38 +9046,83 @@ 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 +(define-public rust-bs58-0.4 (package (inherit rust-bs58-0.5) (name "rust-bs58") - (version "0.2.5") + (version "0.4.0") (source (origin (method url-fetch) (uri (crate-uri "bs58" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "125i962x0m0ggdif6ds51wfif2lypiicy469dj5j2l6rm6xycpn9")))) + (base32 "1lr3vwzhhyica4y7rbkf26vr1h7vpjb1m6rml8zcqgw81c2y07vp")))) (arguments - `(#:cargo-inputs - (("rust-sha2" ,rust-sha2-0.8)) + `(#:cargo-inputs (("rust-sha2" ,rust-sha2-0.9)) #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) ("rust-base58" ,rust-base58-0.1) - ("rust-rust-base58" ,rust-rust-base58-0.0)))))) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-rust-base58" ,rust-rust-base58-0.0.4)))))) + +(define-public rust-bsd-kvm-0.1 + (package + (name "rust-bsd-kvm") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "bsd-kvm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gncwfwlx6mq47qc1siwaiqlsaccy7vsc1v39ybs4xvvn4lfpd4l")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Missing kvm.h. + #:cargo-inputs (("rust-bsd-kvm-sys" ,rust-bsd-kvm-sys-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-thiserror" ,rust-thiserror-1)))) + (inputs (list clang)) + (home-page "https://github.com/dalance/bsd-kvm") + (synopsis "BSD Kernel Data Access Library (libkvm) binding") + (description + "This package provides the BSD Kernel Data Access Library (libkvm) binding.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-bsd-kvm-sys-0.2 + (package + (name "rust-bsd-kvm-sys") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bsd-kvm-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cn90d0kkfcs36v3sq3lpckyy0pdpdq0m7ihjlancripdn98yh35")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Missing kvm.h. + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.65)))) + (inputs (list clang)) + (home-page "https://github.com/dalance/bsd-kvm-sys") + (synopsis "BSD Kernel Data Access Library (libkvm) binding") + (description + "This package provides BSD Kernel Data Access Library (libkvm) bindings.") + (license (list license:expat license:asl2.0)))) (define-public rust-bson-2 (package (name "rust-bson") - (version "2.9.0") + (version "2.13.0") (source (origin (method url-fetch) (uri (crate-uri "bson" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08h2v3yqydx1df27zmkavf746495b0h5rckbd62ll5cw3j64c8ff")))) + (base32 "0ndsd9lk148xiv87am4gyr02dfmq5f6lhdzfy6kjgypwnvr0i0h6")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; file not found for module `tests` @@ -9836,8 +9138,9 @@ almost the same speed for encoding: about 3% slower when encoding 32 bytes. ("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-path-to-error" ,rust-serde-path-to-error-0.1) ("rust-serde-with" ,rust-serde-with-3) + ("rust-serde-with" ,rust-serde-with-1) ("rust-time" ,rust-time-0.3) ("rust-uuid" ,rust-uuid-1) ("rust-uuid" ,rust-uuid-0.8)) @@ -9887,17 +9190,18 @@ almost the same speed for encoding: about 3% slower when encoding 32 bytes. (define-public rust-bstr-1 (package (name "rust-bstr") - (version "1.9.0") + (version "1.11.1") (source (origin (method url-fetch) (uri (crate-uri "bstr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1p6hzf3wqwwynv6w4pn17jg21amfafph9kb5sfvf1idlli8h13y4")))) + "1j32ghvgwvc40bc6g38ximk52dv1xfknkzfmdwpgjnrsd1yk0skq")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-memchr" ,rust-memchr-2) ("rust-regex-automata" ,rust-regex-automata-0.4) ("rust-serde" ,rust-serde-1)) @@ -10004,17 +9308,38 @@ UTF-8.") @code{std::io}, with extra features.") (license (list license:expat license:asl2.0)))) +(define-public rust-buffer-redux-1 + (package + (name "rust-buffer-redux") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "buffer-redux" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1waq39blrj7j6qp1sp2fvplwmq10yhks7fgbsdy8kxdrqn3wz2jf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) + ("rust-slice-ring-buffer" ,rust-slice-ring-buffer-0.3)))) + (home-page "https://github.com/dignifiedquire/buffer-redux") + (synopsis "Replacements for buffered I/O in `std::io` with extra features") + (description "This crate provides a drop-in replacements for buffered I/O in +@code{std::io} with extra features.") + (license (list license:expat license:asl2.0)))) + (define-public rust-buffered-reader-1 (package (name "rust-buffered-reader") - (version "1.3.1") + (version "1.3.2") (source (origin (method url-fetch) (uri (crate-uri "buffered-reader" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j0ffv5a50f1kk41808x2rz4lv8yfl6wz0wcg907jidnzmiqf2fd")))) + (base32 "16rbk2671wbslz4rxcxcr0cglrd65fnn6b8p4s2qwyjqamg1rggs")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -10032,46 +9357,6 @@ system calls. Second, exposing the internal buffer allows the user to work with data in place, which avoids another copy.") (license license:gpl3))) -(define-public rust-buffered-reader-0.9 - (package - (inherit rust-buffered-reader-1) - (name "rust-buffered-reader") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "buffered-reader" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05rklfiia1k4c4ifpim08l22i0q0l3j9xdg2yh3njrp6w58z6z13")))) - (arguments - `(#:cargo-inputs - (("rust-bzip2" ,rust-bzip2-0.3) - ("rust-flate2" ,rust-flate2-1) - ("rust-libc" ,rust-libc-0.2)))))) - -(define-public rust-buffer-redux-1 - (package - (name "rust-buffer-redux") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "buffer-redux" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1j90lnf4iz50px57xpxc6bx8hnmb6fyjm50nq6m8qn892nh6x26j")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) - ("rust-safemem" ,rust-safemem-0.3) - ("rust-slice-deque" ,rust-slice-deque-0.3)))) - (home-page "https://github.com/dignifiedquire/buffer-redux") - (synopsis "Replacements for buffered I/O in `std::io` with extra features") - (description "This crate provides a drop-in replacements for buffered I/O in -@code{std::io} with extra features.") - (license (list license:expat license:asl2.0)))) - (define-public rust-buffering-0.4 (package (name "rust-buffering") @@ -10208,27 +9493,10 @@ automatically collect information about the system and the environment that users can send along with a bug report.") (license (list license:expat license:asl2.0)))) -(define-public rust-bugreport-0.4 - (package - (inherit rust-bugreport-0.5) - (name "rust-bugreport") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "bugreport" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0k20nbl226kni905sy3rvizl7k4h28971143qdlzwfznnjrb8500")))) - (arguments - `(#:cargo-inputs (("rust-git-version" ,rust-git-version-0.3) - ("rust-shell-escape" ,rust-shell-escape-0.1) - ("rust-sys-info" ,rust-sys-info-0.9)))))) - (define-public rust-build-const-0.2 (package (name "rust-build-const") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) @@ -10236,7 +9504,7 @@ users can send along with a bug report.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0faz882spx9474cszay2djmb0lghbwq51qayabcar1s7g4r2l29r")))) + "1dryhsf4vfi1plljgv069sgfr8m1rsg04qy76x36kh6swqsl5bml")))) (build-system cargo-build-system) (home-page "https://crates.io/crates/build_const") (synopsis "Create importable constants from build.rs or a script") @@ -10247,14 +9515,14 @@ constants from build.rs or a script.") (define-public rust-build-context-0.1 (package (name "rust-build-context") - (version "0.1.1") + (version "0.1.3") (source (origin (method url-fetch) (uri (crate-uri "build-context" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "15jnnh6vk7ifc98j08rv8v9yapzaciz7awdk4q2lrna868dnzhjh")))) + "0df98z2ky5d5jqiqhz8bpfv7cfh0vrlrsksp3finapflx6qhqqc6")))) (build-system cargo-build-system) (home-page "https://github.com/taiki-e/build-context") (synopsis "Build environment/target information available in libraries") @@ -10291,50 +9559,30 @@ libraries and binaries.") (define-public rust-built-0.7 (package (name "rust-built") - (version "0.7.1") + (version "0.7.5") (source (origin (method url-fetch) (uri (crate-uri "built" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lyx4z4y5f7aaiv2yxxhq7klhs0979sw5vgv08d6vhsddr6pzl9q")))) + (base32 "0fyhzjgymls3qylggd6rs4vkq44rkl1kyv33lfbfrdsjxmd50q63")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-cargo-lock" ,rust-cargo-lock-9) + `(#:cargo-test-flags '("--" "--skip=full_testbox") + #:cargo-inputs (("rust-cargo-lock" ,rust-cargo-lock-10) ("rust-chrono" ,rust-chrono-0.4) - ("rust-git2" ,rust-git2-0.18) + ("rust-git2" ,rust-git2-0.19) ("rust-semver" ,rust-semver-1)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) - (inputs (list libgit2-1.7 zlib)) + (inputs (list libgit2-1.8 zlib)) (home-page "https://github.com/lukaslueg/built") (synopsis "Provides a crate with information from the time it was built") (description "This package provides a crate with information from the time it was built.") (license license:expat))) -(define-public rust-built-0.5 - (package - (inherit rust-built-0.7) - (name "rust-built") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "built" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gig8y8786wkmvimjxgcmk31jgkqxjhkls2b0rgfwfnlkrmhb72v")))) - (arguments - `(#:cargo-inputs (("rust-cargo-lock" ,rust-cargo-lock-8) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-git2" ,rust-git2-0.15) - ("rust-semver" ,rust-semver-1)) - #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs (list pkg-config)) - (inputs (list libgit2 zlib)))) - (define-public rust-bumpalo-3 (package (name "rust-bumpalo") @@ -10430,29 +9678,6 @@ library for wrapping text.") "This package provides Wrapper for comparing and hashing pointers by address.") (license (list license:expat license:asl2.0)))) -(define-public rust-byte-pool-0.2 - (package - (name "rust-byte-pool") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "byte-pool" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0yh96ral0pni02bzm3fhvicp1ixz1hz3c5m03hsyq66mk61fjf0y")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-crossbeam-queue" ,rust-crossbeam-queue-0.2) - ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))) - (home-page "https://crates.io/crates/byte-pool") - (synopsis "Pool of byte slices, for efficient memory usage") - (description - "This package provides a pool of byte slices, for efficient -memory usage.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-byte-slice-cast-1 (package (name "rust-byte-slice-cast") @@ -10499,14 +9724,14 @@ of built-in fundamental numeric types.") (define-public rust-byte-unit-5 (package (name "rust-byte-unit") - (version "5.1.4") + (version "5.1.6") (source (origin (method url-fetch) (uri (crate-uri "byte-unit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gnnl92szl7d6bxz028n03ifflg96z4xp0lxqc3m8rmjy2yikb1k")))) + (base32 "0x3ifzw0isgsiffg4yhvqa28rzbyxpivy2bkph69n845qp1jkkg1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-rocket" ,rust-rocket-0.5) @@ -10524,14 +9749,14 @@ of built-in fundamental numeric types.") (package (inherit rust-byte-unit-5) (name "rust-byte-unit") - (version "4.0.9") + (version "4.0.19") (source (origin (method url-fetch) (uri (crate-uri "byte-unit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw")))) + (base32 "0v4v4z8qilnbg0lv16icbbbdq5kjpbp8yw044lszrzdqawhb6y6s")))) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) ("rust-utf8-width" ,rust-utf8-width-0.1)))))) @@ -10539,14 +9764,14 @@ of built-in fundamental numeric types.") (define-public rust-bytecheck-0.6 (package (name "rust-bytecheck") - (version "0.6.11") + (version "0.6.12") (source (origin (method url-fetch) (uri (crate-uri "bytecheck" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "09xnpjfhw36a973dpdd2mcmb93rrix539j49vkkgcqf878174qwb")))) + "1hmipv4yyxgbamcbw5r65wagv9khs033v9483s9kri9sw9ycbk93")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -10584,14 +9809,14 @@ Rust.") (define-public rust-bytecheck-derive-0.6 (package (name "rust-bytecheck-derive") - (version "0.6.11") + (version "0.6.12") (source (origin (method url-fetch) (uri (crate-uri "bytecheck_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0qdgfqx23gbjp5scbc8fhqc5kd014bpxn8hc9i9ssd8r4rplrv57")))) + "0ng6230brd0hvqpbgcx83inn74mdv3abwn95x515bndwkz90dd1x")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -10625,20 +9850,18 @@ validation framework for Rust.") (define-public rust-bytecount-0.6 (package (name "rust-bytecount") - (version "0.6.3") + (version "0.6.8") (source (origin (method url-fetch) (uri (crate-uri "bytecount" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "173wsvyagflb7ic3hpvp1db6q3dsigr452inslnzmsb3ix3nlrrc")))) + "1klqfjwn41fwmcqw4z03v6i4imgrf7lmf3b5s9v74hxir8hrps2w")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-packed-simd-2" ,rust-packed-simd-2-0.3)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) + `(#:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) ("rust-quickcheck" ,rust-quickcheck-1) ("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/llogiq/bytecount") @@ -10676,7 +9899,7 @@ high efficiency.") (define-public rust-bytemuck-1 (package (name "rust-bytemuck") - (version "1.19.0") + (version "1.20.0") (source (origin (method url-fetch) @@ -10684,7 +9907,7 @@ high efficiency.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ka96agz9kqmsd71q7xpr08bnh2g8x4hivxqpnks0674h5dj2d43")))) + "0nk9llwmvjpjlsrlga1qg3spqvci8g1nr286nhamvn7zcf5chdwb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -10790,20 +10013,20 @@ and little-endian.") (define-public rust-bytes-1 (package (name "rust-bytes") - (version "1.4.0") + (version "1.9.0") (source (origin (method url-fetch) (uri (crate-uri "bytes" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gkh3fk4fm9xv5znlib723h5md5sxsvbd5113sbxff6g1lmgvcl9")))) + (base32 "16ykzx24v1x4f42v2lxyvlczqhdfji3v7r4ghwckpwijzvb1hn9j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs - (("rust-loom" ,rust-loom-0.5) + (("rust-loom" ,rust-loom-0.7) ("rust-serde-test" ,rust-serde-test-1)))) (home-page "https://github.com/tokio-rs/bytes") (synopsis "Types and traits for working with bytes") @@ -10889,22 +10112,50 @@ and little-endian.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-bytesize-1 + (package + (name "rust-bytesize") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytesize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k3aak70iwz4s2gsjbxf0ws4xnixqbdz6p2ha96s06748fpniqx3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.7)))) + (home-page "https://github.com/hyunsik/bytesize/") + (synopsis "Human-readable byte count representation library for Rust") + (description "ByteSize is an utility for human-readable byte count +representation, with support for both SI and binary units.") + (license license:asl2.0))) + (define-public rust-bytestring-1 (package (name "rust-bytestring") - (version "1.3.1") + (version "1.4.0") (source (origin (method url-fetch) (uri (crate-uri "bytestring" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wpf0c5c72x3ycdb85vznkmcy8fy6ckzd512064dyabbx81h5n3l")))) + (base32 "0pwf6x2hxy6imy7ph15c5jxx51js5p5xwl1zfnq26a1vw9x68rg4")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; unresolved import `ahash` - #:cargo-inputs (("rust-bytes" ,rust-bytes-1) - ("rust-serde" ,rust-serde-1)))) + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-static-assertions" ,rust-static-assertions-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 @@ -10947,157 +10198,6 @@ and little-endian.") (description "Hyper-compact and space efficient strings.") (license license:asl2.0))) -(define-public rust-bzip2-0.4 - (package - (name "rust-bzip2") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "bzip2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1y27wgqkx3k2jmh4k26vra2kqjq1qc1asww8hac3cv1zxyk1dcdx")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bzip2-sys" ,rust-bzip2-sys-0.1) - ("rust-futures" ,rust-futures-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-tokio-io" ,rust-tokio-io-0.1)) - #:cargo-development-inputs - (("rust-partial-io" ,rust-partial-io-0.3) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-tokio-core" ,rust-tokio-core-0.1)))) - (home-page "https://github.com/alexcrichton/bzip2-rs") - (synopsis - "Rust bindings to libbzip2 for bzip2 compression and decompression") - (description - "Bindings to @code{libbzip2} for @code{bzip2} compression and decompression -exposed as Reader/Writer streams.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-bytesize-1 - (package - (name "rust-bytesize") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "bytesize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1k3aak70iwz4s2gsjbxf0ws4xnixqbdz6p2ha96s06748fpniqx3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-toml" ,rust-toml-0.7)))) - (home-page "https://github.com/hyunsik/bytesize/") - (synopsis "Human-readable byte count representation library for Rust") - (description "ByteSize is an utility for human-readable byte count -representation, with support for both SI and binary units.") - (license license:asl2.0))) - -(define-public rust-bzip2-0.3 - (package - (inherit rust-bzip2-0.4) - (name "rust-bzip2") - (version "0.3.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "bzip2" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fvfwanp42j1zpig880jhb5mc0na50bijmwd6211p77sy35w7ds2")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bzip2-sys" ,rust-bzip2-sys-0.1) - ("rust-futures" ,rust-futures-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-tokio-io" ,rust-tokio-io-0.1)) - #:cargo-development-inputs - (("rust-partial-io" ,rust-partial-io-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.4) - ("rust-rand" ,rust-rand-0.3) - ("rust-tokio-core" ,rust-tokio-core-0.1)))))) - -(define-public rust-bzip2-rs-0.1 - (package - (name "rust-bzip2-rs") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "bzip2-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dgp83kixqrqj6q6574qr5zsfpbsiiwhqs3krhvsn4f8wkkmksxy")) - (snippet - #~(begin (use-modules (guix build utils)) - ;; Don't suggest nightly features of tinyvec. - (substitute* "Cargo.toml" - (("\"tinyvec/nightly_const_generics\", ") "")))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-crc32fast" ,rust-crc32fast-1) - ("rust-tinyvec" ,rust-tinyvec-1)) - #:cargo-development-inputs - (("rust-bzip2" ,rust-bzip2-0.4) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) - (home-page "https://github.com/paolobarbolini/bzip2-rs") - (synopsis "Pure Rust bzip2 decompressor") - (description "Pure Rust bzip2 decompressor.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-bzip2-sys-0.1 - (package - (name "rust-bzip2-sys") - (version "0.1.11+1.0.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "bzip2-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1p2crnv8d8gpz5c2vlvzl0j55i3yqg5bi0kwsl1531x77xgraskk")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "bzip2-1.0.8") - (delete-file "build.rs") - ;; Inspired by Debian's patch. - (with-output-to-file "build.rs" - (lambda _ - (format #t "fn main() {~@ - println!(\"cargo:rustc-link-lib=bz2\");~@ - }~%"))))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (home-page "https://github.com/alexcrichton/bzip2-rs") - (synopsis "Rust bindings to libbzip2") - (description - "Bindings to @code{libbzip2} for bzip2 compression and decompression -exposed as Reader/Writer streams.") - (license (list license:expat license:asl2.0)))) - (define-public rust-c-vec-2 (package (name "rust-c-vec") @@ -11115,7 +10215,7 @@ exposed as Reader/Writer streams.") ("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/GuillaumeGomez/c_vec-rs.git") (synopsis "Structures to wrap C arrays") - (description "This package procides structures to wrap C arrays in Rust.") + (description "This package provides structures to wrap C arrays in Rust.") (license (list license:asl2.0 license:expat)))) (define-public rust-cache-padded-1 @@ -11165,17 +10265,17 @@ Tagging Specification. This library comes with functionality to, among others, add a tag, ensure/check a tag exists and get the state of a tag.") (license license:expat))) -(define-public rust-calamine-0.24 +(define-public rust-calamine-0.26 (package (name "rust-calamine") - (version "0.24.0") + (version "0.26.1") (source (origin (method url-fetch) (uri (crate-uri "calamine" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nilccwz0vqzzxjxcr06pi25k80j2wz0f89mwg1v3igx4r932fla")))) + (base32 "1cbfjwb37c28gkb42wsgpp93fxsrzhxgjjza0hc7yp9cmywld1hk")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Doc tests segfault. @@ -11184,14 +10284,14 @@ others, add a tag, ensure/check a tag exists and get the state of a tag.") ("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-zip" ,rust-zip-2)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11) ("rust-glob" ,rust-glob-0.3) + ("rust-rstest" ,rust-rstest-0.21) ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-sha256" ,rust-sha256-1)))) + ("rust-sha2" ,rust-sha2-0.10)))) (home-page "https://github.com/tafia/calamine") (synopsis "Reader and deserializer for spreadsheet files") (description @@ -11199,31 +10299,6 @@ others, add a tag, ensure/check a tag exists and get the state of a tag.") 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 - (origin - (method url-fetch) - (uri (crate-uri "calamine" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fssrwkwar1z4d2f0xl3cqg2y8qlmlc05g5xy305mkmxlj6sfv5q")))) - (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)))))) - (define-public rust-calibright-0.1 (package (name "rust-calibright") @@ -11458,25 +10533,47 @@ brightness between monitors.") (define-public rust-camino-1 (package (name "rust-camino") - (version "1.1.6") + (version "1.1.9") (source (origin (method url-fetch) (uri (crate-uri "camino" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "171vzfyrm2jmajd70q1m774297y028kadgm7cfw4kxc8lfsr57n5")))) + (base32 "1lqszl12l1146jf8g01rvjmapif82mhzih870ln3x0dmcr4yr5lb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proptest" ,rust-proptest-1) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) ("rust-serde-bytes" ,rust-serde-bytes-0.11)))) - (home-page "https://github.com/withoutboats/camino") + (home-page "https://github.com/camino-rs/camino") (synopsis "UTF-8 paths") (description "This package provides a UTF-8 paths.") (license (list license:expat license:asl2.0)))) +(define-public rust-canonical-path-2 + (package + (name "rust-canonical-path") + (version "2.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "canonical-path" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vvsjda6ka5nz8zvx6r08zqi0j59sjccgcbjxj96xj764w9y1sg6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/iqlusioninc/crates/") + (synopsis + "Path and PathBuf-like types for representing canonical filesystem paths") + (description + "This package provides Path and @code{PathBuf-like} types for representing +canonical filesystem paths.") + (license license:asl2.0))) + (define-public rust-cap-0.1 (package (name "rust-cap") @@ -11520,42 +10617,6 @@ tracking memory usage and enabling limits to be set.") 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 - (method url-fetch) - (uri (crate-uri "capnp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wwp619sib07raykk93n6j7amvsinlchnicxfjnnb7bx5if0ijid")))) - (arguments - `(#:cargo-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)))))) - -(define-public rust-capnp-0.13 - (package - (inherit rust-capnp-0.14) - (name "rust-capnp") - (version "0.13.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "capnp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xkfv6mm38y4d6ykxmvs1pdfywnn3n5bklsqcsz9xh72i9ffd3s5")))) - (arguments - `(#:cargo-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)))))) - (define-public rust-capnp-futures-0.19 (package (name "rust-capnp-futures") @@ -11580,47 +10641,6 @@ encoding.") 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 - (method url-fetch) - (uri (crate-uri "capnp-futures" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fp6lr04w50mzfpxvvrbdm9pny8ch17514y7qgcsk6giqqf808cq")))) - (arguments - `(#:cargo-inputs - (("rust-capnp" ,rust-capnp-0.14) - ("rust-futures" ,rust-futures-0.3)) - #:cargo-development-inputs - (("rust-capnp" ,rust-capnp-0.14) - ("rust-futures" ,rust-futures-0.3) - ("rust-quickcheck" ,rust-quickcheck-0.9)))))) - -(define-public rust-capnp-futures-0.13 - (package - (inherit rust-capnp-futures-0.14) - (name "rust-capnp-futures") - (version "0.13.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "capnp-futures" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18q93ncbfcnjq7zhvy9idnifypmi2qcp775q7454y3r4lvvdcyyw")))) - (arguments - `(#:cargo-inputs - (("rust-capnp" ,rust-capnp-0.13) - ("rust-futures" ,rust-futures-0.3)) - #:cargo-development-inputs - (("rust-capnp" ,rust-capnp-0.13) - ("rust-quickcheck" ,rust-quickcheck-0.9)))))) - (define-public rust-capnp-rpc-0.19 (package (name "rust-capnp-rpc") @@ -11644,44 +10664,6 @@ messages.") 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 - (method url-fetch) - (uri (crate-uri "capnp-rpc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pm9bjw481lw1zp8lmzkpsjrb85lbjg5s46piqbc3wk8dzwifksc")))) - (arguments - `(#:cargo-inputs - (("rust-capnp" ,rust-capnp-0.14) - ("rust-capnp-futures" ,rust-capnp-futures-0.14) - ("rust-futures" ,rust-futures-0.3)))))) - -(define-public rust-capnp-rpc-0.13 - (package - (inherit rust-capnp-rpc-0.14) - (name "rust-capnp-rpc") - (version "0.13.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "capnp-rpc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17p0y0yk68pzsnpmaklhiqrrlrrv0ld8nhbg4qflmgibshi8b69p")))) - (arguments - `(#:cargo-inputs - (("rust-capnp" ,rust-capnp-0.13) - ("rust-capnp-futures" ,rust-capnp-futures-0.13) - ("rust-futures" ,rust-futures-0.3)) - #:cargo-development-inputs - (("rust-capnpc" ,rust-capnpc-0.13)))))) - (define-public rust-capnpc-0.19 (package (name "rust-capnpc") @@ -11703,22 +10685,6 @@ remote procedure call protocol") (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 - (origin - (method url-fetch) - (uri (crate-uri "capnpc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1hbm5xqpam3f0ha5ds39wjmpqpzdalpbrls9wlp7m3slh3p5r1c1")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-capnp" ,rust-capnp-0.13)))))) - (define-public rust-caps-0.5 (package (name "rust-caps") @@ -11762,8 +10728,59 @@ capabilities.") ("rust-error-chain" ,rust-error-chain-0.12) ("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-captur-0.1 + (package + (name "rust-captur") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "captur" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10mi8mz5l9wq6pv1p26237pw4bywn90nra076ghh4ini90jv7ykh")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "src/lib.rs" + (("or_patterns_back_compat") + "rust_2021_incompatible_or_patterns")))))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f)) ; `pointer_structural_match` converted into hard error + (home-page "https://github.com/MitMaro/captur") + (synopsis "Macro to capture whole structs from disjoint fields in a closure") + (description + "This package provides a macro to capture whole structs from disjoint +fields in a closure.") + (license license:isc))) + +(define-public rust-carapace-spec-clap-1 + (package + (name "rust-carapace-spec-clap") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "carapace_spec_clap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08w08n7vbi8wjvivllayzpggn6c0vpax2101hc8gp9xd385q39h9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-yaml-ng" ,rust-serde-yaml-ng-0.10)) + #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.6)))) + (home-page "https://github.com/carapace-sh/carapace-spec-clap") + (synopsis "Spec generation for clap-rs/clap") + (description "This package provides spec generation for clap-rs/clap.") + (license license:expat))) + (define-public rust-carapace-spec-clap-0.1 (package + (inherit rust-carapace-spec-clap-1) (name "rust-carapace-spec-clap") (version "0.1.12") (source (origin @@ -11773,7 +10790,6 @@ capabilities.") (sha256 (base32 "1pb140siiqbljpvpck5hldmfyadi3db3s8xhcqnf9ff2ln3bs9zf")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-4) @@ -11781,42 +10797,61 @@ capabilities.") ("rust-indexmap" ,rust-indexmap-2) ("rust-serde" ,rust-serde-1) ("rust-serde-yaml" ,rust-serde-yaml-0.9)) - #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.4)))) - (home-page "https://github.com/rsteube/carapace-spec-clap") - (synopsis "Spec generation for clap-rs/clap") - (description "This package provides spec generation for clap-rs/clap.") + #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.4)))))) + +(define-public rust-card-validate-2 + (package + (name "rust-card-validate") + (version "2.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "card-validate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14gbz65z79n1xjxmh5fr8g6djshnq2g49i60q1r878z2jq2sfpv5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/valeriansaliou/rs-card-validate") + (synopsis "Detect and validate credit card numbers") + (description "This package detects and validates credit card numbers.") (license license:expat))) (define-public rust-cargo-config2-0.1 (package (name "rust-cargo-config2") - (version "0.1.17") + (version "0.1.31") (source (origin (method url-fetch) (uri (crate-uri "cargo-config2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "00klqbgizddfrv7c420s06zx2q9qpd1ir72l40p651ib8rz1z0ch")))) + "1ws69v398i48f2a1n4gfrcpxh0j0d08mj9c24llw1wlkrdyp7als")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included. + `(#:cargo-test-flags + '("--" + "--skip=custom_target" + "--skip=de" + "--skip=easy" + "--skip=test_cargo_behavior") #:cargo-inputs - (("rust-home" ,rust-home-0.5) - ("rust-serde" ,rust-serde-1) + (("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-toml-edit" ,rust-toml-edit-0.21)) + ("rust-toml-edit" ,rust-toml-edit-0.22) + ("rust-windows-sys" ,rust-windows-sys-0.59)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-build-context" ,rust-build-context-0.1) ("rust-clap" ,rust-clap-4) - ("rust-duct" ,rust-duct-0.13) - ("rust-fs-err" ,rust-fs-err-2) + ("rust-fs-err" ,rust-fs-err-3) ("rust-lexopt" ,rust-lexopt-0.3) ("rust-rustversion" ,rust-rustversion-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-shell-escape" ,rust-shell-escape-0.1) - ("rust-similar-asserts" ,rust-similar-asserts-1) ("rust-static-assertions" ,rust-static-assertions-1) ("rust-tempfile" ,rust-tempfile-3) ("rust-toml" ,rust-toml-0.8)))) @@ -11899,24 +10934,6 @@ capabilities.") GNOME libsecret.") (license (list license:expat license:asl2.0)))) -(define-public rust-cargo-credential-libsecret-0.3 - (package - (inherit rust-cargo-credential-libsecret-0.4) - (name "rust-cargo-credential-libsecret") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo-credential-libsecret" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r1fahmdf1ihp7mfql443mwsa1byiyksfcm5pdh90rjynir97fzv")))) - (arguments - `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("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") @@ -11940,6 +10957,32 @@ GNOME libsecret.") automatically on cargo test.") (license license:expat))) +(define-public rust-cargo-lock-10 + (package + (name "rust-cargo-lock") + (version "10.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ldm8nd05cwyc2y0wwbdwx51g5phylkffaycpc2xa8kh01npfsb4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-gumdrop" ,rust-gumdrop-0.8) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-url" ,rust-url-2)))) + (home-page "https://rustsec.org") + (synopsis "@file{Cargo.lock} parser with optional dependency graph analysis") + (description + "This package provides self-contained @file{Cargo.lock} parser with +optional dependency graph analysis.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-cargo-manifest-0.13 (package (name "rust-cargo-manifest") @@ -11963,8 +11006,43 @@ automatically on cargo test.") manifests in @code{Cargo.toml} files.") (license (list license:asl2.0 license:expat)))) +(define-public rust-cargo-metadata-0.19 + (package + (name "rust-cargo-metadata") + (version "0.19.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo_metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "096r6ai6b8r6z42lasr16pd0zbgndvs7n6a3mwh636axmmm70sc7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=error1" + "--skip=error2" + "--skip=advanced_feature_configuration" + "--skip=all_the_fields" + "--skip=basic_workspace_root_package_exists" + "--skip=current_dir") + #:cargo-inputs (("rust-camino" ,rust-camino-1) + ("rust-cargo-platform" ,rust-cargo-platform-0.1) + ("rust-derive-builder" ,rust-derive-builder-0.20) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-2)))) + (home-page "https://github.com/oli-obk/cargo_metadata") + (synopsis "Structured access to the output of `cargo metadata`") + (description + "This package provides structured access to the output of @code{cargo +metadata}.") + (license license:expat))) + (define-public rust-cargo-metadata-0.18 (package + (inherit rust-cargo-metadata-0.19) (name "rust-cargo-metadata") (version "0.18.1") (source @@ -11974,7 +11052,6 @@ manifests in @code{Cargo.toml} files.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0drh0zndl4qgndy6kg6783cydbvhxgv0hcg7d9hhqx0zwi3nb21d")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -11988,13 +11065,7 @@ manifests in @code{Cargo.toml} files.") ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/oli-obk/cargo_metadata") - (synopsis "Structured access to the output of `cargo metadata`") - (description - "This package provides structured access to the output of @code{cargo -metadata}.") - (license license:expat))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-cargo-metadata-0.17 (package @@ -12080,100 +11151,6 @@ metadata}.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-cargo-metadata-0.13 - (package - (inherit rust-cargo-metadata-0.14) - (name "rust-cargo-metadata") - (version "0.13.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo_metadata" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "11cnz97byqswmhpbbig9hss5kf8bmxq9nd5xjg3l2rsnnv040i32")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-camino" ,rust-camino-1) - ("rust-cargo-platform" ,rust-cargo-platform-0.1) - ("rust-derive-builder" ,rust-derive-builder-0.9) - ("rust-semver" ,rust-semver-0.11) - ("rust-semver-parser" ,rust-semver-parser-0.10) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-cargo-lock-9 - (package - (name "rust-cargo-lock") - (version "9.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo-lock" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wmczs13psr8p9mc51w4r4pm900dbpbpipp87knlkd7gg19nf771")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-gumdrop" ,rust-gumdrop-0.8) - ("rust-petgraph" ,rust-petgraph-0.6) - ("rust-semver" ,rust-semver-1) - ("rust-serde" ,rust-serde-1) - ("rust-toml" ,rust-toml-0.7) - ("rust-url" ,rust-url-2)))) - (home-page "https://rustsec.org") - (synopsis "@file{Cargo.lock} parser with optional dependency graph analysis") - (description - "This package provides self-contained @file{Cargo.lock} parser with -optional dependency graph analysis.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-cargo-lock-8 - (package - (inherit rust-cargo-lock-9) - (name "rust-cargo-lock") - (version "8.0.3") - (source (origin - (method url-fetch) - (uri (crate-uri "cargo-lock" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15nrkr11dnadmwvzjwn6yv8m20g3xw6yj2cayzgab2ppp3fih5q3")))) - (arguments - `(#:cargo-inputs - (("rust-gumdrop" ,rust-gumdrop-0.8) - ("rust-petgraph" ,rust-petgraph-0.6) - ("rust-semver" ,rust-semver-1) - ("rust-serde" ,rust-serde-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-url" ,rust-url-2)))))) - -(define-public rust-cargo-lock-7 - (package - (inherit rust-cargo-lock-8) - (name "rust-cargo-lock") - (version "7.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "cargo-lock" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "122wirj0d44xi2i7sc6anjimqfvgw5p5ry840zikc82vpn44pc3z")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-gumdrop" ,rust-gumdrop-0.8) - ("rust-petgraph" ,rust-petgraph-0.6) - ("rust-semver" ,rust-semver-1) - ("rust-serde" ,rust-serde-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-url" ,rust-url-2)))))) - (define-public rust-cargo-options-0.7 (package (name "rust-cargo-options") @@ -12195,22 +11172,6 @@ optional dependency graph analysis.") (description "Reusable common Cargo command line options.") (license license:expat))) -(define-public rust-cargo-options-0.6 - (package - (inherit rust-cargo-options-0.7) - (name "rust-cargo-options") - (version "0.6.0") - (source (origin - (method url-fetch) - (uri (crate-uri "cargo-options" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0m99dz9vpsplf4s955dvfnfrcvdkm7cifwymriyam11bdfm8v3lv")))) - (arguments - `(#:cargo-inputs (("rust-clap" ,rust-clap-4)) - #:cargo-development-inputs (("rust-trycmd" ,rust-trycmd-0.14)))))) - (define-public rust-cargo-platform-0.1 (package (name "rust-cargo-platform") @@ -12293,6 +11254,42 @@ supported by Cargo.") "This package provides a testing framework for Cargo's testsuite.") (license (list license:expat license:asl2.0)))) +(define-public rust-cargo-test-support-0.3 + (package + (inherit rust-cargo-test-support-0.4) + (name "rust-cargo-test-support") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cargo-test-support" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fi7k976v9ali7i9a11wz3czcbp2ksc8p8kcq14b57vrci3bc5m8")))) + (arguments + `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-cargo-test-macro" ,rust-cargo-test-macro-0.3) + ("rust-cargo-util" ,rust-cargo-util-0.2) + ("rust-crates-io" ,rust-crates-io-0.40) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-git2" ,rust-git2-0.19) + ("rust-glob" ,rust-glob-0.3) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-pasetors" ,rust-pasetors-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-snapbox" ,rust-snapbox-0.6) + ("rust-tar" ,rust-tar-0.4) + ("rust-time" ,rust-time-0.3) + ("rust-toml" ,rust-toml-0.8) + ("rust-url" ,rust-url-2) + ("rust-walkdir" ,rust-walkdir-2) + ("rust-windows-sys" ,rust-windows-sys-0.52)))))) + (define-public rust-cargo-toml-0.20 (package (name "rust-cargo-toml") @@ -12314,38 +11311,6 @@ supported by Cargo.") parsing with Serde.") (license (list license:asl2.0 license:expat)))) -(define-public rust-cargo-toml-0.19 - (package - (inherit rust-cargo-toml-0.20) - (name "rust-cargo-toml") - (version "0.19.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo_toml" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gljfkdjx07fisn5xkklv56ki3p49ppf8fkry7c1psx28bgmd0x9")))) - (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1) - ("rust-toml" ,rust-toml-0.8)))))) - -(define-public rust-cargo-toml-0.16 - (package - (inherit rust-cargo-toml-0.19) - (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") @@ -12384,37 +11349,6 @@ parsing with Serde.") (description "Miscellaneous support code used by Cargo.") (license (list license:expat license:asl2.0)))) -(define-public rust-cargo-util-0.1 - (package - (inherit rust-cargo-util-0.2) - (name "rust-cargo-util") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo-util" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1sz0gzcyp9ycb4zwj69qs9gd8kn9hv9nh2dq42c59x5xccqph755")))) - (arguments - `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-crypto-hash" ,rust-crypto-hash-0.3) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-hex" ,rust-hex-0.4) - ("rust-jobserver" ,rust-jobserver-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-miow" ,rust-miow-0.3) - ("rust-same-file" ,rust-same-file-1) - ("rust-shell-escape" ,rust-shell-escape-0.1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-cargo-util-schemas-0.6 (package (name "rust-cargo-util-schemas") @@ -12442,28 +11376,6 @@ parsing with Serde.") (description "This package provides deserialization schemas for Cargo.") (license (list license:expat license:asl2.0)))) -(define-public rust-cargo-util-schemas-0.2 - (package - (inherit rust-cargo-util-schemas-0.6) - (name "rust-cargo-util-schemas") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cargo-util-schemas" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jncrbsh5w8pl968a04893mwkaq0cgav19zyy6wpwj4lmj02fgg6")))) - (arguments - `(#:cargo-inputs (("rust-semver" ,rust-semver-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-untagged" ,rust-serde-untagged-0.1) - ("rust-serde-value" ,rust-serde-value-0.7) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-toml" ,rust-toml-0.8) - ("rust-unicode-xid" ,rust-unicode-xid-0.2) - ("rust-url" ,rust-url-2)))))) - (define-public rust-casey-0.4 (package (name "rust-casey") @@ -12555,14 +11467,14 @@ box''.") (define-public rust-castaway-0.2 (package (name "rust-castaway") - (version "0.2.2") + (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "castaway" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1k1z4v61vq7la56js1azkr0k9b415vif2kaxiqk3d1gw6mbfs5wa")))) + "1mf0wypwnkpa1hi0058vp8g7bjh2qraip2qv7dmak7mg1azfkfha")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12615,19 +11527,17 @@ types that works on stable Rust.") (define-public rust-cc-1 (package (name "rust-cc") - (version "1.1.28") + (version "1.2.4") (source (origin (method url-fetch) (uri (crate-uri "cc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1hdzh7161ixzmk6znpzdx0ldqw1rlrk0d6xf3h7881xblfvf701f")))) + (base32 "1bqw7559dq0by6dq5k38rijz5p0wr5sa94s2gb180n0ndfmbnmwi")))) (build-system cargo-build-system) (arguments - `(#:tests? #f - #:cargo-inputs + `(#:cargo-inputs (("rust-jobserver" ,rust-jobserver-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-shlex" ,rust-shlex-1)) @@ -12682,9 +11592,9 @@ archive to be linked into Rustcode.") (("rust-criterion" ,rust-criterion-0.4) ("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/cds-astro/cds-healpix-rust/") - (synopsis "HEALPix tesselation") + (synopsis "HEALPix tessellation") (description - "This library is an implementation in Rust of the HEALPix tesselation. + "This library is an implementation in Rust of the HEALPix tessellation. This implementation has been made by the Strasbourg astronomical Data Centre (Centre de Données astronomique de Strasbourg, @url{http://cdsweb.u-strasbg.fr/,CDS}).") @@ -12804,14 +11714,14 @@ winded @code{#[cfg()]} checks.") (define-public rust-cfg-expr-0.17 (package (name "rust-cfg-expr") - (version "0.17.0") + (version "0.17.2") (source (origin (method url-fetch) (uri (crate-uri "cfg-expr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "174y5f7035cx99d83hn1m97xd5xr83nd5fpkcxr3w8nkqihh12fh")))) + "12a7zr6ff4i6mfwcv711dll0w5pr3dw1lvkaf4c4a66i1gjacjwd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -12967,129 +11877,9 @@ chain, the first matching branch is the item that gets emitted.") #:cargo-inputs (("rust-rand" ,rust-rand-0.3)))) (home-page "https://github.com/BurntSushi/chan") (synopsis "DEPRECATED. Use crossbeam-channel instead") - (description "DEPRECATED. Use crossbeam-channel instead.") + (description "DEPRECATED. Use crossbeam-channel instead.") (license (list license:unlicense license:expat)))) -(define-public rust-chalk-derive-0.75 - (package - (name "rust-chalk-derive") - (version "0.75.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "chalk-derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0v1i5sb1w2skqg5sjy3gimdglsq0in6mc1zz36qyc99lkrgknknm")))) - (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) - ("rust-synstructure" ,rust-synstructure-0.12)))) - (home-page "https://github.com/rust-lang/chalk") - (synopsis - "Helper crate for use by chalk crates for `derive` macros") - (description - "This package provides a helper crate for use by chalk crates for `derive` -macros.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-chalk-ir-0.75 - (package - (name "rust-chalk-ir") - (version "0.75.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "chalk-ir" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "12iyziaw14qb0wz3pqx70qwqa9r0qsi5d4y6j0g32yabs2hyay9b")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-chalk-derive" ,rust-chalk-derive-0.75) - ("rust-lazy-static" ,rust-lazy-static-1)))) - (home-page "https://github.com/rust-lang/chalk") - (synopsis - "Chalk's internal representation of types, goals, and clauses") - (description - "This package provides Chalk's internal representation of types, goals, and -clauses.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-chalk-recursive-0.75 - (package - (name "rust-chalk-recursive") - (version "0.75.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "chalk-recursive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "11bnn0yn9np4mar4nryys6w1ijizj3y9dcz3xbldxzx6fplmk7y3")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chalk-derive" ,rust-chalk-derive-0.75) - ("rust-chalk-ir" ,rust-chalk-ir-0.75) - ("rust-chalk-solve" ,rust-chalk-solve-0.75) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-tracing" ,rust-tracing-0.1)))) - (home-page "https://github.com/rust-lang/chalk") - (synopsis - "Recursive solver for the Chalk project") - (description - "Recursive solver for the Chalk project") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-chalk-solve-0.75 - (package - (name "rust-chalk-solve") - (version "0.75.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "chalk-solve" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07gaf59zr7pgpr01l3si7a8iici2qh5dh2w2b05agaq5cvds3lm5")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chalk-derive" ,rust-chalk-derive-0.75) - ("rust-chalk-ir" ,rust-chalk-ir-0.75) - ("rust-ena" ,rust-ena-0.14) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-petgraph" ,rust-petgraph-0.5) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-tracing" ,rust-tracing-0.1) - ("rust-tracing-subscriber" - ,rust-tracing-subscriber-0.3) - ("rust-tracing-tree" ,rust-tracing-tree-0.2)))) - (home-page "https://github.com/rust-lang/chalk") - (synopsis - "Combines the chalk-engine with chalk-ir") - (description - "This package provides a combines the chalk-engine with chalk-ir.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-charset-0.1 (package (name "rust-charset") @@ -13120,17 +11910,55 @@ by providing decoding for UTF-7 in addition to the encodings defined by the Encoding Standard.") (license (list license:expat license:asl2.0)))) +(define-public rust-checked-int-cast-1 + (package + (name "rust-checked-int-cast") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "checked_int_cast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06brva5agm6g12q15f8fidz17akb85q211496p1k2qxhb9mmxk0p")))) + (build-system cargo-build-system) + (home-page "https://github.com/PeterReid/checked_int_cast") + (synopsis "Conversions between primitive integers") + (description + "This package provides conversions between primitive integers with +overflow and underflow checking.") + (license license:expat))) + +(define-public rust-chic-1 + (package + (name "rust-chic") + (version "1.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "chic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "037pkdccj25gr4my8fq1qni9v87rydpyhfi2naf86mimkxhxpdd5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.6)))) + (home-page "https://github.com/yoshuawuyts/chic") + (synopsis "Pretty parser error reporting") + (description "This package provides pretty parser error reporting.") + (license (list license:expat license:asl2.0)))) + (define-public rust-chrono-0.4 (package (name "rust-chrono") - (version "0.4.38") + (version "0.4.39") (source (origin (method url-fetch) (uri (crate-uri "chrono" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "009l8vc5p8750vn02z30mblg4pv2qhkbfizhfwmzc6vpy5nr67x2")))) + (base32 "09g8nf409lb184kl9j4s85k0kn8wzgjkp5ls9zid50b886fwqdky")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -13149,33 +11977,13 @@ Encoding Standard.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-windows-bindgen" ,rust-windows-bindgen-0.56)) - #:features '("unstable-locales") - #:tests? #f)) + ("rust-windows-bindgen" ,rust-windows-bindgen-0.58)) + #:features '("unstable-locales"))) (home-page "https://github.com/chronotope/chrono") (synopsis "Date and time library for Rust") (description "Date and time library for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-chic-1 - (package - (name "rust-chic") - (version "1.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "chic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "037pkdccj25gr4my8fq1qni9v87rydpyhfi2naf86mimkxhxpdd5")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.6)))) - (home-page "https://github.com/yoshuawuyts/chic") - (synopsis "Pretty parser error reporting") - (description "This package provides pretty parser error reporting.") - (license (list license:expat license:asl2.0)))) - (define-public rust-chrono-humanize-0.2 (package (name "rust-chrono-humanize") @@ -13198,8 +12006,37 @@ Encoding Standard.") Python @code{arrow.humanize}.") (license (list license:expat license:asl2.0)))) +(define-public rust-chrono-tz-0.10 + (package + (name "rust-chrono-tz") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-tz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dnkmhlf8jfxskrzir0y6fdbpf8mqnaz5igql9cklwh0dl2dhvfd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-tz-build" ,rust-chrono-tz-build-0.4) + ("rust-phf" ,rust-phf-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-uncased" ,rust-uncased-0.9)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/chronotope/chrono-tz") + (synopsis "TimeZone implementations for chrono from the IANA database") + (description + "Chrono-TZ is a library that provides implementors of the TimeZone trait +for @code{rust-chrono}.") + (license (list license:expat license:asl2.0)))) + (define-public rust-chrono-tz-0.9 (package + (inherit rust-chrono-tz-0.10) (name "rust-chrono-tz") (version "0.9.0") (source @@ -13209,7 +12046,6 @@ Python @code{arrow.humanize}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1fvicqrlmdsjkrgxr7bxfd62i9w2qi2b6iv4w85av5syvqlqnsck")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) @@ -13220,13 +12056,7 @@ Python @code{arrow.humanize}.") ("rust-uncased" ,rust-uncased-0.9)) #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde-test" ,rust-serde-test-1)))) - (home-page "https://github.com/chronotope/chrono-tz") - (synopsis "TimeZone implementations for chrono from the IANA database") - (description - "Chrono-TZ is a library that provides implementors of the TimeZone trait -for @code{rust-chrono}.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-chrono-tz-0.8 (package @@ -13298,8 +12128,33 @@ for @code{rust-chrono}.") ("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3) ("rust-serde" ,rust-serde-1)))))) +(define-public rust-chrono-tz-build-0.4 + (package + (name "rust-chrono-tz-build") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono-tz-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19qh9c3v7v4czf8z8vrhdy4jmkc6nyzd4svlwwlm493sswsflkz9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) + ("rust-phf-shared" ,rust-phf-shared-0.11) + ("rust-regex" ,rust-regex-1) + ("rust-uncased" ,rust-uncased-0.9)))) + (home-page "https://github.com/chronotope/chrono-tz") + (synopsis "Internal build script for chrono-tz Rust package") + (description "This package contains the internal build script for +the chrono-tz Rust crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-chrono-tz-build-0.3 (package + (inherit rust-chrono-tz-build-0.4) (name "rust-chrono-tz-build") (version "0.3.0") (source @@ -13309,19 +12164,13 @@ for @code{rust-chrono}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1c8ixwwwsn9kgs1dr5mz963p0fgw9j9p7fzb3w2c7y8xhkp8l20c")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-parse-zoneinfo" ,rust-parse-zoneinfo-0.3) ("rust-phf" ,rust-phf-0.11) ("rust-phf-codegen" ,rust-phf-codegen-0.11) ("rust-regex" ,rust-regex-1) - ("rust-uncased" ,rust-uncased-0.9)))) - (home-page "https://github.com/chronotope/chrono-tz") - (synopsis "Internal build script for chrono-tz Rust package") - (description "This package contains the internal build script for -the chrono-tz Rust crate.") - (license (list license:expat license:asl2.0)))) + ("rust-uncased" ,rust-uncased-0.9)))))) (define-public rust-chrono-tz-build-0.2 (package @@ -13383,6 +12232,36 @@ the chrono-tz Rust crate.") recovery.") (license license:expat))) +(define-public rust-ci-info-0.3 + (package + (name "rust-ci-info") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ci_info" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "00pr17g6q6i752acrkycg0hkq3lm0p634anm41g3m6lqg8q83s75")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=ci::ci_test::get_bamboo" + "--skip=ci::ci_test::get_taskcluster_runid" + "--skip=ci::ci_test::get_buildkite" + "--skip=ci::ci_test::get_tfs") + #:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/sagiegurari/ci_info") + (synopsis "Provides current CI environment information") + (description + "This package provides current CI environment information.") + (license license:asl2.0))) + (define-public rust-ciborium-0.2 (package (name "rust-ciborium") @@ -13496,35 +12375,25 @@ interoperation between crates in Rust.") "This package provides a stream abstraction designed for use with nom.") (license license:expat))) -(define-public rust-ci-info-0.3 +(define-public rust-claims-0.7 (package - (name "rust-ci-info") - (version "0.3.1") + (name "rust-claims") + (version "0.7.1") (source (origin (method url-fetch) - (uri (crate-uri "ci_info" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "claims" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "00pr17g6q6i752acrkycg0hkq3lm0p634anm41g3m6lqg8q83s75")))) + (base32 "1da6z2r4zz4fw4a69286s54jzr7g7sz3dspq0xiw6mk432z5p6dn")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=ci::ci_test::get_bamboo" - "--skip=ci::ci_test::get_taskcluster_runid" - "--skip=ci::ci_test::get_buildkite" - "--skip=ci::ci_test::get_tfs") - #:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/sagiegurari/ci_info") - (synopsis "Provides current CI environment information") + `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)))) + (home-page "https://github.com/Anders429/claims") + (synopsis "Additional assertion macros for testing") (description - "This package provides current CI environment information.") - (license license:asl2.0))) + "This package provides additional assertion macros for testing.") + (license (list license:asl2.0 license:expat)))) (define-public rust-clang-ast-0.1 (package @@ -13579,15 +12448,20 @@ interoperation between crates in Rust.") (define-public rust-clang-sys-1 (package (name "rust-clang-sys") - (version "1.0.0") + (version "1.8.1") (source (origin (method url-fetch) (uri (crate-uri "clang-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0695kfrqx7n091fzm6msbqg2q2kyhka64q08lm63f3l9d964i8cx")))) + (base32 "1x1r9yqss76z8xwpdanw313ss6fniwc1r7dzb5ycjn0ph53kj0hb")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("version = \">=([[:digit:]]+(\\.[[:digit:]]+)*), <.*\"" _ version) + (string-append "version = \"^" version "\""))))))) (build-system cargo-build-system) (inputs (list clang)) @@ -13595,29 +12469,10 @@ interoperation between crates in Rust.") `(#:cargo-inputs (("rust-glob" ,rust-glob-0.3) ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.6)))) - (home-page "https://github.com/KyleMayes/clang-sys") - (synopsis "Rust bindings for libclang") - (description "This package provides Rust bindings for libclang.") - (license license:asl2.0))) - -(define-public rust-clang-sys-1.8 - (package - (name "rust-clang-sys") - (version "1.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "clang-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1x1r9yqss76z8xwpdanw313ss6fniwc1r7dzb5ycjn0ph53kj0hb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-glob" ,rust-glob-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.8)))) + ("rust-libloading" ,rust-libloading-0.8)) + #:cargo-development-inputs (("rust-glob" ,rust-glob-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/KyleMayes/clang-sys") (synopsis "Rust bindings for libclang") (description "This package provides Rust bindings for libclang.") @@ -13642,25 +12497,6 @@ interoperation between crates in Rust.") ("rust-libc" ,rust-libc-0.2) ("rust-libloading" ,rust-libloading-0.5)))))) -(define-public rust-claxon-0.4 - (package - (name "rust-claxon") - (version "0.4.3") - (source (origin - (method url-fetch) - (uri (crate-uri "claxon" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1206mxvw833ysg10029apcsjjwly8zmsvksgza5cm7ma4ikzbysb")))) - (build-system cargo-build-system) - (arguments - (list #:skip-build? #t)) ; Cut the dependency graph. - (home-page "https://github.com/ruuda/claxon#readme") - (synopsis "FLAC decoding library") - (description "This package provides a FLAC decoding library.") - (license license:asl2.0))) - (define-public rust-clang-sys-0.29 (package (inherit rust-clang-sys-1) @@ -13695,231 +12531,34 @@ interoperation between crates in Rust.") (base32 "0ls8zcqi5bmmrvrk3b6r1ym4wlivinbv590d2dvg2xn9f44mbpl1")))))) -(define-public rust-clap-cargo-0.14 - (package - (name "rust-clap-cargo") - (version "0.14.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "clap-cargo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0gmlr0cahj7nfzcqfc16z76rb8ar3nnidm9snx4bi5psrrlymci3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) - ("rust-cargo-metadata" ,rust-cargo-metadata-0.18) - ("rust-clap" ,rust-clap-4)))) - (home-page "https://github.com/crate-ci/clap-cargo") - (synopsis "Re-usable CLI flags for `cargo` plugins") - (description "This package provides re-usable CLI flags for `cargo` plugins.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-clap-cargo-0.12 - (package - (inherit rust-clap-cargo-0.14) - (name "rust-clap-cargo") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "clap-cargo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r2f4ad1vpaljrfbyfsv986qiwmll0iask4sdvwllka658s22grq")))) - (arguments - `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) - ("rust-cargo-metadata" ,rust-cargo-metadata-0.17) - ("rust-clap" ,rust-clap-4)))))) - -(define-public rust-clap-complete-command-0.5 - (package - (name "rust-clap-complete-command") - (version "0.5.1") - (source (origin - (method url-fetch) - (uri (crate-uri "clap_complete_command" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0gcsj6ls8y0jpjp5172gdqwx5zj6gm4wdgrqysglr3d73qvrad0q")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-carapace-spec-clap" ,rust-carapace-spec-clap-0.1) - ("rust-clap" ,rust-clap-4) - ("rust-clap-complete" ,rust-clap-complete-4) - ("rust-clap-complete-fig" ,rust-clap-complete-fig-4) - ("rust-clap-complete-nushell" ,rust-clap-complete-nushell-0.1)) - #:cargo-development-inputs (("rust-clap" ,rust-clap-4)))) - (home-page "https://github.com/nihaals/clap-complete-command") - (synopsis - "Reduces boilerplate for adding a shell completion command to Clap") - (description "This package reduces boilerplate for adding a shell completion -command to Clap.") - (license license:expat))) - -(define-public rust-clap-complete-fig-4 - (package - (name "rust-clap-complete-fig") - (version "4.5.2") - (source (origin - (method url-fetch) - (uri (crate-uri "clap_complete_fig" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sy88ybw33ba7qj02caxr9jv03wq1f8rdbrbqw81i5gkiwn1156l")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-clap" ,rust-clap-4) - ("rust-clap-complete" ,rust-clap-complete-4)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-4) - ("rust-snapbox" ,rust-snapbox-0.6)))) - (home-page "https://github.com/clap-rs/clap/tree/master/clap_complete_fig") - (synopsis "Generator library used with clap for Fig completion scripts") - (description - "This package provides a generator library used with clap for Fig -completion scripts.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-clap-complete-nushell-0.1 - (package - (name "rust-clap-complete-nushell") - (version "0.1.10") - (source (origin - (method url-fetch) - (uri (crate-uri "clap_complete_nushell" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0b15s7d9xpqjr1fpj8lmcv6nhgbhxvm0rzbh3cavv0xawvsl3yn7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-clap" ,rust-clap-4) - ("rust-clap-complete" ,rust-clap-complete-4)) - #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.4)))) - (home-page - "https://github.com/clap-rs/clap/tree/master/clap_complete_nushell") - (synopsis - "Generator library used with clap for Nushell completion scripts") - (description - "This package provides a generator library used with clap for Nushell -completion scripts.") - (license license:expat))) - -(define-public rust-clap-conf-0.1 - (package - (name "rust-clap-conf") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "clap_conf" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1n29wr6ns660hi63mc30zvs7dhidaycw35am9spzknsal3nrs0sn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - (list "--release" "--" - "--skip=tests::try_holder") - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-clap" ,rust-clap-2) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-toml" ,rust-toml-0.5)))) - (home-page "https://github.com/storyfeet/clap_conf") - (synopsis - "Library to unify commandline arguments, config files and environment variables") - (description - "This package provides a library to unify commandline arguments with config -files and environment variables. And make it easier for users to tell your program -how to behave across the three main input sources") - (license license:expat))) - -(define-public rust-clap-derive-4 - (package - (name "rust-clap-derive") - (version "4.5.18") - (source - (origin - (method url-fetch) - (uri (crate-uri "clap_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ardb26bvcpg72q9myr7yir3a8c83gx7vxk1cccabsd9n73s1ija")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-inputs - `(("rust-heck" ,rust-heck-0.5) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) - (home-page "https://clap.rs/") - (synopsis "Procedural macro crate for Clap") - (description - "This package provides the procedural macro crate for Clap.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-clap-derive-3 - (package - (inherit rust-clap-derive-4) - (name "rust-clap-derive") - (version "3.2.25") - (source - (origin - (method url-fetch) - (uri (crate-uri "clap_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "025hh66cyjk5xhhq8s1qw5wkxvrm8hnv5xwwksax7dy8pnw72qxf")))) - (arguments - (list #: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)))))) - (define-public rust-clap-4 (package (name "rust-clap") - (version "4.5.18") + (version "4.5.23") (source (origin (method url-fetch) (uri (crate-uri "clap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1lsxa59bgfxaag1q65ndp801h7vw9dffsly0zzx1mb13nd1nm5dh")))) + (base32 "110cf0i9fmkfqzqhi1h8za9y0vnr5rwhy3wmv1p0rcgp5vnffd9i")))) (build-system cargo-build-system) (arguments - (list #:cargo-inputs - `(("rust-clap-builder" ,rust-clap-builder-4) - ("rust-clap-derive" ,rust-clap-derive-4)) - #:cargo-development-inputs - `(("rust-automod" ,rust-automod-1) - ("rust-clap-cargo" ,rust-clap-cargo-0.14) - ("rust-humantime" ,rust-humantime-2) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-shlex" ,rust-shlex-1) - ("rust-snapbox" ,rust-snapbox-0.6) - ("rust-trybuild" ,rust-trybuild-1) - ("rust-trycmd" ,rust-trycmd-0.15)))) - (home-page "https://clap.rs/") + `(#:cargo-inputs (("rust-clap-builder" ,rust-clap-builder-4) + ("rust-clap-derive" ,rust-clap-derive-4)) + #:cargo-development-inputs (("rust-automod" ,rust-automod-1) + ("rust-clap-cargo" ,rust-clap-cargo-0.14) + ("rust-humantime" ,rust-humantime-2) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-shlex" ,rust-shlex-1) + ("rust-snapbox" ,rust-snapbox-0.6) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-trycmd" ,rust-trycmd-0.15)))) + (home-page "https://github.com/clap-rs/clap") (synopsis "Command Line Argument Parser") (description - "This package provides a simple to use, efficient, and full-featured -Command Line Argument Parser.") + "This package provides a simple to use, efficient, and full-featured Command Line +Argument Parser.") (license (list license:expat license:asl2.0)))) (define-public rust-clap-3 @@ -13984,7 +12623,7 @@ Command Line Argument Parser.") (("rust-ansi-term" ,rust-ansi-term-0.12) ("rust-atty" ,rust-atty-0.2) ("rust-bitflags" ,rust-bitflags-1) - ("rust-clippy" ,rust-clippy-0.0) + ("rust-clippy" ,rust-clippy-0.0.302) ("rust-strsim" ,rust-strsim-0.8) ("rust-term-size" ,rust-term-size-0.3) ("rust-textwrap" ,rust-textwrap-0.11) @@ -14000,30 +12639,24 @@ Command Line Argument Parser.") (define-public rust-clap-builder-4 (package (name "rust-clap-builder") - (version "4.5.18") - (source (origin - (method url-fetch) - (uri (crate-uri "clap_builder" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06wnncyif421qgrkd73hhhfych773avpx903b1nhhd0nsinicwjd")))) + (version "4.5.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap_builder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f28rgc09kdgfq1hgg1bb1ydaw243w6dwyw74syz439k6b32yn1h")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - (list "--release" "--" - ;; Some of the doc tests fail. - "--skip=builder::range::ValueRange::new" - "--skip=builder::value_parser::value_parser") - #:cargo-inputs - (("rust-anstream" ,rust-anstream-0.6) - ("rust-anstyle" ,rust-anstyle-1) - ("rust-backtrace" ,rust-backtrace-0.3) - ("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)) + `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-clap-lex" ,rust-clap-lex-0.7) + ("rust-strsim" ,rust-strsim-0.11) + ("rust-terminal-size" ,rust-terminal-size-0.4) + ("rust-unicase" ,rust-unicase-2) + ("rust-unicode-width" ,rust-unicode-width-0.2)) #:cargo-development-inputs (("rust-color-print" ,rust-color-print-0.3) ("rust-static-assertions" ,rust-static-assertions-1) @@ -14035,33 +12668,71 @@ Command Line Argument Parser.") Command Line Argument Parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-clap-cargo-0.14 + (package + (name "rust-clap-cargo") + (version "0.14.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap-cargo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gmlr0cahj7nfzcqfc16z76rb8ar3nnidm9snx4bi5psrrlymci3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.18) + ("rust-clap" ,rust-clap-4)))) + (home-page "https://github.com/crate-ci/clap-cargo") + (synopsis "Re-usable CLI flags for `cargo` plugins") + (description "This package provides re-usable CLI flags for `cargo` plugins.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-clap-cargo-0.12 + (package + (inherit rust-clap-cargo-0.14) + (name "rust-clap-cargo") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap-cargo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r2f4ad1vpaljrfbyfsv986qiwmll0iask4sdvwllka658s22grq")))) + (arguments + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.17) + ("rust-clap" ,rust-clap-4)))))) + (define-public rust-clap-complete-4 (package (name "rust-clap-complete") - (version "4.5.29") - (source (origin - (method url-fetch) - (uri (crate-uri "clap_complete" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13ivddyrv6dsrf5w8ibh59wiyxrhkdgyxhxqf0c8fq2c7w67cdw9")))) + (version "4.5.40") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap_complete" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sdf0gw2k5cib7n66hm0k7k0dlys4i041a35s0r2vv9v7qz6cbmc")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-clap" ,rust-clap-4) - ("rust-clap-lex" ,rust-clap-lex-0.7) - ("rust-is-executable" ,rust-is-executable-1) - ("rust-shlex" ,rust-shlex-1)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-4) - ("rust-completest" ,rust-completest-0.4) - ("rust-completest-pty" ,rust-completest-pty-0.5) - ("rust-snapbox" ,rust-snapbox-0.6) - ("rust-trycmd" ,rust-trycmd-0.15)))) - (home-page "https://github.com/clap-rs/clap/tree/master/clap_complete") - (synopsis "Generate shell completion scripts for your @code{clap::Command}") + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-clap-lex" ,rust-clap-lex-0.7) + ("rust-completest" ,rust-completest-0.4) + ("rust-completest-pty" ,rust-completest-pty-0.5) + ("rust-is-executable" ,rust-is-executable-1) + ("rust-shlex" ,rust-shlex-1)) + #:cargo-development-inputs (("rust-automod" ,rust-automod-1) + ("rust-clap" ,rust-clap-4) + ("rust-snapbox" ,rust-snapbox-0.6) + ("rust-trycmd" ,rust-trycmd-0.15)))) + (home-page "https://github.com/clap-rs/clap") + (synopsis "Generate shell completion scripts for your clap::Command") (description - "Generate shell completion scripts for your @code{clap::Command}.") + "This package provides Generate shell completion scripts for your clap::Command.") (license (list license:expat license:asl2.0)))) (define-public rust-clap-complete-3 @@ -14097,6 +12768,79 @@ Command Line Argument Parser.") for programs written with Clap.") (license (list license:expat license:asl2.0)))) +(define-public rust-clap-complete-command-0.6 + (package + (name "rust-clap-complete-command") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap_complete_command" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qhv99j7msqyw7j17hswqwpqbdvqawy8l7ip6rnnh5930n61k3ns")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-carapace-spec-clap" ,rust-carapace-spec-clap-1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-complete-fig" ,rust-clap-complete-fig-4) + ("rust-clap-complete-nushell" ,rust-clap-complete-nushell-4)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4)))) + (home-page "https://github.com/nihaals/clap-complete-command") + (synopsis + "Reduces boilerplate for adding a shell completion command to Clap") + (description "This package reduces boilerplate for adding a shell completion +command to Clap.") + (license license:expat))) + +(define-public rust-clap-complete-command-0.5 + (package + (inherit rust-clap-complete-command-0.6) + (name "rust-clap-complete-command") + (version "0.5.1") + (source (origin + (method url-fetch) + (uri (crate-uri "clap_complete_command" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0gcsj6ls8y0jpjp5172gdqwx5zj6gm4wdgrqysglr3d73qvrad0q")))) + (arguments + `(#:cargo-inputs + (("rust-carapace-spec-clap" ,rust-carapace-spec-clap-0.1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-complete-fig" ,rust-clap-complete-fig-4) + ("rust-clap-complete-nushell" ,rust-clap-complete-nushell-0.1)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4)))))) + +(define-public rust-clap-complete-fig-4 + (package + (name "rust-clap-complete-fig") + (version "4.5.2") + (source (origin + (method url-fetch) + (uri (crate-uri "clap_complete_fig" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sy88ybw33ba7qj02caxr9jv03wq1f8rdbrbqw81i5gkiwn1156l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-4) + ("rust-snapbox" ,rust-snapbox-0.6)))) + (home-page "https://github.com/clap-rs/clap/tree/master/clap_complete_fig") + (synopsis "Generator library used with clap for Fig completion scripts") + (description + "This package provides a generator library used with clap for Fig +completion scripts.") + (license (list license:expat license:asl2.0)))) + (define-public rust-clap-complete-fig-3 (package (name "rust-clap-complete-fig") @@ -14122,17 +12866,106 @@ for programs written with Clap.") with Clap to generate Fig completion scripts.") (license (list license:expat license:asl2.0)))) +(define-public rust-clap-complete-nushell-4 + (package + (name "rust-clap-complete-nushell") + (version "4.5.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap_complete_nushell" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12miqxh9g7q37w11bgv55b32s0hdf6avf0lhagzc5psp6icv3a66")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-completest" ,rust-completest-0.4) + ("rust-completest-nu" ,rust-completest-nu-0.4)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-snapbox" ,rust-snapbox-0.6)))) + (home-page + "https://github.com/clap-rs/clap/tree/master/clap_complete_nushell") + (synopsis "Generator library used with clap for Nushell completion scripts") + (description + "This package provides a generator library used with clap for Nushell +completion scripts.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-clap-complete-nushell-0.1 + (package + (inherit rust-clap-complete-nushell-4) + (name "rust-clap-complete-nushell") + (version "0.1.10") + (source (origin + (method url-fetch) + (uri (crate-uri "clap_complete_nushell" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0b15s7d9xpqjr1fpj8lmcv6nhgbhxvm0rzbh3cavv0xawvsl3yn7")))) + (arguments + `(#:cargo-inputs + (("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4)) + #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.4)))))) + +(define-public rust-clap-derive-4 + (package + (name "rust-clap-derive") + (version "4.5.18") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ardb26bvcpg72q9myr7yir3a8c83gx7vxk1cccabsd9n73s1ija")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + `(("rust-heck" ,rust-heck-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://clap.rs/") + (synopsis "Procedural macro crate for Clap") + (description + "This package provides the procedural macro crate for Clap.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-clap-derive-3 + (package + (inherit rust-clap-derive-4) + (name "rust-clap-derive") + (version "3.2.25") + (source + (origin + (method url-fetch) + (uri (crate-uri "clap_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "025hh66cyjk5xhhq8s1qw5wkxvrm8hnv5xwwksax7dy8pnw72qxf")))) + (arguments + (list #: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)))))) + (define-public rust-clap-lex-0.7 (package (name "rust-clap-lex") - (version "0.7.2") + (version "0.7.4") (source (origin (method url-fetch) (uri (crate-uri "clap_lex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15zcrc2fa6ycdzaihxghf48180bnvzsivhf0fmah24bnnaf76qhl")))) + (base32 "19nwfls5db269js5n822vkc8dw0wjq2h1wf0hgr06ld2g52d2spl")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs (("rust-automod" ,rust-automod-1)))) @@ -14205,14 +13038,14 @@ stream of tokens.") (define-public rust-clap-mangen-0.2 (package (name "rust-clap-mangen") - (version "0.2.23") + (version "0.2.24") (source (origin (method url-fetch) (uri (crate-uri "clap_mangen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ssfnb9fihhdf3xjlxslhqsrnlc4h8v8vkag4zildspv9pyiax7i")))) + "1psbhrshcyz4ydxgjny338l4ijs4ys1ppg893iqshksxvjzrrbpv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -14227,26 +13060,6 @@ stream of tokens.") (description "This package provides a manpage generator for clap.") (license (list license:expat license:asl2.0)))) -(define-public rust-clap-mangen-0.1 - (package - (inherit rust-clap-mangen-0.2) - (name "rust-clap-mangen") - (version "0.1.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "clap_mangen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zrpsp2lfrm1cgwsi7vlv9xlk4nbxrwnqksfbrgqsf3jbb080l8h")))) - (arguments - `(#:cargo-inputs - (("rust-clap" ,rust-clap-3) - ("rust-roff" ,rust-roff-0.2)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-3) - ("rust-snapbox" ,rust-snapbox-0.2)))))) - (define-public rust-clap-utilities-0.2 (package (name "rust-clap-utilities") @@ -14297,6 +13110,25 @@ stream of tokens.") Clap.") (license (list license:expat license:asl2.0)))) +(define-public rust-claxon-0.4 + (package + (name "rust-claxon") + (version "0.4.3") + (source (origin + (method url-fetch) + (uri (crate-uri "claxon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1206mxvw833ysg10029apcsjjwly8zmsvksgza5cm7ma4ikzbysb")))) + (build-system cargo-build-system) + (arguments + (list #:skip-build? #t)) ; Cut the dependency graph. + (home-page "https://github.com/ruuda/claxon#readme") + (synopsis "FLAC decoding library") + (description "This package provides a FLAC decoding library.") + (license license:asl2.0))) + (define-public rust-clearscreen-2 (package (name "rust-clearscreen") @@ -14393,7 +13225,7 @@ the OS-level clipboard.") colorization.") (license license:expat))) -(define-public rust-clippy-0.0 +(define-public rust-clippy-0.0.302 (package (name "rust-clippy") (version "0.0.302") @@ -14447,28 +13279,6 @@ a file (from a path) and for all three stdio streams, if they are piped from or to a file as well.") (license (list license:expat license:asl2.0)))) -(define-public rust-clircle-0.3 - (package - (inherit rust-clircle-0.4) - (name "rust-clircle") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "clircle" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15p36klnsgjimfswi0mjc7wsh4b662v7gbfinh56ipk3bacbv2z6")))) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-nix" ,rust-nix-0.19) - ("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-close-fds-0.3 (package (name "rust-close-fds") @@ -14514,7 +13324,7 @@ descriptors.") contains all syscalls and related types.") (license license:bsd-2))) -(define-public rust-cloudabi-0.0 +(define-public rust-cloudabi-0.0.3 (package (inherit rust-cloudabi-0.1) (name "rust-cloudabi") @@ -14531,34 +13341,6 @@ contains all syscalls and related types.") `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)))))) -(define-public rust-cloudflare-zlib-sys-0.3 - (package - (name "rust-cloudflare-zlib-sys") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cloudflare-zlib-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vyd0l0vprvh9hc1ikllybrk8xc0lz9f509d2xgxgrpyxp8vch10")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/cloudflare/zlib") - (synopsis - "Cloudflare fork of zlib with massive performance improvements") - (description - "Cloudflare fork of zlib with massive performance improvements.") - (license - (list license:expat - license:asl2.0 - license:zlib)))) - (define-public rust-clru-0.6 (package (name "rust-clru") @@ -14703,34 +13485,6 @@ implement this for new programming languages! The diagnostics easy and relatively painless for everyone!") (license license:asl2.0))) -(define-public rust-codespan-reporting-0.9 - (package - (inherit rust-codespan-reporting-0.11) - (name "rust-codespan-reporting") - (version "0.9.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "codespan-reporting" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07g86hv1lp5bbr6w6hsa3mgdmavs36igc7k5pi1fvc86ad2n41vf")))) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)) - #:cargo-development-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-insta" ,rust-insta-0.16) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-peg" ,rust-peg-0.6) - ("rust-rustyline" ,rust-rustyline-6) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-unindent" ,rust-unindent-0.1)))))) - (define-public rust-codspeed-2 (package (name "rust-codspeed") @@ -14824,21 +13578,20 @@ diagnostics easy and relatively painless for everyone!") sets of intervals.") (license license:expat))) -(define-public rust-color-backtrace-0.5 +(define-public rust-color-backtrace-0.6 (package (name "rust-color-backtrace") - (version "0.5.1") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "color-backtrace" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11fn3snykx90w3nznzrcf4r164zmhk790asx0kzryf4r7i308v6d")))) + (base32 "183y2b0b4q14zq1nr2mc9sxld9xnvq28531qkwvp21hc4w5dh3qm")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) - ("rust-backtrace" ,rust-backtrace-0.3) + `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) ("rust-regex" ,rust-regex-1) ("rust-termcolor" ,rust-termcolor-1)))) (home-page "https://github.com/athre0z/color-backtrace") @@ -14846,6 +13599,31 @@ sets of intervals.") (description "This package provides colorful panic backtraces.") (license (list license:expat license:asl2.0)))) +(define-public rust-color-backtrace-0.5 + (package + (inherit rust-color-backtrace-0.6) + (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")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; https://github.com/eyre-rs/eyre/pull/175 + ;; gimli-symbolize was deprecated in backtrace in ~2022 + ;; and was folded into backtrace's std feature set. + (substitute* "Cargo.toml" + ((".*gimli-symbolize.*") "")))))) + (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)))))) + (define-public rust-color-eyre-0.6 (package (name "rust-color-eyre") @@ -14891,6 +13669,45 @@ sets of intervals.") and well formatted error reports for all kinds of errors.") (license (list license:expat license:asl2.0)))) +(define-public rust-color-eyre-0.5 + (package + (inherit rust-color-eyre-0.6) + (name "rust-color-eyre") + (version "0.5.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "color-eyre" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dspj58bk57f9hiqlvbz25rik92i4a95iwa2dl4pg8g8grlqa60z")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; https://github.com/eyre-rs/eyre/pull/175 + ;; gimli-symbolize was deprecated in backtrace in ~2022 + ;; and was folded into backtrace's std feature set. + (substitute* "Cargo.toml" + ((".*gimli-symbolize.*") "")))))) + (arguments + `(#:cargo-test-flags '("--" + "--skip=test_error_backwards_compatibility" + "--skip=test_panic_backwards_compatibility") + #:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-color-spantrace" ,rust-color-spantrace-0.1) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-indenter" ,rust-indenter-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-owo-colors" ,rust-owo-colors-1) + ("rust-tracing-error" ,rust-tracing-error-0.1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-ansi-parser" ,rust-ansi-parser-0.6) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) + (define-public rust-color-print-0.3 (package (name "rust-color-print") @@ -14988,6 +13805,28 @@ colors.") based on color-backtrace.") (license (list license:expat license:asl2.0)))) +(define-public rust-color-spantrace-0.1 + (package + (inherit rust-color-spantrace-0.2) + (name "rust-color-spantrace") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "color-spantrace" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lb2li71zvpxp80nck98gcqbqm3dnmp43pnlvm52z9x8livy9vmn")))) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-owo-colors" ,rust-owo-colors-1) + ("rust-tracing-core" ,rust-tracing-core-0.1) + ("rust-tracing-error" ,rust-tracing-error-0.1)) + #:cargo-development-inputs + (("rust-ansi-parser" ,rust-ansi-parser-0.6) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2)))))) + (define-public rust-colorchoice-1 (package (name "rust-colorchoice") @@ -15052,6 +13891,26 @@ based on color-backtrace.") #:cargo-development-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) ("rust-rspec" ,rust-rspec-1.0.0-beta.3)))))) +(define-public rust-colorz-1 + (package + (name "rust-colorz") + (version "1.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "colorz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yq6wvrajh73b9hwjr03brc2znhr1x1nym6bd5ry68c8g72kgsvc")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-supports-color" ,rust-supports-color-3)))) + (home-page "https://github.com/RustyYato/colorz") + (synopsis "terminal text-coloring library") + (description "This package provides a terminal text-coloring library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-combine-4 (package (name "rust-combine") @@ -15232,25 +14091,6 @@ wrapping.") ("rust-strum-macros" ,rust-strum-macros-0.21) ("rust-unicode-width" ,rust-unicode-width-0.1)))))) -(define-public rust-comfy-table-1 - (package - (inherit rust-comfy-table-4) - (name "rust-comfy-table") - (version "1.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "comfy-table" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1y6lc8h2lyyrrrdc36fz7brwyjz5l9w4nld4qx9mlacfibm8i92j")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-crossterm" ,rust-crossterm-0.19) - ("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") @@ -15294,27 +14134,57 @@ process group.") ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))))) -(define-public rust-common-path-1 +(define-public rust-compact-str-0.8 (package - (name "rust-common-path") - (version "1.0.0") + (name "rust-compact-str") + (version "0.8.1") (source (origin (method url-fetch) - (uri (crate-uri "common-path" version)) + (uri (crate-uri "compact_str" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00firjly5xpb5hhmivnnhwakr1cwbqv8ckzyj0vbxczl89czg0i3")))) + (base32 "0cmgp61hw4fwaakhilwznfgncw2p4wkbvz6dw3i7ibbckh3c8y9v")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://gitlab.com/pwoolcoc/common-path") - (synopsis "Find the common prefix between a set of paths") + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-borsh" ,rust-borsh-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-castaway" ,rust-castaway-0.2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-diesel" ,rust-diesel-2) + ("rust-itoa" ,rust-itoa-1) + ("rust-markup" ,rust-markup-0.13) + ("rust-proptest" ,rust-proptest-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-sqlx" ,rust-sqlx-0.7) + ("rust-static-assertions" ,rust-static-assertions-1)) + #:cargo-development-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-test-case" ,rust-test-case-3) + ("rust-test-strategy" ,rust-test-strategy-0.3)))) + (home-page "https://github.com/ParkMyCar/compact_str") + (synopsis "String type that stores strings on the stack, when possible") (description - "Common path finds the common prefix between a set of paths.") - (license (list license:expat license:asl2.0)))) + "This package provides a memory-efficient string type that transparently +stores strings on the stack, when possible.") + (license license:expat))) (define-public rust-compact-str-0.7 (package + (inherit rust-compact-str-0.8) (name "rust-compact-str") (version "0.7.1") (source (origin @@ -15328,7 +14198,6 @@ process group.") #~(begin (use-modules (guix build utils)) (substitute* "Cargo.toml" (("1\\.0\\.\\*") "1.0.0")))))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) @@ -15354,182 +14223,7 @@ process group.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-test-case" ,rust-test-case-2) - ("rust-test-strategy" ,rust-test-strategy-0.2)))) - (home-page "https://github.com/ParkMyCar/compact_str") - (synopsis "String type that stores strings on the stack, when possible") - (description - "This package provides a memory-efficient string type that transparently -stores strings on the stack, when possible.") - (license license:expat))) - -(define-public rust-compound-duration-1 - (package - (name "rust-compound-duration") - (version "1.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "compound_duration" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0rb5kasd7044xxb73wz2qqxv6iwawp9gipvqhya8yybafh7a679r")))) - (build-system cargo-build-system) - (home-page "https://docs.rs/compound_duration/latest/compound_duration/") - (synopsis "Convert seconds to compound duration") - (description - "Convert seconds to compound duration, such as: week, days, hours, -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") - (version "0.3.0") - (source (origin - (method url-fetch) - (uri (crate-uri "const-cstr" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19ij6m8s16d0i7vma535l7w4x8bcanjcxs7c6n7sci86ydghnggd")))) - (build-system cargo-build-system) - (home-page "https://github.com/cybergeek94/const-cstr") - (synopsis "Create static C-compatible strings from Rust string literals") - (description - "This crate lets you create static C-compatible strings from Rust string -literals.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-const-fn-assert-0.1 - (package - (name "rust-const-fn-assert") - (version "0.1.2") - (source (origin - (method url-fetch) - (uri (crate-uri "const_fn_assert" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1451yxndri5zj95lyjzckj7m3qlpyj8ibp3pb8bbbxrl7zr19mi7")))) - (build-system cargo-build-system) - (home-page "https://github.com/powlpy/const_fn_assert") - (synopsis "Assertions for const functions") - (description "Assertions for const functions.") - (license license:expat))) - -(define-public rust-const-format-0.2 - (package - (name "rust-const-format") - (version "0.2.32") - (source - (origin - (method url-fetch) - (uri (crate-uri "const_format" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wvns8mzqwkyciwr00p2g5g4ak7zz8m473di85srj11xmz3i98p3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags - '("--release" "--features=__test") - #:cargo-inputs - (("rust-const-format-proc-macros" ,rust-const-format-proc-macros-0.2) - ("rust-konst" ,rust-konst-0.2)) - #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) - ("rust-fastrand" ,rust-fastrand-1)))) - (home-page "https://github.com/rodrimati1992/const_format_crates/") - (synopsis "Compile-time string formatting") - (description "This package provides compile-time string formatting.") - (license license:zlib))) - -(define-public rust-const-format-proc-macros-0.2 - (package - (name "rust-const-format-proc-macros") - (version "0.2.32") - (source - (origin - (method url-fetch) - (uri (crate-uri "const_format_proc_macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0015dzbjbd773nn6096dwqv11fm8m3gy4a4a56cz5x10zl4gzxn7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-unicode-xid" ,rust-unicode-xid-0.2)) - #:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1)))) - (home-page "https://github.com/rodrimati1992/const_format_crates/") - (synopsis "Implementation detail of the @code{const_format} crate") - (description "Implementation detail of the @code{const_format} crate.") - (license license:zlib))) - -(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))) + ("rust-test-strategy" ,rust-test-strategy-0.2)))))) ;; This package requires features which are unavailable ;; on the stable releases of Rust. @@ -15581,8 +14275,44 @@ need compiler-rt intrinsics.") (description "This package provides a triggerable compiler error for Rust.") (license license:expat))) +(define-public rust-compiletest-rs-0.11 + (package + (name "rust-compiletest-rs") + (version "0.11.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "compiletest_rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k60xaazc2ar1ycp1xiyj2am3rjdl9ww1w2kmmyablpw0n8zwl7i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-diff" ,rust-diff-0.1) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-miow" ,rust-miow-0.6) + ("rust-regex" ,rust-regex-1) + ("rust-rustfix" ,rust-rustfix-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tester" ,rust-tester-0.9) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) + (home-page "https://github.com/Manishearth/compiletest-rs") + (synopsis "Extraction of the compiletest utility from the Rust compiler") + (description + "This package provides an extraction of the compiletest utility from the +Rust compiler.") + (license (list license:expat license:asl2.0)))) + (define-public rust-compiletest-rs-0.10 (package + (inherit rust-compiletest-rs-0.11) (name "rust-compiletest-rs") (version "0.10.2") (source @@ -15592,7 +14322,6 @@ need compiler-rt intrinsics.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1mn0v8qax92pl9kdf2csah79jyigzvndg8mil6rpn97rpkhzw9bj")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-diff" ,rust-diff-0.1) @@ -15609,14 +14338,7 @@ need compiler-rt intrinsics.") ("rust-serde-json" ,rust-serde-json-1) ("rust-tempfile" ,rust-tempfile-3) ("rust-tester" ,rust-tester-0.9) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/Manishearth/compiletest-rs") - (synopsis - "Extraction of the compiletest utility from the Rust compiler") - (description - "This package provides an extraction of the compiletest utility from the -Rust compiler.") - (license (list license:asl2.0 license:expat)))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-compiletest-rs-0.9 (package @@ -15700,6 +14422,44 @@ Rust compiler.") "This package provides running completions for your program.") (license (list license:expat license:asl2.0)))) +(define-public rust-completest-nu-0.4 + (package + (name "rust-completest-nu") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "completest-nu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08vcq18m92xlsfyaikks1ql3ipj42gqa2psnr9hmmnlcnkr1pk7z")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ;; Allow any version of nushell we have packaged: + (("0\\.88\\.1") "*") + ;; Why this version of reedline specifically? + ;; Make sure it matches the version used by nushell. + (("0\\.27\\.1") "*")))))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Incompatible with the current version of nushell. + #:cargo-inputs (("rust-completest" ,rust-completest-0.4) + ("rust-dunce" ,rust-dunce-1) + ("rust-nu-cli" ,rust-nu-cli-0.101) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.101) + ("rust-nu-command" ,rust-nu-command-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-test-support" ,rust-nu-test-support-0.101) + ("rust-reedline" ,rust-reedline-0.38)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/assert-rs/completest") + (synopsis "Run completions for your program") + (description "This package provides run completions for your program.") + (license (list license:expat license:asl2.0)))) + (define-public rust-completest-pty-0.5 (package (name "rust-completest-pty") @@ -15722,6 +14482,25 @@ Rust compiler.") "This package provides running completions for your program.") (license (list license:expat license:asl2.0)))) +(define-public rust-compound-duration-1 + (package + (name "rust-compound-duration") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "compound_duration" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rb5kasd7044xxb73wz2qqxv6iwawp9gipvqhya8yybafh7a679r")))) + (build-system cargo-build-system) + (home-page "https://docs.rs/compound_duration/latest/compound_duration/") + (synopsis "Convert seconds to compound duration") + (description + "Convert seconds to compound duration, such as: week, days, hours, +minutes, seconds.") + (license license:bsd-3))) + (define-public rust-comrak-0.18 (package (name "rust-comrak") @@ -15757,36 +14536,6 @@ Rust compiler.") Markdown parser and formatter written in Rust.") (license license:bsd-2))) -(define-public rust-comrak-0.12 - (package - (inherit rust-comrak-0.18) - (name "rust-comrak") - (version "0.12.1") - (source (origin - (method url-fetch) - (uri (crate-uri "comrak" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0x2f1qz64i3ni7sk87whc3bvp27ps1wxn0ia47qlvsrk39p4fg7z")))) - (arguments - (list #:cargo-inputs - `(("rust-clap" ,rust-clap-2) - ("rust-entities" ,rust-entities-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pest" ,rust-pest-2) - ("rust-pest-derive" ,rust-pest-derive-2) - ("rust-regex" ,rust-regex-1) - ("rust-shell-words" ,rust-shell-words-1) - ("rust-syntect" ,rust-syntect-4) - ("rust-twoway" ,rust-twoway-0.2) - ("rust-typed-arena" ,rust-typed-arena-1) - ("rust-unicode-categories" ,rust-unicode-categories-0.1) - ("rust-xdg" ,rust-xdg-2)) - #:cargo-development-inputs - `(("rust-propfuzz" ,rust-propfuzz-0.0.1) - ("rust-timebomb" ,rust-timebomb-0.1)))))) - (define-public rust-concat-idents-1 (package (name "rust-concat-idents") @@ -15811,6 +14560,28 @@ Markdown parser and formatter written in Rust.") everywhere.") (license (list license:expat license:asl2.0)))) +(define-public rust-concat-string-1 + (package + (name "rust-concat-string") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "concat-string" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02c6hfxsvs1ff2j58f3qzr526w1yg8d2nf6yyjv81ixgbz5vwfbl")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f)) ; Tests don't run with current versions of rust. + (home-page "https://github.com/FaultyRAM/concat-string") + (synopsis + "Provides macros for concatenating string slices into owned strings") + (description + "This package provides macros for concatenating string slices into +owned strings.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-concolor-0.0.11 (package (name "rust-concolor") @@ -16006,6 +14777,26 @@ queue.") (("rust-easy-parallel" ,rust-easy-parallel-3) ("rust-fastrand" ,rust-fastrand-1)))))) +(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-config-0.13 (package (name "rust-config") @@ -16132,19 +14923,20 @@ configuration files.") (define-public rust-configparser-3 (package (name "rust-configparser") - (version "3.0.3") + (version "3.1.0") (source (origin (method url-fetch) (uri (crate-uri "configparser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0dwjni8z9v26ysn7yqw3ickvqbrwjd0cv1ag20manlia990nxrg0")))) + "16v47b7lknb35ragwhj9gzgwfpxs34vn2b97hhaky30ry1r34zp5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-indexmap" ,rust-indexmap-2)))) + (("rust-indexmap" ,rust-indexmap-2) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/QEDK/configparser-rs") (synopsis "Simple parsing utility for INI and ini-style syntax") (description @@ -16153,31 +14945,22 @@ dependencies that allows you to parse INI and ini-style syntax. You can use this to write Rust programs which can be customized by end users easily.") (license (list license:expat license:lgpl3+)))) -(define-public rust-configparser-2 - (package - (inherit rust-configparser-3) - (name "rust-configparser") - (version "2.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "configparser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13zcjw2jlcc73fd1lcjmb2vzh3ckankin490m24xa96i2vj1w87p")))) - (arguments `()))) - (define-public rust-console-0.15 (package (name "rust-console") - (version "0.15.5") + (version "0.15.8") (source (origin (method url-fetch) (uri (crate-uri "console" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0q5dwppyn1zsj5h9zjxfzah8l91y7cyw270m6hz7x9vhi6z9zmy3")))) + (base32 "1sz4nl9nz8pkmapqni6py7jxzi7nzqjxzb3ya4kxvmkb0zy867qf")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ;; break-dead-code was removed from proptest in 1.3.0. + ((".*break-dead-code.*") "")))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -16185,7 +14968,7 @@ this to write Rust programs which can be customized by end users easily.") ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-windows-sys" ,rust-windows-sys-0.42)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1) ("rust-regex" ,rust-regex-1)))) @@ -16266,31 +15049,6 @@ this to write Rust programs which can be customized by end users easily.") ("rust-winapi" ,rust-winapi-0.3) ("rust-winapi-util" ,rust-winapi-util-0.1)))))) -(define-public rust-console-0.9 - (package - (inherit rust-console-0.11) - (name "rust-console") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "console" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h765951c9mywff534f0191slazykmif4290g2yarcwhd2cg7q25")))) - (arguments - `(#:cargo-inputs - (("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-termios" ,rust-termios-0.3) - ("rust-encode-unicode" ,rust-encode-unicode-0.3) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-clicolors-control" ,rust-clicolors-control-1) - ("rust-regex" ,rust-regex-1) - ("rust-lazy-static" ,rust-lazy-static-1)))))) - (define-public rust-console-0.7 (package (name "rust-console") @@ -16391,29 +15149,23 @@ the browser's console.") ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) ("rust-web-sys" ,rust-web-sys-0.3)))))) -(define-public rust-console-log-0.1 +(define-public rust-const-cstr-0.3 (package - (name "rust-console-log") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "console_log" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0j1wd2885m3245bhsb2qjvw08lzplbi1rgg2v3yv0hbljk972y0y")))) + (name "rust-const-cstr") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (crate-uri "const-cstr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "19ij6m8s16d0i7vma535l7w4x8bcanjcxs7c6n7sci86ydghnggd")))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-web-sys" ,rust-web-sys-0.3)))) - (home-page "https://github.com/iamcodemaker/console_log") - (synopsis "Route Rust log messages to the browser's console") + (home-page "https://github.com/cybergeek94/const-cstr") + (synopsis "Create static C-compatible strings from Rust string literals") (description - "This package provides a logging facility that routes Rust log messages to -the browser's console.") + "This crate lets you create static C-compatible strings from Rust string +literals.") (license (list license:expat license:asl2.0)))) (define-public rust-const-fn-0.4 @@ -16435,6 +15187,54 @@ the browser's console.") const functions with conditional compilations.") (license (list license:asl2.0 license:expat)))) +(define-public rust-const-format-0.2 + (package + (name "rust-const-format") + (version "0.2.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_format" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wvns8mzqwkyciwr00p2g5g4ak7zz8m473di85srj11xmz3i98p3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--features=__test") + #:cargo-inputs + (("rust-const-format-proc-macros" ,rust-const-format-proc-macros-0.2) + ("rust-konst" ,rust-konst-0.2)) + #:cargo-development-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-fastrand" ,rust-fastrand-1)))) + (home-page "https://github.com/rodrimati1992/const_format_crates/") + (synopsis "Compile-time string formatting") + (description "This package provides compile-time string formatting.") + (license license:zlib))) + +(define-public rust-const-format-proc-macros-0.2 + (package + (name "rust-const-format-proc-macros") + (version "0.2.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "const_format_proc_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0015dzbjbd773nn6096dwqv11fm8m3gy4a4a56cz5x10zl4gzxn7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-unicode-xid" ,rust-unicode-xid-0.2)) + #:cargo-development-inputs (("rust-fastrand" ,rust-fastrand-1)))) + (home-page "https://github.com/rodrimati1992/const_format_crates/") + (synopsis "Implementation detail of the @code{const_format} crate") + (description "Implementation detail of the @code{const_format} crate.") + (license license:zlib))) + (define-public rust-const-oid-0.9 (package (name "rust-const-oid") @@ -16488,6 +15288,53 @@ encoding/decoding as well as heapless no_std (i.e., embedded) support.") (base32 "12vv7csqqjj0x1l5mf51lgqiw76k5c3mb1yzfhfcqysks2j2lvwx")))) (arguments `(#:skip-build? #t)))) +(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))) + (define-public rust-const-random-0.1 (package (name "rust-const-random") @@ -16552,17 +15399,63 @@ generation.") "This package provides a sha1 implementation for use in const contexts.") (license (list license:asl2.0 license:expat)))) +(define-public rust-const-str-0.5 + (package + (name "rust-const-str") + (version "0.5.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-str" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1agvan36a2fgks5w47kk8idym54rdk504p6q2nj8gf9v136cq61n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-const-str-proc-macro" ,rust-const-str-proc-macro-0.5)) + #:cargo-development-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-http" ,rust-http-1) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/Nugine/const-str") + (synopsis "Compile-time string operations") + (description "This package provides compile-time string operations.") + (license license:expat))) + +(define-public rust-const-str-proc-macro-0.5 + (package + (name "rust-const-str-proc-macro") + (version "0.5.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "const-str-proc-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gw4kzrrgrsgggi765xkq0svqdjw6rqp97nyyvp3a96dghbhfc1x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-http" ,rust-http-1) + ("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/Nugine/const-str") + (synopsis "Compile-time string operations") + (description "This package provides compile-time string operations.") + (license license:expat))) + (define-public rust-constant-time-eq-0.3 (package (name "rust-constant-time-eq") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "constant_time_eq" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1hl0y8frzlhpr58rh8rlg4bm53ax09ikj2i5fk7gpyphvhq4s57p")))) + (base32 "19nwwczii762pwlsm7bpizgjg8hkg1kqi32b2g4rglijklsbhx3w")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -16712,206 +15605,6 @@ semantics than those provided by @code{as} or @code{From}/@code{Into}.") #:cargo-inputs (("rust-rand" ,rust-rand-0.7)))))) -(define-public rust-cookie-0.18 - (package - (name "rust-cookie") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1y2ywf9isq0dwpj7m7jq7r1g9cs3xr2i6qipw5v030hj2kv1rn9w")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-aes-gcm" ,rust-aes-gcm-0.10) - ("rust-base64" ,rust-base64-0.21) - ("rust-hkdf" ,rust-hkdf-0.12) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.8) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-subtle" ,rust-subtle-2) - ("rust-time" ,rust-time-0.3) - ("rust-version-check" ,rust-version-check-0.9)))) - (home-page "https://github.com/SergioBenitez/cookie-rs") - (synopsis - "Crate for parsing HTTP cookie headers and managing a cookie jar") - (description - "Parse HTTP cookie headers and manage a cookie jar with this crate. -It supports signed and private (encrypted + signed) jars.") - ;; The user can choose either license. - (license (list license:expat license:asl2.0)))) - -(define-public rust-cookie-0.17 - (package - (inherit rust-cookie-0.18) - (name "rust-cookie") - (version "0.17.0") - (source (origin - (method url-fetch) - (uri (crate-uri "cookie" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "096c52jg9iq4lfcps2psncswv33fc30mmnaa2sbzzcfcw71kgyvy")))) - (arguments - `(#:cargo-inputs - (("rust-aes-gcm" ,rust-aes-gcm-0.10) - ("rust-base64" ,rust-base64-0.21) - ("rust-hkdf" ,rust-hkdf-0.12) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.8) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-subtle" ,rust-subtle-2) - ("rust-time" ,rust-time-0.3) - ("rust-version-check" ,rust-version-check-0.9)))))) - -(define-public rust-cookie-0.16 - (package - (inherit rust-cookie-0.17) - (name "rust-cookie") - (version "0.16.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yriqbf77iigrnp2gmf6m1r296bndv051dc1qc39w3bis1bwsng8")))) - (arguments - `(#:cargo-inputs - (("rust-aes-gcm" ,rust-aes-gcm-0.10) - ("rust-base64" ,rust-base64-0.20) - ("rust-hkdf" ,rust-hkdf-0.12) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rand" ,rust-rand-0.8) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-subtle" ,rust-subtle-2) - ("rust-time" ,rust-time-0.3) - ("rust-version-check" ,rust-version-check-0.9)))))) - -(define-public rust-cookie-0.15 - (package - (inherit rust-cookie-0.16) - (name "rust-cookie") - (version "0.15.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hlsi1hv5yrx4g92v5acha6yjz8dy1zj0pbppwynml44qpgjavpw")))) - (arguments - `(#: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.8) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-subtle" ,rust-subtle-2) - ("rust-time" ,rust-time-0.2) - ("rust-version-check" ,rust-version-check-0.9)))))) - -(define-public rust-cookie-0.14 - (package - (inherit rust-cookie-0.15) - (name "rust-cookie") - (version "0.14.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ldryjb41r8n0ar2pya0bajlxr8s4j59fjkmyi5ppg1932rdg983")))) - (arguments - `(#: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.8) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-time" ,rust-time-0.2) - ("rust-version-check" ,rust-version-check-0.9)))))) - -(define-public rust-cookie-0.12 - (package - (inherit rust-cookie-0.15) - (name "rust-cookie") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1mdvqixahcywvqp0y8k2skkgbpfhsp0w73l9mz93dcrx1gq091l8")))) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-ring" ,rust-ring-0.14) - ("rust-time" ,rust-time-0.1) - ("rust-url" ,rust-url-1)))))) - -(define-public rust-cookie-0.11 - (package - (inherit rust-cookie-0.12) - (name "rust-cookie") - (version "0.11.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1mwbcygk9als9h7bfp8fhax2ah278qamaz9l9p64in6iirv1h85y")))) - (arguments - `(#: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.8) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-time" ,rust-time-0.1)))))) - -(define-public rust-cookie-factory-0.3 - (package - (name "rust-cookie-factory") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie-factory" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sqjmw85ckqhppff6gjwmvjpkii35441a51xx7cv0ih3jy2fjv9r")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f - #:cargo-development-inputs (("rust-maplit" ,rust-maplit-1)))) - (home-page "https://github.com/rust-bakery/cookie-factory") - (synopsis "Combinator-based serialization library") - (description - "This package provides a serialization library with a combinator design -similar to the nom parser combinators library.") - (license license:expat))) - (define-public rust-coolor-0.8 (package (name "rust-coolor") @@ -16996,27 +15689,6 @@ the standard library.") contents of the OS-level clipboard.") (license (list license:expat license:asl2.0)))) -(define-public rust-copypasta-0.8 - (package - (inherit rust-copypasta-0.10) - (name "rust-copypasta") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "copypasta" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wmidz38581b1xzpzf466pdaw3xam7nlsn0klndfr973brkwhgqk")))) - (arguments - `(#:cargo-inputs - (("rust-clipboard-win" ,rust-clipboard-win-3) - ("rust-objc" ,rust-objc-0.2) - ("rust-objc-foundation" ,rust-objc-foundation-0.1) - ("rust-objc-id" ,rust-objc-id-0.1) - ("rust-smithay-clipboard" ,rust-smithay-clipboard-0.6) - ("rust-x11-clipboard" ,rust-x11-clipboard-0.7)))))) - (define-public rust-cordic-0.1 (package (name "rust-cordic") @@ -17037,6 +15709,72 @@ contents of the OS-level clipboard.") numbers using the CORDIC method.") (license license:bsd-3))) +(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 + (origin + (method url-fetch) + (uri (crate-uri "core_affinity" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07qpwyxps4gp3gci2p6c5h4cmcql7551bp91qgbv0ky3bh8h72kz")))) + (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)))))) + +(define-public rust-core-arch-0.1 + (package + (name "rust-core-arch") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "core_arch" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04vdvr9vj0f1cv2p54nsszmrrk9w1js4c0z4i0bdlajl1lydslim")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-development-inputs + (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2)))) + (home-page "https://github.com/rust-lang/stdarch") + (synopsis + "Rust's core library architecture-specific intrinsics") + (description + "@code{core::arch} - Rust's core library architecture-specific +intrinsics.") + (license (list license:expat license:asl2.0)))) + (define-public rust-core-error-0.0.0 (package (name "rust-core-error") @@ -17078,9 +15816,9 @@ numbers using the CORDIC method.") ("rust-static-assertions" ,rust-static-assertions-1)))) (home-page "https://github.com/rodrimati1992/core_extensions") (synopsis - "Extensions for core/std library types, and other miscelaneous features") + "Extensions for core/std library types, and other miscellaneous features") (description - "Extensions for core/std library types, and other miscelaneous features.") + "Extensions for core/std library types, and other miscellaneous features.") (license (list license:expat license:asl2.0)))) (define-public rust-core-extensions-0.1 @@ -17128,6 +15866,27 @@ numbers using the CORDIC method.") (description "Implementation detail of the @code{core_extensions} crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-core-maths-0.1 + (package + (name "rust-core-maths") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "core_maths" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18q9fwy80lk1lccam375skmsslryik00zkhsl850pidqrh2jbc73")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libm" ,rust-libm-0.2)))) + (home-page "https://github.com/robertbastian/core_maths") + (synopsis "Extension trait for full float functionality in `#[no_std]`") + (description + "This package provides an extension trait for full float functionality in +`#[no_std]` backed by `libm`.") + (license license:expat))) + (define-public rust-core2-0.4 (package (name "rust-core2") @@ -17163,201 +15922,25 @@ in @code{no_std}. Alloc support is optional.") (base32 "1wzzy5iazdk5caadxvjfwrd312rbg7a55a1zpmsdrhk3kfpa77r3")))) (arguments `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2)))))) -(define-public rust-cookie-store-0.20 - (package - (name "rust-cookie-store") - (version "0.20.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie_store" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xkc7fl1jik9ki13j9pjgyw51d0qd613srz1lv1qb0blpjmn2x1q")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-cookie" ,rust-cookie-0.17) - ("rust-idna" ,rust-idna-0.3) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-log" ,rust-log-0.4) - ("rust-publicsuffix" ,rust-publicsuffix-2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2)))) - (home-page "https://github.com/pfernie/cookie_store") - (synopsis "Cookie storage and retrieval") - (description "This package implements cookie storage and retrieval.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-cookie-store-0.19 - (package - (inherit rust-cookie-store-0.20) - (name "rust-cookie-store") - (version "0.19.1") - (source (origin - (method url-fetch) - (uri (crate-uri "cookie_store" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19vy19rvp3a68sgxkrv6bxxlrr2ggqp0176yqb3zhmi0g4sqz8fm")))) - (arguments - `(#:cargo-inputs - (("rust-cookie" ,rust-cookie-0.16) - ("rust-idna" ,rust-idna-0.3) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-log" ,rust-log-0.4) - ("rust-publicsuffix" ,rust-publicsuffix-2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2)))))) - -(define-public rust-cookie-store-0.16 - (package - (inherit rust-cookie-store-0.19) - (name "rust-cookie-store") - (version "0.16.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie_store" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kfrmxx9mi55dgbj8qgd8qbahvi1yjqwk05v0jm5y7zld6inljrf")))) - (arguments - `(#:cargo-inputs - (("rust-cookie" ,rust-cookie-0.16) - ("rust-idna" ,rust-idna-0.2) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-log" ,rust-log-0.4) - ("rust-publicsuffix" ,rust-publicsuffix-2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2)))))) - -(define-public rust-cookie-store-0.15 - (package - (inherit rust-cookie-store-0.16) - (name "rust-cookie-store") - (version "0.15.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie_store" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0z0navy9k0ivrdvz492q8c4nhd3iv5l77hwfppskdp1j15607xxk")))) - (arguments - `(#:cargo-inputs - (("rust-cookie" ,rust-cookie-0.15) - ("rust-idna" ,rust-idna-0.2) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-log" ,rust-log-0.4) - ("rust-publicsuffix" ,rust-publicsuffix-2) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.2) - ("rust-url" ,rust-url-2)))))) - -(define-public rust-cookie-store-0.12 - (package - (inherit rust-cookie-store-0.15) - (name "rust-cookie-store") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "cookie_store" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lqhmdwgnyvi1mjmw4rbgd02fwav4aabpg4vcld23d8c9g5dy61q")))) - (arguments - `(#:cargo-inputs - (("rust-cookie" ,rust-cookie-0.14) - ("rust-idna" ,rust-idna-0.2) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-log" ,rust-log-0.4) - ("rust-publicsuffix" ,rust-publicsuffix-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.2) - ("rust-url" ,rust-url-2)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))))) - -(define-public rust-core-affinity-0.8 +(define-public rust-count-instructions-0.1 (package - (name "rust-core-affinity") - (version "0.8.1") + (name "rust-count-instructions") + (version "0.1.4") (source (origin (method url-fetch) - (uri (crate-uri "core_affinity" version)) + (uri (crate-uri "count_instructions" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0113rfzyvjpl1camxnrf92pn9vakhn9zqvgir0wgrqawcgsr4a32")))) + (base32 "0ps0254pvx3nmnxs2v60kv7fqayh82r3jqypb4l3ql3i7s3rzr1n")))) (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 - (origin - (method url-fetch) - (uri (crate-uri "core_affinity" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07qpwyxps4gp3gci2p6c5h4cmcql7551bp91qgbv0ky3bh8h72kz")))) - (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)))))) - -(define-public rust-core-arch-0.1 - (package - (name "rust-core-arch") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "core_arch" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04vdvr9vj0f1cv2p54nsszmrrk9w1js4c0z4i0bdlajl1lydslim")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-development-inputs - (("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.2)))) - (home-page "https://github.com/rust-lang/stdarch") - (synopsis - "Rust's core library architecture-specific intrinsics") - (description - "@code{core::arch} - Rust's core library architecture-specific -intrinsics.") + (("rust-libc" ,rust-libc-0.2) + ("rust-rustix" ,rust-rustix-0.38)))) + (home-page "https://github.com/cesarb/count_instructions") + (synopsis "Counts the instructions executed within a single function") + (description "Counts the instructions executed within a single function.") (license (list license:expat license:asl2.0)))) (define-public rust-cov-mark-2 @@ -17380,109 +15963,47 @@ intrinsics.") (description "This package provides a Manual coverage marks.") (license (list license:expat license:asl2.0)))) -(define-public rust-count-instructions-0.1 +(define-public rust-cov-mark-1 (package - (name "rust-count-instructions") - (version "0.1.4") + (inherit rust-cov-mark-2) + (name "rust-cov-mark") + (version "1.1.0") (source (origin (method url-fetch) - (uri (crate-uri "count_instructions" version)) + (uri (crate-uri "cov-mark" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ps0254pvx3nmnxs2v60kv7fqayh82r3jqypb4l3ql3i7s3rzr1n")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-rustix" ,rust-rustix-0.38)))) - (home-page "https://github.com/cesarb/count_instructions") - (synopsis "Counts the instructions executed within a single function") - (description "Counts the instructions executed within a single function.") - (license (list license:expat license:asl2.0)))) + (base32 "1wv75ylrai556m388a40d50fxiyacmvm6qqz6va6qf1q04z3vylz")))) + (arguments `()))) -(define-public rust-countme-3 +(define-public rust-coverage-helper-0.2 (package - (name "rust-countme") - (version "3.0.0") + (name "rust-coverage-helper") + (version "0.2.2") (source (origin (method url-fetch) - (uri (crate-uri "countme" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "coverage-helper" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "10z4r1xx77sr8axp3lsgc0azidazwgnhpzig2gcx5dfrdl66wx03")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-dashmap" ,rust-dashmap-4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rustc-hash" ,rust-rustc-hash-1)))) - (home-page "https://github.com/matklad/countme") - (synopsis - "Counts the number of live instances of types") - (description - "This package provides a counts the number of live instances of types.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-cpal-0.13 - (package - (name "rust-cpal") - (version "0.13.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "cpal" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05j11vz8rw19gqqvpd48i7wvm6j77v8fwx5lwhlkckqjllv7h4bl")) - (snippet - #~(begin (use-modules (guix build utils)) - ;; Force cpal-0.13.5 to accept any version of jack, so - ;; that other packages like librespot-playback can use - ;; the one they want. - (substitute* "Cargo.toml.orig" - (("(jack = \\{ version = \").*(\", optional.*)" _ jack optional) - (string-append jack "*" optional)) - ;; Remove path for asio-sys, use packaged crate. - ((", path =.*,") ",")) - (copy-file "Cargo.toml.orig" "Cargo.toml"))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-alsa" ,rust-alsa-0.6) - ("rust-asio-sys" ,rust-asio-sys-0.2) - ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) - ("rust-coreaudio-rs" ,rust-coreaudio-rs-0.10) - ("rust-jack" ,rust-jack-0.8) - ("rust-jni" ,rust-jni-0.19) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mach" ,rust-mach-0.3) - ("rust-ndk" ,rust-ndk-0.6) - ("rust-ndk-glue" ,rust-ndk-glue-0.6) - ("rust-nix" ,rust-nix-0.23) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-oboe" ,rust-oboe-0.4) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-stdweb" ,rust-stdweb-0.1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-clap" ,rust-clap-3) - ("rust-hound" ,rust-hound-3) - ("rust-ringbuf" ,rust-ringbuf-0.2)))) - (native-inputs (list pkg-config)) - (inputs (list alsa-lib)) - (home-page "https://github.com/rustaudio/cpal") - (synopsis "Low-level cross-platform audio I/O library in pure Rust") - (description "Low-level cross-platform audio I/O library in pure Rust. -Supports Linux through either JACK or ALSA.") - (license license:asl2.0))) + (base32 "0knim97n8v0yhn82rm4dvn0gds4fbwzx6f2yjdsiwgdv2wbmax41")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "Cargo.toml" + ;; cfg_attr(coverage_nightly) breaks some cargo versions + ;; See issue: https://github.com/taiki-e/cargo-llvm-cov/issues/370 + (("\\[lints.rust\\]" all) + (string-append all "\n" + "unexpected_cfgs = { level = \"warn\", " + "check-cfg = ['cfg(coverage_nightly)'] }"))))))) + (build-system cargo-build-system) + (home-page "https://github.com/taiki-e/coverage-helper") + (synopsis "Helper for cargo-llvm-cov") + (description + "Helper for +@url{https://github.com/taiki-e/cargo-llvm-cov/issues/123, cargo-llvm-cov}.") + (license (list license:asl2.0 license:expat)))) (define-public rust-cpp-demangle-0.4 (package @@ -17530,14 +16051,14 @@ Supports Linux through either JACK or ALSA.") (define-public rust-cpufeatures-0.2 (package (name "rust-cpufeatures") - (version "0.2.11") + (version "0.2.16") (source (origin (method url-fetch) (uri (crate-uri "cpufeatures" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1l0gzsyy576n017g9bf0vkv5hhg9cpz1h1libxyfdlzcgbh0yhnf")))) + (base32 "1hy466fkhxjbb16i7na95wz8yr14d0kd578pwzj5lbkz14jh5f0n")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/RustCrypto/utils") @@ -17567,32 +16088,6 @@ to the @code{is_x86_feature_detected!} macro.") (description "This package has been replaced by the `cpufeatures` crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-cpuprofiler-0.0 - (package - (name "rust-cpuprofiler") - (version "0.0.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "cpuprofiler" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0az588yyl9r13w4k7xfdh5ckfaq52fwpjry2q2hblazxpjflgy23")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-error-chain" ,rust-error-chain-0.12) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (inputs - (list gperftools)) - (home-page "https://github.com/AtheMathmo/cpuprofiler") - (synopsis "Bindings to Google's cpu profiler") - (description "This package provides bindings to Google's cpu profiler.") - (license license:bsd-2))) - (define-public rust-crabgrind-0.1 (package (name "rust-crabgrind") @@ -17619,41 +16114,6 @@ to the @code{is_x86_feature_detected!} macro.") "This package provides Rust bindings to \"Valgrind Client Request\" interface.") (license license:expat))) -(define-public rust-cradle-0.2 - (package - (name "rust-cradle") - (version "0.2.2") - (source (origin - (method url-fetch) - (uri (crate-uri "cradle" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16n04y60jps91dsw5fs6p8zash052y82aclg57kkvm9320n155kh")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("version = \"=") "version = \"^")))))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-executable-path" ,rust-executable-path-1) - ("rust-gag" ,rust-gag-0.1) - ("rust-nix" ,rust-nix-0.22) - ("rust-rustversion" ,rust-rustversion-1)) - #:cargo-development-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-executable-path" ,rust-executable-path-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-unindent" ,rust-unindent-0.1)))) - (home-page "https://github.com/soenkehahn/cradle") - (synopsis "Execute child processes with ease") - (description "Execute child processes with ease.") - (license license:cc0))) - (define-public rust-crates-index-0.19 (package (name "rust-crates-index") @@ -17863,20 +16323,19 @@ to the @code{is_x86_feature_detected!} macro.") (define-public rust-crc-any-2 (package (name "rust-crc-any") - (version "2.3.12") + (version "2.5.0") (source (origin (method url-fetch) (uri (crate-uri "crc-any" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fq85y5akcadahnj5nqbs47qhgp5cpfn2z19zc3gp4wpxr3989kr")))) + (base32 "0wzs26q5cf29fhfnrkrjsr8dpai0rlm4im8b53by8rbrbzzwjbm6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-debug-helper" ,rust-debug-helper-0.3) - ("rust-heapless" ,rust-heapless-0.5)) + ("rust-heapless" ,rust-heapless-0.8)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) (home-page "https://magiclen.org/crc-any") @@ -17886,60 +16345,6 @@ providing the length of bits, expression, reflection, an initial value and a final xor value. It has many built-in CRC functions.") (license license:expat))) -(define-public rust-crc32fast-1 - (package - (name "rust-crc32fast") - (version "1.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "crc32fast" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1czp7vif73b8xslr3c9yxysmh9ws2r8824qda7j47ffs9pcnjxx9")))) - (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.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.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-crc64-2 - (package - (name "rust-crc64") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "crc64" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wwqdss36dmhz4fd0wynlaig463l4dwvr21db1fvf6aypapy61r7")))) - (build-system cargo-build-system) - (home-page "https://github.com/badboy/crc64-rs") - (synopsis "Rust CRC64 checksum implementation") - (description - "This package provides a CRC64 checksum implementation in Rust.") - (license license:bsd-3))) - -(define-public rust-crc64-1 - (package - (inherit rust-crc64-2) - (name "rust-crc64") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "crc64" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0469vp0q9431pqx1236g60if5q3xyxpv4h14smkd45dfzsa6aqjm")))))) - (define-public rust-crc-catalog-2 (package (name "rust-crc-catalog") @@ -17971,285 +16376,46 @@ http://reveng.sourceforge.net/crc-catalogue) expressed as simple Rust structs.") (sha256 (base32 "00qlxgzg15fnyx6nwviibz94rjw803l2avi2k3shjfx0dnsyvbnc")))))) -(define-public rust-criterion-0.5 - (package - (name "rust-criterion") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "criterion" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0bv9ipygam3z8kk6k771gh9zi0j0lb9ir0xi1pc075ljg80jvcgj")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) - (string-append "\"^" version))))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-anes" ,rust-anes-0.1) - ("rust-async-std" ,rust-async-std-1) - ("rust-cast" ,rust-cast-0.3) - ("rust-ciborium" ,rust-ciborium-0.2) - ("rust-clap" ,rust-clap-4) - ("rust-criterion-plot" ,rust-criterion-plot-0.5) - ("rust-csv" ,rust-csv-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-is-terminal" ,rust-is-terminal-0.4) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-oorandom" ,rust-oorandom-11) - ("rust-plotters" ,rust-plotters-0.3) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smol" ,rust-smol-1) - ("rust-tinytemplate" ,rust-tinytemplate-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-walkdir" ,rust-walkdir-2)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.5) - ("rust-futures" ,rust-futures-0.3) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://bheisler.github.io/criterion.rs/book/index.html") - (synopsis "Statistics-driven micro-benchmarking library") - (description - "This package provides a statistics-driven micro-benchmarking library.") - ;; The user can choose either license. - (license (list license:asl2.0 license:expat)))) - -(define-public rust-criterion-0.4 - (package - (inherit rust-criterion-0.5) - (name "rust-criterion") - (version "0.4.0") - (source (origin - (method url-fetch) - (uri (crate-uri "criterion" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jsl4r0yc3fpkyjbi8aa1jrm69apqq9rxwnjnd9brqmaq44nxiz7")))) - (arguments - `(#:cargo-inputs - (("rust-anes" ,rust-anes-0.1) - ("rust-async-std" ,rust-async-std-1) - ("rust-atty" ,rust-atty-0.2) - ("rust-cast" ,rust-cast-0.3) - ("rust-ciborium" ,rust-ciborium-0.2) - ("rust-clap" ,rust-clap-3) - ("rust-criterion-plot" ,rust-criterion-plot-0.5) - ("rust-csv" ,rust-csv-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-oorandom" ,rust-oorandom-11) - ("rust-plotters" ,rust-plotters-0.3) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smol" ,rust-smol-1) - ("rust-tinytemplate" ,rust-tinytemplate-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-walkdir" ,rust-walkdir-2)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.5) - ("rust-futures" ,rust-futures-0.3) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-criterion-0.3 - (package - (inherit rust-criterion-0.4) - (name "rust-criterion") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "criterion" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13yd64ah93gkbdv7qq4cr6rhgl9979jjcjk3gkhnav1b7glns7dh")))) - (arguments - `(#:cargo-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-atty" ,rust-atty-0.2) - ("rust-cast" ,rust-cast-0.3) - ("rust-clap" ,rust-clap-2) - ("rust-criterion-plot" ,rust-criterion-plot-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-oorandom" ,rust-oorandom-11) - ("rust-plotters" ,rust-plotters-0.3) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-cbor" ,rust-serde-cbor-0.11) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smol" ,rust-smol-1) - ("rust-tinytemplate" ,rust-tinytemplate-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-walkdir" ,rust-walkdir-2)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.5) - ("rust-futures" ,rust-futures-0.3) - ("rust-quickcheck" ,rust-quickcheck-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-criterion-0.2 - (package - (inherit rust-criterion-0.3) - (name "rust-criterion") - (version "0.2.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "criterion" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1543wlpc4p1kz7sqqa7ylr8bkdr8l4f34hy4bxj7krpkahwhaqq3")))) - (arguments - `(#:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-cast" ,rust-cast-0.2) - ("rust-clap" ,rust-clap-2) - ("rust-criterion-plot" ,rust-criterion-plot-0.3) - ("rust-csv" ,rust-csv-1) - ("rust-itertools" ,rust-itertools-0.8) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rand-core" ,rust-rand-core-0.3) - ("rust-rand-os" ,rust-rand-os-0.1) - ("rust-rand-xoshiro" ,rust-rand-xoshiro-0.1) - ("rust-rayon" ,rust-rayon-1) - ("rust-rayon-core" ,rust-rayon-core-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tinytemplate" ,rust-tinytemplate-1) - ("rust-walkdir" ,rust-walkdir-2)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.3) - ("rust-quickcheck" ,rust-quickcheck-0.8) - ("rust-rand" ,rust-rand-0.6) - ("rust-tempdir" ,rust-tempdir-0.3)))))) - -(define-public rust-criterion-cycles-per-byte-0.1 +(define-public rust-crc32fast-1 (package - (name "rust-criterion-cycles-per-byte") - (version "0.1.2") + (name "rust-crc32fast") + (version "1.4.2") (source (origin (method url-fetch) - (uri (crate-uri "criterion-cycles-per-byte" version)) + (uri (crate-uri "crc32fast" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "15iw8zvyilx6k3a7z79vpzmpm6kkyds4c1ng3jlwfc43axd4hd4d")))) - (build-system cargo-build-system) - (arguments - ;; error: criterion-cycles-per-byte currently relies on x86 or x86_64 - `(#:skip-build? ,(not (target-x86?)) - #:cargo-inputs - (("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://crates.io/crates/criterion-cycles-per-byte") - (synopsis "Measure time with CPU cycles for criterion") - (description "This package lets you measure time with CPU cycles for -criterion.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-criterion-plot-0.5 - (package - (name "rust-criterion-plot") - (version "0.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "criterion-plot" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1c866xkjqqhzg4cjvg01f8w6xc1j3j7s58rdksl52skq89iq4l3b")))) + "1czp7vif73b8xslr3c9yxysmh9ws2r8824qda7j47ffs9pcnjxx9")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-itertool-num" ,rust-itertools-num-0.1) - ("rust-num-complex" ,rust-num-complex-0.4) - ("rust-rand" ,rust-rand-0.8)) - #:cargo-inputs - (("rust-cast" ,rust-cast-0.3) - ("rust-itertools" ,rust-itertools-0.10)))) - (home-page "https://github.com/bheisler/criterion.rs") - (synopsis "Criterion's plotting library") - (description "This package provides criterion's plotting library.") - ;; The user can choose either license. + `(#: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.") (license (list license:expat license:asl2.0)))) -(define-public rust-criterion-plot-0.4 - (package - (inherit rust-criterion-plot-0.5) - (name "rust-criterion-plot") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "criterion-plot" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mys2zkizh5az6ax77m5aqifk0vz35rn0a6wykvmjx9gkzg9c2fh")))) - (arguments - `(#:cargo-inputs - (("rust-cast" ,rust-cast-0.2) - ("rust-itertools" ,rust-itertools-0.10)) - #:cargo-development-inputs - (("rust-itertools-num" ,rust-itertools-num-0.1) - ("rust-num-complex" ,rust-num-complex-0.2) - ("rust-rand" ,rust-rand-0.4)))))) - -(define-public rust-criterion-plot-0.3 +(define-public rust-crc64-2 (package - (inherit rust-criterion-plot-0.4) - (name "rust-criterion-plot") - (version "0.3.1") + (name "rust-crc64") + (version "2.0.0") (source (origin (method url-fetch) - (uri (crate-uri "criterion-plot" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "crc64" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "13pv09z4ryp70qyzablkibwa2mh6c2852qq1sjr9wjigvwnj3ybn")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-cast" ,rust-cast-0.2) - ("rust-itertools" ,rust-itertools-0.8)) - #:cargo-development-inputs - (("rust-itertools-num" ,rust-itertools-num-0.1) - ("rust-num-complex" ,rust-num-complex-0.2) - ("rust-rand" ,rust-rand-0.4)))))) + (base32 "1wwqdss36dmhz4fd0wynlaig463l4dwvr21db1fvf6aypapy61r7")))) + (build-system cargo-build-system) + (home-page "https://github.com/badboy/crc64-rs") + (synopsis "Rust CRC64 checksum implementation") + (description + "This package provides a CRC64 checksum implementation in Rust.") + (license license:bsd-3))) (define-public rust-critical-section-1 (package @@ -18716,8 +16882,48 @@ rasterizing glyphs, using native font engines whenever possible.") ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5) ("rust-winapi" ,rust-winapi-0.3)))))) +(define-public rust-crossterm-0.28 + (package + (name "rust-crossterm") + (version "0.28.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "crossterm" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1im9vs6fvkql0sr378dfr4wdm1rrkrvr22v4i8byz05k1dd9b7c2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9) + ("rust-filedescriptor" ,rust-filedescriptor-0.8) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-mio" ,rust-mio-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-serde" ,rust-serde-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-signal-hook-mio" ,rust-signal-hook-mio-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serial-test" ,rust-serial-test-2) + ("rust-temp-env" ,rust-temp-env-0.3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/crossterm-rs/crossterm") + (synopsis "Crossplatform terminal library for manipulating terminals") + (description + "This package provides a crossplatform terminal library for manipulating +terminals.") + (license license:expat))) + (define-public rust-crossterm-0.27 (package + (inherit rust-crossterm-0.28) (name "rust-crossterm") (version "0.27.0") (source @@ -18727,7 +16933,6 @@ rasterizing glyphs, using native font engines whenever possible.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1pr413ki440xgddlmkrc4j1bfx1h8rpmll87zn8ykja1bm2gwxpl")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -18747,13 +16952,7 @@ rasterizing glyphs, using native font engines whenever possible.") ("rust-futures-timer" ,rust-futures-timer-3) ("rust-serde-json" ,rust-serde-json-1) ("rust-serial-test" ,rust-serial-test-2) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/crossterm-rs/crossterm") - (synopsis "Crossplatform terminal library for manipulating terminals") - (description - "This package provides a crossplatform terminal library for manipulating -terminals.") - (license license:expat))) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-crossterm-0.26 (package @@ -19074,24 +17273,24 @@ number ``crunching``.") (description "This crate is a CSS color parser library.") (license (list license:expat license:asl2.0)))) -(define-public rust-cssparser-0.33 +(define-public rust-cssparser-0.34 (package (name "rust-cssparser") - (version "0.33.0") + (version "0.34.0") (source (origin (method url-fetch) (uri (crate-uri "cssparser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07i8k47fmym7kzs95qfhg6zrh4yyf2vl4460rmdyvyx06vck9scv")))) + (base32 "1qx3hha392szcl812l6hp0d4029gg8x62cl4nf0byqgdv0f6vimp")))) (build-system cargo-build-system) (arguments `(#: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-phf" ,rust-phf-0.11) ("rust-serde" ,rust-serde-1) ("rust-smallvec" ,rust-smallvec-1)) #:cargo-development-inputs (("rust-difference" ,rust-difference-2) @@ -19103,6 +17302,30 @@ number ``crunching``.") "This package contains a Rust implementation of CSS Syntax Level 3.") (license license:mpl2.0))) +(define-public rust-cssparser-0.33 + (package + (inherit rust-cssparser-0.34) + (name "rust-cssparser") + (version "0.33.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cssparser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07i8k47fmym7kzs95qfhg6zrh4yyf2vl4460rmdyvyx06vck9scv")))) + (arguments + `(#: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.31 (package (inherit rust-cssparser-0.33) @@ -19238,59 +17461,50 @@ number ``crunching``.") "This package provides the procedural macros for rust-cssparser.") (license license:mpl2.0))) -(define-public rust-csv-async-1 +(define-public rust-cstr-0.2 (package - (name "rust-csv-async") - (version "1.3.0") + (name "rust-cstr") + (version "0.2.12") (source (origin (method url-fetch) - (uri (crate-uri "csv-async" version)) + (uri (crate-uri "cstr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1w60k4pqm1lnbv0mbz1d1ypmkx487r0q36hyrrh84jkzs2qfazyk")))) + (base32 "0dj6ll9ry27kn4k0vvhlvbhn9dyyr9haxnd06bxaqnmfr01kjlk8")))) (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.") + `(#: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-csv-index-0.1 +(define-public rust-cstr-core-0.2 (package - (name "rust-csv-index") - (version "0.1.6") - (source (origin - (method url-fetch) - (uri (crate-uri "csv-index" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01048y84y0bakqm0x4y1svjv6lzc753b9q598xp7xgcqrdgi6x7j")))) + (name "rust-cstr-core") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "cstr_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fymp34mv7bix8m35pw3qs30b7879wmaym03ihfbzdl84plwa1r8")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-csv" ,rust-csv-1)))) - (home-page "https://github.com/BurntSushi/rust-csv") - (synopsis "On disk CSV indexing data structures") - (description "On disk CSV indexing data structures.") - (license (list license:unlicense license:expat)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-cty" ,rust-cty-0.2) + ("rust-memchr" ,rust-memchr-2)))) + (home-page "https://github.com/Amanieu/cstr_core") + (synopsis "Implementation of CStr and CString for no_std environments") + (description + "This crates implements CStr and CString for no_std environments.") + (license (list license:asl2.0 license:expat)))) (define-public rust-csv-1 (package @@ -19337,6 +17551,39 @@ number ``crunching``.") #:cargo-development-inputs (("rust-regex" ,rust-regex-0.1)))))) +(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-core-0.1 (package (name "rust-csv-core") @@ -19357,50 +17604,26 @@ number ``crunching``.") (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 +(define-public rust-csv-index-0.1 (package - (name "rust-cstr-core") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "cstr_core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fymp34mv7bix8m35pw3qs30b7879wmaym03ihfbzdl84plwa1r8")))) + (name "rust-csv-index") + (version "0.1.6") + (source (origin + (method url-fetch) + (uri (crate-uri "csv-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01048y84y0bakqm0x4y1svjv6lzc753b9q598xp7xgcqrdgi6x7j")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cty" ,rust-cty-0.2) - ("rust-memchr" ,rust-memchr-2)))) - (home-page "https://github.com/Amanieu/cstr_core") - (synopsis "Implementation of CStr and CString for no_std environments") - (description - "This crates implements CStr and CString for no_std environments.") - (license (list license:asl2.0 license:expat)))) + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-csv" ,rust-csv-1)))) + (home-page "https://github.com/BurntSushi/rust-csv") + (synopsis "On disk CSV indexing data structures") + (description "On disk CSV indexing data structures.") + (license (list license:unlicense license:expat)))) (define-public rust-ct-codecs-1 (package @@ -19444,22 +17667,6 @@ reimplemented in Rust") use with sct crate.") (license (list license:asl2.0 license:isc license:expat)))) -(define-public rust-ct-logs-0.7 - (package - (inherit rust-ct-logs-0.8) - (name "rust-ct-logs") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ct-logs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bk7pbmkjm18cgccm4a76vyn3wkaf2z4bh0jy9fk3dl4188i73lc")))) - (arguments - `(#:cargo-inputs (("rust-sct" ,rust-sct-0.6)))))) - (define-public rust-ctor-0.2 (package (name "rust-ctor") @@ -19594,6 +17801,48 @@ use with bindgen.") (description "This package provides macros for cuda_std.") (license (list license:expat license:asl2.0)))) +(define-public rust-culpa-1 + (package + (name "rust-culpa") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "culpa" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lqzzl88vs3h6ljpj6gi8wgkwyqm9gp6dmsnbbzv873v67lvzq2s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-culpa-macros" ,rust-culpa-macros-1)))) + (home-page "https://github.com/Nullus157/culpa") + (synopsis "library for error-handling syntax in Rust") + (description + "This package provides a library for error-handling syntax in Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-culpa-macros-1 + (package + (name "rust-culpa-macros") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "culpa-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ya207axxrjixibdnqfk0h9f96b2b1xmxdw9rwfwglv6f1qy2d0j")))) + (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/Nullus157/culpa") + (synopsis "Internal implementation details of `culpa`") + (description + "This package provides internal implementation details of `culpa`.") + (license (list license:expat license:asl2.0)))) + (define-public rust-curl-0.4 (package (name "rust-curl") @@ -19716,7 +17965,7 @@ requests.") ("rust-vek" ,rust-vek-0.15)))) (home-page "https://github.com/Rust-GPU/Rust-CUDA") (synopsis "Core library for cust that can be shared across CPU and GPU") - (description "This package provices the core library for cust that can be + (description "This package provides the core library for cust that can be shared across CPU and GPU.") (license (list license:expat license:asl2.0)))) @@ -19739,7 +17988,7 @@ shared across CPU and GPU.") ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/Rust-GPU/Rust-CUDA") (synopsis "Macros for cust") - (description "This package provices macros for cust.") + (description "This package provides macros for cust.") (license (list license:expat license:asl2.0)))) (define-public rust-cust-derive-0.1 @@ -19855,34 +18104,6 @@ attributes.") (description "This package provides a safe interop between Rust and C++.") (license (list license:expat license:asl2.0)))) -(define-public rust-cxx-0.5 - (package - (inherit rust-cxx-1) - (name "rust-cxx") - (version "0.5.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "cxx" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1alj19zf8jm5j8c8hynqb36f0vyjqs8yhwmxpcapfmb5lav4ipgb")))) - (arguments - `(#:tests? #f ; Cannot compile cxx-test-suite. - #:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-cxxbridge-flags" ,rust-cxxbridge-flags-0.5) - ("rust-cxxbridge-macro" ,rust-cxxbridge-macro-0.5) - ("rust-link-cplusplus" ,rust-link-cplusplus-1)) - #:cargo-development-inputs - (("rust-cxx-build" ,rust-cxx-build-0.5) - ("rust-cxx-gen" ,rust-cxx-gen-0.6) - ("rust-cxx-test-suite" ,rust-cxx-test-suite-0.0.0) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-trybuild" ,rust-trybuild-1)))))) - (define-public rust-cxx-build-1 (package (name "rust-cxx-build") @@ -19917,33 +18138,6 @@ attributes.") crate into a Cargo build.") (license (list license:expat license:asl2.0)))) -(define-public rust-cxx-build-0.5 - (package - (inherit rust-cxx-build-1) - (name "rust-cxx-build") - (version "0.5.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "cxx-build" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01109arjlj8wdq2rcyy3s76a5aidkn7zvhhhvhvkg1cxgqza9p22")))) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-codespan-reporting" ,rust-codespan-reporting-0.9) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-scratch" ,rust-scratch-1) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-cxx-gen" ,rust-cxx-gen-0.6) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - (define-public rust-cxx-gen-0.7 (package (name "rust-cxx-gen") @@ -19971,28 +18165,6 @@ crate into a Cargo build.") crate into higher level tools.") (license (list license:expat license:asl2.0)))) -(define-public rust-cxx-gen-0.6 - (package - (inherit rust-cxx-gen-0.7) - (name "rust-cxx-gen") - (version "0.6.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "cxx-gen" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0avkca16wjy0paplq1ycaf04bj62agfj0awyhyzxyfpdn9rm45j2")))) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-codespan-reporting" ,rust-codespan-reporting-0.9) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-cxx-test-suite-0.0.0 (package (name "rust-cxx-test-suite") @@ -20033,21 +18205,6 @@ crate into higher level tools.") crate (implementation detail).") (license (list license:expat license:asl2.0)))) -(define-public rust-cxxbridge-flags-0.5 - (package - (inherit rust-cxxbridge-flags-1) - (name "rust-cxxbridge-flags") - (version "0.5.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "cxxbridge-flags" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jfwsm85s5kalgqbqlg1kq79zcb5zwk375h0qw7ycz5i6v3c8j0k")))))) - (define-public rust-cxxbridge-macro-1 (package (name "rust-cxxbridge-macro") @@ -20081,28 +18238,6 @@ crate (implementation detail).") "This package provides an implementation detail of the @code{cxx} crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-cxxbridge-macro-0.5 - (package - (inherit rust-cxxbridge-macro-1) - (name "rust-cxxbridge-macro") - (version "0.5.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "cxxbridge-macro" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05mhvchmcb8dpgcqkl5vyxycywp2x42vw1qh2hyxxyi576nmmxsr")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-cxx" ,rust-cxx-0.5)))))) - (define-public rust-daemonize-0.5 (package (name "rust-daemonize") @@ -20123,30 +18258,10 @@ crate (implementation detail).") "Daemonize is a Rust Library for writing system daemonis on Unix-like systems.") (license (list license:expat license:asl2.0)))) -(define-public rust-daemonize-0.4 - (package - (inherit rust-daemonize-0.5) - (name "rust-daemonize") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "daemonize" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05cqr2zjxrxyg23snykd03sgqwxn0pvwj2lzh50bclsgwc9lbhkh")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-boxfnonce" ,rust-boxfnonce-0.1) - ("rust-libc" ,rust-libc-0.2)) - #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))))) - (define-public rust-darling-0.20 (package (name "rust-darling") - (version "0.20.3") + (version "0.20.10") (source (origin (method url-fetch) @@ -20154,13 +18269,17 @@ crate (implementation detail).") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0pjwwadwgnvvgn5qm3glpv7hjl7siaqqpw6cvh2mdar7lr6xj282")))) + "1299h2z88qn71mizhh05j26yr3ik0wnqmw11ijds89l8i9nbhqvg")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-darling-core" ,rust-darling-core-0.20) - ("rust-darling-macro" ,rust-darling-macro-0.20)))) + ("rust-darling-macro" ,rust-darling-macro-0.20)) + #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-syn" ,rust-syn-2) + ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/TedDriggs/darling") (synopsis "Proc-macro library for reading attributes in custom derives") (description @@ -20172,23 +18291,24 @@ into structs when implementing custom derives.") (package (inherit rust-darling-0.20) (name "rust-darling") - (version "0.14.1") + (version "0.14.4") (source (origin (method url-fetch) (uri (crate-uri "darling" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00mc7svmwphywkwndzkjxsqaxhygrm8f4jv1p1lngzd7vn5naaa5")))) + (base32 "0l1qrn805bsxa0iy7x8bmdwr8c10hlw0yiqs8ckv7lbz86rhqxbv")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-darling-core" ,rust-darling-core-0.14) ("rust-darling-macro" ,rust-darling-macro-0.14)) #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-syn" ,rust-syn-1) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-darling-0.13 (package @@ -20283,7 +18403,7 @@ into structs when implementing custom derives.") (define-public rust-darling-core-0.20 (package (name "rust-darling-core") - (version "0.20.3") + (version "0.20.10") (source (origin (method url-fetch) @@ -20291,16 +18411,15 @@ into structs when implementing custom derives.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "08g6afi3z9jgcqx7g41s1mzr6q3dj2z56vz7v1bv6941h51k8zhp")))) + "1rgr9nci61ahnim93yh3xy6fkfayh7sk4447hahawah3m1hkh4wm")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#: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-strsim" ,rust-strsim-0.11) ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/TedDriggs/darling") (synopsis "Helper crate for @code{rust-darling}") @@ -20313,17 +18432,16 @@ reading attributes into structs when implementing custom derives.") (package (inherit rust-darling-core-0.20) (name "rust-darling-core") - (version "0.14.1") + (version "0.14.4") (source (origin (method url-fetch) (uri (crate-uri "darling_core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vyvkx7qkz6ap5dwgsz8dg588xjigny8s7mrkz0fmcg806y93734")))) + (base32 "1w4b2ndxmkwghwq84yphk8x15jnpivm08w596g12ry5pwsk1r70h")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-fnv" ,rust-fnv-1) ("rust-ident-case" ,rust-ident-case-1) ("rust-proc-macro2" ,rust-proc-macro2-1) @@ -20414,19 +18532,18 @@ reading attributes into structs when implementing custom derives.") (define-public rust-darling-macro-0.20 (package (name "rust-darling-macro") - (version "0.20.3") + (version "0.20.10") (source (origin (method url-fetch) - (uri (crate-uri "darling-macro" version)) + (uri (crate-uri "darling_macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1mg2k1f0v33s271lpn4m5mxcfjqnmg61bf77svb44cyngay9nsl3")))) + "01kq3ibbn47czijj39h3vxyw0c2ksd0jvc097smcrk7n2jjs4dnk")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-darling-core" ,rust-darling-core-0.20) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))) @@ -20442,17 +18559,16 @@ custom derives.") (package (inherit rust-darling-macro-0.20) (name "rust-darling-macro") - (version "0.14.1") + (version "0.14.4") (source (origin (method url-fetch) (uri (crate-uri "darling_macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dag2f4bq38vdn886slqczip5qzhvb95317kl04zrlnbpz2nkz6x")))) + (base32 "13mlyd5w275c815k0ijf6g4c446hs8b3m2h4an5isqgpr7dv9am4")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-darling-core" ,rust-darling-core-0.14) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) @@ -20537,20 +18653,19 @@ custom derives.") (define-public rust-dary-heap-0.3 (package (name "rust-dary-heap") - (version "0.3.6") + (version "0.3.7") (source (origin (method url-fetch) (uri (crate-uri "dary_heap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jm04p72s7xij3cr71h59dw07s63nah5b10sh8akcr2129zx2qkp")))) + (base32 "0a5p4qfayfmkda4rb31zyc5sia11n0q0cq6scznm9x5r32fcvlh4")))) (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" ,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") @@ -20635,7 +18750,7 @@ custom derives.") (define-public rust-data-encoding-2 (package (name "rust-data-encoding") - (version "2.5.0") + (version "2.6.0") (source (origin (method url-fetch) @@ -20643,7 +18758,7 @@ custom derives.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1rcbnwfmfxhlshzbn3r7srm3azqha3mn33yxyqxkzz2wpqcjm5ky")))) + "1qnn68n4vragxaxlkqcb1r28d3hhj43wch67lm4rpxlw89wnjmp8")))) (build-system cargo-build-system) (home-page "https://github.com/ia0/data-encoding") (synopsis "Efficient and customizable data-encoding functions") @@ -20655,19 +18770,18 @@ hexadecimal, base32, and base64.") (define-public rust-data-encoding-macro-0.1 (package (name "rust-data-encoding-macro") - (version "0.1.14") + (version "0.1.15") (source (origin (method url-fetch) (uri (crate-uri "data-encoding-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gnkqpd3h24wy272vpdphp7z6gcbq9kyn8df5ggyyaglyl31rh10")))) + (base32 "0fg6abipcn5h8qa09r5ki5dv3vhq4qaxn1ipsvb7c8k2p9n9nmgi")))) (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)))) + (list #:cargo-inputs (list rust-data-encoding-2 + 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.") @@ -20676,14 +18790,14 @@ hexadecimal, base32, and base64.") (define-public rust-data-encoding-macro-internal-0.1 (package (name "rust-data-encoding-macro-internal") - (version "0.1.12") + (version "0.1.13") (source (origin (method url-fetch) (uri (crate-uri "data-encoding-macro-internal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wvn4p7wzr6p8fy8q9qpzgbvb9j1k3b5016867b7vcc95izx0iq0")))) + (base32 "0gyk580bjsjdy10n06f4gqh5kkqy296ndvcg21ychfzm1967ab9k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-data-encoding" ,rust-data-encoding-2) @@ -20716,22 +18830,80 @@ hexadecimal, base32, and base64.") "Processing of data: URL according to WHATWG's Fetch Standard.") (license (list license:expat license:asl2.0)))) -(define-public rust-data-url-0.2 +(define-public rust-databake-0.1 (package - (inherit rust-data-url-0.3) - (name "rust-data-url") - (version "0.2.0") + (name "rust-databake") + (version "0.1.8") (source (origin (method url-fetch) - (uri (crate-uri "data-url" version)) + (uri (crate-uri "databake" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19828d6jby17ghi7vr0zia9sy3hlvvjbngrcsllmfh2zfg1kjx4d")))) + (base32 "0kb0lnhka1fklrii3qaj40zcrbclfn8fyvy0r1whd3yaxkxzn13a")))) + (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)))))) + `(#:cargo-test-flags '("--" + "--skip=src/lib.rs - (line 27)" + "--skip=src/lib.rs - (line 46)") + #:cargo-inputs (("rust-databake-derive" ,rust-databake-derive-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis + "Trait that lets structs represent themselves as (const) Rust expressions") + (description + "This package provides a trait that lets structs represent themselves as +(const) Rust expressions.") + (license license:unicode))) + +(define-public rust-databake-derive-0.1 + (package + (name "rust-databake-derive") + (version "0.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "databake-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yymbr1z93k7lg0pl5mw9mjhw8fpsfykg7bmkvmir9h1wmfjfy20")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `databake` + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-synstructure" ,rust-synstructure-0.13)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis "Custom derive for the databake crate") + (description "This package provides Custom derive for the databake crate.") + (license license:unicode))) + +(define-public rust-dateparser-0.1 + (package + (name "rust-dateparser") + (version "0.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "dateparser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i00pd2spxsz1d89n0ssf79q1w8ijx0p0rybx5d9z8lpzqhjmqf9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)) + #:cargo-development-inputs (("rust-chrono-tz" ,rust-chrono-tz-0.6) + ("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/waltzofpearls/dateparser") + (synopsis "Parse dates in string formats that are commonly used") + (description + "This package parses dates in string formats that are commonly used.") + (license license:expat))) (define-public rust-datetime-0.5 (package @@ -20768,24 +18940,21 @@ and arithmetic.") (define-public rust-dbl-0.3 (package (name "rust-dbl") - (version "0.3.0") + (version "0.3.2") (source (origin (method url-fetch) (uri (crate-uri "dbl" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pihf6zrzncbs3lsyqkzxxxqmjf8rfpwvs1sg8nmz8cv7df18d97")))) + (base32 "1ng33ncai537xlxfy9r4v24parm9mf7zwiwkixq7d0qmj6kka9xx")))) (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://docs.rs/dbl") (synopsis "Double operation in Galois Field") (description - "This package provides double and inverse double over Galois Field - + "This package provides double and inverse double over Galois Field - GF(2^n). This trait is implemented for 64, 128 and 256 bit block sizes. Big-endian order is used. WARNING: Block must be aligned!") (license (list license:expat license:asl2.0)))) @@ -20848,14 +19017,14 @@ sizes. Big-endian order is used. WARNING: Block must be aligned!") (define-public rust-dbus-tokio-0.7 (package (name "rust-dbus-tokio") - (version "0.7.5") + (version "0.7.6") (source (origin (method url-fetch) (uri (crate-uri "dbus-tokio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10112g227iasjiid7y9wrvnmxypfrczcymj2k5yjvcjk1i5ag88j")))) + (base32 "04xd3z2dnjv4d45kj3wqnwbnwllrp1zsg8v3q0qp2rxwb7a8hxh0")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;tests require X11 $DISPLAY @@ -20877,18 +19046,18 @@ sizes. Big-endian order is used. WARNING: Block must be aligned!") (define-public rust-dbus-tree-0.9 (package (name "rust-dbus-tree") - (version "0.9.1") + (version "0.9.2") (source (origin (method url-fetch) (uri (crate-uri "dbus-tree" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1l2gi8073cwvv5vxlg5lafw6sppyhgm88hhpq7hak424x4kifpmi")))) + (base32 "027mnjc99ss8nab588aga9l8aag2pjvzkcfx35g5fm4fmscfcmpl")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-dbus" ,rust-dbus-0.9)))) + `(#:install-source? #f ; README is missing. + #:cargo-inputs (("rust-dbus" ,rust-dbus-0.9)))) (native-inputs (list pkg-config)) (inputs @@ -20917,113 +19086,17 @@ sizes. Big-endian order is used. WARNING: Block must be aligned!") "This package provides a Rust API for interacting with dconf.") (license 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 - (origin - (method url-fetch) - (uri (crate-uri "deadpool" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-config" ,rust-config-0.10) - ("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)))))) - -(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 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 (package (name "rust-debug-helper") - (version "0.3.12") + (version "0.3.13") (source (origin (method url-fetch) (uri (crate-uri "debug-helper" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1a73xl73psmzyihd62jy30g1acfmgjmyi2k8khmh170mrq6x3yvn")))) + (base32 "0bhnpzpgmg8dkdr27g2b49slf6ca79m4idcb01z2krs0qkifhy7m")))) (build-system cargo-build-system) (home-page "https://magiclen.org/debug-helper") (synopsis "Declarative macros to implement the Debug trait manually") @@ -21173,9 +19246,9 @@ verifying the contents.") (build-system cargo-build-system) (home-page "https://github.com/andrewhickman/defer/") (synopsis - "Utility to defer excecution of code") + "Utility to defer execution of code") (description - "Utility to defer excecution of code, inspired by Go's defer statement.") + "Utility to defer execution of code, inspired by Go's defer statement.") (license (list license:expat license:asl2.0)))) (define-public rust-defer-0.1 @@ -21216,119 +19289,6 @@ verifying the contents.") thread.") (license license:mpl2.0))) -(define-public rust-deflate-1 - (package - (name "rust-deflate") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "deflate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bs319wa9wl7pn9j6jrrxg1gaqbak581rkx210cbix0qyljpwvy8")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; not all test files included - #:cargo-inputs - (("rust-adler32" ,rust-adler32-1) - ("rust-gzip-header" ,rust-gzip-header-1)) - #:cargo-development-inputs - (("rust-miniz-oxide" ,rust-miniz-oxide-0.5)))) - (home-page "https://github.com/image-rs/deflate-rs") - (synopsis "DEFLATE, zlib and gzip encoder written in rust") - (description "This package provides a DEFLATE, zlib and gzip encoder -written in rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-deflate-0.9 - (package - (inherit rust-deflate-1) - (name "rust-deflate") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "deflate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0w0ww0hrq4bjnihxgbnrri4lj5c8yzg31fyzx36fd9pvvw2vz5az")))) - (arguments - `(#:tests? #f ; not all test files included - #:cargo-inputs - (("rust-adler32" ,rust-adler32-1) - ("rust-gzip-header" ,rust-gzip-header-0.3)) - #:cargo-development-inputs - (("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))))) - -(define-public rust-deflate-0.8 - (package - (inherit rust-deflate-0.9) - (name "rust-deflate") - (version "0.8.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "deflate" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk")))) - (arguments - `(#:tests? #f ; not all test files included - #:cargo-inputs - (("rust-adler32" ,rust-adler32-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-gzip-header" ,rust-gzip-header-0.3)) - #:cargo-development-inputs - (("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))))) - -(define-public rust-deflate-0.7 - (package - (inherit rust-deflate-0.8) - (name "rust-deflate") - (version "0.7.20") - (source - (origin - (method url-fetch) - (uri (crate-uri "deflate" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1d7d9fpmgjnznrksmd3vlv3dyw01wsrm11ifil6ag22871xnlyvh")))) - (arguments - `(#:cargo-inputs - (("rust-adler32" ,rust-adler32-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-gzip-header" ,rust-gzip-header-0.3) - ("rust-flate2" ,rust-flate2-1)))))) - -(define-public rust-deflate64-0.1 - (package - (name "rust-deflate64") - (version "0.1.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "deflate64" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06scix17pa7wzzfsnhkycpcc6s04shs49cdaxx2k1sl0226jnsfs")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-proptest" ,rust-proptest-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/anatawa12/deflate64-rs#readme") - (synopsis "Deflate64 implementation based on .NET's implementation") - (description "Deflate64 implementation based on .NET's implementation.") - (license license:expat))) - (define-public rust-defmac-0.2 (package (name "rust-defmac") @@ -21457,7 +19417,7 @@ strings.") "This package provides the @code{DejaVu} font family for embedding.") (license (list license:expat license:asl2.0)))) -(define-public rust-demo-hack-0.0 +(define-public rust-demo-hack-0.0.5 (package (name "rust-demo-hack") (version "0.0.5") @@ -21473,14 +19433,30 @@ strings.") (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-demo-hack-impl" ,rust-demo-hack-impl-0.0) + (("rust-demo-hack-impl" ,rust-demo-hack-impl-0.0.5) ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))) (home-page "https://github.com/dtolnay/proc-macro-hack") (synopsis "Demo of proc-macro-hack") (description "Demo of proc-macro-hack.") (license (list license:expat license:asl2.0)))) -(define-public rust-demo-hack-impl-0.0 +(define-public rust-demo-hack-0.0.4 + (package + (inherit rust-demo-hack-0.0.5) + (name "rust-demo-hack") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "demo-hack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mrcvy5ilnqv68qxgzp2g0zmwix7s8ic3lxj69yd18x3izcr7kb3")))) + (arguments + `(#:cargo-inputs (("rust-demo-hack-impl" ,rust-demo-hack-impl-0.0.4) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) + +(define-public rust-demo-hack-impl-0.0.5 (package (name "rust-demo-hack-impl") (version "0.0.5") @@ -21504,6 +19480,21 @@ strings.") (description "Demo of proc-macro-hack.") (license (list license:expat license:asl2.0)))) +(define-public rust-demo-hack-impl-0.0.4 + (package + (inherit rust-demo-hack-impl-0.0.5) + (name "rust-demo-hack-impl") + (version "0.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "demo-hack-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wb267k9g40z8p458q1g8nrq3x8cq13s2wnvx5fy9rd011f8qy7h")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) + (define-public rust-deranged-0.3 (package (name "rust-deranged") @@ -21565,14 +19556,14 @@ Rust.") (define-public rust-derive-arbitrary-1 (package (name "rust-derive-arbitrary") - (version "1.3.2") + (version "1.4.1") (source (origin (method url-fetch) (uri (crate-uri "derive_arbitrary" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "04bnd985frl81r5sgixgpvncnnj1bfpfnd7qvdx1aahnqi9pbrv7")))) + "000839h4mbgs65x1f8540kbjk2ifw68c4d8r5b9f7q0jv4d2qm1h")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -21603,8 +19594,34 @@ Instead, enable the @code{derive} feature of the @code{arbitrary} crate.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-derive-builder-0.20 + (package + (name "rust-derive-builder") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_builder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0is9z7v3kznziqsxa5jqji3ja6ay9wzravppzhcaczwbx84znzah")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.20)) + #:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/colin-kiegel/rust-derive-builder") + (synopsis "Builder pattern for arbitrary structs") + (description "Rust macro to automatically implement the builder pattern +for arbitrary structs.") + (license (list license:expat license:asl2.0)))) + (define-public rust-derive-builder-0.13 (package + (inherit rust-derive-builder-0.20) (name "rust-derive-builder") (version "0.13.1") (source (origin @@ -21614,7 +19631,6 @@ Instead, enable the @code{derive} feature of the @code{arbitrary} crate.") (sha256 (base32 "1irqx6bz74kx48ivdwqp2xl1ibr8dbdwgh6573r8g00d82gicncg")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-derive-builder-macro" ,rust-derive-builder-macro-0.13)) @@ -21623,12 +19639,7 @@ Instead, enable the @code{derive} feature of the @code{arbitrary} crate.") ("rust-rustversion" ,rust-rustversion-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/colin-kiegel/rust-derive-builder") - (synopsis "Builder pattern for arbitrary structs") - (description "Rust macro to automatically implement the builder pattern -for arbitrary structs.") - (license (list license:expat license:asl2.0)))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-derive-builder-0.12 (package @@ -21714,33 +19725,32 @@ for arbitrary structs.") #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))))) -(define-public rust-derive-builder-0.7 +(define-public rust-derive-builder-core-0.20 (package - (inherit rust-derive-builder-0.9) - (name "rust-derive-builder") - (version "0.7.2") + (name "rust-derive-builder-core") + (version "0.20.2") (source - (origin - (method url-fetch) - (uri (crate-uri "derive_builder" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m34zpj6fw764g7s368r2wgazp154m24d4rshbgn18fdlfk3zi9s")))) + (origin + (method url-fetch) + (uri (crate-uri "derive_builder_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s640r6q46c2iiz25sgvxw3lk6b6v5y8hwylng7kas2d09xwynrd")))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-compiletest-rs" ,rust-compiletest-rs-0.3) - ("rust-darling" ,rust-darling-0.9) - ("rust-derive-builder-core" ,rust-derive-builder-core-0.5) - ("rust-env-logger" ,rust-env-logger-0.5) - ("rust-log" ,rust-log-0.4) - ("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-skeptic" ,rust-skeptic-0.13) - ("rust-syn" ,rust-syn-0.15)))))) + `(#:cargo-inputs (("rust-darling" ,rust-darling-0.20) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (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.13 (package + (inherit rust-derive-builder-core-0.20) (name "rust-derive-builder-core") (version "0.13.1") (source (origin @@ -21750,19 +19760,13 @@ for arbitrary structs.") (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)))) + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) (define-public rust-derive-builder-core-0.12 (package @@ -21851,29 +19855,31 @@ for arbitrary structs.") #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))))) -(define-public rust-derive-builder-core-0.5 +(define-public rust-derive-builder-macro-0.20 (package - (inherit rust-derive-builder-core-0.9) - (name "rust-derive-builder-core") - (version "0.5.0") + (name "rust-derive-builder-macro") + (version "0.20.2") (source - (origin - (method url-fetch) - (uri (crate-uri "derive_builder_core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0drbjk6n8ywls8cmhp4r8xkyjsja0wk3854cn5mj8g1km4ys5202")))) + (origin + (method url-fetch) + (uri (crate-uri "derive_builder_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g1zznpqrmvjlp2w7p0jzsjvpmw5rvdag0rfyypjhnadpzib0qxb")))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-darling" ,rust-darling-0.9) - ("rust-log" ,rust-log-0.4) - ("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))))) + `(#:cargo-inputs (("rust-derive-builder-core" ,rust-derive-builder-core-0.20) + ("rust-syn" ,rust-syn-2)))) + (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.13 (package + (inherit rust-derive-builder-macro-0.20) (name "rust-derive-builder-macro") (version "0.13.1") (source (origin @@ -21883,16 +19889,9 @@ for arbitrary structs.") (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)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-derive-builder-macro-0.12 (package @@ -21971,26 +19970,24 @@ error-chain.") (define-public rust-derive-more-0.99 (package (name "rust-derive-more") - (version "0.99.17") + (version "0.99.18") (source (origin (method url-fetch) (uri (crate-uri "derive_more" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0883jr0gdf9mi8rn7qbz1p0z7hqzfd275pil2gwm66bw1b9i1f2g")))) + "1kmz7bsjn9jh04nplqdr6bjyi90qkqjlxb8lm5zzvnp46y0qfcsz")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Some test files missing. - #:cargo-inputs + `(#:cargo-inputs (("rust-convert-case" ,rust-convert-case-0.4) ("rust-peg" ,rust-peg-0.5) ("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-syn" ,rust-syn-2)))) (home-page "https://github.com/JelteF/derive_more") (synopsis "Adds derive macros for more traits") (description @@ -22086,8 +20083,41 @@ structs and enums.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-derive-utils-0.14 + (package + (name "rust-derive-utils") + (version "0.14.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "derive_utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sh7d2xsr32h1m9qpzn5nh3dfm2lz1xgrfklsnjlv72mp3s55wb5")) + (modules '((guix build utils))) + (snippet + '(begin + (substitute* "Cargo.toml" + (("\\[lib\\]" all) + (string-append "[dev-dependencies]" "\n" + "trybuild = \"1\"" "\n" + "\n" all))))))) + (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-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-utils-0.11 (package + (inherit rust-derive-utils-0.14) (name "rust-derive-utils") (version "0.11.2") (source @@ -22098,7 +20128,6 @@ structs and enums.") (sha256 (base32 "1gx7giwn8x427d5f8c92n9h0hhcqdsasvz7i8iq2rqffvhalqask")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -22106,13 +20135,7 @@ structs and enums.") ("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)))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-derive-visitor-0.4 (package @@ -22185,6 +20208,25 @@ writing derives macros for enums.") (description "Deriving with custom trait bounds.") (license (list license:expat license:asl2.0)))) +(define-public rust-descape-2 + (package + (name "rust-descape") + (version "2.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "descape" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c56nbjgnba9s4lmfq2b89mrifkzwfc48hh7n5iwk06z12wi64bw")))) + (build-system cargo-build-system) + (home-page "https://github.com/balt-dev/descape") + (synopsis "Adds a single extension trait for &str to unescape any backslashes") + (description + "This package adds a single extension trait for &str to unescape any +backslashes.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-deser-hjson-1 (package (name "rust-deser-hjson") @@ -22260,37 +20302,50 @@ writing derives macros for enums.") (description "Decompose Vietnamese tone marks.") (license (list license:expat license:asl2.0)))) -(define-public rust-deunicode-0.4 +(define-public rust-deunicode-1 (package (name "rust-deunicode") - (version "0.4.3") + (version "1.6.0") (source (origin (method url-fetch) (uri (crate-uri "deunicode" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "146nc3wlwz2j9awwf7zf76qvjcahnls0mlv9jm6clcvr9dlph245")))) + (base32 "006gnml4jy3m03yqma8qvx7kl9i2bw667za9f7yc6k9ckv64959k")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://lib.rs/crates/deunicode") (synopsis "Convert Unicode strings to pure ASCII") (description - "This package converts Unicode strings to pure ASCII by -intelligently transliterating them. It supports Emoji and Chinese.") + "This package converts Unicode strings to pure ASCII by intelligently +transliterating them. It supports Emoji and Chinese.") (license license:bsd-3))) +(define-public rust-deunicode-0.4 + (package + (inherit rust-deunicode-1) + (name "rust-deunicode") + (version "0.4.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "deunicode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "133m63d7x3y3kpf8hrdkjpqma9l74bv59rpmpb8rqgn2i6zz3nvi")))) + (arguments `(#:cargo-inputs (("rust-deunicode" ,rust-deunicode-1)))))) + (define-public rust-devise-0.4 (package (name "rust-devise") - (version "0.4.1") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "devise" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1y45iag4hyvspkdsf6d856hf0ihf9vjnaga3c7y6c72l7zywxsnn")))) + (base32 "07b5dza9dl5p15q32xng8pgmmhf7kbjpng2y46njqykp9h60pngi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.4) @@ -22342,14 +20397,14 @@ procedural macros.") (define-public rust-devise-codegen-0.4 (package (name "rust-devise-codegen") - (version "0.4.1") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "devise_codegen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mpy5mmsigkj5f72gby82yk4advcqj97am2wzn0dwkj8vnwg934w")))) + (base32 "0ryq9xibibjf82xhr26civsw7bg6id8j4j9kl9qaa5xyv208dcki")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.4) @@ -22401,14 +20456,14 @@ procedural macros.") (define-public rust-devise-core-0.4 (package (name "rust-devise-core") - (version "0.4.1") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "devise_core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sp5idq0idng9i5kwjd8slvc724s97r28arrhyqq1jpx1ax0vd9m")))) + (base32 "1xwa9dp1i66zwfywgvz4189gxzpbpanagmf4wgr03gvsrx1aaddh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -22467,6 +20522,33 @@ procedural macros.") (lambda _ (setenv "RUSTC_BOOTSTRAP" "1")))))))) +(define-public rust-dhcp4r-0.2 + (package + (name "rust-dhcp4r") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "dhcp4r" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0paq13i9iz5545f5aw8ijxflw20fvb3k8s4m3inr5q19q5rirpbc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2) + ("rust-nom" ,rust-nom-6) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-time" ,rust-time-0.2)))) + (home-page "https://github.com/krolaw/dhcp4r") + (synopsis "IPv4 DHCP library with working server example") + (description + "This package provides a library for IPv4 DHCP including a working server +example.") + (license license:bsd-3))) + (define-public rust-dhcproto-0.9 (package (name "rust-dhcproto") @@ -22518,33 +20600,6 @@ procedural macros.") dhcproto.") (license license:expat))) -(define-public rust-dhcp4r-0.2 - (package - (name "rust-dhcp4r") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "dhcp4r" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0paq13i9iz5545f5aw8ijxflw20fvb3k8s4m3inr5q19q5rirpbc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2) - ("rust-nom" ,rust-nom-6) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-time" ,rust-time-0.2)))) - (home-page "https://github.com/krolaw/dhcp4r") - (synopsis "IPv4 DHCP library with working server example") - (description - "This package provides a library for IPv4 DHCP including a working server -example.") - (license license:bsd-3))) - (define-public rust-dialoguer-0.11 (package (name "rust-dialoguer") @@ -22575,230 +20630,19 @@ example.") (inherit rust-dialoguer-0.11) (name "rust-dialoguer") (version "0.10.4") - (source (origin - (method url-fetch) - (uri (crate-uri "dialoguer" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "11rgzrhi677w9gf1r3ip2x361svdkjkr2m5dsfca9fcljacg5ijr")))) - (arguments - `(#:cargo-inputs - (("rust-console" ,rust-console-0.15) - ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) - ("rust-shell-words" ,rust-shell-words-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-zeroize" ,rust-zeroize-1)))))) - -(define-public rust-diesel-2 - (package - (name "rust-diesel") - (version "2.1.5") (source (origin (method url-fetch) - (uri (crate-uri "diesel" version)) - (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 - "0kcfkfhsv5yv3ksj440ajgic930359i2bqi77ss4dm5pyvn3b0dj")))) - (arguments - `(#:cargo-test-flags - '("--release" - "--features" "sqlite" - "--" - "--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) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-diesel-derives" ,rust-diesel-derives-1) - ("rust-ipnetwork" ,rust-ipnetwork-0.17) - ("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-pq-sys" ,rust-pq-sys-0.4) - ("rust-quickcheck" ,rust-quickcheck-0.4) - ("rust-r2d2" ,rust-r2d2-0.8) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.1) - ("rust-url" ,rust-url-1) - ("rust-uuid" ,rust-uuid-0.5) - ("rust-uuid" ,rust-uuid-0.8)) - #:cargo-development-inputs - (("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)))))) - -(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 "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 - (origin - (method url-fetch) - (uri (crate-uri "diesel_derives" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lsq133fwk0zj8xvxhdxqgg0xs31zf3abnwdyshaf0ldca7hkxa5")))) - (arguments - `(#:tests? #f ; cannot find type `SqliteConnection` in this scope - #:cargo-test-flags - '("--release" - "--features" "sqlite" - "--" - "--skip=expression::count::count") - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-diesel" ,rust-diesel-1) - ("rust-dotenv" ,rust-dotenv-0.10)))))) - -(define-public rust-diesel-migrations-1 - (package - (name "rust-diesel-migrations") - (version "1.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "diesel_migrations" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0k4g03ciqwya2xc1xvy5s9cs6q55k45wxa1gszswfg9m2f2dwg5z")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ;doctest_setup.rs: No such file or directory - #:cargo-inputs - (("rust-migrations-internals" - ,rust-migrations-internals-1) - ("rust-migrations-macros" - ,rust-migrations-macros-1)) - #:cargo-development-inputs - (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-diesel" ,rust-diesel-1) - ("rust-dotenv" ,rust-dotenv-0.10)))) - (home-page "https://diesel.rs") - (synopsis "Migration management for diesel") - (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)) + (uri (crate-uri "dialoguer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1i9115qgsnargr6a707lqcjc45wqzq351a2gbvnnyw2kqkpmfmgw")))) - (build-system cargo-build-system) + (base32 "11rgzrhi677w9gf1r3ip2x361svdkjkr2m5dsfca9fcljacg5ijr")))) (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)))) + `(#:cargo-inputs (("rust-console" ,rust-console-0.15) + ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-zeroize" ,rust-zeroize-1)))))) (define-public rust-diff-0.1 (package @@ -22889,39 +20733,39 @@ Diesel.") "This crate provides all necessary tools for comparing word sequences.") (license license:expat))) -(define-public rust-diffs-0.3 +(define-public rust-diffs-0.5 (package (name "rust-diffs") - (version "0.3.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "diffs" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "036sqycmir4bbl4016jprsyjq4hicc31r68dyqadmc8ac9pk55d1")))) + (base32 "01f8bp77kgahgvr3s2igmnmsxynjklq830lmp2wp2jyph6bnq4gz")))) (build-system cargo-build-system) - (home-page "https://nest.pijul.com/pijul_org/pijul") + (arguments + (list #:tests? #f)) ; unresolved imports `myers`, `Diff`, `Replace` + (home-page "https://nest.pijul.com/pijul/diffs") (synopsis "Diff algorithms, also called longest common subsequence") (description "This package provides a number of diff algorithms, also called longest common subsequence. The diff algorithms include Myer's diff and Patience diff.") - (license (list license:asl2.0 license:expat)))) + (license (list license:expat license:asl2.0)))) (define-public rust-dircpy-0.3 (package (name "rust-dircpy") - (version "0.3.16") + (version "0.3.19") (source (origin (method url-fetch) (uri (crate-uri "dircpy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jkj888b22ln6qcvjlrl6a2za1y5j1c8f021qjzq0jf3a6vrs999")))) + (base32 "070k84wvc4d364rglwvhjk7psj938nmxh98rs58rspvza6q231d8")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Cut the dependency chain. @@ -22982,20 +20826,17 @@ Directory guidelines on macOS.") (package (inherit rust-directories-4) (name "rust-directories") - (version "3.0.1") + (version "3.0.2") (source (origin (method url-fetch) (uri (crate-uri "directories" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03ysv4m6mhsc3w1xnvncd5sxf7v2dz917awq6ksx0n0bsqwxdzpq")))) + (base32 "1mz1khca62zd48kphdy5hn4f8r55ywkyn23pjdbkj4h32zzh15p6")))) (arguments - `(#:cargo-inputs - (("rust-dirs-sys" ,rust-dirs-sys-0.3)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1)))))) + `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.3)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))))) (define-public rust-directories-next-2 (package @@ -23087,9 +20928,7 @@ standard locations of directories for config, cache and other data.") (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-dirs-sys" ,rust-dirs-sys-0.3)))) - (inputs - (list rust-cfg-if-0.1 rust-dirs-sys-0.3)))) + ("rust-dirs-sys" ,rust-dirs-sys-0.3)))))) (define-public rust-dirs-1 (package @@ -23188,27 +21027,22 @@ and @code{directories} crates.") (package (inherit rust-dirs-sys-0.4) (name "rust-dirs-sys") - (version "0.3.6") + (version "0.3.7") (source (origin (method url-fetch) (uri (crate-uri "dirs-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "102pbpcrfhvhfyfnyvmvvwpl6mfvynh170f6ima6fyinxls6bn03")))) + (base32 "19md1cnkazham8a6kh22v12d8hh3raqahfk6yb043vrjr68is78v")))) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-redox-users" ,rust-redox-users-0.4) - ("rust-winapi" ,rust-winapi-0.3)))) - (inputs - (list rust-cfg-if-0.1 rust-libc-0.2 rust-redox-users-0.3 - rust-winapi-0.3)))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-dirs-sys-next-0.1 (package - (inherit rust-dirs-sys-0.3) (name "rust-dirs-sys-next") (version "0.1.2") (source @@ -23219,12 +21053,18 @@ and @code{directories} crates.") (sha256 (base32 "0kavhavdxv4phzj4l0psvh55hszwnr0rcz8sxbvx20pyqi2a3gaf")))) + (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("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"))) + (home-page "https://github.com/xdg-rs/dirs/tree/master/dirs-sys") + (synopsis "Shared code for dirs-next and directories-next") + (description + "This package only exists to facilitate code sharing between +dirs-next and directories-next.") + (license (list license:expat license:asl2.0)))) (define-public rust-discard-1 (package @@ -23301,14 +21141,14 @@ Google's diff-match-patch.") (define-public rust-divan-0.1 (package (name "rust-divan") - (version "0.1.14") + (version "0.1.17") (source (origin (method url-fetch) (uri (crate-uri "divan" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0v757vmvlksbaqz7q8cgq7hvr3dimrddcarz7yj70a4w5kgngmd0")))) + (base32 "1i5qvk7h9fcrr89cxkmadpgm03sv7askplyqh8vb0a8b0a9k2n70")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) @@ -23327,14 +21167,14 @@ Google's diff-match-patch.") (define-public rust-divan-macros-0.1 (package (name "rust-divan-macros") - (version "0.1.14") + (version "0.1.17") (source (origin (method url-fetch) (uri (crate-uri "divan-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18klwl81akqmd0rqgz6l8hmc649hvbcdfc01ix6lh3dy96phnm17")))) + (base32 "0z5n3f4m5c7flqnr6vg9qz51j9mjb1s2afcsfnqf7x9nwsc1vicd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -23390,6 +21230,30 @@ system libraries.") (inputs (list rust-libloading-0.6)))) +(define-public rust-dlv-list-0.5 + (package + (name "rust-dlv-list") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "dlv-list" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pqvrinxzdz7bpy4a3p450h8krns3bd0mc3w0qqvm03l2kskj824")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-const-random" ,rust-const-random-0.1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-coverage-helper" ,rust-coverage-helper-0.2) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/sgodwincs/dlv-list-rs") + (synopsis "Semi-doubly linked list implemented using a vector") + (description + "This package provides a semi-doubly linked list implemented using a vector.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dlv-list-0.3 (package (name "rust-dlv-list") @@ -23524,6 +21388,68 @@ not support network, only raw protocol parser.") from macros.") (license license:expat))) +(define-public rust-dockworker-0.5 + (package + (name "rust-dockworker") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "dockworker" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1grdrc54l50ji3b1x25gx63qcjpsapjrw95fvh5p83za0k81ai8v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" ; Tests require network access. + "--skip=docker::tests::test_api" + "--skip=docker::tests::test_events" + "--skip=docker::tests::test_networks" + "--skip=docker::tests::test_ping" + "--skip=docker::tests::test_system_info" + "--skip=docker::tests::test_version") + #:cargo-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-dirs" ,rust-dirs-5) + ("rust-futures" ,rust-futures-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.24) + ("rust-hyper-tls" ,rust-hyper-tls-0.5) + ("rust-hyperlocal" ,rust-hyperlocal-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-named-pipe" ,rust-named-pipe-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-nix" ,rust-nix-0.26) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tar" ,rust-tar-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-reqwest" ,rust-reqwest-0.11)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/Idein/dockworker") + (synopsis "Docker daemon API client (a fork of Faraday's boondock)") + (description + "This package provides a Rust library for talking to the Docker daemon. +This project is a fork of Faraday's boondock.") + (license license:asl2.0))) + (define-public rust-docmatic-0.1 (package (name "rust-docmatic") @@ -23547,26 +21473,24 @@ from macros.") (define-public rust-docopt-1 (package (name "rust-docopt") - (version "1.1.0") + (version "1.1.1") (source (origin (method url-fetch) (uri (crate-uri "docopt" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0s9rcpmnnivs502q69lc1h1wrwapkq09ikgbfbgqf31idmc5llkz")))) + (base32 "07x5g52n6fzilxhk5220caznkvdnzzvahlzrzkmgj8y88sc12gvz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) ("rust-regex" ,rust-regex-1) ("rust-serde" ,rust-serde-1) - ("rust-strsim" ,rust-strsim-0.9)))) + ("rust-strsim" ,rust-strsim-0.10)))) (home-page "https://github.com/docopt/docopt.rs") (synopsis "Command line argument parsing") - (description "Command line argument parsing.") + (description "This package provides command line argument parsing.") (license (list license:expat license:unlicense)))) (define-public rust-docopt-0.7 @@ -23611,6 +21535,26 @@ from macros.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-strsim" ,rust-strsim-0.5)))))) +(define-public rust-doctest-file-1 + (package + (name "rust-doctest-file") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "doctest-file" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qkmnrsx2kszm58wxyry63bs35msj9chdb6jlh54a8cdwaiizj5a")))) + (build-system cargo-build-system) + (arguments `(#:tests? #f)) ; Tests are incorrectly written. + (home-page "https://codeberg.org/Goat7658/doctest-file/") + (synopsis "Procedural macro that sources doctests from dedicated files") + (description + "This package provides a procedural macro that sources doctests from +dedicated files into Rustdoc documentation with support for hiding lines.") + (license license:bsd-0))) + (define-public rust-document-features-0.2 (package (name "rust-document-features") @@ -23635,46 +21579,54 @@ from macros.") @code{Cargo.toml}.") (license (list license:expat license:asl2.0)))) -(define-public rust-downcast-0.11 +(define-public rust-documented-0.6 (package - (name "rust-downcast") - (version "0.11.0") - (source (origin - (method url-fetch) - (uri (crate-uri "downcast" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wa78ahlc57wmqyq2ncr80l7plrkgz57xsg7kfzgpcnqac8gld8l")))) + (name "rust-documented") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "documented" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zc7akchjkwnsl0hnzygwad58sfnvrvkcl7w117679cnbg9zxbgy")))) (build-system cargo-build-system) - (home-page "https://github.com/fkoep/downcast-rs") + (arguments + `(#:cargo-inputs (("rust-documented-macros" ,rust-documented-macros-0.6) + ("rust-phf" ,rust-phf-0.11) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/cyqsimon/documented") (synopsis - "Trait for downcasting trait objects back to their original types") + "Derive and attribute macros for accessing your type's documentation at runtime") (description - "This package provides a trait, and utilities, for downcasting trait -objects back to their original types. The same as the rust-downcast-rs crate.") + "This package provides macros to derive and attribute macros for accessing +your type's documentation at runtime.") (license license:expat))) -(define-public rust-downcast-rs-1 +(define-public rust-documented-macros-0.6 (package - (name "rust-downcast-rs") - (version "1.2.0") + (name "rust-documented-macros") + (version "0.6.0") (source (origin (method url-fetch) - (uri (crate-uri "downcast-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "documented-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0l36kgxqd5djhqwf5abxjmgasdw8n0qsjvw3jdvhi91nj393ba4y")))) + (base32 "0qwclr8ymp5n5fyb6sri9dl36va3ana50clkgwmf7110lva5jdlp")))) (build-system cargo-build-system) - (home-page "https://github.com/marcianx/downcast-rs") - (synopsis "Trait object downcasting support using only safe Rust") + (arguments + `(#:tests? #f ; use of undeclared crate or module `documented` + #:cargo-inputs (("rust-convert-case" ,rust-convert-case-0.6) + ("rust-optfield" ,rust-optfield-0.3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/cyqsimon/documented") + (synopsis "Derive and attribute macros for `documented`") (description - "Trait object downcasting support using only safe Rust. It supports type -parameters, associated types, and type constraints.") - (license (list license:expat license:asl2.0)))) + "This package provides derive and attribute macros for `documented`.") + (license license:expat))) (define-public rust-dogged-0.2 (package @@ -23816,6 +21768,45 @@ Rust.") (description "This package provides a fork of the dotenv crate.") (license license:expat))) +(define-public rust-downcast-0.11 + (package + (name "rust-downcast") + (version "0.11.0") + (source (origin + (method url-fetch) + (uri (crate-uri "downcast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wa78ahlc57wmqyq2ncr80l7plrkgz57xsg7kfzgpcnqac8gld8l")))) + (build-system cargo-build-system) + (home-page "https://github.com/fkoep/downcast-rs") + (synopsis + "Trait for downcasting trait objects back to their original types") + (description + "This package provides a trait, and utilities, for downcasting trait +objects back to their original types. The same as the rust-downcast-rs crate.") + (license license:expat))) + +(define-public rust-downcast-rs-1 + (package + (name "rust-downcast-rs") + (version "1.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "downcast-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lmrq383d1yszp7mg5i7i56b17x2lnn3kb91jwsq0zykvg2jbcvm")))) + (build-system cargo-build-system) + (home-page "https://github.com/marcianx/downcast-rs") + (synopsis "Trait object downcasting support using only safe Rust") + (description + "Trait object downcasting support using only safe Rust. It supports type +parameters, associated types, and type constraints.") + (license (list license:expat license:asl2.0)))) + (define-public rust-draw-state-0.8 (package (name "rust-draw-state") @@ -23852,16 +21843,16 @@ Rust.") (base32 "0lv6zzgrd3hfh83n9jqhzz8645729hv1wclag8zw4dbmx3w2pfyw")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-no-panic" ,rust-no-panic-0.1)))) + (list #:cargo-inputs (list rust-no-panic-0.1))) (home-page "https://github.com/dtolnay/dtoa") - (synopsis "Fast floating point primitive to string conversion") - (description - "This package provides Fast floating point primitive to string conversion.") + (synopsis "Fast functions for printing floating-point primitives") + (description "This crate provides fast functions for printing +floating-point primitives to an @code{io::Write}.") (license (list license:expat license:asl2.0)))) (define-public rust-dtoa-0.4 (package + (inherit rust-dtoa-1) (name "rust-dtoa") (version "0.4.8") (source @@ -23872,33 +21863,24 @@ Rust.") (sha256 (base32 "1c5j0wz118dhrczx6spc5za7dnbfxablr4adyahg9aknrsc9i2an")))) - (build-system cargo-build-system) - (home-page "https://github.com/dtolnay/dtoa") - (synopsis "Fast functions for printing floating-point primitives") - (description "This crate provides fast functions for printing -floating-point primitives to an @code{io::Write}.") - (license (list license:asl2.0 - license:expat)))) + (arguments '()))) (define-public rust-dtoa-short-0.3 (package (name "rust-dtoa-short") - (version "0.3.3") + (version "0.3.5") (source (origin (method url-fetch) (uri (crate-uri "dtoa-short" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1mh22nwja3v8922h0hq77c29k1da634lvkn9cvg9xrqhmqlk7q5x")))) + "11rwnkgql5jilsmwxpx6hjzkgyrbdmx1d71s0jyrjqm5nski25fd")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-dtoa" ,rust-dtoa-0.4)) - #:cargo-development-inputs - (("rust-float-cmp" ,rust-float-cmp-0.4)))) + `(#:cargo-inputs (("rust-dtoa" ,rust-dtoa-1)) + #:cargo-development-inputs (("rust-float-cmp" ,rust-float-cmp-0.4)))) (home-page "https://github.com/upsuper/dtoa-short") (synopsis "Serialize float number and truncate to certain precision") (description @@ -23930,87 +21912,114 @@ floating-point primitives to an @code{io::Write}.") Rust.") (license license:asl2.0))) -(define-public rust-dtparse-1 +(define-public rust-duct-0.13 (package - (inherit rust-dtparse-2) - (name "rust-dtparse") - (version "1.5.0") + (name "rust-duct") + (version "0.13.7") (source (origin (method url-fetch) - (uri (crate-uri "dtparse" version)) + (uri (crate-uri "duct" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00g423c3nw7ffhnvxlryg5hl721aib4b4dq3alpfib8lq3ims8v8")))) + (base32 + "174jk13rlvfgypha4f3l27mzzyc0ci7zginh5hjn6jr2s4c5gaz4")))) + (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)))))) + `(#:cargo-test-flags + '("--" + "--skip=test::test_capture_both" + "--skip=test::test_pipe" + "--skip=test::test_sh" + "--skip=test::test_stderr" + "--skip=test::test_swapping" + "--skip=src/lib.rs - ReaderHandle (line 1929)") + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-shared-child" ,rust-shared-child-1)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/oconnor663/duct.rs") + (synopsis "Library for running child processes") + (description "A library for running child processes.") + (license license:expat))) -(define-public rust-duct-0.13 +(define-public rust-duplicate-1 (package - (name "rust-duct") - (version "0.13.5") + (name "rust-duplicate") + (version "1.0.0") (source (origin (method url-fetch) - (uri (crate-uri "duct" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "duplicate" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "13bxiy0y1dck3xz28rqw5ylf2ykv6mk8ww6g8408x26hksjs1ihg")))) + (base32 "1jrh28a3g9xw0w9v21y92d4k08lgr1ffg8mjhw2h67h6r5mfcy6y")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-os-pipe" ,rust-os-pipe-0.9) - ("rust-shared-child" ,rust-shared-child-0.3)) + `(#:cargo-test-flags + '("--" + "--skip=errors::basic_expansion_errors" + "--skip=errors::highlight_expansion_errors" + "--skip=errors::hint_expansion_errors" + "--skip=module_disambiguation::test_expansions" + "--skip=no_features::test_edition_2021" + "--skip=no_features::test_expansions") + #:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro-error" ,rust-proc-macro-error-1)) #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))) - (home-page - "https://github.com/oconnor663/duct.rs") + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-duplicate-macrotest" ,rust-duplicate-macrotest-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/Emoun/duplicate") (synopsis - "Library for running child processes") + "Provides macros for duplication of code with variable substitution") (description - "A library for running child processes.") - (license license:expat))) + "This package provides macros for duplication of code with variable +substitution.") + (license (list license:expat license:asl2.0)))) -(define-public rust-dyn-clone-1 +(define-public rust-duplicate-macrotest-1 (package - (name "rust-dyn-clone") - (version "1.0.17") + (name "rust-duplicate-macrotest") + (version "1.0.7") (source (origin (method url-fetch) - (uri (crate-uri "dyn-clone" version)) + (uri (crate-uri "duplicate_macrotest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "09cig7dgg6jnqa10p4233nd8wllbjf4ffsw7wj0m4lwa5w3z0vhd")))) - (arguments - `(#:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1) - ("rust-trybuild" ,rust-trybuild-1)))) + (base32 "15p4d596vknjx5vba86pa08aci7grl7nsxqp92gqxfj5mh5nwz9a")))) (build-system cargo-build-system) - (home-page "https://crates.io/crates/dyn-clone") - (synopsis "Clone trait that is object-safe") - (description "This package provides a clone trait that is object-safe.") + (arguments + `(#:cargo-inputs (("rust-diff" ,rust-diff-0.1) + ("rust-glob" ,rust-glob-0.3) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.8)))) + (home-page "https://github.com/emoun/duplicate_macrotest") + (synopsis + "Fork of the macrotest crate specifically to test the duplicate crate") + (description + "This package provides a fork of the macrotest crate specifically to test +the duplicate crate.") (license (list license:expat license:asl2.0)))) (define-public rust-dwrote-0.11 (package (name "rust-dwrote") - (version "0.11.0") + (version "0.11.2") (source (origin (method url-fetch) (uri (crate-uri "dwrote" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nx6d9ddqjv0gfi1if3zbsnc9sfj6qfm900jfgnx66k1llmir6j3")))) + (base32 "1z85pyzac4zpap94czx7nkn1hys64n95ddlnpar34djsa84jf63h")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -24027,21 +22036,40 @@ Rust.") "This package provides lightweight binding to DirectWrite.") (license license:mpl2.0))) +(define-public rust-dyn-clone-1 + (package + (name "rust-dyn-clone") + (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 "09cig7dgg6jnqa10p4233nd8wllbjf4ffsw7wj0m4lwa5w3z0vhd")))) + (arguments + `(#: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 "This package provides a clone trait that is object-safe.") + (license (list license:expat license:asl2.0)))) + (define-public rust-easy-cast-0.5 (package (name "rust-easy-cast") - (version "0.5.2") + (version "0.5.3") (source (origin (method url-fetch) (uri (crate-uri "easy-cast" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mizff08p0rlmgvi81rqdblji372rhr17xlvzmqylfsz2iw6g4qh")))) + (base32 "1mjhjxibj228bzs817rwaqdicxmln6dqqffabrjn5j1fd4v2g1bj")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--") ; fails in --release mode - #:cargo-inputs (("rust-libm" ,rust-libm-0.2)))) + `(#: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 @@ -24067,14 +22095,14 @@ easy.") (define-public rust-easy-parallel-3 (package (name "rust-easy-parallel") - (version "3.3.0") + (version "3.3.1") (source (origin (method url-fetch) (uri (crate-uri "easy-parallel" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00g0fvbjkdbqm6z5xcx3b1wzi8rlrhqb840ybavgijhg74iljq64")))) + (base32 "0g12xq122hy170pprldvgmpml0zz1mn9n4hq5c6ly3pnmsqbkyra")))) (build-system cargo-build-system) (home-page "https://github.com/stjepang/easy-parallel") (synopsis "Run closures in parallel") @@ -24084,40 +22112,17 @@ waiting for them to complete. Threads are allowed to borrow local variables from the main thread.") (license (list license:asl2.0 license:expat)))) -(define-public rust-easycurses-0.12 - (package - (name "rust-easycurses") - (version "0.12.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "easycurses" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10cp60lrhn1k0vg97jgzqbk03x4hmhrgxbz9m3gcmzhzbpn88m2a")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pancurses" ,rust-pancurses-0.16)))) - (home-page "https://github.com/Lokathor/easycurses-rs") - (synopsis "Work with @code{curses} easily") - (description - "This package provides a crate that makes working with @code{curses} -easy.") - (license (list license:unlicense license:zlib)))) - (define-public rust-ecb-0.1 (package (name "rust-ecb") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "ecb" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "18l1frsqg84c9ymn6shp0k51q7j6l95cpg3vw8g3a159h6x89z8p")))) + "1iw1i0mwkvg3599mlw24iibid6i6zv3a3jhghm2j3v0sbfbzm2qs")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -24131,23 +22136,43 @@ easy.") (description "Electronic Codebook (ECB) block cipher mode of operation") (license license:expat))) +(define-public rust-edit-0.1 + (package + (name "rust-edit") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "edit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02dan6bg9pcj42ny48g8fq9f76w30c826n4gihy1d1s7fq78cr7k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-which" ,rust-which-4)))) + (home-page "https://github.com/milkey-mouse/edit") + (synopsis "Open a file in the default text editor") + (description + "This package provides functions to open a file in the default text editor.") + (license license:cc0))) + (define-public rust-edit-distance-2 (package (name "rust-edit-distance") - (version "2.1.0") + (version "2.1.3") (source (origin (method url-fetch) (uri (crate-uri "edit-distance" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0yq3wlmd7ly22qxhfysi77qp31yvpx2ll9waa75bkpiih7rsmfmv")))) + "15vkx4haqr6ldgpmamb38h30v57clpx6klfzanhhk303ggl9gx73")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)))) + `(#:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-1)))) (home-page "https://github.com/febeling/edit-distance") (synopsis "Levenshtein edit distance between strings") (description @@ -24181,16 +22206,15 @@ easy.") (define-public rust-ego-tree-0.6 (package (name "rust-ego-tree") - (version "0.6.2") + (version "0.6.3") (source (origin (method url-fetch) (uri (crate-uri "ego-tree" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "149mkc6j7bx653s39rpnsnpl5dvd1rj18czcil57w54k868a8s1s")))) + (base32 "0hincmpradjn146d4as5yj9c8k5l97wvxfyhf3qzra84mhabp80j")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/programble/ego-tree") (synopsis "Vec-backed ID-tree") (description "Ego Tree provides a vec-backed ID-tree.") @@ -24199,19 +22223,19 @@ easy.") (define-public rust-either-1 (package (name "rust-either") - (version "1.10.0") + (version "1.13.0") (source (origin (method url-fetch) (uri (crate-uri "either" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jiyq2mc1aa5b8whwl1bhm11i06xxcbk9ck7macxxggzjk07l58i")))) + (base32 "1w2c1mybrd7vljyxk77y9f4w9dyjrmp3yp82mk7bcm8848fazcb0")))) (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/bluss/either") + (home-page "https://github.com/rayon-rs/either") (synopsis "Enum @code{Either} with variants @code{Left} and @code{Right}") (description @@ -24222,14 +22246,14 @@ easy.") (define-public rust-elain-0.3 (package (name "rust-elain") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "elain" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wgpyy0m48vdnrip0f4x1h8w4bp2lxgy8pqk78qwhrbxmr7hj8im")))) + (base32 "0ym7gc1wbr1ynvjhcxifjadk51bbmg5qdsf2q7r0bvvyapgrp8vb")))) (build-system cargo-build-system) (home-page "https://docs.rs/elain/latest/elain/") (synopsis "Set a type's minimum alignment with const generics") @@ -24506,6 +22530,29 @@ Emacs' support for dynamic modules.") ("rust-log" ,rust-log-0.4) ("rust-tokio" ,rust-tokio-1)))))) +(define-public rust-eml-parser-0.1 + (package + (name "rust-eml-parser") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "eml-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bhgx1i952g2v7w0icnqkylvhfiyb2am2mbw89v8zq0jz0aqvnx7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=parser::tests::test_parse_phishing_emails" + "--skip=parser::tests::test_parse_rfc2047") + #:cargo-inputs (("rust-regex" ,rust-regex-1) + ("rust-rfc2047-decoder" ,rust-rfc2047-decoder-1)))) + (home-page "https://github.com/aeshirey/EmlParser/") + (synopsis "Library for parsing .eml files.") + (description "This package provides a library for parsing .eml files.") + (license license:asl2.0))) + (define-public rust-emojis-0.5 (package (name "rust-emojis") @@ -24560,21 +22607,19 @@ difference.") (define-public rust-ena-0.14 (package (name "rust-ena") - (version "0.14.0") + (version "0.14.3") (source (origin (method url-fetch) (uri (crate-uri "ena" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1hrnkx2swbczn0jzpscxxipx7jcxhg6sf9vk911ff91wm6a2nh6p")))) + (base32 "1m9a5hqk6qn5sqnrc40b55yr97drkfdzd0jj863ksqff8gfqn91x")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-dogged" ,rust-dogged-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-petgraph" ,rust-petgraph-0.4)))) + ("rust-log" ,rust-log-0.4)))) (home-page "https://github.com/rust-lang/ena") (synopsis "Union-find, congruence closure, and other unification code") (description "This package provides an implementation of union-find / @@ -24613,7 +22658,7 @@ experimentation.") `(#:skip-build? #t #:cargo-inputs (("rust-ascii" ,rust-ascii-1) - ("rust-clippy" ,rust-clippy-0.0)) + ("rust-clippy" ,rust-clippy-0.0.302)) #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)))) (home-page "https://github.com/tormol/encode_unicode") @@ -24806,14 +22851,14 @@ encodings.") (define-public rust-encoding-rs-0.8 (package (name "rust-encoding-rs") - (version "0.8.34") + (version "0.8.35") (source (origin (method url-fetch) (uri (crate-uri "encoding_rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nagpi1rjqdpvakymwmnlxzq908ncg868lml5b70n08bm82fjpdl")))) + (base32 "1wv64xdrr9v37rqqdjsyb8l8wzlcbab80ryxhrszvnj59wy0y0vm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -24933,17 +22978,17 @@ from HTML entities.") (define-public rust-enum-as-inner-0.6 (package (name "rust-enum-as-inner") - (version "0.6.0") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "enum-as-inner" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sjl5z0ycicpxg88qnn57m6sxi3ny9fl7b7vz0pb61bcjsvcpz2z")))) + (base32 "1g3cywc65d9w974l2xy86ij13njss3qjc7b0kfbzbws9qrjs5rm1")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))) @@ -24976,7 +23021,7 @@ accessor functions on enums.") (package (inherit rust-enum-as-inner-0.5) (name "rust-enum-as-inner") - (version "0.3.3") + (version "0.3.4") (source (origin (method url-fetch) @@ -24984,10 +23029,10 @@ accessor functions on enums.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "15gmpgywijda93lkq7hf2y53h66sqkhzabzbxich288xm6b00pvw")))) + "1m2l8zh0yd7i95qkyha86ca8m0bnhfimv38dr3n4p41yh6di03ap")))) (arguments `(#:cargo-inputs - (("rust-heck" ,rust-heck-0.3) + (("rust-heck" ,rust-heck-0.4) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) @@ -25036,14 +23081,14 @@ accessor functions on enums.") (define-public rust-enum-dispatch-0.3 (package (name "rust-enum-dispatch") - (version "0.3.11") + (version "0.3.13") (source (origin (method url-fetch) (uri (crate-uri "enum_dispatch" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qlxlxjvy92s0fwcwlnd2cdkkyml1755xap2lq8v4812hsanxwqi")) + "1kby2jz173ggg7wk41vjsskmkdyx7749ll8lhqhv6mb5qqmww65a")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -25052,16 +23097,16 @@ accessor functions on enums.") (build-system cargo-build-system) (arguments (list - #:skip-build? #t ; Needs newer version of rust-smol + #:tests? #f ; `#![feature]` may not be used on the stable release channel #:cargo-inputs `(("rust-once-cell" ,rust-once-cell-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) + ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs `(("rust-custom-derive" ,rust-custom-derive-0.1) ("rust-enum-derive" ,rust-enum-derive-0.1) - ("rust-rand" ,rust-rand-0.6) + ("rust-rand" ,rust-rand-0.5) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-smol" ,rust-smol-1)))) @@ -25072,49 +23117,34 @@ accessor functions on enums.") increasing their method call speed up to 10x.") (license (list license:expat license:asl2.0)))) -(define-public rust-enum-iterator-1 +(define-public rust-enum-map-0.6 (package - (name "rust-enum-iterator") - (version "1.4.1") + (name "rust-enum-map") + (version "0.6.6") (source (origin (method url-fetch) - (uri (crate-uri "enum-iterator" version)) + (uri (crate-uri "enum-map" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12g63d7w5vpq964f7fbnahw2qiqsml3f9j3rxrk6f1yxnmrkipbs")))) + (base32 "166yh44izfz871f4avl10cp0l161shhsawfcl1q6slv3siamqn93")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-enum-iterator-derive" ,rust-enum-iterator-derive-1)))) - (home-page "https://github.com/stephaneyfx/enum-iterator") - (synopsis - "Iterate over all values of a type (e.g. all variants of an -enumeration)") + `(#:cargo-inputs + (("rust-array-macro" ,rust-array-macro-1) + ("rust-enum-map-derive" ,rust-enum-map-derive-0.4) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://gitlab.com/KonradBorowski/enum-map") + (synopsis "Map with C-like enum keys represented internally as an array") (description - "This package provides tools to iterate over all values of a -type (e.g. all variants of an enumeration)") - (license license:bsd-0))) - -(define-public rust-enum-iterator-derive-1 - (package - (name "rust-enum-iterator-derive") - (version "1.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "enum-iterator-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jzxgfhz4i0hvnw5qzqhwscky8vsmxljv89g0navisacay4qbkzf")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) - (home-page "https://github.com/stephaneyfx/enum-iterator") - (synopsis "Procedural macro to derive Sequence") - (description "This package provides a procedural macro to derive Sequence.") - (license license:bsd-0))) + "This package provides a map with C-like enum keys represented internally +as an array.") + (license (list license:expat license:asl2.0)))) (define-public rust-enum-map-derive-0.4 (package @@ -25140,34 +23170,6 @@ type (e.g. all variants of an enumeration)") @code{#[derive(Enum)]}.") (license (list license:expat license:asl2.0)))) -(define-public rust-enum-map-0.6 - (package - (name "rust-enum-map") - (version "0.6.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "enum-map" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0m8qg32fnjdf6z64j4wmyp935p5838wd31gibkiqpbpl76c9k1s1")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-array-macro" ,rust-array-macro-1) - ("rust-enum-map-derive" ,rust-enum-map-derive-0.4) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-test" ,rust-serde-test-1)))) - (home-page "https://gitlab.com/KonradBorowski/enum-map") - (synopsis "Map with C-like enum keys represented internally as an array") - (description - "This package provides a map with C-like enum keys represented internally -as an array.") - (license (list license:expat license:asl2.0)))) - (define-public rust-enum-primitive-0.1 (package (name "rust-enum-primitive") @@ -25194,16 +23196,15 @@ instances for enum.") (define-public rust-enum-primitive-derive-0.2 (package (name "rust-enum-primitive-derive") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) (uri (crate-uri "enum-primitive-derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0h1k2izdl5lf2na8xnj7rgwjm8gawxc2p1w8j6ahifvyka7jhljz")))) + "03ibjjx8dc4akpq8ck24qda5ix4jybz9jagfxykd0s6vxb2vjxf3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -25217,48 +23218,25 @@ instances for enum.") implement enum_primitive.") (license license:expat))) -(define-public rust-enum-to-u8-slice-derive-0.1 - (package - (name "rust-enum-to-u8-slice-derive") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "enum_to_u8_slice_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hvzi74pnh5a7f4klrk0dz45l0mgcy5l3zajjhjsxzws28js4yc4")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-quote" ,rust-quote-0.3) - ("rust-syn" ,rust-syn-0.11)))) - (home-page "https://github.com/mesalock-linux/enum_to_u8_slice_derive") - (synopsis "Convert enum to u8 slice ref") - (description - "This package provides a simple fork of @code{enum_to_str_derive}, -convert enum to u8 slice ref.") - (license license:bsd-3))) - (define-public rust-enumber-0.3 (package (name "rust-enumber") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "enumber" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "06gd26x1fpxphkzlxnkmyjc7zalrr2vw88lz4yg23x6q62dv8dgs")))) + "1gxxqms1zpadyy1whq0ms1vwymz19mq197gfq53dhxnx14cig50f")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/kinnison/enumber/") (synopsis "Provide useful impls on numerical enums") - (description "Provide useful impls on numerical enums") + (description "This package provides useful impls on numerical enums.") (license license:bsd-3))) (define-public rust-enumflags2-0.7 @@ -25342,69 +23320,153 @@ convert enum to u8 slice ref.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-enum-ordinalize-4 + (package + (name "rust-enum-ordinalize") + (version "4.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-ordinalize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1max64z9giii61qcwl56rndd7pakaylkaij5zqbbbvjl9vxdr87y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-enum-ordinalize-derive" ,rust-enum-ordinalize-derive-4)))) + (home-page "https://magiclen.org/enum-ordinalize") + (synopsis "Construction of enums from an ordinal value") + (description + "This library enables enums to not only obtain the ordinal values of their +variants but also allows for the construction of enums from an ordinal value.") + (license license:expat))) + +(define-public rust-enum-ordinalize-derive-4 + (package + (name "rust-enum-ordinalize-derive") + (version "4.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-ordinalize-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zy53fabazimwv5cl0366k834ybixzl84lxj9mfavbnlfn532a0d")))) + (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://magiclen.org/enum-ordinalize") + (synopsis "Macro that enables construction of enums from an ordinal value") + (description + "This crate provides a procedural macro that enables enums to not only +obtain the ordinal values of their variants but also allows for the +construction of enums from an ordinal value.") + (license license:expat))) + (define-public rust-enumset-1 (package (name "rust-enumset") - (version "1.0.8") + (version "1.1.5") (source (origin (method url-fetch) (uri (crate-uri "enumset" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0b2vdggbsnvvw09czxaazbqcpa378fycf7fs3afz5dbgkb0x45k2")))) + (base32 "14vjn774rvvs2ac2ykdld3bq8w657wy2f6hcbzpmqxjqjl24nynh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-enumset-derive" ,rust-enumset-derive-0.5) + (("rust-enumset-derive" ,rust-enumset-derive-0.10) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) - ("rust-rustversion" ,rust-rustversion-1) ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-trybuild" ,rust-trybuild-1)))) + ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/Lymia/enumset") (synopsis "Library for creating compact sets of enums") (description "This package provides a Rust library for creating compact sets of enums.") (license (list license:expat license:asl2.0)))) -(define-public rust-enumset-derive-0.5 +(define-public rust-enumset-derive-0.10 (package (name "rust-enumset-derive") - (version "0.5.5") + (version "0.10.0") (source - (origin - (method url-fetch) - (uri (crate-uri "enumset_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m7ccz9fcxsx3s1drj77psk62xfgjia0hp9lal3qhpb5ls514lb4")))) + (origin + (method url-fetch) + (uri (crate-uri "enumset_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hp25sx7p60ms4xkdkz7x36byd96dhpq7hdxcr4k332x6i6b5hsr")))) (build-system cargo-build-system) (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-inputs (("rust-darling" ,rust-darling-0.20) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/Lymia/enumset") (synopsis "Internal helper crate for enumset") - (description "This package is an internal helper crate for -@code{rust-enumset}. It is not public API.") + (description + "This package provides an internal helper crate for @code{rust-enumset}. +It is not a public API.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-env-filter-0.1 + (package + (name "rust-env-filter") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "env_filter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l4p6f845cylripc3zkxa0lklk8rn2q86fqm522p6l2cknjhavhq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1)) + #:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.6)))) + (home-page "https://github.com/rust-cli/env_logger") + (synopsis "Filter log events using environment variables") + (description "Filter log events using environment variables.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-env-home-0.1 + (package + (name "rust-env-home") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "env_home" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zn08mk95rjh97831rky1n944k024qrwjhbcgb0xv9zhrh94xy67")))) + (build-system cargo-build-system) + (home-page "https://github.com/notpeter/env-home") + (synopsis "Get the user home directory in a cross-platform way") + (description + "This package gets the user home directory in a cross-platform way.") (license (list license:expat license:asl2.0)))) (define-public rust-env-logger-0.11 (package (name "rust-env-logger") - (version "0.11.2") + (version "0.11.6") (source (origin (method url-fetch) (uri (crate-uri "env_logger" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07932957jds3h7vh2bddhvfffax78dw6jlyx4k2fy1gnlwk2l0bc")))) + (base32 "1q30cqb2dfs3qrs0s30qdmqwi7n2gz4pniwd8a9gvhygwgcf7bnw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) @@ -25419,30 +23481,6 @@ compact sets of enums.") is configured via an environment variable.") (license (list license:expat license:asl2.0)))) -(define-public rust-log-reroute-0.1 - (package - (name "rust-log-reroute") - (version "0.1.8") - (source - (origin - (method url-fetch) - (uri (crate-uri "log-reroute" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00mw91qd2ibaawl7x1pxc1kryki0ixyirnlx64qx78d9g6k3n6kl")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) - ("rust-log" ,rust-log-0.4) - ("rust-once-cell" ,rust-once-cell-1)))) - (home-page "https://github.com/vorner/log-reroute") - (synopsis "Support to change logging target for the log crate") - (description - "This package provides Support to change logging target for the log crate.") - ;; This means asl2.0 OR expat. - (license (list license:asl2.0 license:expat)))) - (define-public rust-env-logger-0.10 (package (inherit rust-env-logger-0.11) @@ -25610,26 +23648,6 @@ is configured via an environment variable.") (("rust-regex" ,rust-regex-0.1) ("rust-log" ,rust-log-0.3)))))) -(define-public rust-env-filter-0.1 - (package - (name "rust-env-filter") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "env_filter" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1spp4jx0fissi0bg00d8nn4vnjwf6y3hr7d0vmcq65gb214al2d0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-log" ,rust-log-0.4) - ("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/rust-cli/env_logger") - (synopsis "Filter log events using environment variables") - (description "Filter log events using environment variables.") - (license (list license:expat license:asl2.0)))) - (define-public rust-env-proxy-0.4 (package (name "rust-env-proxy") @@ -25697,6 +23715,23 @@ variables.") deserialized from environment variables.") (license license:expat))) +(define-public rust-equivalent-1 + (package + (name "rust-equivalent") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "equivalent" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1malmx5f4lkfvqasz319lq6gb3ddg19yzf9s8cykfsgzdmyq0hsl")))) + (build-system cargo-build-system) + (home-page "https://github.com/cuviper/equivalent") + (synopsis "Traits for key comparison in maps") + (description "Traits for key comparison in maps.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-erased-serde-0.4 (package (name "rust-erased-serde") @@ -25727,7 +23762,7 @@ deserialized from environment variables.") (package (inherit rust-erased-serde-0.4) (name "rust-erased-serde") - (version "0.3.24") + (version "0.3.31") (source (origin (method url-fetch) @@ -25735,7 +23770,7 @@ deserialized from environment variables.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0zdaj96bf39h75rkdxkd1znik97s3j7m8ppgbxxfq5y0h59n1jp4")))) + "0v5jyid1v8irf2n2875iwhm80cw8x75gfkdh7qvzxrymz5s8j4vc")))) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) @@ -25749,14 +23784,14 @@ deserialized from environment variables.") (define-public rust-errno-0.3 (package (name "rust-errno") - (version "0.3.8") + (version "0.3.10") (source (origin (method url-fetch) (uri (crate-uri "errno" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ia28ylfsp36i27g1qih875cyyy4by2grf80ki8vhgh6vinf8n52")))) + "0pgblicz1kjz9wa9m0sghkhh2zw1fhq1mxzj7ndjm746kg5m5n1k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -25876,14 +23911,14 @@ deserialized from environment variables.") (define-public rust-error-code-3 (package (name "rust-error-code") - (version "3.2.0") + (version "3.3.1") (source (origin (method url-fetch) (uri (crate-uri "error-code" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nqpbhi501z3ydaxg4kjyb68xcw025cj22prwabiky0xsljl8ix0")))) + (base32 "0bx9hw3pahzqym8jvb0ln4qsabnysgn98mikyh2afhk9rif31nd5")))) (build-system cargo-build-system) (home-page "https://github.com/DoumanAsh/error-code") (synopsis "Alternative @code{Error} for Rust") @@ -25896,31 +23931,30 @@ deserialized from environment variables.") (package (inherit rust-error-code-3) (name "rust-error-code") - (version "2.3.0") + (version "2.3.1") (source (origin (method url-fetch) (uri (crate-uri "error-code" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zxi3pfrmj7hmv2bv94ax8vpylsfs49vwwp48c04wrr5mikma4dm")))) + (base32 "08baxlf8qz01lgjsdbfhs193r9y1nlc566s5xvzyf4dzwy8qkwb4")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-str-buf" ,rust-str-buf-1)))))) (define-public rust-escape8259-0.5 (package (name "rust-escape8259") - (version "0.5.2") + (version "0.5.3") (source (origin (method url-fetch) (uri (crate-uri "escape8259" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vjpfnk9fyq6qcc18bq7yfk9ahi2r12lfywr4rwcsvv6wc8ljkxs")))) + (base32 "1in2zrdak794x8v11lkrrgyqxjjqbijvg0yfn2paay0rb9xxv4jn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-rustversion" ,rust-rustversion-1)))) @@ -25957,49 +23991,36 @@ decoding.") (define-public rust-escargot-0.5 (package (name "rust-escargot") - (version "0.5.7") + (version "0.5.13") (source (origin (method url-fetch) (uri (crate-uri "escargot" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19h1yvg9x7lvyb7p75ypyb94sacns5dkxwc4fa56mcksgnhlnn7m")))) + (base32 "127drlrdvp235l528cirryvnfg0jmldzssccxwpkid8ng8car8q5")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; not all test files included + `(#:cargo-test-flags + '("--" + ;; Not all files included. + "--skip=src/build.rs - build::CargoBuild::run (line 283)" + "--skip=src/run.rs - run::CargoRun (line 23)" + "--skip=src/run.rs - run::CargoRun::command (line 116)" + "--skip=src/run.rs - run::CargoRun::path (line 65)") #:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)) #:cargo-development-inputs - (("rust-assert-fs" ,rust-assert-fs-1)))) + (("rust-automod" ,rust-automod-1) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/crate-ci/escargot") (synopsis "Cargo API written in Paris") (description "Cargo API written in Paris.") (license (list license:expat license:asl2.0)))) -(define-public rust-escargot-0.3 - (package - (inherit rust-escargot-0.5) - (name "rust-escargot") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "escargot" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "19fmn7bz1h6nlqy0mp825xwjwnrjn4xjdpwc06jl51j3fiz1znqr")))) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))))) - (define-public rust-etcetera-0.8 (package (name "rust-etcetera") @@ -26026,6 +24047,46 @@ libraries generally do not give you a choice in terms of which standards/convent they follow. Etcetera, on the other hand, gives you the choice.") (license (list license:expat license:asl2.0)))) +(define-public rust-etherparse-0.13 + (package + (name "rust-etherparse") + (version "0.13.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "etherparse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "146rcbnhlpcbl6c6csfhvz0227wbiwhk13md6acq8211b7m94wl2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)) + #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/JulianSchmid/etherparse") + (synopsis "Library for parsing & writing a bunch of packet based protocols") + (description + "This package provides a library for parsing & writing a bunch of packet +based protocols (@code{EthernetII}, IPv4, IPv6, UDP, TCP ...).") + (license (list license:expat license:asl2.0)))) + +(define-public rust-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-ethnum-1 (package (name "rust-ethnum") @@ -26068,6 +24129,41 @@ they follow. Etcetera, on the other hand, gives you the choice.") "This package contains LLVM generated 256-bit integer intrinsics.") (license (list license:expat license:asl2.0)))) +(define-public rust-ethtool-0.2 + (package + (name "rust-ethtool") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "ethtool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nivim6pzfvrnmyb0p7qv39q54vraa0z6jy0ims7gp0panih93hx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=test_dump_link_modes") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-genetlink" ,rust-genetlink-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-proto" ,rust-netlink-proto-0.11) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://docs.rs/ethtool/latest/ethtool/") + (synopsis "Linux Ethtool Communication Library") + (description "Linux Ethtool Communication Library.") + (license license:expat))) + (define-public rust-eui48-1 (package (name "rust-eui48") @@ -26293,14 +24389,14 @@ blocking data structures.") (define-public rust-event-listener-strategy-0.5 (package (name "rust-event-listener-strategy") - (version "0.5.2") + (version "0.5.3") (source (origin (method url-fetch) (uri (crate-uri "event-listener-strategy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18f5ri227khkayhv3ndv7yl4rnasgwksl2jhwgafcxzr7324s88g")))) + (base32 "1ch5gf6knllyq12jkb5zdfag573dh44307q4pwwi2g37sc6lwgiw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-5) @@ -26349,21 +24445,21 @@ blocking data structures.") ("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 +(define-public rust-exacl-0.12 (package (name "rust-exacl") - (version "0.11.0") + (version "0.12.0") (source (origin (method url-fetch) (uri (crate-uri "exacl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17vd67mhppnw1kbb053c4bygilbdviz53zrzm4z1cxr73hn1b5f6")))) + (base32 "1n26751wih2pq4dwij9fnb661w33hgn53wh9bnwdmkfy37g15gi2")))) (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" @@ -26372,7 +24468,7 @@ blocking data structures.") "--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) + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) ("rust-bitflags" ,rust-bitflags-2) ("rust-log" ,rust-log-0.4) ("rust-scopeguard" ,rust-scopeguard-1) @@ -26380,7 +24476,7 @@ blocking data structures.") ("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-env-logger" ,rust-env-logger-0.11) ("rust-serde-json" ,rust-serde-json-1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs (list acl)) @@ -26391,6 +24487,41 @@ blocking data structures.") lists (ACL) on @code{macOS}, Linux, and @code{FreeBSD}.") (license license:expat))) +(define-public rust-exacl-0.11 + (package + (inherit rust-exacl-0.12) + (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")))) + (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)))))) + (define-public rust-executable-path-1 (package (name "rust-executable-path") @@ -26477,35 +24608,6 @@ lists (ACL) on @code{macOS}, Linux, and @code{FreeBSD}.") by @file{sysexits.h}.") (license license:asl2.0))) -(define-public rust-exitfailure-0.5 - (package - (name "rust-exitfailure") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "exitfailure" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0585wix3b3pjjj90fkqj9x4ar46d24x82k8rdin3czzk5a1vvx9g")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-failure" ,rust-failure-0.1)) - #:cargo-development-inputs - (("rust-assert-cmd" ,rust-assert-cmd-0.9) - ("rust-predicates" ,rust-predicates-0.9)) - ;; Tests fail with "No such file or directory". - #:tests? #f)) - (home-page "https://github.com/tismith/exitfailure") - (synopsis "Provide @code{newtype} wrappers for using @code{?} in @code{main}") - (description - "This package provides a basic @code{newtype} wrappers to help with using -@code{?} in @code{main}.") - (license (list license:expat license:asl2.0)))) - (define-public rust-expat-sys-2 (package (name "rust-expat-sys") @@ -26539,14 +24641,14 @@ by @file{sysexits.h}.") (define-public rust-expect-test-1 (package (name "rust-expect-test") - (version "1.5.0") + (version "1.5.1") (source (origin (method url-fetch) (uri (crate-uri "expect-test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1q55nrkgzg345905aqbsdrwlq4sk0gjn4z5bdph1an1kc6jy02wy")))) + (base32 "1c5c081ykm4k5rlsam9jw56w4wgs2h7r4aj78zxlis1i8kzl7bv3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -26635,23 +24737,41 @@ like Don libes expect.") #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/GnomedDev/extract_map") - (synopsis "HashMap for memory efficent storage of value types") + (synopsis "HashMap for memory efficient storage of value types") (description - "This package provides a @code{HashMap} for memory efficent storage of value + "This package provides a @code{HashMap} for memory efficient storage of value types which contain their own keys.") (license license:expat))) +(define-public rust-extreme-666 + (package + (name "rust-extreme") + (version "666.666.666666") + (source + (origin + (method url-fetch) + (uri (crate-uri "extreme" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yrig1ky9a6xpcl5nqnkk9wyis7k7wjzb8bbr4n810apfhq5nq0n")))) + (build-system cargo-build-system) + (home-page "https://github.com/spacejam/extreme") + (synopsis "Extremely boring async function runner") + (description + "This package provides an extremely boring async function runner.") + (license license:gpl3))) + (define-public rust-eyeball-0.8 (package (name "rust-eyeball") - (version "0.8.7") + (version "0.8.8") (source (origin (method url-fetch) (uri (crate-uri "eyeball" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yw01cm6316xrq26nz3nhlvnsfahc96j692brrai04c2v69jhj22")))) + (base32 "0grqzyxfc1nygfa4r9hr9sj6hncpjxpaj29w5lrxcq9xz7mx0fyr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-criterion" ,rust-criterion-0.5) @@ -26673,23 +24793,25 @@ types which contain their own keys.") (define-public rust-eyeball-im-0.4 (package (name "rust-eyeball-im") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "eyeball-im" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pb2dmqji80hj1c7skk5pg0w64lsqaanmm8ngf3fa2v7v4lsn7q2")))) + (base32 "1m1vz8f8nv1za8pvn4c00r71wrnc2i2qnq0jaj9ii7fmyvcwh9lk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) ("rust-imbl" ,rust-imbl-2) + ("rust-serde" ,rust-serde-1) ("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)))) + (("rust-serde-json" ,rust-serde-json-1) + ("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.") @@ -26778,27 +24900,52 @@ handling type for easy idiomatic error handling and reporting in Rust.") (description "Simple file accessibility checks in rust.") (license license:expat))) -(define-public rust-fakeit-1 +(define-public rust-failure-0.1 (package - (name "rust-fakeit") - (version "1.2.0") + (name "rust-failure") + (version "0.1.8") (source (origin (method url-fetch) - (uri (crate-uri "fakeit" version)) + (uri (crate-uri "failure" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zsz58zfawf3zk9ig3n7dbd382lgndjx0xxngwsymilcgipr0bfi")))) + (base32 "11jg1wmbkijrs6bk9fqnbrm9zf0850whnqpgnxyswbn0dk8rnbnk")))) (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))) + `(#:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-failure-derive" ,rust-failure-derive-0.1)))) + (home-page "https://rust-lang-nursery.github.io/failure/") + (synopsis "Experimental error handling abstraction") + (description + "Experimental error handling abstraction.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-failure-derive-0.1 + (package + (name "rust-failure-derive") + (version "0.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "failure_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1936adqqk080439kx2bjf1bds7h89sg6wcif4jw0syndcv3s6kda")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1) + ("rust-synstructure" ,rust-synstructure-0.12)) + #:cargo-development-inputs + (("rust-failure" ,rust-failure-0.1)))) + (home-page "https://rust-lang-nursery.github.io/failure/") + (synopsis "Derives for the failure crate") + (description "Derives for the failure crate.") + (license (list license:asl2.0 license:expat)))) (define-public rust-fake-simd-0.1 (package @@ -26821,6 +24968,28 @@ handling type for easy idiomatic error handling and reporting in Rust.") "Crate for mimicking simd crate on stable Rust.") (license (list license:asl2.0 license:expat)))) +(define-public rust-fakeit-1 + (package + (name "rust-fakeit") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fakeit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "057155zak9jx127jv5mlaw4kvpsj795fxmzsgg3j9mh5yxz6c9kr")))) + (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-fallible-collections-0.5 (package (name "rust-fallible-collections") @@ -26861,59 +25030,6 @@ fallible format macro.") (arguments `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13)))))) -(define-public rust-failure-0.1 - (package - (name "rust-failure") - (version "0.1.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "failure" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0js6i6mb42q1g6q3csfbmi6q40s64k96705xbim0d8zg44j9qlmq")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-failure-derive" ,rust-failure-derive-0.1)))) - (home-page "https://rust-lang-nursery.github.io/failure/") - (synopsis "Experimental error handling abstraction") - (description - "Experimental error handling abstraction.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-failure-derive-0.1 - (package - (name "rust-failure-derive") - (version "0.1.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "failure_derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cfjz0c9szqpxn43b2r722p6m3swzxj7aj6xhqw23ml7h8y762h3")))) - (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) - ("rust-synstructure" ,rust-synstructure-0.12)) - #:cargo-development-inputs - (("rust-failure" ,rust-failure-0.1)))) - (home-page "https://rust-lang-nursery.github.io/failure/") - (synopsis "Derives for the failure crate") - (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") @@ -26964,20 +25080,20 @@ provides implementations for @code{HashMap} and @code{HashSet}.") (description "Fallible streaming iteration") (license (list license:expat license:asl2.0)))) -(define-public rust-fancy-regex-0.13 +(define-public rust-fancy-regex-0.14 (package (name "rust-fancy-regex") - (version "0.13.0") + (version "0.14.0") (source (origin (method url-fetch) (uri (crate-uri "fancy-regex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wjbqjsdj8fkq6z2i9llq25iaqzd9f208vxnwg8mdbr2ba1lc7jk")))) + (base32 "162j2qx2ikgl79grq12mawyflwkirnjzrvxh11a1xbmwjidcn93f")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bit-set" ,rust-bit-set-0.5) + `(#:cargo-inputs (("rust-bit-set" ,rust-bit-set-0.8) ("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) @@ -26994,6 +25110,27 @@ implement features such as look-around and backtracking, which are not supported in purely NFA-based implementations.") (license license:expat))) +(define-public rust-fancy-regex-0.13 + (package + (inherit rust-fancy-regex-0.14) + (name "rust-fancy-regex") + (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 "1wjbqjsdj8fkq6z2i9llq25iaqzd9f208vxnwg8mdbr2ba1lc7jk")))) + (arguments + `(#:cargo-inputs (("rust-bit-set" ,rust-bit-set-0.5) + ("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-regex" ,rust-regex-1)))))) + (define-public rust-fancy-regex-0.11 (package (inherit rust-fancy-regex-0.13) @@ -27076,55 +25213,6 @@ is defined in the HTML specification.") (description "This package provides a fast floating-point number parser.") (license (list license:expat license:asl2.0)))) -(define-public rust-fasthash-0.4 - (package - (name "rust-fasthash") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fasthash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03v9g4ajw0zk9pv2ranq65xcly1b68hg0qzc2y8y1ajfdfa168h3")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-fasthash-sys" ,rust-fasthash-sys-0.3) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-seahash" ,rust-seahash-3) - ("rust-xoroshiro128" ,rust-xoroshiro128-0.3)))) - (home-page "https://github.com/flier/rust-fasthash") - (synopsis "Suite of non-cryptographic hash functions for Rust") - (description - "This package provides a suite of non-cryptographic hash functions for -Rust.") - (license license:asl2.0))) - -(define-public rust-fasthash-sys-0.3 - (package - (name "rust-fasthash-sys") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "fasthash-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1y18v8yya5pnzgfji9lwnrz5jl7q8q2xj2a0sg6ibrz2pwd99pmn")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.37) - ("rust-gcc" ,rust-gcc-0.3)))) - (home-page "https://github.com/flier/rust-fasthash") - (synopsis "Suite of non-cryptographic hash functions for Rust") - (description - "This package provides a suite of non-cryptographic hash functions for -Rust.") - (license license:asl2.0))) - (define-public rust-faster-hex-0.9 (package (name "rust-faster-hex") @@ -27175,6 +25263,55 @@ Rust.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-fasthash-0.4 + (package + (name "rust-fasthash") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fasthash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03v9g4ajw0zk9pv2ranq65xcly1b68hg0qzc2y8y1ajfdfa168h3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-fasthash-sys" ,rust-fasthash-sys-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-seahash" ,rust-seahash-3) + ("rust-xoroshiro128" ,rust-xoroshiro128-0.3)))) + (home-page "https://github.com/flier/rust-fasthash") + (synopsis "Suite of non-cryptographic hash functions for Rust") + (description + "This package provides a suite of non-cryptographic hash functions for +Rust.") + (license license:asl2.0))) + +(define-public rust-fasthash-sys-0.3 + (package + (name "rust-fasthash-sys") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "fasthash-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y18v8yya5pnzgfji9lwnrz5jl7q8q2xj2a0sg6ibrz2pwd99pmn")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.37) + ("rust-gcc" ,rust-gcc-0.3)))) + (home-page "https://github.com/flier/rust-fasthash") + (synopsis "Suite of non-cryptographic hash functions for Rust") + (description + "This package provides a suite of non-cryptographic hash functions for +Rust.") + (license license:asl2.0))) + (define-public rust-fastq-0.6 (package (name "rust-fastq") @@ -27215,14 +25352,14 @@ Rust.") (define-public rust-fastrand-2 (package (name "rust-fastrand") - (version "2.1.1") + (version "2.3.0") (source (origin (method url-fetch) (uri (crate-uri "fastrand" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19nyzdq3ha4g173364y2wijmd6jlyms8qx40daqkxsnl458jmh78")))) + (base32 "1ghiahsw1jd68df895cy5h3gzwk30hndidn3b682zmshpgmrx41p")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -27287,61 +25424,21 @@ descriptor to it.") (package (inherit rust-fd-lock-4) (name "rust-fd-lock") - (version "3.0.12") + (version "3.0.13") (source (origin (method url-fetch) (uri (crate-uri "fd-lock" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hlnn1302p37qlc9xl2k5y0vw8q8id5kg59an6riy89hjlynpbir")))) + (base32 "1df1jdncda67g65hrnmd2zsl7q5hdn8cm84chdalxndsx7akw0zg")))) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-rustix" ,rust-rustix-0.37) + ("rust-rustix" ,rust-rustix-0.38) ("rust-windows-sys" ,rust-windows-sys-0.48)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-fd-lock-2 - (package - (inherit rust-fd-lock-3) - (name "rust-fd-lock") - (version "2.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fd-lock" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01kzrikg3a60lxmr0k8bbm4nggh6693f1pf530ip136qzwpg0400")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("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") @@ -27496,59 +25593,17 @@ Atom, RSS 2.0, RSS 1.0, RSS 0.x and JSON Feed") ;; No copyright headers in the source code. LICENSE indicates gpl3. (license license:gpl3))) -(define-public rust-fehler-1 - (package - (name "rust-fehler") - (version "1.0.0") - (source (origin - (method url-fetch) - (uri (crate-uri "fehler" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0d9nk0nimhrqhlwsm42kmg6bwhfqscnfddj70xawsa50kgj9ywnm")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-fehler-macros" ,rust-fehler-macros-1)))) - (home-page "https://github.com/withoutboats/fehler") - (synopsis "Library for error-handling syntax in Rust") - (description - "This package provides a library for error-handling syntax in Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-fehler-macros-1 - (package - (name "rust-fehler-macros") - (version "1.0.0") - (source (origin - (method url-fetch) - (uri (crate-uri "fehler-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1y808jbwbngji40zny0b0dvxsw9a76g6fl1c5qigmfsy0jqsrdfc")))) - (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/withoutboats/fehler") - (synopsis "Macros for fehler") - (description "This package provides macros for the fehler crate.") - (license (list license:expat license:asl2.0)))) - (define-public rust-femme-2 (package (name "rust-femme") - (version "2.1.1") + (version "2.2.1") (source (origin (method url-fetch) (uri (crate-uri "femme" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0d7h1lzbcrqcn8v5l6m7i15lkbbaaz394l6vavbr8nhs757s5w9a")))) + (base32 "1vqk8sjnc4qw51a816kppwirf2dkj6rfdnjjsm92kap3b8g8f16c")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -27789,20 +25844,41 @@ prime field implementations in rust.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-field-offset-0.3 + (package + (name "rust-field-offset") + (version "0.3.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "field-offset" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zq5sssaa2ckmcmxxbly8qgz3sxpb8g1lwv90sdh1z74qif2gqiq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-memoffset" ,rust-memoffset-0.9) + ("rust-rustc-version" ,rust-rustc-version-0.4)))) + (home-page "https://github.com/Diggsey/rust-field-offset") + (synopsis "Safe pointer-to-member implementation") + (description "This package provides safe pointer-to-member implementation.") + (license (list license:expat license:asl2.0)))) + (define-public rust-figment-0.10 (package (name "rust-figment") - (version "0.10.15") + (version "0.10.19") (source (origin (method url-fetch) (uri (crate-uri "figment" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dnfri2371wzmk7lcxfd121z35b1b2251d93yc23w8b7f1z6fw3j")))) + (base32 "1ww9sxdzjj2i80w7bq0kllnymjyrfb1cdx2h70ap5wqcdga1rc4c")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; unresolved import `figment::providers::Toml` + `(#:tests? #f ; unresolved import `crate::providers::Toml` #:cargo-inputs (("rust-atomic" ,rust-atomic-0.6) ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-pear" ,rust-pear-0.2) @@ -27842,18 +25918,18 @@ prime field implementations in rust.") (define-public rust-file-id-0.2 (package (name "rust-file-id") - (version "0.2.1") + (version "0.2.2") (source (origin (method url-fetch) (uri (crate-uri "file-id" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jdg9xq830hghzrqkbnx8nda58a7z6mh8b6vlg5mj87v4l2ji135")))) + (base32 "0dmylm34z6g8cg3b60sc6bk9v5wv9930vyx9wgcdpjpgpfwh9jbb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/notify-rs/notify") (synopsis @@ -28011,14 +26087,14 @@ creation time on Windows before Rust 1.75.") (define-public rust-filetreelist-0.5 (package (name "rust-filetreelist") - (version "0.5.1") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "filetreelist" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i7lnk5ncbjg2nfgadx8phmv7ihaak5872cclrdv54bl620id132")))) + (base32 "0j7s58lxg28kq39156n17qbf1iygkn7bxgi2xs99wz706syymyg8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)) @@ -28031,30 +26107,6 @@ creation time on Windows before Rust 1.75.") navigation events, folding, scrolling and more.") (license license:expat))) -(define-public rust-field-offset-0.3 - (package - (name "rust-field-offset") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "field-offset" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14pvxz7yr0r3mlhaf65zva3r9d0kqid01wdw7ngx7jsh2jam870y")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-memoffset" ,rust-memoffset-0.6) - ("rust-rustc-version" ,rust-rustc-version-0.3)))) - (home-page "https://github.com/Diggsey/rust-field-offset") - (synopsis "Safe pointer-to-member implementation") - (description "This package provides safe pointer-to-member -implementation.") - (license (list license:expat license:asl2.0)))) - (define-public rust-find-crate-0.6 (package (name "rust-find-crate") @@ -28127,43 +26179,44 @@ cross platform API.") (define-public rust-finl-unicode-1 (package (name "rust-finl-unicode") - (version "1.2.0") + (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "finl_unicode" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ipdx778849czik798sjbgk5yhwxqybydac18d2g9jb20dxdrkwg")))) + (base32 "0qy1rwjxkqbl6g8ngm2p33y83r4mbfk3l22075yv6vlh4nsp1jcl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-criterion" ,rust-criterion-0.3) + ("rust-criterion" ,rust-criterion-0.5) ("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.") + (description "This package provides a library for handling Unicode +functionality for finl.") (license (list license:expat license:asl2.0)))) (define-public rust-fixed-1 (package (name "rust-fixed") - (version "1.24.0") + (version "1.28.0") (source (origin (method url-fetch) (uri (crate-uri "fixed" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zbfwzk4mrfbawpx2ahz533bkb97jzihv7fxiyhpmwf0wzkrrih2")))) + (base32 "0nn85j5x8yzx10q49jdzia4yp6pnasnxpnwh0p9aqr7qkfwf1il5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) ("rust-az" ,rust-az-1) - ("rust-borsh" ,rust-borsh-0.10) + ("rust-borsh" ,rust-borsh-1) ("rust-bytemuck" ,rust-bytemuck-1) ("rust-half" ,rust-half-1) ("rust-num-traits" ,rust-num-traits-0.2) @@ -28174,36 +26227,6 @@ cross platform API.") (description "This package provides fixed-point numbers in Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-fixed-hash-0.7 - (package - (name "rust-fixed-hash") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fixed-hash" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0g29r0zwf09kg70nprn0s444bn6nfsglmiafhl1pm8ajzvbhxkyg")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arbitrary" ,rust-arbitrary-0.4) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-rand" ,rust-rand-0.8) - ("rust-rustc-hex" ,rust-rustc-hex-2) - ("rust-static-assertions" ,rust-static-assertions-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-rand" ,rust-rand-0.8) - ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)))) - (home-page "https://github.com/paritytech/parity-common") - (synopsis "Macros to define custom fixed-size hash types") - (description "This package provides Rust macros to define -custom fixed-size hash types.") - (license (list license:expat license:asl2.0)))) - (define-public rust-fixedbitset-0.4 (package (name "rust-fixedbitset") @@ -28255,14 +26278,14 @@ custom fixed-size hash types.") (define-public rust-flagset-0.4 (package (name "rust-flagset") - (version "0.4.3") + (version "0.4.6") (source (origin (method url-fetch) (uri (crate-uri "flagset" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "16alqal1jyg1pibd72drdq2ax5cb1fs09f54ghpw043qg75579nd")))) + "1v46bj0v8zqw6nnj16vhsmssxm04zj8xv50hnyjjcy1hz32ixsmk")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -28294,29 +26317,11 @@ enumeration-based bit flags in rust.") (("rust-flaky-test-impl" ,rust-flaky-test-impl-0.2) ("rust-future-utils" ,rust-futures-util-0.3)))) (home-page "https://github.com/denoland/flaky_test") - (synopsis "Atttribute macro for running a flaky test multiple times") - (description "This package provides an atttribute macro for running a flaky + (synopsis "Attribute macro for running a flaky test multiple times") + (description "This package provides an attribute macro for running a flaky test multiple times.") (license license:expat))) -(define-public rust-flaky-test-0.1 - (package - (inherit rust-flaky-test-0.2) - (name "rust-flaky-test") - (version "0.1.0") - (source (origin - (method url-fetch) - (uri (crate-uri "flaky_test" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "14yvm0knhcx0xfwlykir2v198x5bpwf333yrdl2mmkv8n5gdx727")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-flaky-test-impl-0.2 (package (name "rust-flaky-test-impl") @@ -28436,39 +26441,29 @@ test multiple times.") ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-flate2-1 +(define-public rust-float-cmp-0.10 (package - (name "rust-flate2") - (version "1.0.34") + (name "rust-float-cmp") + (version "0.10.0") (source (origin (method url-fetch) - (uri (crate-uri "flate2" version)) + (uri (crate-uri "float-cmp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1w1nf2ap4q1sq1v6v951011wcvljk449ap7q7jnnjf8hvjs8kdd1")))) + (base32 "1n760i3nxd2x0zc7fkxkg3vhvdyfbvzngna006cl9s9jacaz775h")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cloudflare-zlib-sys" ,rust-cloudflare-zlib-sys-0.3) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-libz-ng-sys" ,rust-libz-ng-sys-1) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-libz-rs-sys" ,rust-libz-rs-sys-0.3) - ("rust-miniz-oxide" ,rust-miniz-oxide-0.7)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-1) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/rust-lang/flate2-rs") - (synopsis "Bindings to miniz.c for DEFLATE compression and decompression") - (description - "Bindings to miniz.c for DEFLATE compression and decompression exposed as -Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based -streams.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://github.com/mikedilger/float-cmp") + (synopsis "Floating point approximate comparison traits") + (description "This package provides floating point approximate comparison +traits.") + (license license:expat))) (define-public rust-float-cmp-0.9 (package + (inherit rust-float-cmp-0.10) (name "rust-float-cmp") (version "0.9.0") (source @@ -28478,16 +26473,10 @@ streams.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1i799ksbq7fj9rm9m82g1yqgm6xi3jnrmylddmqknmksajylpplq")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.2)))) - (home-page "https://github.com/mikedilger/float-cmp") - (synopsis "Floating point approximate comparison traits") - (description "This package provides floating point approximate comparison -traits.") - (license license:expat))) + (("rust-num-traits" ,rust-num-traits-0.2)))))) (define-public rust-float-cmp-0.8 (package @@ -28693,27 +26682,27 @@ crate.") (define-public rust-flume-0.11 (package (name "rust-flume") - (version "0.11.0") + (version "0.11.1") (source (origin (method url-fetch) (uri (crate-uri "flume" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "10girdbqn77wi802pdh55lwbmymy437k7kklnvj12aaiwaflbb2m")))) + (base32 "15ch0slxa8sqsi6c73a0ky6vdnh48q8cxjf7rksa3243m394s3ns")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; cannot find value `_IS_BIASED` in this scope - #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-sink" ,rust-futures-sink-0.3) ("rust-nanorand" ,rust-nanorand-0.7) ("rust-spin" ,rust-spin-0.9)) #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-criterion" ,rust-criterion-0.3) + ("rust-criterion" ,rust-criterion-0.5) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) ("rust-futures" ,rust-futures-0.3) + ("rust-getrandom" ,rust-getrandom-0.2) ("rust-rand" ,rust-rand-0.8) ("rust-tokio" ,rust-tokio-1) ("rust-waker-fn" ,rust-waker-fn-1)))) @@ -28794,14 +26783,14 @@ implementation that is more efficient for smaller hash keys.") (define-public rust-foldhash-0.1 (package (name "rust-foldhash") - (version "0.1.3") + (version "0.1.4") (source (origin (method url-fetch) (uri (crate-uri "foldhash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18in1a8mjcg43pfrdkhwzr0w988zb2bmb6sqwi07snjlkhvcc7pq")))) + (base32 "0vsxw2iwpgs7yy6l7pndm7b8nllaq5vdxwnmjn1qpm5kyzhzvlm0")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs (("rust-ahash" ,rust-ahash-0.8) @@ -28877,39 +26866,6 @@ implementation that is more efficient for smaller hash keys.") (description "This package provides a font loading library.") (license (list license:expat license:asl2.0)))) -(define-public rust-font-kit-0.10 - (package - (inherit rust-font-kit-0.11) - (name "rust-font-kit") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "font-kit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a7fm757af2s9sk2i02plpa280mmygjmchcwpjclk1iqxiba3ja6")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.22) - ("rust-core-text" ,rust-core-text-19) - ("rust-dirs-next" ,rust-dirs-next-2) - ("rust-dwrote" ,rust-dwrote-0.11) - ("rust-float-ord" ,rust-float-ord-0.2) - ("rust-freetype" ,rust-freetype-0.7) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-pathfinder-geometry" ,rust-pathfinder-geometry-0.5) - ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5) - ("rust-servo-fontconfig" ,rust-servo-fontconfig-0.5) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-font8x8-0.3 (package (name "rust-font8x8") @@ -28990,22 +26946,20 @@ implementation that is more efficient for smaller hash keys.") (define-public rust-foreign-types-macros-0.2 (package (name "rust-foreign-types-macros") - (version "0.2.0") + (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "foreign-types-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0x71sdffjfb123l2jn5vhz0ni09b4rdq3h3gpczd1dj1g5qlr2yv")))) + (base32 "0hjpii8ny6l7h7jpns2cp9589016l8mlrpaigcnayjn9bdc6qp0s")))) (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/sfackler/foreign-types") (synopsis "Internal crate used by foreign-types") (description @@ -29030,16 +26984,14 @@ implementation that is more efficient for smaller hash keys.") (define-public rust-foreign-types-shared-0.3 (package (name "rust-foreign-types-shared") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "foreign-types-shared" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0mg85r21bxg2i97zl3q8l3cviqz4wcbwziz875wlja3zpcrwz13n")))) + (base32 "0nykdvv41a3d4py61bylmlwjhhvdm0b3bcj9vxhqgxaxnp5ik6ma")))) (build-system cargo-build-system) (home-page "https://github.com/sfackler/foreign-types") (synopsis "Internal crate used by foreign-types") @@ -29112,25 +27064,9 @@ implementation that is more efficient for smaller hash keys.") "Library for creating a new process detached from the controlling terminal") (description "This package provides library for creating a new process detached from -the controling terminal (daemon) using the fork and setsid syscalls.") +the controlling terminal (daemon) using the fork and setsid syscalls.") (license license:bsd-3))) -(define-public rust-fork-0.1 - (package - (inherit rust-fork-0.2) - (name "rust-fork") - (version "0.1.22") - (source - (origin - (method url-fetch) - (uri (crate-uri "fork" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "124fbfwqka5xh2jndmlpgbl2ya7a9yf7q6adxvkja510b5xajb5z")))) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) - (define-public rust-form-urlencoded-1 (package (name "rust-form-urlencoded") @@ -29173,37 +27109,23 @@ syntax, as used by HTML forms.") 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") - (version "0.7.0") + (version "0.7.2") (source (origin (method url-fetch) (uri (crate-uri "freetype" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ijxyd8isq0w7qkbhp7p1y536xg3d8b8vy5ljg31rnz3m5w87qxy")))) + (base32 "0vl0lyrz3wswch06i34sxadyzb443qapgf6fjd48wyb3w140fi2s")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-freetype-sys" ,rust-freetype-sys-0.13) + `(#:cargo-inputs + (("rust-freetype-sys" ,rust-freetype-sys-0.20) ("rust-libc" ,rust-libc-0.2)))) + (inputs (list freetype)) (home-page "https://github.com/servo/rust-freetype") (synopsis "Bindings for Freetype used by Servo") (description "This package provides bindings for Freetype used by Servo.") @@ -29476,68 +27398,32 @@ conversions for newtype enums.") from_variants crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-fs2-0.4 +(define-public rust-fs-err-3 (package - (name "rust-fs2") - (version "0.4.3") + (name "rust-fs-err") + (version "3.0.0") (source (origin (method url-fetch) - (uri (crate-uri "fs2" version)) + (uri (crate-uri "fs-err" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04v2hwk7035c088f19mfl5b1lz84gnvv2hv6m935n0hmirszqr4m")))) + (base32 "0zw01xqj302la1c7gnbfwi7b4pcgxv2xkjavk1czjkpk15s0xdlb")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ;; "#![feature] may not be used on stable release channel" - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))) - (home-page "https://github.com/danburkert/fs2-rs") - (synopsis "Cross-platform file locks and file duplication") - (description "This package provides cross-platform file locks and file -duplication.") + `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/andrewhickman/fs-err") + (synopsis "@code{std::fs} with more helpful errors") + (description + "This package provides an alternative to @code{std::fs} with +more helpful error messages.") (license (list license:expat license:asl2.0)))) -(define-public rust-fs-at-0.1 - (package - (name "rust-fs-at") - (version "0.1.6") - (source (origin - (method url-fetch) - (uri (crate-uri "fs_at" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "02mvd85zjs0pxpykvkbqlwkii5f768z8xm0fqbqzv1s41yrbl105")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-aligned" ,rust-aligned-0.4) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-cvt" ,rust-cvt-0.1) - ("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-smart-default" ,rust-smart-default-0.7) - ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.10) - ("rust-fs-set-times" ,rust-fs-set-times-0.19) - ("rust-rayon" ,rust-rayon-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-test-log" ,rust-test-log-0.2)))) - (home-page "https://github.com/rbtcollins/fs_at.git") - (synopsis "Implementation of 'at' functions for various platforms") - (description "This package provides an implementation of at functions for -various platforms.") - (license license:asl2.0))) - (define-public rust-fs-err-2 (package + (inherit rust-fs-err-3) (name "rust-fs-err") (version "2.11.0") (source (origin @@ -29547,19 +27433,12 @@ various platforms.") (sha256 (base32 "0hdajzh5sjvvdjg0n15j91mv8ydvb7ff6m909frvdmg1bw81z948")))) - (build-system cargo-build-system) (arguments (list #:cargo-inputs `(("rust-autocfg" ,rust-autocfg-1) ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs - `(("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/andrewhickman/fs-err") - (synopsis "@code{std::fs} with more helpful errors") - (description - "This package provides an alternative to @code{std::fs} with -more helpful error messages.") - (license (list license:expat license:asl2.0)))) + `(("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-fs-extra-1 (package @@ -29582,61 +27461,6 @@ more helpful error messages.") process and much more.") (license license:expat))) -(define-public rust-fsio-0.4 - (package - (name "rust-fsio") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "fsio" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1l1nkb06s8xx84yrba5nj86wm80knv40bmy54nrl3i0cpqqcxl6s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-dunce" ,rust-dunce-1) - ("rust-rand" ,rust-rand-0.8)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3)))) - (home-page "http://github.com/sagiegurari/fsio") - (synopsis "File System and Path utility functions in Rust") - (description - "This crate contains utility functions for path, file and directory handling. -There are multiple main modules for fsio: - -@enumerate -@item @code{fsio::path}: Holds path related functions and traits. -@item @code{fsio::file}: File utility functions such as read_file, write_file, etc. -@item @code{fsio::directory}: Directory specific utility functions. -@end enumerate") - (license license:asl2.0))) - -(define-public rust-fs-set-times-0.19 - (package - (name "rust-fs-set-times") - (version "0.19.1") - (source (origin - (method url-fetch) - (uri (crate-uri "fs-set-times" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0qc822hifnwvrfd706wnx5xhajqfsc4kn2lmalfda4x02pqx0cvq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-io-lifetimes" ,rust-io-lifetimes-1) - ("rust-rustix" ,rust-rustix-0.37) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) - (home-page "https://github.com/bytecodealliance/fs-set-times") - (synopsis "Set file system timestamps") - (description - "This Rust crate provides functions to set timestamps on files, -directories, and other file system objects.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-fs-utils-1 (package (name "rust-fs-utils") @@ -29660,6 +27484,31 @@ directories, and other file system objects.") with the filesystem.") (license (list license:expat license:asl2.0)))) +(define-public rust-fs2-0.4 + (package + (name "rust-fs2") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "fs2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04v2hwk7035c088f19mfl5b1lz84gnvv2hv6m935n0hmirszqr4m")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;; "#![feature] may not be used on stable release channel" + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "https://github.com/danburkert/fs2-rs") + (synopsis "Cross-platform file locks and file duplication") + (description "This package provides cross-platform file locks and file +duplication.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fs2-0.2 (package (name "rust-fs2") @@ -29688,6 +27537,96 @@ with the filesystem.") "This package provides cross-platform file locks and file duplication.") (license (list license:expat license:asl2.0)))) +(define-public rust-fs4-0.12 + (package + (name "rust-fs4") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fs4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08gm0p6x133cav6yrcc3qhcr2qr1917yhj0bdx3psm0q8il31762")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-fs-err" ,rust-fs-err-3) + ("rust-fs-err" ,rust-fs-err-2) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-smol" ,rust-smol-2) + ("rust-tokio" ,rust-tokio-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-fs-err" ,rust-fs-err-3) + ("rust-fs-err" ,rust-fs-err-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-smol-potat" ,rust-smol-potat-1) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/al8n/fs4-rs") + (synopsis "Pure Rust cross-platform file locks") + (description + "This package provides a no libc, pure Rust cross-platform file locks.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-fs4-0.8 + (package + (inherit rust-fs4-0.12) + (name "rust-fs4") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "fs4" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y0m3pk9iq16b61p3g643234bfy0kdbyjymxczklafy2fsn81qgp")))) + (arguments + `(#:tests? #f ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-smol" ,rust-smol-2) + ("rust-tokio" ,rust-tokio-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-smol-potat" ,rust-smol-potat-1) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-tokio" ,rust-tokio-1)))))) + +(define-public rust-fsio-0.4 + (package + (name "rust-fsio") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fsio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l1nkb06s8xx84yrba5nj86wm80knv40bmy54nrl3i0cpqqcxl6s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dunce" ,rust-dunce-1) + ("rust-rand" ,rust-rand-0.8)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page "http://github.com/sagiegurari/fsio") + (synopsis "File System and Path utility functions in Rust") + (description + "This crate contains utility functions for path, file and directory handling. +There are multiple main modules for fsio: + +@enumerate +@item @code{fsio::path}: Holds path related functions and traits. +@item @code{fsio::file}: File utility functions such as read_file, write_file, etc. +@item @code{fsio::directory}: Directory specific utility functions. +@end enumerate") + (license license:asl2.0))) + (define-public rust-fslock-0.2 (package (name "rust-fslock") @@ -29880,7 +27819,7 @@ references by lifting access permissions into the trait system.") (define-public rust-futures-0.3 (package (name "rust-futures") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) @@ -29888,7 +27827,7 @@ references by lifting access permissions into the trait system.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1c04g14bccmprwsvx2j9m2blhwrynq7vhl151lsvcv4gi0b6jp34")))) + "0xh8ddbkm9jy8kc5gbvjp9a4b6rqqxvc8471yb2qaz5wm2qhgg35")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `futures_test` @@ -29903,7 +27842,6 @@ references by lifting access permissions into the trait system.") #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) ("rust-pin-project" ,rust-pin-project-1) - ("rust-pin-utils" ,rust-pin-utils-0.1) ("rust-static-assertions" ,rust-static-assertions-1) ("rust-tokio" ,rust-tokio-0.1)))) (home-page "https://rust-lang.github.io/futures-rs") @@ -29915,8 +27853,9 @@ zero allocations, composability, and iterator-like interfaces.") (define-public rust-futures-0.1 (package + (inherit rust-futures-0.3) (name "rust-futures") - (version "0.1.29") + (version "0.1.31") (source (origin (method url-fetch) @@ -29924,20 +27863,14 @@ zero allocations, composability, and iterator-like interfaces.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vq3cw37knnd0afw3rcjzh71i2l01v5m4ysinrrqdvnn2ql0z60v")))) - (build-system cargo-build-system) - (arguments '(#:skip-build? #t)) - (home-page "https://github.com/rust-lang/futures-rs") - (synopsis "Implementation of zero-cost futures in Rust") - (description "An implementation of @code{futures} and @code{streams} -featuring zero allocations, composability, and iterator-like interfaces.") - (license (list license:asl2.0 - license:expat)))) + "0y46qbmhi37dqkch8dlfq5aninqpzqgrr98awkb3rn4fxww1lirs")))) + (arguments + (list #:cargo-test-flags '(list "--" "--skip=stream::Stream::filter_map"))))) (define-public rust-futures-channel-0.3 (package (name "rust-futures-channel") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) @@ -29945,7 +27878,7 @@ featuring zero allocations, composability, and iterator-like interfaces.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0y6b7xxqdjm9hlcjpakcg41qfl7lihf6gavk8fyqijsxhvbzgj7a")))) + "040vpqpqlbk099razq8lyn74m0f161zd0rp36hciqrwcg2zibzrd")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `futures` @@ -29987,7 +27920,7 @@ featuring zero allocations, composability, and iterator-like interfaces.") (define-public rust-futures-core-0.3 (package (name "rust-futures-core") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) @@ -29995,7 +27928,7 @@ featuring zero allocations, composability, and iterator-like interfaces.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07aslayrn3lbggj54kci0ishmd1pr367fp7iks7adia1p05miinz")))) + "0gk6yrxgi5ihfanm2y431jadrll00n5ifhnpx090c2f2q1cr1wh5")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `futures` @@ -30090,7 +28023,7 @@ AsyncSeek, AsyncBufRead)]} for enums.") (define-public rust-futures-executor-0.3 (package (name "rust-futures-executor") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) @@ -30098,7 +28031,7 @@ AsyncSeek, AsyncBufRead)]} for enums.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07dh08gs9vfll2h36kq32q9xd86xm6lyl9xikmmwlkqnmrrgqxm5")))) + "17vcci6mdfzx4gbk0wx64chr2f13wwwpvyf3xd5fb1gmjzcx2a0y")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `futures` @@ -30145,36 +28078,43 @@ AsyncSeek, AsyncBufRead)]} for enums.") library.") (license (list license:expat license:asl2.0)))) -(define-public rust-futures-intrusive-0.3 +(define-public rust-futures-intrusive-0.5 (package (name "rust-futures-intrusive") - (version "0.3.1") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "futures-intrusive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00qpir3q6j7blwpnpffj7ypf1z8wc87ldn62qr7sapymgg82j5dw")))) + (base32 "0vwm08d1pli6bdaj0i7xhk3476qlx4pll6i0w03gzdnh7lh0r4qx")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #true ;XXX: need rust-async-std-1 - #:cargo-inputs - (("rust-futures-core" ,rust-futures-core-0.3) - ("rust-lock-api" ,rust-lock-api-0.3) - ("rust-parking-lot" ,rust-parking-lot-0.10)))) + `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-lock-api" ,rust-lock-api-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-crossbeam" ,rust-crossbeam-0.7) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-test" ,rust-futures-test-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pin-utils" ,rust-pin-utils-0.1) + ("rust-rand" ,rust-rand-0.7) + ("rust-signal-hook" ,rust-signal-hook-0.1) + ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/Matthias247/futures-intrusive") (synopsis "Futures based on intrusive data structures") (description - "This crate provides a variety of Futures-based and -@code{async/await} compatible types that are based on the idea of -intrusive collections.") + "This package provides Futures based on intrusive data structures - for +std and no-std environments.") (license (list license:expat license:asl2.0)))) (define-public rust-futures-io-0.3 (package (name "rust-futures-io") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) @@ -30182,7 +28122,7 @@ intrusive collections.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1hgh25isvsr4ybibywhr4dpys8mjnscw4wfxxwca70cn1gi26im4")))) + "1ikmw1yfbgvsychmsihdkwa8a1knank2d9a8dk01mbjar9w1np4y")))) (build-system cargo-build-system) (home-page "https://rust-lang.github.io/futures-rs") (synopsis @@ -30241,14 +28181,14 @@ for the @code{futures-rs} library.") (define-public rust-futures-lite-2 (package (name "rust-futures-lite") - (version "2.2.0") + (version "2.5.0") (source (origin (method url-fetch) (uri (crate-uri "futures-lite" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1flj85i6xm0rjicxixmajrp6rhq8i4bnbzffmrd6h23ln8jshns4")))) + (base32 "18cii1zgxbm04almisj0ycnmf7nj7qqyvy8x0i8mnl9cmqhhvx6f")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-2) @@ -30316,14 +28256,14 @@ and removes almost all unsafe code from it.") (define-public rust-futures-macro-0.3 (package (name "rust-futures-macro") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) (uri (crate-uri "futures-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1b49qh9d402y8nka4q6wvvj0c88qq91wbr192mdn5h54nzs0qxc7")))) + (base32 "0l1n7kqzwwmgiznn0ywdc5i24z72zvh9q1dwps54mimppi7f6bhn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -30337,27 +28277,6 @@ and removes almost all unsafe code from it.") implementations.") (license (list license:expat license:asl2.0)))) -(define-public rust-futures-micro-0.5 - (package - (name "rust-futures-micro") - (version "0.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "futures-micro" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09n8d1qnpk6mjpnv338wkbgyppvd4aygfddwlwb8pmlk6m5jcq5l")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Uses unstable features. - #:cargo-inputs (("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) - #:cargo-development-inputs (("rust-futures-lite" ,rust-futures-lite-0.1)))) - (home-page "https://github.com/irrustible/futures-micro") - (synopsis "Minimal, no_std compatible async prelude") - (description "Minimal, no_std compatible async prelude.") - (license license:asl2.0))) - (define-public rust-futures-preview-0.3 (package (name "rust-futures-preview") @@ -30422,7 +28341,7 @@ different @code{Future}s at once and handling the first one to complete.") (define-public rust-futures-sink-0.3 (package (name "rust-futures-sink") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) @@ -30430,7 +28349,7 @@ different @code{Future}s at once and handling the first one to complete.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1dag8xyyaya8n8mh8smx7x6w2dpmafg2din145v973a3hw7f1f4z")))) + "1xyly6naq6aqm52d5rh236snm08kw8zadydwqz8bip70s6vzlxg5")))) (build-system cargo-build-system) (home-page "https://rust-lang.github.io/futures-rs") (synopsis "Asynchronous @code{Sink} trait for the @code{futures-rs} library") @@ -30465,14 +28384,14 @@ futures-rs library.") (define-public rust-futures-task-0.3 (package (name "rust-futures-task") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) (uri (crate-uri "futures-task" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "013h1724454hj8qczp8vvs10qfiqrxr937qsrv6rhii68ahlzn1q")))) + (base32 "124rv4n90f5xwfsm9qw6y99755y021cmi5dhzh253s920z77s3zr")))) (build-system cargo-build-system) (arguments `(#:tests? #f)) ; use of undeclared crate or module `futures` @@ -30484,7 +28403,7 @@ futures-rs library.") (define-public rust-futures-test-0.3 (package (name "rust-futures-test") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) @@ -30492,7 +28411,7 @@ futures-rs library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jcaj9ibj2mjq3dvbm6p0pqfm95x7gnmbfpi1p52xi1ancvq4f6f")))) + "04vi8sr3xbki38cfrshm4gbkyx76za5lm5n2rpi4cpv425iznqar")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `futures` @@ -30504,8 +28423,7 @@ futures-rs library.") ("rust-futures-sink" ,rust-futures-sink-0.3) ("rust-futures-task" ,rust-futures-task-0.3) ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-pin-project" ,rust-pin-project-1) - ("rust-pin-utils" ,rust-pin-utils-0.1)))) + ("rust-pin-project" ,rust-pin-project-1)))) (home-page "https://rust-lang.github.io/futures-rs") (synopsis "Test components built off futures-rs") (description "This package provides common utilities for testing @@ -30515,20 +28433,21 @@ components built off futures-rs.") (define-public rust-futures-timer-3 (package (name "rust-futures-timer") - (version "3.0.2") + (version "3.0.3") (source (origin (method url-fetch) (uri (crate-uri "futures-timer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0b5v7lk9838ix6jdcrainsyrh7xrf24pwm61dp13907qkn806jz6")))) + (base32 "094vw8k37djpbwv74bwf2qb7n6v6ghif4myss6smd6hgyajb127j")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-gloo-timers" ,rust-gloo-timers-0.2) - ("rust-send-wrapper" ,rust-send-wrapper-0.4)))) + ("rust-send-wrapper" ,rust-send-wrapper-0.4)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-futures" ,rust-futures-0.3)))) (home-page "https://github.com/async-rs/futures-timer") (synopsis "Timeouts for futures") (description "This package is a general purpose crate for working with @@ -30591,14 +28510,14 @@ timeouts and delays with futures.") (define-public rust-futures-util-0.3 (package (name "rust-futures-util") - (version "0.3.30") + (version "0.3.31") (source (origin (method url-fetch) (uri (crate-uri "futures-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0j0xqhcir1zf2dcbpd421kgw6wvsk0rpxflylcysn1rlp3g02r1x")))) + (base32 "10aa1ar8bgkgbr4wzxlidkqkcxf77gffyj8j7768h831pcaq784z")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `futures` @@ -30712,29 +28631,6 @@ futures-rs library.") derived from an internal hasher used in FireFox and Rustc.") (license (list license:asl2.0 license:expat)))) -(define-public rust-gag-0.1 - (package - (name "rust-gag") - (version "0.1.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "gag" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1d874gmyhyqbb78k6mkk9p0sd21n5vwd5w88m2nmzp3m6bsvkh4c")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/Stebalien/gag-rs") - (synopsis "Gag, redirect, or hold stdout/stderr output") - (description - "This package gags, redirects, or holds stdout/stderr output.") - (license license:expat))) - (define-public rust-galil-seiferas-0.1 (package (name "rust-galil-seiferas") @@ -30880,8 +28776,33 @@ archive to be linked into Rustcode.") suffering from the ABA problem by using generational indices.") (license license:mpl2.0))) +(define-public rust-generator-0.8 + (package + (name "rust-generator") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "generator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p9qqk9nzarjdcl5fr4iylvsv446g0svlpk63lxis4ysrqad2syc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-windows" ,rust-windows-0.58)))) + (home-page "https://github.com/Xudong-Huang/generator-rs.git") + (synopsis "Stackful Generator Library in Rust") + (description "This package provides a sackful generator library in +Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-generator-0.7 (package + (inherit rust-generator-0.8) (name "rust-generator") (version "0.7.5") (source (origin @@ -30891,19 +28812,13 @@ suffering from the ABA problem by using generational indices.") (sha256 (base32 "0knp7cllkf90l4wmfbhmb3c0ha9xn9afrzmphain1d12zy26bhaw")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cc" ,rust-cc-1) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-rustversion" ,rust-rustversion-1) - ("rust-windows" ,rust-windows-0.48)))) - (home-page "https://github.com/Xudong-Huang/generator-rs.git") - (synopsis "Stackfull Generator Library in Rust") - (description "This package provides a stackfull generator library in -Rust.") - (license (list license:expat license:asl2.0)))) + ("rust-windows" ,rust-windows-0.48)))))) (define-public rust-generator-0.6 (package @@ -31002,22 +28917,20 @@ Rust.") (package (inherit rust-generic-array-0.12) (name "rust-generic-array") - (version "0.8.3") + (version "0.8.4") (source (origin (method url-fetch) (uri (crate-uri "generic-array" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1wi6rlx3dmrvl26yxm4z5n68kyj2ikk4nllk1kazw2ik9scnkszw")))) + (base32 "1gkyr94q67gq31xa3qzmkpsjhh4jlgf54jx21lw2wlgawfq7yadj")))) (arguments - `(#:cargo-inputs - (("rust-nodrop" ,rust-nodrop-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-typenum" ,rust-typenum-1)) - #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))))) + `(#:cargo-test-flags '("--" "--skip=arr::doctests_only::DocTests") + #:cargo-inputs (("rust-nodrop" ,rust-nodrop-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-typenum" ,rust-typenum-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-genetlink-0.2 (package @@ -31076,26 +28989,28 @@ Rust.") (define-public rust-geo-types-0.7 (package (name "rust-geo-types") - (version "0.7.2") + (version "0.7.8") (source - (origin - (method url-fetch) - (uri (crate-uri "geo-types" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1fyj8ldl4xirhr8aawwiaslkklkzml2r5var87vqyp4zvnajxgfq")))) + (origin + (method url-fetch) + (uri (crate-uri "geo-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "148rmd9rky1k6nyzykw81zvv0176q7w1dp0q554sav637av7js72")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-approx" ,rust-approx-0.4) - ("rust-arbitrary" ,rust-arbitrary-1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-rstar" ,rust-rstar-0.8) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.4)))) + `(#:cargo-inputs (("rust-approx" ,rust-approx-0.4) + ("rust-arbitrary" ,rust-arbitrary-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rstar" ,rust-rstar-0.9) + ("rust-rstar" ,rust-rstar-0.8) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.4)))) (home-page "https://github.com/georust/geo") (synopsis "Geospatial primitive data types") (description "This package provides geospatial primitive data types.") @@ -31124,6 +29039,28 @@ Rust.") #:cargo-development-inputs (("rust-approx" ,rust-approx-0.3)))))) +(define-public rust-getch-0.3 + (package + (name "rust-getch") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "getch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a0v3ck9w65zcgg055laiyyvkb6lxaph1h3zvw6pgq99bcnhx68k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-termios" ,rust-termios-0.3)))) + (home-page "https://nest.pijul.com/pmeunier/getch") + (synopsis "Portable implementation of getch") + (description + "This package provides a portable implementation of getch, using +@code{_getch} on Windows, and @code{termios} on Unix.") + (license license:asl2.0))) + (define-public rust-gethostname-0.4 (package (name "rust-gethostname") @@ -31324,25 +29261,24 @@ getters and setters on fields.") (define-public rust-gettext-rs-0.7 (package (name "rust-gettext-rs") - (version "0.7.0") + (version "0.7.2") (source - (origin - (method url-fetch) - (uri (crate-uri "gettext-rs" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0r7kahqcjrkm83d3gzzkn83fnw2bnqj2ank5z6hsm66izalai7p4")))) + (origin + (method url-fetch) + (uri (crate-uri "gettext-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12ikrzvx35aybip55ib9zmnjf8is4mhy2pfmgv50lhq8vkvr4km4")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-gettext-sys" ,rust-gettext-sys-0.21) - ("rust-locale-config" ,rust-locale-config-0.3)) - #:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static-1)))) - (inputs - `(("gettext" ,gettext-minimal))) + `(#:cargo-inputs (("rust-gettext-sys" ,rust-gettext-sys-0.21) + ("rust-locale-config" ,rust-locale-config-0.3)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'use-system-gettext + (lambda _ + (setenv "GETTEXT_SYSTEM" "true")))))) + (inputs (list gettext-minimal)) (home-page "https://github.com/Koka/gettext-rs") (synopsis "GNU Gettext FFI binding for Rust") (description "This package provides GNU Gettext FFI bindings for Rust.") @@ -31351,26 +29287,26 @@ getters and setters on fields.") (define-public rust-gettext-sys-0.21 (package (name "rust-gettext-sys") - (version "0.21.0") + (version "0.21.4") (source - (origin - (method url-fetch) - (uri (crate-uri "gettext-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "105d5zh67yc5vyzmqxdw7hx82h606ca6rzhsfjgzjczn2s012pc8")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file "gettext-0.21.tar.xz") #t)))) + (origin + (method url-fetch) + (uri (crate-uri "gettext-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rygxmqn0l4ylhmhmpjy3cjrwwzxyys6vnxa5jzbznpj51zpkf7p")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file "gettext-0.21.tar.xz"))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (inputs - `(("gettext" ,gettext-minimal))) + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-temp-dir" ,rust-temp-dir-0.1)) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'use-system-gettext + (lambda _ + (setenv "GETTEXT_SYSTEM" "true")))))) + (inputs (list gettext-minimal)) (home-page "https://github.com/Koka/gettext-rs") (synopsis "Gettext raw FFI bindings") (description "This package provides raw FFI bindings for GNU Gettext.") @@ -31453,21 +29389,22 @@ pointers above 2G.") (define-public rust-ghost-0.1 (package (name "rust-ghost") - (version "0.1.6") + (version "0.1.18") (source (origin (method url-fetch) (uri (crate-uri "ghost" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fj42hmlgcj1rbqcshlvk65npsks4ba7vdzphb9202gawf6zw6gb")))) + (base32 "0ifsxmvb55y0khkpv0x8icv9dw4s6ym8lscixv83bk5zv3drgdir")))) (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-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/dtolnay/ghost") (synopsis "Define your own PhantomData") (description @@ -31480,14 +29417,14 @@ permitted in ordinary Rust.") (define-public rust-gimli-0.31 (package (name "rust-gimli") - (version "0.31.0") + (version "0.31.1") (source (origin (method url-fetch) (uri (crate-uri "gimli" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r1d55xdi1k2l5ah9p0n23i93pm47cl8apjm8rwgqd1j7yi5w21j")))) + (base32 "0gvqc0ramx8szv76jhfd4dms0zyamvlg4whhiz11j34hh3dqxqh7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -31497,7 +29434,8 @@ permitted in ordinary Rust.") ("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)))) + #: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 @@ -31505,107 +29443,6 @@ permitted in ordinary Rust.") debugging format.") (license (list license:expat license:asl2.0)))) -(define-public rust-gimli-0.28 - (package - (inherit rust-gimli-0.31) - (name "rust-gimli") - (version "0.28.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gimli" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lv23wc8rxvmjia3mcxc6hj9vkqnv1bqq0h8nzjcgf71mrxx6wa2")))) - (arguments - `(#:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-indexmap" ,rust-indexmap-2) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)) - #:cargo-development-inputs - (("rust-test-assembler" ,rust-test-assembler-0.1)))))) - -(define-public rust-gimli-0.27 - (package - (inherit rust-gimli-0.28) - (name "rust-gimli") - (version "0.27.3") - (source (origin - (method url-fetch) - (uri (crate-uri "gimli" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bpdnkyzi3vp2r0wglwrncbk451zhp46mdl83f6xj4gsmy20kj5n")))) - (arguments - `(#:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-indexmap" ,rust-indexmap-1) - ("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-crossbeam" ,rust-crossbeam-0.8) - ("rust-getopts" ,rust-getopts-0.2) - ("rust-memmap2" ,rust-memmap2-0.6) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-object" ,rust-object-0.30) - ("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)))))) - -(define-public rust-gimli-0.26 - (package - (inherit rust-gimli-0.27) - (name "rust-gimli") - (version "0.26.2") - (source (origin - (method url-fetch) - (uri (crate-uri "gimli" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pafbk64rznibgnvfidhm1pqxd14a5s9m50yvsgnbv38b8n0w0r2")))) - (arguments - `(#:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-indexmap" ,rust-indexmap-1) - ("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-byteorder" ,rust-byteorder-0.5) - ("rust-crossbeam" ,rust-crossbeam-0.8) - ("rust-getopts" ,rust-getopts-0.2) - ("rust-memmap2" ,rust-memmap2-0.5) - ("rust-object" ,rust-object-0.29) - ("rust-test-assembler" ,rust-test-assembler-0.1) - ("rust-typed-arena" ,rust-typed-arena-2)))))) - -(define-public rust-gjson-0.8 - (package - (name "rust-gjson") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gjson" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "164nwjx81j8cnnvi63h0dcxdc9ib3s0k9wx15l72hxp4vklx16a5")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/tidwall/gjson.rs") - (synopsis "JSON parser for Rust") - (description "Gjson is a JSON parser for Rust.") - (license license:expat))) - (define-public rust-glam-0.24 (package (name "rust-glam") @@ -32031,6 +29868,27 @@ shell style patterns.") (base32 "1ysvi72slkw784fcsymgj4308c3y03gwjjzqxp80xdjnkbh8vqcb")))))) +(define-public rust-glob-match-0.2 + (package + (name "rust-glob-match") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "glob-match" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "178bjn684dd50px9n8lwa72fn94566d9wmcp86m9h8a17d8ck1cr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-glob" ,rust-glob-0.3) + ("rust-globset" ,rust-globset-0.4)))) + (home-page "https://docs.rs/glob-match/0.2.1") + (synopsis "An extremely fast glob matcher") + (description "This package provides an extremely fast glob matcher.") + (license license:expat))) + (define-public rust-globset-0.4 (package (name "rust-globset") @@ -32062,8 +29920,35 @@ the process of matching one or more glob patterns against a single candidate path simultaneously, and returning all of the globs that matched.") (license (list license:expat license:unlicense)))) +(define-public rust-globwalk-0.9 + (package + (name "rust-globwalk") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "globwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mz7bsa66p2rrgnz3l94ac4kbklh7mq8j30iizyxjy4qyvmn1xqb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs (("rust-docmatic" ,rust-docmatic-0.1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/gilnaa/globwalk") + (synopsis "Glob-matched recursive file system walking") + (description "This package provides glob-matched recursive file system +walking. Based on both @code{rust-walkdir} and @code{rust-ignore}, this crate +inherits many goodies from both, such as limiting search depth and amount of +open file descriptors.") + (license license:expat))) + (define-public rust-globwalk-0.8 (package + (inherit rust-globwalk-0.9) (name "rust-globwalk") (version "0.8.1") (source @@ -32078,7 +29963,6 @@ path simultaneously, and returning all of the globs that matched.") '(begin (substitute* "Cargo.toml" (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) (string-append "\"^" version))))))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -32087,14 +29971,7 @@ path simultaneously, and returning all of the globs that matched.") #:cargo-development-inputs (("rust-backtrace" ,rust-backtrace-0.3) ("rust-docmatic" ,rust-docmatic-0.1) - ("rust-tempdir" ,rust-tempdir-0.3)))) - (home-page "https://github.com/gilnaa/globwalk") - (synopsis "Glob-matched recursive file system walking") - (description "This package provides glob-matched recursive file system -walking. Based on both @code{rust-walkdir} and @code{rust-ignore}, this crate -inherits many goodies from both, such as limiting search depth and amount of -open file descriptors.") - (license license:expat))) + ("rust-tempdir" ,rust-tempdir-0.3)))))) (define-public rust-gloo-timers-0.3 (package @@ -32174,20 +30051,20 @@ timers.") libraries GMP, MPFR, and MPC.") (license license:lgpl3+))) -(define-public rust-goblin-0.8 +(define-public rust-goblin-0.9 (package (name "rust-goblin") - (version "0.8.0") + (version "0.9.2") (source (origin (method url-fetch) (uri (crate-uri "goblin" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11wqipqx0dbimxy5612nxpx79qja43sxic95llcb34r0xpzs81xv")))) + (base32 "08yrnjj5j4nddh6y1r8kf35ys7p3iwg6npga3nc4cwfps4r3zask")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included. + `(#:tests? #f ;there are missing data files #:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-plain" ,rust-plain-0.2) ("rust-scroll" ,rust-scroll-0.12)) @@ -32198,6 +30075,25 @@ libraries GMP, MPFR, and MPC.") and loading crate.") (license license:expat))) +(define-public rust-goblin-0.8 + (package + (inherit rust-goblin-0.9) + (name "rust-goblin") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "goblin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0isg7yzqv7y9s4xs594niy4vqzpc7d6h58z65x06dxk5q4q3ldhv")))) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-plain" ,rust-plain-0.2) + ("rust-scroll" ,rust-scroll-0.12)) + #:cargo-development-inputs (("rust-stderrlog" ,rust-stderrlog-0.5)))))) + (define-public rust-goblin-0.7 (package (inherit rust-goblin-0.8) @@ -32217,62 +30113,156 @@ and loading crate.") ("rust-plain" ,rust-plain-0.2) ("rust-scroll" ,rust-scroll-0.11)))))) -(define-public rust-goblin-0.6 +(define-public rust-graphql-client-0.14 (package - (inherit rust-goblin-0.7) - (name "rust-goblin") - (version "0.6.1") - (source (origin - (method url-fetch) - (uri (crate-uri "goblin" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0s7zs27b192virbp88y2fgq8p6nb8blkn7byqyl4cv7bm3j4ssqd")))) + (name "rust-graphql-client") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphql_client" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jqlq5adcq6pidn5sq51nk5wn4sc3nvxrhjmkn802zsbyg3zs355")))) + (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-plain" ,rust-plain-0.2) - ("rust-scroll" ,rust-scroll-0.11)))))) + `(#:cargo-test-flags '("--" + "--skip=GraphQLQuery (line 43)") + #:cargo-inputs (("rust-graphql-query-derive" ,rust-graphql-query-derive-0.14) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/graphql-rust/graphql-client") + (synopsis "Typed GraphQL requests and responses") + (description + "This package provides typed @code{GraphQL} requests and responses.") + (license (list license:asl2.0 license:expat)))) -(define-public rust-graphql-parser-0.3 +(define-public rust-graphql-client-codegen-0.14 + (package + (name "rust-graphql-client-codegen") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphql_client_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02pv88c2b1jk00a9v1w0wlak0hvzj1fb9wxwqr9crh7h5h6fs9sy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-graphql-introspection-query" ,rust-graphql-introspection-query-0.2) + ("rust-graphql-parser" ,rust-graphql-parser-0.4) + ("rust-heck" ,rust-heck-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/graphql-rust/graphql-client") + (synopsis "Utility crate for graphql_client") + (description "This package provides a utility crate for graphql_client.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-graphql-introspection-query-0.2 + (package + (name "rust-graphql-introspection-query") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphql-introspection-query" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vgd5y0zaw9n5hwd21xbcsswy6asg17ljd1411nbsh2irwr4fakz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/graphql-rust/graphql-client") + (synopsis "GraphQL introspection query and response types") + (description + "This package provides @code{GraphQL} introspection query and response types.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-graphql-parser-0.4 (package (name "rust-graphql-parser") - (version "0.3.0") + (version "0.4.1") (source (origin (method url-fetch) (uri (crate-uri "graphql-parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wp6vnrhgi6q3b942zkc6p4mi104gbw71pnc0d5c1ps7ab7d9ayi")))) + (base32 "02gl4na7df21qlnwhyww4yz342bm2w4r3gi7vw0hhz1xi06qr0bs")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-combine" ,rust-combine-3) - ("rust-thiserror" ,rust-thiserror-1)) + `(#:cargo-inputs (("rust-combine" ,rust-combine-4) + ("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") + (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 +(define-public rust-graphql-parser-0.3 + (package + (inherit rust-graphql-parser-0.4) + (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)))))) + +(define-public rust-graphql-query-derive-0.14 + (package + (name "rust-graphql-query-derive") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "graphql_query_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15qsxdp2yqixzd6fjvn03810jd7zd7msi9zs7nkwz67q72lbzzl3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-graphql-client-codegen" ,rust-graphql-client-codegen-0.14) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/graphql-rust/graphql-client") + (synopsis "Utility crate for graphql_client") + (description "This package provides a utility crate for graphql_client.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-greetd-ipc-0.10 (package (name "rust-greetd-ipc") - (version "0.9.0") + (version "0.10.3") (source (origin (method url-fetch) (uri (crate-uri "greetd_ipc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xl2cix3jv4sgigl5ijayab7rchr6v02za2qd87fv1z8dl1r14w3")))) + (base32 "0y1095qwmiwpm94z3vgbklbnlp088pi6vd1isp8l584izidjw3bh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -32288,26 +30278,6 @@ language and scheme definition language (sometimes called IDL).") @command{greetd} JSON-based IPC protocol from Rust.") (license license:gpl3))) -(define-public rust-greetd-ipc-0.8 - (package - (inherit rust-greetd-ipc-0.9) - (name "rust-greetd-ipc") - (version "0.8.0") - (source (origin - (method url-fetch) - (uri (crate-uri "greetd_ipc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dscriv3adjyaxfaax3cmqrzx6q2vwwchbh86dhll783wjc4ivw0")))) - (arguments - (list #:cargo-inputs - `(("rust-async-trait" ,rust-async-trait-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)))))) - (define-public rust-grep-0.3 (package (name "rust-grep") @@ -32598,26 +30568,6 @@ across inserts.") (description "Elliptic curve group traits and utilities.") (license (list license:expat license:asl2.0)))) -(define-public rust-group-0.12 - (package - (inherit rust-group-0.13) - (name "rust-group") - (version "0.12.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "group" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ixspxqdpq0hxg0hd9s6rngrp6rll21v4jjnr7ar1lzvdhxgpysx")))) - (arguments - `(#:cargo-inputs (("rust-ff" ,rust-ff-0.12) - ("rust-memuse" ,rust-memuse-0.2) - ("rust-rand" ,rust-rand-0.8) - ("rust-rand-core" ,rust-rand-core-0.6) - ("rust-rand-xorshift" ,rust-rand-xorshift-0.3) - ("rust-subtle" ,rust-subtle-2)))))) - (define-public rust-groupable-0.2 (package (name "rust-groupable") @@ -32637,21 +30587,47 @@ across inserts.") "This package aggregates groups of values from key-value iterators.") (license license:expat))) +(define-public rust-guess-host-triple-0.1 + (package + (name "rust-guess-host-triple") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "guess_host_triple" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "062fs1jkg157240cdn6dw11zm1c02llm9kp95knq6b4s6iijgmjx")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-errno" ,rust-errno-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.5) + ("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https://gitlab.com/Screwtapello/guess_host_triple/") + (synopsis + "Guess which Rust-supported platform is running the current code") + (description + "This package provides Guess which Rust-supported platform is running the +current code.") + (license (list license:expat license:asl2.0)))) + (define-public rust-gumdrop-0.8 (package (name "rust-gumdrop") - (version "0.8.0") + (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gumdrop" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "02waas37nr8y669lnm1ifp6bkx79v3bd0bd4s9qcyy04aifiyms6")))) + "1qr94qa0h758hn11yhqs2wmb1xaq8adjs8j6hljg1xnji7wh1isv")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-gumdrop-derive" ,rust-gumdrop-derive-0.8)) #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)))) @@ -32664,18 +30640,17 @@ support.") (define-public rust-gumdrop-derive-0.8 (package (name "rust-gumdrop-derive") - (version "0.8.0") + (version "0.8.1") (source (origin (method url-fetch) (uri (crate-uri "gumdrop_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "01cdc7w5wf1g9i04ykcssczjmmnl6jky47a648sp710df5yg0pli")))) + "17d91ai4p9f9cwhqqnyivw9yi7prl9xzpaqq3a1yfxwx8k9rp7vj")))) (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-syn" ,rust-syn-1)))) @@ -32684,111 +30659,26 @@ support.") (description "This package provides custom derive support for gumdrop.") (license (list license:expat license:asl2.0)))) -(define-public rust-gzip-header-1 - (package - (name "rust-gzip-header") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gzip-header" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18lm2y96mahkmcd76pzyam2sl3v6lsl9mn8ajri9l0p6j9xm5k4m")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-crc32fast" ,rust-crc32fast-1)))) - (home-page "https://github.com/oyvindln/gzip-header") - (synopsis "Decoding and encoding the header part of gzip files") - (description - "This package provides a crate for decoding and encoding the header part -of gzip files based on the gzip header implementation in the @code{flate2} crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-gzip-header-0.3 - (package - (inherit rust-gzip-header-1) - (name "rust-gzip-header") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gzip-header" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fg6vm8sgsm69szwqyz7abfbyziv6pv0jkcailimlamvsfrzwc81")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-crc32fast" ,rust-crc32fast-1)))))) - -(define-public rust-gzp-0.11 - (package - (name "rust-gzp") - (version "0.11.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "gzp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bvvz969c9kpyp7h6ry9mzhk7lb4hj4hpd810n0i26jjk4c5vip7")) - (snippet - #~(begin (use-modules ((guix build utils))) - ;; Switch the default from zlib-ng to zlib. - (substitute* "Cargo.toml" - (("\"deflate_zlib_ng\"") "\"deflate_zlib\"")))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-bytes" ,rust-bytes-1) - ("rust-core-affinity" ,rust-core-affinity-0.8) - ("rust-flate2" ,rust-flate2-1) - ("rust-flume" ,rust-flume-0.10) - ("rust-libdeflater" ,rust-libdeflater-0.12) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-snap" ,rust-snap-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) - ("rust-proptest" ,rust-proptest-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs (list pkg-config)) - (inputs (list zlib)) - (home-page "https://github.com/sstadick/gzp") - (synopsis "Parallel compression library") - (description "This package provides a library for parallel compression.") - (license (list license:unlicense license:expat)))) - (define-public rust-half-2 (package (name "rust-half") - (version "2.3.1") + (version "2.4.1") (source (origin (method url-fetch) (uri (crate-uri "half" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wj8gfpgn4zkjzw6hlnwb0pa71hy1mwq5h3fnpql71n02qwyalmw")))) + (base32 "123q4zzw1x4309961i69igzd1wb7pj04aaii3kwasrz3599qrl3d")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=bfloat::test::test_nan_conversion_to_larger" - "--skip=bfloat::test::test_nan_conversion_to_smaller" - "--skip=binary16::test::test_nan_conversion_to_larger" - "--skip=binary16::test::test_nan_conversion_to_smaller") - #:cargo-inputs + `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-crunchy" ,rust-crunchy-0.2) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-rand" ,rust-rand-0.8) ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rkyv" ,rust-rkyv-0.7) ("rust-serde" ,rust-serde-1) ("rust-zerocopy" ,rust-zerocopy-0.6)) #:cargo-development-inputs @@ -32808,22 +30698,16 @@ IEEE 754-2008 binary16 type.") (package (inherit rust-half-2) (name "rust-half") - (version "1.8.2") + (version "1.8.3") (source (origin (method url-fetch) (uri (crate-uri "half" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mqbmx2m9qd4lslkb42fzgldsklhv9c4bxsc8j82r80d8m24mfza")))) + (base32 "00q4ki8ycdswapw6xn1q89vr7rzi1c8m99igps0lx1i1gzhyshqv")))) (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=bfloat::test::test_nan_conversion_to_larger" - "--skip=bfloat::test::test_nan_conversion_to_smaller" - "--skip=binary16::test::test_nan_conversion_to_larger" - "--skip=binary16::test::test_nan_conversion_to_smaller") - #:cargo-inputs + `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-serde" ,rust-serde-1) @@ -32858,20 +30742,44 @@ IEEE 754-2008 binary16 type.") higher performance on different key space sizes.") (license (list license:asl2.0 license:expat)))) +(define-public rust-hamming-0.1 + (package + (name "rust-hamming") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "hamming" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1q9hri1l1x1y7vv153kvdw9lkqslmbwgia5r3qj6i39pfji3s135")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.2) + ("rust-rand" ,rust-rand-0.3)))) + (home-page "https://github.com/huonw/hamming") + (synopsis "Count ones fast") + (description + "This package provides a tool to count ones, using rapid popcount +(hamming weight) techniques. This provides a performant popcount and bitwise +hamming distance for a slice of bytes.") + (license (list license:expat license:asl2.0)))) + (define-public rust-handlebars-5 (package (name "rust-handlebars") - (version "5.1.0") + (version "5.1.2") (source (origin (method url-fetch) (uri (crate-uri "handlebars" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r51g648z3skfp65xysh3zcai1qlm7z405izxqfnjrlyp5v38a5b")))) + (base32 "16skfw1kzkn188zv6plhrmiw1mjayy6d9f6iwklr6qqfdawqb16h")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5) ("rust-log" ,rust-log-0.4) ("rust-pest" ,rust-pest-2) ("rust-pest-derive" ,rust-pest-derive-2) @@ -32925,90 +30833,6 @@ higher performance on different key space sizes.") ("rust-tiny-http" ,rust-tiny-http-0.11)))) (native-inputs (list protobuf)))) -(define-public rust-hifitime-3 - (package - (name "rust-hifitime") - (version "3.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hifitime" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wy256hc7a33sag0hzz64ql1lpg5kvzyyknqpwalzf402bppln3w")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--offline" "--" - "--skip=leap_seconds_file::leap_second_fetch" - "--skip=test_leap_seconds_file") - #:cargo-inputs - (("rust-der" ,rust-der-0.7) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-lexical-core" ,rust-lexical-core-0.8) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-pyo3" ,rust-pyo3-0.20) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-tabled" ,rust-tabled-0.15) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-web-sys" ,rust-web-sys-0.3)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.5) - ("rust-iai" ,rust-iai-0.1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://nyxspace.com/") - (synopsis "Ultra-precise date and time handling in Rust") - (description - "This package provides Ultra-precise date and time handling in Rust for -scientific applications with leap second support.") - (license license:asl2.0))) - -(define-public rust-home-0.5 - (package - (name "rust-home") - (version "0.5.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "home" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19grxyg35rqfd802pcc9ys1q3lafzlcjcv2pl2s5q8xpyr5kblg3")))) - (build-system cargo-build-system) - (arguments - `(#: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} -used by @command{cargo} and @command{rustup}, as well as functions to find the -correct value of @samp{CARGO_HOME} and @samp{RUSTUP_HOME}.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-hamcrest2-0.3 - (package - (name "rust-hamcrest2") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hamcrest2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0x8hx7jyzz2bl0wf6nir62imd26yhp6qcr7zf76cjpg05p33gy29")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-num" ,rust-num-0.2) - ("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/Valloric/hamcrest2-rust") - (synopsis "Rust port of the Hamcrest testing library") - (description - "This package provides a port of the Hamcrest testing library.") - (license (list license:expat license:asl2.0)))) - (define-public rust-hash-hasher-2 (package (name "rust-hash-hasher") @@ -33085,7 +30909,7 @@ already-hashed or hash-like data.") (define-public rust-hash32-derive-0.1 (package (name "rust-hash32-derive") - (version "0.1.0") + (version "0.1.1") (source (origin (method url-fetch) @@ -33093,13 +30917,13 @@ already-hashed or hash-like data.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "18lrlxycq45kaz0l688shxnhgh3ryjp3zn0n6vfcs5sa2nyyzh7b")))) + "1zy60cdqrccd9kc8w4hvk1q584b4gjr4d48n3dff42xn6alapljr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-0.3) - ("rust-quote" ,rust-quote-0.5) - ("rust-syn" ,rust-syn-0.13)))) + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/japaric/hash32") (synopsis "Macros 1.1 implementation of @code{#[derive(Hash32)]}") (description "This package provides a macros 1.1 implementation of @@ -33133,14 +30957,14 @@ already-hashed or hash-like data.") (define-public rust-hashbrown-0.15 (package (name "rust-hashbrown") - (version "0.15.1") + (version "0.15.2") (source (origin (method url-fetch) (uri (crate-uri "hashbrown" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1czsvasi3azv2079fcvbhvpisa16w6fi1mfk8zm2c5wbyqdgr6rs")))) + (base32 "12dj0yfn59p3kh3679ac0w1fagvzf4z2zp87a13gbbqbzw0185dz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -33169,14 +30993,14 @@ already-hashed or hash-like data.") (package (inherit rust-hashbrown-0.15) (name "rust-hashbrown") - (version "0.14.3") + (version "0.14.5") (source (origin (method url-fetch) (uri (crate-uri "hashbrown" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "012nywlg0lj9kwanh69my5x67vjlfmzfi9a0rq4qvis2j8fil3r9")) + "1wa1vy1xs3mp11bn3z9dv0jricgr6a2j0zkf1g19yz3vw4il89z5")) (modules '((guix build utils))) (snippet '(begin @@ -33414,14 +31238,14 @@ hash map.") (define-public rust-hashlink-0.9 (package (name "rust-hashlink") - (version "0.9.0") + (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "hashlink" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vi5nxldy84raw4jy0fq059xq7mnfha0y2gg7kfihxb0yzvslbk9")))) + (base32 "1byq4nyrflm5s6wdx5qwp96l1qbp2d0nljvrr5yqrsfy51qzz93b")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.14) @@ -33438,42 +31262,22 @@ their key-value pairs in a user controllable order.") (package (inherit rust-hashlink-0.9) (name "rust-hashlink") - (version "0.8.2") + (version "0.8.4") (source (origin (method url-fetch) (uri (crate-uri "hashlink" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ap6ar5jlqq6ln7d9r2j5079mbx0zg8643xacqyjwkqw96ws2q87")))) + "1xy8agkyp0llbqk9fcffc1xblayrrywlyrm2a7v93x8zygm4y2g8")))) (arguments `(#:cargo-inputs - (("rust-hashbrown" ,rust-hashbrown-0.13) + (("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)))))) -(define-public rust-hashlink-0.7 - (package - (inherit rust-hashlink-0.8) - (name "rust-hashlink") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hashlink" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kzs54xq1g41zph39cfdfchiafij99382zw5fk6zq7xwkh9a6jbj")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-hashbrown" ,rust-hashbrown-0.11) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-test" ,rust-serde-test-1)))))) - (define-public rust-hdrhistogram-7 (package (name "rust-hdrhistogram") @@ -33539,19 +31343,17 @@ that don't require dynamic memory allocation.") (package (inherit rust-heapless-0.8) (name "rust-heapless") - (version "0.7.16") + (version "0.7.17") (source (origin (method url-fetch) (uri (crate-uri "heapless" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hq7ifnzpdj9rc06rhys4qa3qkr6q3k01kwfca0ak7lbl4jbq16v")))) + (base32 "0kwn2wzk9fnsqnwp6rqjqhvh6hfq4rh225xwqjm72b5n1ry4bind")))) (arguments - `(#:cargo-test-flags - '("--release" "--lib") - #:cargo-inputs - (("rust-atomic-polyfill" ,rust-atomic-polyfill-0.1) + `(#:cargo-inputs + (("rust-atomic-polyfill" ,rust-atomic-polyfill-1) ("rust-defmt" ,rust-defmt-0.3) ("rust-hash32" ,rust-hash32-0.2) ("rust-rustc-version" ,rust-rustc-version-0.4) @@ -33918,14 +31720,11 @@ compile time.") (origin (method url-fetch) (uri (crate-uri "hex-literal" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0ffnn5g9q5xhdmzj2ic5hk9y18kyqflbmqcssqcya9gixs5r5hnx")))) + (base32 "0ffnn5g9q5xhdmzj2ic5hk9y18kyqflbmqcssqcya9gixs5r5hnx")))) (arguments - `(#:tests? #f ; cannot find macro `proc_macro_call` in this scope - #:cargo-inputs + `(#:cargo-inputs (("rust-hex-literal-impl" ,rust-hex-literal-impl-0.1) ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.4)))))) @@ -34009,6 +31808,19 @@ float literals. Two functions @code{parse_hexf32} and @code{parse_hexf64} are 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-hidapi-2 (package (name "rust-hidapi") @@ -34037,18 +31849,66 @@ provided for each type.") the C library @code{hidapi}. Based off of @code{hidapi-rs} by Osspial.") (license license:expat))) -(define-public rust-hexf-parse-0.1 +(define-public rust-hifitime-3 (package - (inherit rust-hexf-parse-0.2) - (name "rust-hexf-parse") - (version "0.1.0") + (name "rust-hifitime") + (version "3.9.0") (source (origin (method url-fetch) - (uri (crate-uri "hexf-parse" version)) + (uri (crate-uri "hifitime" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1b2h0lvksn8748764x46729ygpz8grack24spin0k29ssmr6yabr")))))) + (base32 "0wy256hc7a33sag0hzz64ql1lpg5kvzyyknqpwalzf402bppln3w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--offline" "--" + "--skip=leap_seconds_file::leap_second_fetch" + "--skip=test_leap_seconds_file") + #:cargo-inputs + (("rust-der" ,rust-der-0.7) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-lexical-core" ,rust-lexical-core-0.8) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tabled" ,rust-tabled-0.15) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-iai" ,rust-iai-0.1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://nyxspace.com/") + (synopsis "Ultra-precise date and time handling in Rust") + (description + "This package provides Ultra-precise date and time handling in Rust for +scientific applications with leap second support.") + (license license:asl2.0))) + +(define-public rust-home-0.5 + (package + (name "rust-home") + (version "0.5.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "home" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kxb4k87a9sayr8jipr7nq9wpgmjk4hk4047hmf9kc24692k75aq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.59)))) + (home-page "https://github.com/rust-lang/cargo") + (synopsis "Shared definitions of home directories") + (description "This package provides the definition of @code{home_dir} +used by @command{cargo} and @command{rustup}, as well as functions to find the +correct value of @samp{CARGO_HOME} and @samp{RUSTUP_HOME}.") + (license (list license:expat license:asl2.0)))) (define-public rust-hostname-0.4 (package @@ -34149,6 +32009,30 @@ the C library @code{hidapi}. Based off of @code{hidapi-rs} by Osspial.") (description "This package provides a wav encoding and decoding library.") (license license:asl2.0))) +(define-public rust-html-escape-0.2 + (package + (name "rust-html-escape") + (version "0.2.13") + (source (origin + (method url-fetch) + (uri (crate-uri "html-escape" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0xml3hswv0205fbm5iq7dqiwjkr6d245xkfppwi7wqjdfr4x86kd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-utf8-width" ,rust-utf8-width-0.1)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://magiclen.org/html-escape") + (synopsis "Library for encoding and escaping special characters in HTML") + (description + "This package provides a library for encoding and escaping special +characters in HTML, decoding and unescaping HTML entities as well.") + (license license:expat))) + (define-public rust-html5ever-0.27 (package (name "rust-html5ever") @@ -34300,41 +32184,17 @@ the C library @code{hidapi}. Based off of @code{hidapi-rs} by Osspial.") "This package provides a library for HTML entity encoding and decoding.") (license (list license:asl2.0 license:expat license:mpl2.0)))) -(define-public rust-html-escape-0.2 - (package - (name "rust-html-escape") - (version "0.2.13") - (source (origin - (method url-fetch) - (uri (crate-uri "html-escape" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0xml3hswv0205fbm5iq7dqiwjkr6d245xkfppwi7wqjdfr4x86kd")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-utf8-width" ,rust-utf8-width-0.1)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1)))) - (home-page "https://magiclen.org/html-escape") - (synopsis "Library for encoding and escaping special characters in HTML") - (description - "This package provides a library for encoding and escaping special -characters in HTML, decoding and unescaping HTML entities as well.") - (license license:expat))) - (define-public rust-hts-sys-2 (package (name "rust-hts-sys") - (version "2.0.3") + (version "2.2.0") (source (origin (method url-fetch) (uri (crate-uri "hts-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1sy4wfk64f1i81m0brhrs4cm6qkb099zv62gr0k6js6k0v24zfhd")) + "1cmvdwssd6xjk6w1iigaj5rl9ibx4zaaskfb2ji2mlhw28f7z3g3")) (modules '((guix build utils))) (snippet '(substitute* "Cargo.toml" @@ -34349,13 +32209,13 @@ characters in HTML, decoding and unescaping HTML entities as well.") (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.53) + (("rust-bindgen" ,rust-bindgen-0.69) ("rust-bzip2-sys" ,rust-bzip2-sys-0.1) ("rust-cc" ,rust-cc-1) ("rust-curl-sys" ,rust-curl-sys-0.4) ("rust-fs-utils" ,rust-fs-utils-1) ("rust-glob" ,rust-glob-0.3) - ("rust-libdeflate-sys" ,rust-libdeflate-sys-0.7) + ("rust-libdeflate-sys" ,rust-libdeflate-sys-1) ("rust-libz-sys" ,rust-libz-sys-1) ("rust-lzma-sys" ,rust-lzma-sys-0.1) ("rust-openssl-sys" ,rust-openssl-sys-0.9)))) @@ -34368,200 +32228,61 @@ characters in HTML, decoding and unescaping HTML entities as well.") (description "This library provides Rust bindings to HTSlib.") (license license:expat))) -(define-public rust-jwalk-0.8 - (package - (name "rust-jwalk") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "jwalk" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0miw0074ch6p89dbvrlnz9wp13rh7542cf1ak8bx4v1mcrsq8d97")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-crossbeam" ,rust-crossbeam-0.8) - ("rust-rayon" ,rust-rayon-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) - ("rust-fs-extra" ,rust-fs-extra-1) - ("rust-ignore" ,rust-ignore-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/byron/jwalk") - (synopsis - "File system walk performed in parallel with streamed and sorted results") - (description - "This Rust crate implements a file system walk that runs in parallel -using @code{rayon}. It attempts to combine the parallelism of @code{ignore} -with @code{walkdir}'s streaming iterator API. Entries are streamed in sorted -order with options for custom sorting, filtering, and skipping. - -Directory traversal is already pretty fast. If you don't need this crate's -speed then walkdir provides a smaller and more tested single threaded implementation.") - (license license:expat))) - -(define-public rust-katex-doc-0.1 - (package - (name "rust-katex-doc") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "katex-doc" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fa0fi3bv9qdab0cb49q8971vszf0nzmvnvm70lns5xrpyyq0nqy")))) - (build-system cargo-build-system) - (home-page "https://github.com/CAD97/katex-doc") - (synopsis "XaaS for KaTeX on docs.rs") - (description - "This package provides a XSS as a Service for KaTeX on docs.rs") - (license (list license:unlicense license:expat)))) - -(define-public rust-koibumi-base32-0.0.2 +(define-public rust-human-date-parser-0.2 (package - (name "rust-koibumi-base32") - (version "0.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "koibumi-base32" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1frb232m6rw50ly8ijhsbllcqfif5kcma1l6hrgm5g22c3c3il94")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1)))) - (home-page "https://kashiko.gitlab.io/koibumi-rust/") - (synopsis "Base32 encoder/decoder library") - (description "This package provides a Base32 encoder/decoder library.") - (license license:gpl3+))) - -(define-public rust-konst-0.2 - (package - (name "rust-konst") - (version "0.2.19") + (name "rust-human-date-parser") + (version "0.2.0") (source (origin (method url-fetch) - (uri (crate-uri "konst" version)) + (uri (crate-uri "human-date-parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk")))) + (base32 "0qqwf20wz13ww06i1xqr9hfbg4c598f34n442q90qxzyxd6wy5hi")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2) - ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2) - ("rust-trybuild" ,rust-trybuild-1)) - #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/rodrimati1992/konst/") - (synopsis - "Const equivalents of std functions, compile-time comparison, and parsing") + `(#:tests? #f ; unresolved import `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 - "Const equivalents of std functions, compile-time comparison, and parsing.") - (license license:zlib))) - -(define-public rust-konst-macro-rules-0.2 - (package - (name "rust-konst-macro-rules") - (version "0.2.19") - (source - (origin - (method url-fetch) - (uri (crate-uri "konst_macro_rules" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dswja0dqcww4x3fwjnirc0azv2n6cazn8yv0kddksd8awzkz4x4")))) - (build-system cargo-build-system) - (home-page "https://github.com/rodrimati1992/konst/") - (synopsis "Implementation detail of the konst crate") - (description "Implementation detail of the konst crate.") - (license license:zlib))) - -(define-public rust-konst-proc-macros-0.2 - (package - (name "rust-konst-proc-macros") - (version "0.2.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "konst_proc_macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dxp8mdh3q9d044ql203way4fgbc50n3j3pi2j1x2snlcaa10klq")))) - (build-system cargo-build-system) - (home-page "https://github.com/rodrimati1992/konst/") - (synopsis "Implementation detail of the @code{konst} crate") - (description "Implementation detail of the @code{konst} crate.") - (license license:zlib))) - -(define-public rust-kuchiki-0.8 - (package - (name "rust-kuchiki") - (version "0.8.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "kuchiki" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0n53hhscgf4az58nnbjfxlqz9k96h3f02c7fhbzpqdriw33fka0y")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cssparser" ,rust-cssparser-0.27) - ("rust-html5ever" ,rust-html5ever-0.25) - ("rust-matches" ,rust-matches-0.1) - ("rust-selectors" ,rust-selectors-0.22)))) - (home-page "https://github.com/SimonSapin/kuchiki") - (synopsis "HTML/XML tree manipulation library") - (description "A library for parsing and serializing HTML and XML documents -and traversing, manipulating, and querying the document tree.") + "This package parses strings that express dates in a human way into ones +usable by code.") (license license:expat))) (define-public rust-human-date-parser-0.1 (package + (inherit rust-human-date-parser-0.2) (name "rust-human-date-parser") - (version "0.1.1") + (version "0.1.2") (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) + (base32 "06jflxqah06cnbc5d9mmffmzrhw3ybj9aigyxag39k2pf5mgkjy5")))) (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))) + ("rust-thiserror" ,rust-thiserror-1)))))) (define-public rust-human-format-1 (package (name "rust-human-format") - (version "1.0.3") + (version "1.1.0") (source (origin (method url-fetch) (uri (crate-uri "human_format" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1c3w2lm41gmnd82acjsi6y50ym2sh5fdb6abghysmaaqsxhf5k46")))) + (base32 "1f45y1vib7z96ij5xv623rxpdm3ap4bj11j84jqjg7a5iir1yfsw")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t)) ; Wants the galvanic framework for the tests. @@ -34572,6 +32293,32 @@ usable by code.") machines are still at bay.") (license license:expat))) +(define-public rust-human-panic-1 + (package + (name "rust-human-panic") + (version "1.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "human-panic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w7kbj2y3rrnax2bj4s3aashsm5lrg55wh58a44v7fr0k741dw64")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-os-info" ,rust-os-info-3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-uuid" ,rust-uuid-1)))) + (home-page "https://github.com/rust-cli/human-panic") + (synopsis "Panic messages for humans") + (description "This package provides panic messages for humans.") + (license (list license:expat license:asl2.0)))) + (define-public rust-human-sort-0.2 (package (name "rust-human-sort") @@ -34590,29 +32337,6 @@ machines are still at bay.") "This package provides Human sort (natural sort) implementation.") (license license:expat))) -(define-public rust-humantime-serde-1 - (package - (name "rust-humantime-serde") - (version "1.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "humantime-serde" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0n208zzy69f7pgwcm1d0id4nzhssxn3z3zy7ki3dpkaazmnaad5c")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-humantime" ,rust-humantime-2) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/jean-airoldie/humantime-serde") - (synopsis "Humantime serialization timestamp format") - (description - "This package provides a Humantime serialization timestamp format.") - (license (list license:expat license:asl2.0)))) - (define-public rust-humansize-2 (package (name "rust-humansize") @@ -34697,28 +32421,29 @@ SystemTime}}.") ("rust-rand" ,rust-rand-0.4) ("rust-time" ,rust-time-0.1)))))) -(define-public rust-hyphenation-commons-0.8 +(define-public rust-humantime-serde-1 (package - (name "rust-hyphenation-commons") - (version "0.8.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyphenation_commons" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gq59h9h8597k04yl53an0j56cvb0in98pxpp27dkiz5mnifgssz")))) + (name "rust-humantime-serde") + (version "1.1.1") + (source (origin + (method url-fetch) + (uri (crate-uri "humantime-serde" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0310ri4zb33qbwqv0n51xysfjpnwc6rgxscl5i09jgcjlmgdp8sp")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-fst" ,rust-fst-0.4) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/tapeinosyne/hyphenation") - (synopsis "Proemial code for the @code{hyphenation} library") + `(#:cargo-test-flags '("--" "--skip=test::test_html_root_url") + #:cargo-inputs (("rust-humantime" ,rust-humantime-2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) + ("rust-version-sync" ,rust-version-sync-0.8)))) + (home-page "https://github.com/jean-airoldie/humantime-serde") + (synopsis "Humantime serialization timestamp format") (description - "This package provides a proemial code for the @code{hyphenation} library.") - (license (list license:asl2.0 license:expat)))) + "This package provides a Humantime serialization timestamp format.") + (license (list license:expat license:asl2.0)))) (define-public rust-hyphenation-0.8 (package @@ -34752,6 +32477,29 @@ SystemTime}}.") "This package provides a Knuth-Liang hyphenation for a variety of languages.") (license (list license:asl2.0 license:expat)))) +(define-public rust-hyphenation-commons-0.8 + (package + (name "rust-hyphenation-commons") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyphenation_commons" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gq59h9h8597k04yl53an0j56cvb0in98pxpp27dkiz5mnifgssz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fst" ,rust-fst-0.4) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/tapeinosyne/hyphenation") + (synopsis "Proemial code for the @code{hyphenation} library") + (description + "This package provides a proemial code for the @code{hyphenation} library.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-hyprland-0.3 (package (name "rust-hyprland") @@ -34795,7 +32543,7 @@ SystemTime}}.") (home-page "https://github.com/hyprland-community/hyprland-rs") (synopsis "Unofficial rust wrapper for Hyprland's IPC") (description - "This package provides a unoffical rust wrapper for hyprland's IPC.") + "This package provides an unofficial rust wrapper for hyprland's IPC.") (license license:gpl3+))) (define-public rust-hyprland-macros-0.3 @@ -34861,26 +32609,6 @@ SystemTime}}.") (description "Custom Test Framework macro for Iai.") (license (list license:asl2.0 license:expat)))) -(define-public rust-iana-time-zone-haiku-0.1 - (package - (name "rust-iana-time-zone-haiku") - (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 "17r6jmj31chn7xs9698r122mapq85mfnv98bb4pg6spm0si2f67k")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/strawlab/iana-time-zone") - (synopsis "IANA-time-zone support crate for Haiku OS") - (description - "This package provides iana-time-zone support crate for Haiku OS.") - (license (list license:expat license:asl2.0)))) - (define-public rust-iana-time-zone-0.1 (package (name "rust-iana-time-zone") @@ -34910,6 +32638,347 @@ SystemTime}}.") "This package provides the IANA time zone for the current system.") (license (list license:expat license:asl2.0)))) +(define-public rust-iana-time-zone-haiku-0.1 + (package + (name "rust-iana-time-zone-haiku") + (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 "17r6jmj31chn7xs9698r122mapq85mfnv98bb4pg6spm0si2f67k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1)))) + (home-page "https://github.com/strawlab/iana-time-zone") + (synopsis "IANA-time-zone support crate for Haiku OS") + (description + "This package provides iana-time-zone support crate for Haiku OS.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ical-0.11 + (package + (name "rust-ical") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ical" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xkrs9a48qzbzf6mbrnsvj9i51h2z44l7h7236d75dx88dssnz4v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/Peltoche/ical-rs") + (synopsis "Ical/Vcard parser for Rust") + (description "This package provides an Ical/Vcard parser for Rust.") + (license license:asl2.0))) + +(define-public rust-ical-0.10 + (package + (inherit rust-ical-0.11) + (name "rust-ical") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ical" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w3nj8xjmhdgl5qljn61ldgfmd35xpni88b43s5fad7fk7mx9fnl")))) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))))) + +(define-public rust-icu-collections-1 + (package + (name "rust-icu-collections") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_collections" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09j5kskirl59mvqc8kabhy7005yyy7dp88jw9f6f3gkf419a8byv")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `icu_benchmark_macros` + #:cargo-inputs (("rust-databake" ,rust-databake-0.1) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-yoke" ,rust-yoke-0.7) + ("rust-zerofrom" ,rust-zerofrom-0.1) + ("rust-zerovec" ,rust-zerovec-0.10)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-iai" ,rust-iai-0.1) + ("rust-postcard" ,rust-postcard-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.5)))) + (home-page "https://icu4x.unicode.org") + (synopsis "Collection of API for use in ICU libraries") + (description + "This package provides a collection of APIs for use in ICU libraries.") + (license license:unicode))) + +(define-public rust-icu-locid-1 + (package + (name "rust-icu-locid") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_locid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dznvd1c5b02iilqm044q4hvar0sqibq1z46prqwjzwif61vpb0k")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `icu_benchmark_macros` + #:cargo-inputs (("rust-databake" ,rust-databake-0.1) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("rust-litemap" ,rust-litemap-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-tinystr" ,rust-tinystr-0.7) + ("rust-writeable" ,rust-writeable-0.5) + ("rust-zerovec" ,rust-zerovec-0.10)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-iai" ,rust-iai-0.1) + ("rust-postcard" ,rust-postcard-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://icu4x.unicode.org") + (synopsis "API for managing Unicode Language and Locale Identifiers") + (description + "This package provides an API for managing Unicode Language and +Locale Identifiers.") + (license license:unicode))) + +(define-public rust-icu-locid-transform-1 + (package + (name "rust-icu-locid-transform") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_locid_transform" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kmmi1kmj9yph6mdgkc7v3wz6995v7ly3n80vbg0zr78bp1iml81")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f ; use of undeclared crate or module `writeable` + #:cargo-inputs + (list rust-databake-0.1 + rust-displaydoc-0.2 + rust-icu-locid-1 + rust-icu-locid-transform-data-1 + rust-icu-provider-1 + rust-serde-1 + rust-tinystr-0.7 + rust-zerovec-0.10) + #:cargo-development-inputs + (list rust-criterion-0.5 + rust-serde-1 + rust-serde-json-1))) + (home-page "https://icu4x.unicode.org") + (synopsis "API for Unicode Language and Locale Identifiers canonicalization") + (description + "This package provides an API for Unicode Language and Locale +Identifiers canonicalization.") + (license license:unicode))) + +(define-public rust-icu-locid-transform-data-1 + (package + (name "rust-icu-locid-transform-data") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_locid_transform_data" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vkgjixm0wzp2n3v5mw4j89ly05bg3lx96jpdggbwlpqi0rzzj7x")))) + (build-system cargo-build-system) + (home-page "https://icu4x.unicode.org") + (synopsis "Data for the icu_locid_transform crate") + (description + "This package provides data for the icu_locid_transform crate.") + (license license:unicode))) + +(define-public rust-icu-normalizer-1 + (package + (name "rust-icu-normalizer") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_normalizer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kx8qryp8ma8fw1vijbgbnf7zz9f2j4d14rw36fmjs7cl86kxkhr")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-test-flags + '(list "--" + "--skip=properties::CanonicalCombiningClassMap" + "--skip=properties::CanonicalComposition::compose" + "--skip=properties::CanonicalDecomposition::decompose") + #:cargo-inputs + (list rust-databake-0.1 + rust-displaydoc-0.2 + rust-icu-collections-1 + rust-icu-normalizer-data-1 + rust-icu-properties-1 + rust-icu-provider-1 + rust-serde-1 + rust-smallvec-1 + rust-utf16-iter-1 + rust-utf8-iter-1 + rust-write16-1 + rust-zerovec-0.10) + #:cargo-development-inputs + (list rust-arraystring-0.3 + rust-arrayvec-0.7 + rust-atoi-1 + rust-criterion-0.5 + rust-detone-1 + rust-write16-1))) + (home-page "https://icu4x.unicode.org") + (synopsis "API for normalizing text into Unicode Normalization Forms") + (description + "This package provides an API for normalizing text into Unicode +Normalization Forms.") + (license license:unicode))) + +(define-public rust-icu-normalizer-data-1 + (package + (name "rust-icu-normalizer-data") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_normalizer_data" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05lmk0zf0q7nzjnj5kbmsigj3qgr0rwicnn5pqi9n7krmbvzpjpq")))) + (build-system cargo-build-system) + (home-page "https://icu4x.unicode.org") + (synopsis "Data for the icu_normalizer crate") + (description "This package provides data for the icu_normalizer crate.") + (license license:unicode))) + +(define-public rust-icu-properties-1 + (package + (name "rust-icu-properties") + (version "1.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_properties" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xgf584rx10xc1p7zjr78k0n4zn3g23rrg6v2ln31ingcq3h5mlk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `icu` + #:cargo-inputs (("rust-databake" ,rust-databake-0.1) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("rust-icu-collections" ,rust-icu-collections-1) + ("rust-icu-locid-transform" ,rust-icu-locid-transform-1) + ("rust-icu-properties-data" ,rust-icu-properties-data-1) + ("rust-icu-provider" ,rust-icu-provider-1) + ("rust-serde" ,rust-serde-1) + ("rust-tinystr" ,rust-tinystr-0.7) + ("rust-unicode-bidi" ,rust-unicode-bidi-0.3) + ("rust-zerovec" ,rust-zerovec-0.10)))) + (home-page "https://icu4x.unicode.org") + (synopsis "Definitions for Unicode properties") + (description "This package provides Definitions for Unicode properties.") + (license license:unicode))) + +(define-public rust-icu-properties-data-1 + (package + (name "rust-icu-properties-data") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_properties_data" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0scms7pd5a7yxx9hfl167f5qdf44as6r3bd8myhlngnxqgxyza37")))) + (build-system cargo-build-system) + (home-page "https://icu4x.unicode.org") + (synopsis "Data for the icu_properties crate") + (description "This package provides data for the icu_properties crate.") + (license license:unicode))) + +(define-public rust-icu-provider-1 + (package + (name "rust-icu-provider") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_provider" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nb8vvgw8dv2inqklvk05fs0qxzkw8xrg2n9vgid6y7gm3423m3f")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `serde` + #:cargo-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-databake" ,rust-databake-0.1) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("rust-erased-serde" ,rust-erased-serde-0.3) + ("rust-icu-locid" ,rust-icu-locid-1) + ("rust-icu-provider-macros" ,rust-icu-provider-macros-1) + ("rust-log" ,rust-log-0.4) + ("rust-postcard" ,rust-postcard-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) + ("rust-tinystr" ,rust-tinystr-0.7) + ("rust-writeable" ,rust-writeable-0.5) + ("rust-yoke" ,rust-yoke-0.7) + ("rust-zerofrom" ,rust-zerofrom-0.1) + ("rust-zerovec" ,rust-zerovec-0.10)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://icu4x.unicode.org") + (synopsis "Trait and struct definitions for the ICU data provider") + (description + "This package provides trait and struct definitions for the ICU data provider.") + (license license:unicode))) + +(define-public rust-icu-provider-macros-1 + (package + (name "rust-icu-provider-macros") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "icu_provider_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mjs0w7fcm2lcqmbakhninzrjwqs485lkps4hz0cv3k36y9rxj0y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" "--skip=src/lib.rs - data_struct (line 53)") + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://icu4x.unicode.org") + (synopsis "Proc macros for ICU data providers") + (description "This package provides proc macros for ICU data providers.") + (license license:unicode))) + (define-public rust-idea-0.5 (package (name "rust-idea") @@ -34950,21 +33019,22 @@ SystemTime}}.") "Utility for applying case rules to Rust identifiers.") (license (list license:expat license:asl2.0)))) -(define-public rust-idna-0.5 +(define-public rust-idna-1 (package (name "rust-idna") - (version "0.5.0") + (version "1.0.3") (source (origin (method url-fetch) (uri (crate-uri "idna" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xhjrcjqq0l5bpzvdgylvpkgk94panxgsirzhjnnqfdgc4a9nkb3")))) + (base32 "0zlajvm2k3wy0ay8plr07w22hxkkmrxkffa6ah57ac6nci984vv8")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-unicode-bidi" ,rust-unicode-bidi-0.3) - ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) + `(#:cargo-inputs (("rust-idna-adapter" ,rust-idna-adapter-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-utf8-iter" ,rust-utf8-iter-1)) #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) ("rust-bencher" ,rust-bencher-0.1) ("rust-serde-json" ,rust-serde-json-1) @@ -34975,6 +33045,26 @@ SystemTime}}.") "IDNA (Internationalizing Domain Names in Applications) and Punycode.") (license (list license:expat license:asl2.0)))) +(define-public rust-idna-0.5 + (package + (inherit rust-idna-1) + (name "rust-idna") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "idna" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xhjrcjqq0l5bpzvdgylvpkgk94panxgsirzhjnnqfdgc4a9nkb3")))) + (arguments + `(#:cargo-inputs (("rust-unicode-bidi" ,rust-unicode-bidi-0.3) + ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) + #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-bencher" ,rust-bencher-0.1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tester" ,rust-tester-0.9)))))) + (define-public rust-idna-0.4 (package (inherit rust-idna-0.5) @@ -35062,6 +33152,26 @@ SystemTime}}.") (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-rustc-test" ,rust-rustc-test-0.3)))))) +(define-public rust-idna-adapter-1 + (package + (name "rust-idna-adapter") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "idna_adapter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wggnkiivaj5lw0g0384ql2d7zk4ppkn3b1ry4n0ncjpr7qivjns")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-icu-normalizer" ,rust-icu-normalizer-1) + ("rust-icu-properties" ,rust-icu-properties-1)))) + (home-page "https://docs.rs/crate/idna_adapter/latest") + (synopsis "Back end adapter for idna") + (description "This package provides the back end adapter for idna.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-ieee754-0.2 (package (name "rust-ieee754") @@ -35083,22 +33193,21 @@ SystemTime}}.") floating-point numbers.") (license (list license:expat license:asl2.0)))) -(define-public rust-if-addrs-0.7 +(define-public rust-if-addrs-0.10 (package (name "rust-if-addrs") - (version "0.7.0") + (version "0.10.2") (source (origin (method url-fetch) (uri (crate-uri "if-addrs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1a81w57p0hx6ql2ds2ayps38n0ndfaqcs618qzdyjln7zw0zmh6b")))) + (base32 "02lgvpz14a7qx3s704i18xf3dp6ywniwij8mzy0kfr0sslch1fya")))) (build-system cargo-build-system) (arguments - (list #:cargo-inputs - `(("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)))) + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) (native-inputs (list iproute)) (home-page "https://github.com/messense/if-addrs") (synopsis "Return interface IP addresses on POSIX and Windows systems") @@ -35106,6 +33215,23 @@ floating-point numbers.") on both POSIX and Microsoft Windows hosts.") (license (list license:expat license:bsd-3)))) +(define-public rust-if-addrs-0.7 + (package + (inherit rust-if-addrs-0.10) + (name "rust-if-addrs") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "if-addrs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a81w57p0hx6ql2ds2ayps38n0ndfaqcs618qzdyjln7zw0zmh6b")))) + (arguments + (list #:cargo-inputs + `(("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-if-addrs-0.6 (package (inherit rust-if-addrs-0.7) @@ -35147,7 +33273,7 @@ Works on POSIX and Windows hosts.") (define-public rust-if-chain-1 (package (name "rust-if-chain") - (version "1.0.0") + (version "1.0.2") (source (origin (method url-fetch) @@ -35155,7 +33281,7 @@ Works on POSIX and Windows hosts.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0zgcn31bahnsmsjc0cgk0cy38p8sfjs79yvi6rjs5zz5b5xhqdn3")))) + "1vdrylnqw8vd99j20jgalh1vp1vh7dwnkdzsmlx4yjsvfsmf2mnb")))) (build-system cargo-build-system) (home-page "https://github.com/lfairy/if_chain") (synopsis "Macro for writing nested @code{if let} expressions") @@ -35285,8 +33411,8 @@ variant of this library is available separately as @code{im}.") (("rust-ahash" ,rust-ahash-0.8) ("rust-hashbrown" ,rust-hashbrown-0.12)))) (home-page "https://github.com/pascalkuthe/imara-diff") - (synopsis "Minimal terminfo libary") - (description "This package provides a minimal terminfo libary.") + (synopsis "Minimal terminfo library") + (description "This package provides a minimal terminfo library.") (license license:asl2.0))) (define-public rust-imbl-2 @@ -35350,27 +33476,6 @@ variant of this library is available separately as @code{im}.") (description "This package provides sized chunk datatypes.") (license license:mpl2.0))) -(define-public rust-impl-codec-0.5 - (package - (name "rust-impl-codec") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "impl-codec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hy4svffnw9idy9ipp0hkmbzk97fl583akqwyqmvbqy8qgzbs7hn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-parity-scale-codec" ,rust-parity-scale-codec-2)))) - (home-page "https://github.com/paritytech/parity-common") - (synopsis "Parity Codec serialization support for uint and fixed hash") - (description "This package provides Parity Codec serialization support -for uint and fixed hash.") - (license (list license:expat license:asl2.0)))) - (define-public rust-impl-more-0.1 (package (name "rust-impl-more") @@ -35389,27 +33494,6 @@ for uint and fixed hash.") (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") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "impl-rlp" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "021869d5s47ili9kmhm9y80qpsbf0wwdap14qzfpb84pjbw210pj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-rlp" ,rust-rlp-0.5)))) - (home-page "https://github.com/paritytech/parity-common") - (synopsis "RLP serialization support for uint and fixed hash") - (description "This package provides RLP serialization support for uint -and fixed hash.") - (license (list license:expat license:asl2.0)))) - (define-public rust-impl-serde-0.3 (package (name "rust-impl-serde") @@ -35675,21 +33759,21 @@ that efficiently appends and removes common indentation after every newline.") (define-public rust-indexmap-2 (package (name "rust-indexmap") - (version "2.5.0") + (version "2.7.0") (source (origin (method url-fetch) (uri (crate-uri "indexmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1r87dlvyg04fa9m4m6pkvwsdx54rx471fas66qff40bk5ym01fb8")))) + "07s7jmdymvd0rm4yswp0j3napx57hkjm9gs9n55lvs2g78vj5y32")))) (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-hashbrown" ,rust-hashbrown-0.15) ("rust-quickcheck" ,rust-quickcheck-1) ("rust-rayon" ,rust-rayon-1) ("rust-rustc-rayon" ,rust-rustc-rayon-0.5) @@ -35702,7 +33786,7 @@ that efficiently appends and removes common indentation after every newline.") ("rust-quickcheck" ,rust-quickcheck-1) ("rust-rand" ,rust-rand-0.8) ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/bluss/indexmap") + (home-page "https://github.com/indexmap-rs/indexmap") (synopsis "Hash table with consistent order and fast iteration") (description "This package provides a hash table with consistent order and fast iteration. @@ -35802,17 +33886,18 @@ or numerical index. A corresponding hash set type is also provided.") (define-public rust-indextree-4 (package (name "rust-indextree") - (version "4.6.0") + (version "4.7.3") (source (origin (method url-fetch) (uri (crate-uri "indextree" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1dnysxws5kpw8c3yvnhq3r9p2kfqqrgcw29x7hrg2gn6wp812164")))) + "0gqsbd0qm2i749wv0xfpgay2b0w572ghffdppw238b20065fdwwi")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-rayon" ,rust-rayon-1) + `(#:cargo-inputs (("rust-indextree-macros" ,rust-indextree-macros-0.1) + ("rust-rayon" ,rust-rayon-1) ("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/saschagrunert/indextree") (synopsis "Arena based tree structure by using indices") @@ -35821,32 +33906,58 @@ or numerical index. A corresponding hash set type is also provided.") of reference counted pointers.") (license license:expat))) +(define-public rust-indextree-macros-0.1 + (package + (name "rust-indextree-macros") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "indextree-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nbnxgyw88xrhhgwl9x4vnhqd9xf5j879zwkc9jhg51pqxz2wzj7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-either" ,rust-either-1) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-strum" ,rust-strum-0.26) + ("rust-syn" ,rust-syn-2) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-indextree" ,rust-indextree-4)))) + (home-page "https://github.com/saschagrunert/indextree") + (synopsis "Macros for indextree") + (description "This package provides macros for indextree.") + (license license:expat))) + (define-public rust-indicatif-0.17 (package (name "rust-indicatif") - (version "0.17.8") + (version "0.17.9") (source (origin (method url-fetch) (uri (crate-uri "indicatif" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18xyqxw9i5x4sbpzckhfz3nm984iq9r7nbi2lk76nz888n7mlfkn")))) + (base32 "10dj53x2a2bfhnfi78nhi4kb4zgc3rq6jm2wgg3d6d6rbsw7bxnb")))) (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)) + ("rust-unicode-width" ,rust-unicode-width-0.2) + ("rust-vt100" ,rust-vt100-0.15) + ("rust-web-time" ,rust-web-time-1)) #:cargo-development-inputs (("rust-clap" ,rust-clap-4) ("rust-futures" ,rust-futures-0.3) @@ -35964,45 +34075,48 @@ at compile time so the leftmost non-space character is in the first column.") (define-public rust-indoc-0.3 (package (inherit rust-indoc-1) + (name "rust-indoc") (version "0.3.6") (source (origin (method url-fetch) (uri (crate-uri "indoc" version)) - (file-name (string-append "rust-indoc-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1n2fd2wm1h005hd7pjgx4gv5ymyq4sxqn8z0ssw6xchgqs5ilx27")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-indoc-impl" ,rust-indoc-impl-0.3) - ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)))))) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)) + #:cargo-development-inputs + (("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-indoc-impl-0.3 (package - (inherit rust-indoc-0.3) (name "rust-indoc-impl") (version "0.3.6") (source (origin (method url-fetch) (uri (crate-uri "indoc-impl" version)) - (file-name (string-append "rust-indoc-impl-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1w58yg249kmzsn75kcj34qaxqh839l1hsaj3bzggy3q03wb6s16f")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#: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) ("rust-unindent" ,rust-unindent-0.1)))) + (home-page "https://github.com/dtolnay/indoc") (synopsis "Macros for @code{rust-indoc}") (description "This package provides macros for use with the @code{rust-indoc} -package. It is obsolete for indoc versions > 1."))) +package. It is obsolete for indoc versions > 1.") + (license (list license:expat license:asl2.0)))) (define-public rust-infer-0.15 (package @@ -36043,14 +34157,14 @@ signature.") (define-public rust-inferno-0.11 (package (name "rust-inferno") - (version "0.11.19") + (version "0.11.21") (source (origin (method url-fetch) (uri (crate-uri "inferno" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ndqcz0p6n4gqrqlq53j42v516nnnii0ljshx634cjnlkj1hy7rj")))) + (base32 "126v1njhhx1shw0ammn3ngxxp20dmlb78p1xd9brks2zszhjja93")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -36065,8 +34179,8 @@ signature.") ("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-dashmap" ,rust-dashmap-6) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-indexmap" ,rust-indexmap-2) ("rust-is-terminal" ,rust-is-terminal-0.4) ("rust-itoa" ,rust-itoa-1) @@ -36074,16 +34188,17 @@ signature.") ("rust-num-format" ,rust-num-format-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-quick-xml" ,rust-quick-xml-0.26) + ("rust-regex" ,rust-regex-1) ("rust-rgb" ,rust-rgb-0.8) + ("rust-rle-decode-fast" ,rust-rle-decode-fast-1) ("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-criterion" ,rust-criterion-0.5) ("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") @@ -36093,27 +34208,6 @@ signature.") profiling tool suite.") (license license:cddl1.0))) -(define-public rust-inflate-0.4 - (package - (name "rust-inflate") - (version "0.4.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "inflate" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1zxjdn8iwa0ssxrnjmywm3r1v284wryvzrf8vkc7nyf5ijbjknqw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1)))) - (home-page "https://github.com/PistonDevelopers/inflate.git") - (synopsis "DEFLATE decoding") - (description "This package provides DEFLATE decoding.") - (license license:expat))) - (define-public rust-inflections-1 (package (name "rust-inflections") @@ -36244,8 +34338,38 @@ Rust program (generated with @code{cbindgen} for example).") writing and executing C code inside Rust.") (license license:bsd-3))) +(define-public rust-inotify-0.11 + (package + (name "rust-inotify") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "inotify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wq8m657rl085cg59p38sc5y62xy9yhhpvxbkd7n1awi4zzwqzgk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-inotify-sys" ,rust-inotify-sys-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-maplit" ,rust-maplit-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/hannobraun/inotify") + (synopsis "Idiomatic wrapper for inotify") + (description "This package provides an idiomatic wrapper for inotify +written in Rust.") + (license license:isc))) + (define-public rust-inotify-0.10 (package + (inherit rust-inotify-0.11) (name "rust-inotify") (version "0.10.2") (source (origin @@ -36255,7 +34379,6 @@ writing and executing C code inside Rust.") (sha256 (base32 "1k2m6a95827yspax1icmwiz4szr7c01w3dnn2b2bil4hfvcnilgx")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -36268,28 +34391,22 @@ writing and executing C code inside Rust.") ("rust-maplit" ,rust-maplit-1) ("rust-rand" ,rust-rand-0.8) ("rust-tempfile" ,rust-tempfile-3) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/hannobraun/inotify") - (synopsis "Idiomatic wrapper for inotify") - (description "This package provides an idiomatic wrapper for inotify -written in Rust.") - (license license:isc))) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-inotify-0.9 (package (inherit rust-inotify-0.10) (name "rust-inotify") - (version "0.9.3") + (version "0.9.6") (source (origin (method url-fetch) (uri (crate-uri "inotify" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1cs3xlkq3fnfca3mimvifazp01ayscinm07v38ifw0xin5f4fcdh")))) + "1zxb04c4qccp8wnr3v04l503qpxzxzzzph61amlqbsslq4z9s1pq")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-inotify-sys" ,rust-inotify-sys-0.1) @@ -36373,6 +34490,27 @@ written in Rust.") "This package provides inotify bindings for the Rust programming language.") (license license:isc))) +(define-public rust-inout-0.1 + (package + (name "rust-inout") + (version "0.1.3") + (source (origin + (method url-fetch) + (uri (crate-uri "inout" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xf9gf09nc7y1a261xlfqsf66yn6mb81ahlzzyyd1934sr9hbhd0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-block-padding" ,rust-block-padding-0.3) + ("rust-generic-array" ,rust-generic-array-0.14)))) + (home-page "https://github.com/RustCrypto/utils") + (synopsis "Custom reference types for code") + (description "This package provides custom reference types for code generic +over in-place and buffer-to-buffer modes of operation.") + (license (list license:expat license:asl2.0)))) + (define-public rust-input-buffer-0.5 (package (name "rust-input-buffer") @@ -36413,38 +34551,17 @@ data efficiently.") #:cargo-inputs (("rust-bytes" ,rust-bytes-0.5)))))) -(define-public rust-inout-0.1 - (package - (name "rust-inout") - (version "0.1.3") - (source (origin - (method url-fetch) - (uri (crate-uri "inout" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xf9gf09nc7y1a261xlfqsf66yn6mb81ahlzzyyd1934sr9hbhd0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-block-padding" ,rust-block-padding-0.3) - ("rust-generic-array" ,rust-generic-array-0.14)))) - (home-page "https://github.com/RustCrypto/utils") - (synopsis "Custom reference types for code") - (description "This package provides custom reference types for code generic -over in-place and buffer-to-buffer modes of operation.") - (license (list license:expat license:asl2.0)))) - (define-public rust-insta-1 (package (name "rust-insta") - (version "1.40.0") + (version "1.41.1") (source (origin (method url-fetch) (uri (crate-uri "insta" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0q5b0ssw8ilj0ni6s2swpd1spv78q5yxp594fxl1i13kg8fa94v5")) + (base32 "1f28bjaj37dc5wmjbgvfzjv78lfbc4ljpi98m587qqcj916zr7vy")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -36453,10 +34570,12 @@ over in-place and buffer-to-buffer modes of operation.") (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" "--" + '("--" + "--skip=env::test_get_cargo_workspace" "--skip=utils::test_format_rust_expression") #:cargo-inputs - (("rust-console" ,rust-console-0.15) + (("rust-clap" ,rust-clap-4) + ("rust-console" ,rust-console-0.15) ("rust-csv" ,rust-csv-1) ("rust-globset" ,rust-globset-0.4) ("rust-lazy-static" ,rust-lazy-static-1) @@ -36468,10 +34587,10 @@ over in-place and buffer-to-buffer modes of operation.") ("rust-serde" ,rust-serde-1) ("rust-similar" ,rust-similar-2) ("rust-toml" ,rust-toml-0.5) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-yaml-rust" ,rust-yaml-rust-0.4)) + ("rust-walkdir" ,rust-walkdir-2)) #:cargo-development-inputs - (("rust-serde" ,rust-serde-1) + (("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-serde" ,rust-serde-1) ("rust-similar-asserts" ,rust-similar-asserts-1)))) (home-page "https://insta.rs/") (synopsis "Snapshot testing library for Rust") @@ -36509,35 +34628,6 @@ over in-place and buffer-to-buffer modes of operation.") ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-yaml" ,rust-serde-yaml-0.8)))))) -(define-public rust-insta-0.12 - (package - (inherit rust-insta-0.16) - (name "rust-insta") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "insta" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0j8k8rfcbdvh2s3jfj9hj7mspl32rqxqa393cw55jhg8cb09sj8d")))) - (arguments - `(#:cargo-test-flags - '("--release" - "--" - "--skip=runtime::test_format_rust_expression") - #:cargo-inputs - (("rust-console" ,rust-console-0.9) - ("rust-difference" ,rust-difference-2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-pest" ,rust-pest-2) - ("rust-pest-derive" ,rust-pest-derive-2) - ("rust-ron" ,rust-ron-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-uuid" ,rust-uuid-0.8)))))) - (define-public rust-insta-0.8 (package (inherit rust-insta-0.16) @@ -36573,6 +34663,32 @@ over in-place and buffer-to-buffer modes of operation.") ("rust-serde-yaml" ,rust-serde-yaml-0.8) ("rust-uuid" ,rust-uuid-0.7)))))) +(define-public rust-instability-0.3 + (package + (name "rust-instability") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "instability" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xfgw4afzbhr0v87xilscyc5dxmmcznghr6cr585jczpa5j113l9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-darling" ,rust-darling-0.20) + ("rust-indoc" ,rust-indoc-2) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/ratatui-org/instability") + (synopsis "Rust API stability attributes for the rest of us") + (description + "This package provides Rust API stability attributes for the rest of us. +It is a fork of the `stability` crate.") + (license license:expat))) + (define-public rust-instant-0.1 (package (name "rust-instant") @@ -36672,6 +34788,33 @@ bytestring representations.") "Simple procedural macro attribute for repetitive tests.") (license license:expat))) +(define-public rust-interprocess-2 + (package + (name "rust-interprocess") + (version "2.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "interprocess" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sv2hf9ylxyn77sr1p92sl479ca6mjw1g03pdxmv6z413m4lhhc9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-doctest-file" ,rust-doctest-file-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-recvmsg" ,rust-recvmsg-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-widestring" ,rust-widestring-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-color-eyre" ,rust-color-eyre-0.6) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/kotauskas/interprocess") + (synopsis "Interprocess communication toolkit") + (description "This package provides an interprocess communication toolkit.") + (license (list license:expat license:asl2.0)))) + (define-public rust-invalidstring-0.1 (package (name "rust-invalidstring") @@ -36805,24 +34948,43 @@ versions < 0.2.") @code{BufWriter}.") (license (list license:expat license:asl2.0)))) +(define-public rust-ioctl-rs-0.1 + (package + (name "rust-ioctl-rs") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "ioctl-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zdrgqxblrwm4ym8pwrr7a4dwjzxrvr1k0qjx6rk1vjwi480b5zp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/dcuddeback/ioctl-rs") + (synopsis "Rust bindings for system ioctls") + (description "This package provides Rust bindings for system ioctls.") + (license license:expat))) + (define-public rust-io-extras-0.18 (package (name "rust-io-extras") - (version "0.18.1") + (version "0.18.4") (source (origin (method url-fetch) (uri (crate-uri "io-extras" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vfi3dm8667naalicaaq1lqp8pvnjp805x5903k2k2hfp4zyf0f3")))) + (base32 "0raay0wyzgmfdi0p9lphm19fmldwqgw9x47ynbs7w2al63zdv192")))) (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-mio" ,rust-mio-1) ("rust-os-pipe" ,rust-os-pipe-1) - ("rust-socket2" ,rust-socket2-0.4) + ("rust-socket2" ,rust-socket2-0.5) ("rust-tokio" ,rust-tokio-1) ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-os-pipe" ,rust-os-pipe-1)))) @@ -36834,14 +34996,14 @@ versions < 0.2.") (define-public rust-io-lifetimes-2 (package (name "rust-io-lifetimes") - (version "2.0.3") + (version "2.0.4") (source (origin (method url-fetch) (uri (crate-uri "io-lifetimes" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1373iwawish51r5dbd7fav1hp89idk30wkmbphyrg60y8xqi6qas")))) + (base32 "10s9fyfksnzn056c7zj75y1v43gqvly26j9nrm79drrv9nsjyhq6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) @@ -36864,14 +35026,14 @@ library.") (package (inherit rust-io-lifetimes-2) (name "rust-io-lifetimes") - (version "1.0.10") + (version "1.0.11") (source (origin (method url-fetch) (uri (crate-uri "io-lifetimes" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "08625nsz0lgbd7c9lly6b6l45viqpsnj9jbsixd9mrz7596wfrlw")))) + "1hph5lz4wd3drnn6saakwxr497liznpfnv70via6s0v8x6pbkrza")))) (arguments `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) ("rust-fs-err" ,rust-fs-err-2) @@ -36906,8 +35068,35 @@ library.") ("rust-tokio" ,rust-tokio-1) ("rust-windows-sys" ,rust-windows-sys-0.42)))))) +(define-public rust-io-uring-0.6 + (package + (name "rust-io-uring") + (version "0.6.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "io-uring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rdhc23dx642smh8j81h3qslkhih9859f7pcnbz0i98iyjch6njr")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs (list rust-bindgen-0.65 + rust-bitflags-1 + rust-libc-0.2 + rust-sc-0.2) + #:cargo-development-inputs (list rust-anyhow-1 + rust-slab-0.4 + rust-socket2-0.5))) + (home-page "https://github.com/tokio-rs/io-uring") + (synopsis "Low-level `io_uring` userspace interface for Rust") + (description + "This package provides the low-level `io_uring` userspace interface for Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-io-uring-0.5 (package + (inherit rust-io-uring-0.6) (name "rust-io-uring") (version "0.5.13") (source @@ -36917,7 +35106,6 @@ library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0k4qrzhnc8j50g79ki8n79d4yffvcmwq5dj3bj6gs95rrw0il7nx")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.61) ("rust-bitflags" ,rust-bitflags-1) @@ -36925,11 +35113,7 @@ library.") ("rust-sc" ,rust-sc-0.2)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-slab" ,rust-slab-0.4) - ("rust-socket2" ,rust-socket2-0.4)))) - (home-page "https://github.com/tokio-rs/io-uring") - (synopsis "Low-level `io_uring` userspace interface for Rust") - (description "The low-level `io_uring` userspace interface for Rust.") - (license (list license:expat license:asl2.0)))) + ("rust-socket2" ,rust-socket2-0.4)))))) (define-public rust-ioslice-0.6 (package @@ -36978,89 +35162,22 @@ ABI compatible with @code{std} and @code{lbc}.") (license (list license:asl2.0 license:expat)))) -(define-public rust-iri-string-0.7 - (package - (name "rust-iri-string") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "iri-string" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1h07hkfkkjjvgzlaqpr5fia7hrgv7qxqdw4xrpdc3936gmk9p191")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))) - (home-page "https://github.com/lo48576/iri-string") - (synopsis "IRI as string types") - (description - "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.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "is_ci" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ifwvxmrsj4r29agfzr71bjq6y1bihkx38fbzafq5vl0jn1wjmbn")))) - (build-system cargo-build-system) - (home-page "https://github.com/zkat/is_ci") - (synopsis "Lightweight CI environment checker") - (description - "Super lightweight CI environment checker. Just tells you if you're in CI -or not without much fuss.") - (license license:isc))) - -(define-public rust-is-macro-0.1 - (package - (name "rust-is-macro") - (version "0.1.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "is-macro" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0pq1x1r8pk6fv0qf9vpxw60jw2jg3961nm1gv71j5qv0v4bds8m3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-inflector" ,rust-inflector-0.11) - ("rust-pmutil" ,rust-pmutil-0.5) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/kdy1/is-macro") - (synopsis "Create methods to use custom enum like Option/Result") - (description "This package lets you easily create methods to use a custom -enum like Option/Result.") - (license license:expat))) - (define-public rust-ipnet-2 (package (name "rust-ipnet") - (version "2.7.2") + (version "2.10.1") (source (origin (method url-fetch) (uri (crate-uri "ipnet" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0zxmnidy5qha1i384fzjfxcsi0qvkbcp730h26q4z3dg54hyxdhj")))) + (base32 "025p9wm94q1w2l13hbbr4cbmfygly3a2ag8g5s618l2jhq4l3hnx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-schemars" ,rust-schemars-0.8) + (("rust-heapless" ,rust-heapless-0.5) + ("rust-schemars" ,rust-schemars-0.8) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))) @@ -37140,38 +35257,113 @@ Rust.") (define-public rust-iptables-0.5 (package (name "rust-iptables") - (version "0.5.1") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "iptables" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0a96p8fq70v3z2rjf4c461pqhad6nkibs7sfgydkrf7ys1r0v7yk")))) + (base32 "1f8k90bhs34py78cw97jxh1hnxncfzbbr8my2d36ap9gba9jgdj3")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests can't be run in the build environment. #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-nix" ,rust-nix-0.27) + ("rust-nix" ,rust-nix-0.29) ("rust-regex" ,rust-regex-1)))) (home-page "https://github.com/yaa110/rust-iptables") (synopsis "Rust bindings for iptables") (description "Rust bindings for iptables.") (license license:expat))) +(define-public rust-iri-string-0.7 + (package + (name "rust-iri-string") + (version "0.7.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "iri-string" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1siv0qq612v8d25ryy8n74n2h6g9zwr9yxjgzzi5dzlg5rbhl3yw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/lo48576/iri-string") + (synopsis "IRI as string types") + (description + "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-irx-config-3 + (package + (name "rust-irx-config") + (version "3.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "irx-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0slp6f0ysnfwi1fyhd5bh2jy0h1a5ck4kgfppzzmsqy5z63a0rk2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-blake2b-simd" ,rust-blake2b-simd-1) + ("rust-blake3" ,rust-blake3-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-clap" ,rust-clap-4) + ("rust-derive-builder" ,rust-derive-builder-0.20) + ("rust-json5" ,rust-json5-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.8)) + #:cargo-development-inputs + (("rust-serde" ,rust-serde-1) + ("rust-version-sync" ,rust-version-sync-0.9)))) + (home-page "https://github.com/abakay/irx-config/") + (synopsis "Represent/parse configuration from different sources") + (description + "This library provides a convenient way to represent/parse configuration +from different sources.") + (license license:bsd-2))) + +(define-public rust-is-ci-1 + (package + (name "rust-is-ci") + (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 + "0ifwvxmrsj4r29agfzr71bjq6y1bihkx38fbzafq5vl0jn1wjmbn")))) + (build-system cargo-build-system) + (home-page "https://github.com/zkat/is_ci") + (synopsis "Lightweight CI environment checker") + (description + "Super lightweight CI environment checker. Just tells you if you're in CI +or not without much fuss.") + (license license:isc))) + (define-public rust-is-debug-1 (package (name "rust-is-debug") - (version "1.0.1") + (version "1.0.2") (source (origin (method url-fetch) (uri (crate-uri "is_debug" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12bwspph88wgmzcyl8dg3s28gph41r9shfq8yzaj564xj7lril86")))) + (base32 "02053pms1isigxdqmkqcj6p6rmdl09sy654b7nysaf36kn685sp8")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/baoyachi/rust_is_debug") (synopsis "Get build model is debug") (description "Get build model is debug.") @@ -37200,20 +35392,18 @@ process is running inside a Docker container.") (define-public rust-is-executable-1 (package (name "rust-is-executable") - (version "1.0.1") + (version "1.0.4") (source (origin (method url-fetch) (uri (crate-uri "is_executable" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j59iqaxcgax0qll30rarpcr7y3dpkl38iv4mlkfcxbvsv3cv6ps")))) + (base32 "1qlafm7f0zq0kzvbd4fhcfci4g9gxp6g3yqxjqsjj1zrssxbb8fl")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) + `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-diff" ,rust-diff-0.1)))) (home-page "https://github.com/fitzgen/is_executable") (synopsis "Find executable files at path") (description @@ -37221,22 +35411,47 @@ process is running inside a Docker container.") whether or not a given path points to an executable file.") (license (list license:expat license:asl2.0)))) +(define-public rust-is-macro-0.1 + (package + (name "rust-is-macro") + (version "0.1.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "is-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pq1x1r8pk6fv0qf9vpxw60jw2jg3961nm1gv71j5qv0v4bds8m3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-inflector" ,rust-inflector-0.11) + ("rust-pmutil" ,rust-pmutil-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/kdy1/is-macro") + (synopsis "Create methods to use custom enum like Option/Result") + (description "This package lets you easily create methods to use a custom +enum like Option/Result.") + (license license:expat))) + (define-public rust-is-terminal-0.4 (package (name "rust-is-terminal") - (version "0.4.10") + (version "0.4.13") (source (origin (method url-fetch) (uri (crate-uri "is-terminal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0m9la3f7cs77y85nkbcjsxkb7k861fc6bdhahyfidgh7gljh1b8b")))) + "0jwgjjz33kkmnwai3nsdk1pz9vb6gkqvw1d1vq7bs3q48kinh7r6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-hermit-abi" ,rust-hermit-abi-0.3) - ("rust-rustix" ,rust-rustix-0.38) + (("rust-hermit-abi" ,rust-hermit-abi-0.4) + ("rust-libc" ,rust-libc-0.2) ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-atty" ,rust-atty-0.2) @@ -37498,14 +35713,15 @@ functions, and macros.") (name "rust-itertools") (version "0.9.0") (source - (origin - (method url-fetch) - (uri (crate-uri "itertools" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jyml7ygr7kijkcjdl3fk5f34y5h5jsavclim7l13zjiavw1hkr8")))) + (origin + (method url-fetch) + (uri (crate-uri "itertools" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jyml7ygr7kijkcjdl3fk5f34y5h5jsavclim7l13zjiavw1hkr8")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + (("=0.3.0") "0.3"))))) (arguments `(#:cargo-inputs (("rust-either" ,rust-either-1)) @@ -37513,14 +35729,7 @@ functions, and macros.") (("rust-criterion" ,rust-criterion-0.3) ("rust-permutohedron" ,rust-permutohedron-0.2) ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-rand" ,rust-rand-0.7)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - (("=0.3.0") "0.3")) - #t))))))) + ("rust-rand" ,rust-rand-0.7)))))) (define-public rust-itertools-0.8 (package @@ -37619,14 +35828,14 @@ and functions.") (define-public rust-itoa-1 (package (name "rust-itoa") - (version "1.0.11") + (version "1.0.14") (source (origin (method url-fetch) (uri (crate-uri "itoa" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nv9cqjwzr3q58qz84dcz63ggc54yhf1yqar1m858m1kfd4g3wa9")))) + (base32 "0x26kr9m062mafaxgcf2p6h2x7cmixm0zw95aipzn2hr3d5jlnnp")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-no-panic" ,rust-no-panic-0.1)))) @@ -37713,118 +35922,23 @@ format.") (description "This package provides a simple ivf muxer.") (license license:bsd-2))) -(define-public rust-jack-0.10 - (package - (name "rust-jack") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "jack" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0djs3j0icxbzbivhj73vgjrvjw6ncpfak2vyxjcbn4wvl9ajcwnf")))) - (build-system cargo-build-system) - (arguments - (list #:tests? #f - #:cargo-inputs - `(("rust-bitflags" ,rust-bitflags-1) - ("rust-jack-sys" ,rust-jack-sys-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4)) - #:cargo-development-inputs - `(("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)))) - (native-inputs (list pkg-config)) - (inputs (list jack-2)) - (home-page "https://github.com/RustAudio/rust-jack") - (synopsis "Real time audio and midi with JACK") - (description "Real time audio and midi with JACK.") - (license license:expat))) - -(define-public rust-jack-0.8 - (package - (inherit rust-jack-0.10) - (name "rust-jack") - (version "0.8.4") - (source (origin - (method url-fetch) - (uri (crate-uri "jack" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0lz10s0n2gy128m65pf96is9ip00vfgvnkfja0y9ydmv24pw2ajx")))) - (arguments - (list #:tests? #f - #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) - ("rust-jack-sys" ,rust-jack-sys-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)))))) - -(define-public rust-jack-sys-0.4 - (package - (name "rust-jack-sys") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "jack-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17vaq4i8q5nx39rjqx9sixqn1xraf1vxs3bmrf618v8nzxchbmz9")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; cannot find value `library` in this scope - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.7) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs (list pkg-config)) - (inputs (list jack-2)) - (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys") - (synopsis "Low-level binding to the JACK audio API") - (description "Low-level binding to the JACK audio API.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-jack-sys-0.2 - (package - (inherit rust-jack-sys-0.4) - (name "rust-jack-sys") - (version "0.2.3") - (source (origin - (method url-fetch) - (uri (crate-uri "jack-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h9c9za19nyr1prx77gkia18ia93f73lpyjdiyrvmhhbs79g54bv")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-inputs `(("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libloading" ,rust-libloading-0.6) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - (define-public rust-java-locator-0.1 (package (name "rust-java-locator") - (version "0.1.5") + (version "0.1.8") (source (origin (method url-fetch) (uri (crate-uri "java-locator" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1hl06w62yzvfzrl6pwgzssx8006s508hylnq44n22by5v4pky04h")))) + (base32 "1dfyawm101s0qxx73dpdc9gyfm462xpc8ppd979mssmgjj4g49bg")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests want java in the path #:cargo-inputs (("rust-docopt" ,rust-docopt-1) - ("rust-glob" ,rust-glob-0.3) - ("rust-lazy-static" ,rust-lazy-static-1)))) + ("rust-glob" ,rust-glob-0.3)))) + (native-inputs (list which)) (home-page "https://github.com/astonbitecode/java-locator") (synopsis "Locates a Java installation in the host") (description "Locates a Java installation in the host.") @@ -38064,21 +36178,21 @@ introspection APIs.") (define-public rust-jetscii-0.5 (package (name "rust-jetscii") - (version "0.5.0") + (version "0.5.3") (source (origin (method url-fetch) (uri (crate-uri "jetscii" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x4z5ixlxv1wa70d3d6ad3n8qxz6z00i13zwnv219v45qcwybbnb")))) + (base32 "0pppbawc1v6lshz6zi3d4bkz7xbalph9sd78a5299jd94kz45wa7")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) ("rust-memmap" ,rust-memmap-0.7) ("rust-proptest" ,rust-proptest-1) - ("rust-region" ,rust-region-2)))) + ("rust-region" ,rust-region-3)))) (home-page "https://github.com/shepmaster/jetscii") (synopsis "Search strings and byte slices for sets of ASCII characters or bytes") @@ -38181,8 +36295,43 @@ heavily inspired by the Temporal project.") "Provides the Time Zone Database for use in your binary on specific platforms.") (license (list license:unlicense license:expat)))) +(define-public rust-jiter-0.5 + (package + (name "rust-jiter") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "jiter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ayj16d1rx5h5v7ihxgg198a9c190b6shsylzzfhxx9y2i4kbqh2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-bitvec" ,rust-bitvec-1) + ("rust-lexical-parse-float" ,rust-lexical-parse-float-0.8) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pyo3" ,rust-pyo3-0.22) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.22) + ("rust-smallvec" ,rust-smallvec-1)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-codspeed-bencher-compat" ,rust-codspeed-bencher-compat-2) + ("rust-paste" ,rust-paste-1) + ("rust-pyo3" ,rust-pyo3-0.22) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (native-inputs (list python-minimal-wrapper)) ; For the tests. + (home-page "https://github.com/pydantic/jiter/") + (synopsis "Iterable JSON parser") + (description "This package provides an iterable JSON parser.") + (license license:expat))) + (define-public rust-jiter-0.0.6 (package + (inherit rust-jiter-0.5) (name "rust-jiter") (version "0.0.6") (source @@ -38192,7 +36341,6 @@ heavily inspired by the Temporal project.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1xr7cajq6r0szl6aga047asrd6cqrvw168yh0sz854znk5m0dnw7")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) @@ -38208,12 +36356,7 @@ heavily inspired by the Temporal project.") ("rust-paste" ,rust-paste-1) ("rust-pyo3" ,rust-pyo3-0.20) ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (native-inputs (list python-minimal-wrapper)) ; For the tests. - (home-page "https://github.com/pydantic/jiter/") - (synopsis "Iterable JSON parser") - (description "This package provides an iterable JSON parser.") - (license license:expat))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-jiter-0.0.4 (package @@ -38347,7 +36490,7 @@ libraries.") #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)))))) -(define-public rust-jni-glue-0.0 +(define-public rust-jni-glue-0.0.10 (package (name "rust-jni-glue") (version "0.0.10") @@ -38436,69 +36579,17 @@ the jni-bindgen code generator for binding to JVM APIs from Rust.") iterators with a separator.") (license license:expat))) -(define-public rust-jsonpath-lib-0.3 - (package - (name "rust-jsonpath-lib") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "jsonpath_lib" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kvp4fargixqlwjvpb3w6f1lvmiysnmj7an5h75wqc42ss8k39pa")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/freestrings/jsonpath") - (synopsis "JsonPath engine written in Rust") - (description - "It is JsonPath engine written in Rust. It provides a similar API -interface in Webassembly and Javascript too.") - (license license:expat))) - -(define-public rust-jsonrpc-core-14 - (package - (name "rust-jsonrpc-core") - (version "14.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "jsonrpc-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qkvgkr05sg0j25jqgw7zcw4r1agzg8gnfnrmw1rgyqz283p6x50")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/paritytech/jsonrpc") - (synopsis "Transport agnostic Rust implementation of JSON-RPC 2.0") - (description - "This package provides a transport agnostic Rust implementation of -JSON-RPC 2.0 specification.") - (license license:expat))) - (define-public rust-js-sys-0.3 (package (name "rust-js-sys") - (version "0.3.68") + (version "0.3.76") (source (origin (method url-fetch) (uri (crate-uri "js-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vm98fhnhs4w6yakchi9ip7ar95900k9vkr24a21qlwd6r5xlv20")) + (base32 "1dz7v777h2j38wkf8k5iwkfxskn6nff2cdv2jsslyxkpn2svc5v7")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -38507,11 +36598,8 @@ JSON-RPC 2.0 specification.") (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) - #:cargo-development-inputs - (("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)))) + (("rust-once-cell" ,rust-once-cell-1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) (home-page "https://rustwasm.github.io/wasm-bindgen/") (synopsis "Bindings for all JS global objects and functions in WASM") (description @@ -38559,87 +36647,118 @@ friction with idiomatic Rust structs to ease interopability.") "This package provides a performant library to deserialize JSON.") (license license:asl2.0))) -(define-public rust-juliex-0.3 +(define-public rust-jsonpath-lib-0.3 (package - (name "rust-juliex") - (version "0.3.0-alpha.8") + (name "rust-jsonpath-lib") + (version "0.3.0") (source (origin (method url-fetch) - (uri (crate-uri "juliex" version)) + (uri (crate-uri "jsonpath_lib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1g4r23i7dkpid8zmkg6aiw73gkp7jagwhrjfi12yklyx4dczvp12")))) + (base32 "0kvp4fargixqlwjvpb3w6f1lvmiysnmj7an5h75wqc42ss8k39pa")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-crossbeam" ,rust-crossbeam-0.7) - ("rust-futures-preview" ,rust-futures-preview-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-num-cpus" ,rust-num-cpus-1)))) - (home-page "https://github.com/withoutboats/juliex") - (synopsis "Very basic future executor") + (("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/freestrings/jsonpath") + (synopsis "JsonPath engine written in Rust") (description - "juliex is a concurrent executor for Rust futures. It is implemented as -a threadpool executor using a single, shared queue. Algorithmically, it is -very similar to the Threadpool executor provided by the futures crate. The -main difference is that juliex uses a crossbeam channel and performs a single -allocation per spawned future, whereas the futures Threadpool uses std -concurrency primitives and multiple allocations.") - (license (list license:expat license:asl2.0)))) + "It is JsonPath engine written in Rust. It provides a similar API +interface in Webassembly and Javascript too.") + (license license:expat))) -(define-public rust-juniper-codegen-0.15 +(define-public rust-jsonrpc-core-18 (package - (name "rust-juniper-codegen") - (version "0.15.9") + (name "rust-jsonrpc-core") + (version "18.0.0") (source (origin (method url-fetch) - (uri (crate-uri "juniper_codegen" version)) + (uri (crate-uri "jsonrpc-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nvigsc1yrfv09wx1yv830dd60ay556haz87p80h7m8s0rqpdsdf")))) + (base32 "1sv5m6bxyscdqg8cfzlsm8f3vks3972zc9w475l4h19dxxmggxql")))) (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-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/paritytech/jsonrpc") + (synopsis "Transport agnostic Rust implementation of JSON-RPC 2.0") + (description + "This package provides a transport agnostic Rust implementation of +JSON-RPC 2.0 specification.") + (license license:expat))) + +(define-public rust-jsonwebtoken-9 + (package + (name "rust-jsonwebtoken") + (version "9.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "jsonwebtoken" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gqr13c9fjd4zb2lqzhgi4xwq0rfnk8a47jzjis1w1957lci1bmr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-pem" ,rust-pem-3) + ("rust-ring" ,rust-ring-0.17) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-simple-asn1" ,rust-simple-asn1-0.6)) #: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") + (("rust-criterion" ,rust-criterion-0.4) + ("rust-time" ,rust-time-0.3) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/Keats/jsonwebtoken") + (synopsis "Create and decode JWTs in a strongly typed way") (description - "This package provides an internal custom derive trait for Juniper -GraphQL.") - (license license:bsd-2))) + "This package provides a method to create and decode @acronym{JWTs, json +web tokens} in a strongly typed way.") + (license license:expat))) -(define-public rust-juniper-codegen-0.14 +(define-public rust-juliex-0.3 (package - (inherit rust-juniper-codegen-0.15) - (name "rust-juniper-codegen") - (version "0.14.2") + (name "rust-juliex") + (version "0.3.0-alpha.8") (source (origin (method url-fetch) - (uri (crate-uri "juniper_codegen" version)) + (uri (crate-uri "juliex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06ym8568k9p75kvnfc4ywqbkzaa4ib6gngx9vpbsjwg9v0sg42nl")))) + (base32 "1g4r23i7dkpid8zmkg6aiw73gkp7jagwhrjfi12yklyx4dczvp12")))) + (build-system cargo-build-system) (arguments - `(#:tests? #false ;FIXME: fail due to unresolved import + `(#:skip-build? #t #:cargo-inputs - (("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.14)))))) + (("rust-crossbeam" ,rust-crossbeam-0.7) + ("rust-futures-preview" ,rust-futures-preview-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-cpus" ,rust-num-cpus-1)))) + (home-page "https://github.com/withoutboats/juliex") + (synopsis "Very basic future executor") + (description + "juliex is a concurrent executor for Rust futures. It is implemented as +a threadpool executor using a single, shared queue. Algorithmically, it is +very similar to the Threadpool executor provided by the futures crate. The +main difference is that juliex uses a crossbeam channel and performs a single +allocation per spawned future, whereas the futures Threadpool uses std +concurrency primitives and multiple allocations.") + (license (list license:expat license:asl2.0)))) (define-public rust-juniper-0.15 (package @@ -38718,17 +36837,186 @@ debugging.") (("rust-bencher" ,rust-bencher-0.1) ("rust-serde-json" ,rust-serde-json-1)))))) +(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 + (origin + (method url-fetch) + (uri (crate-uri "juniper_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06ym8568k9p75kvnfc4ywqbkzaa4ib6gngx9vpbsjwg9v0sg42nl")))) + (arguments + `(#:tests? #false ;FIXME: fail due to unresolved import + #:cargo-inputs + (("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.14)))))) + +(define-public rust-jwalk-0.8 + (package + (name "rust-jwalk") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "jwalk" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0miw0074ch6p89dbvrlnz9wp13rh7542cf1ak8bx4v1mcrsq8d97")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-rayon" ,rust-rayon-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-fs-extra" ,rust-fs-extra-1) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/byron/jwalk") + (synopsis + "File system walk performed in parallel with streamed and sorted results") + (description + "This Rust crate implements a file system walk that runs in parallel +using @code{rayon}. It attempts to combine the parallelism of @code{ignore} +with @code{walkdir}'s streaming iterator API. Entries are streamed in sorted +order with options for custom sorting, filtering, and skipping. + +Directory traversal is already pretty fast. If you don't need this crate's +speed then walkdir provides a smaller and more tested single threaded implementation.") + (license license:expat))) + +(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 + (method url-fetch) + (uri (crate-uri "k9" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a8pxz6fygqzknxdlb4l835kqxgjk7snm4bjhhhn783r025vbp9j")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-colored" ,rust-colored-1) + ("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-1) + ("rust-term-size" ,rust-term-size-0.3)))))) + +(define-public rust-katex-doc-0.1 + (package + (name "rust-katex-doc") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "katex-doc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fa0fi3bv9qdab0cb49q8971vszf0nzmvnvm70lns5xrpyyq0nqy")))) + (build-system cargo-build-system) + (home-page "https://github.com/CAD97/katex-doc") + (synopsis "XaaS for KaTeX on docs.rs") + (description + "This package provides a XSS as a Service for KaTeX on docs.rs") + (license (list license:unlicense license:expat)))) + (define-public rust-keccak-0.1 (package (name "rust-keccak") - (version "0.1.4") + (version "0.1.5") (source (origin (method url-fetch) (uri (crate-uri "keccak" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0h7rcvwvf20g4k8cx2brnrqvah6jwzs84w09vrj4743dczc5wvcg")))) + "0m06swsyd58hvb1z17q6picdwywprf1yf1s6l491zi8r26dazhpc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cpufeatures" ,rust-cpufeatures-0.2)))) @@ -38742,24 +37030,24 @@ keccak-f and keccak-p variants.") (define-public rust-keyring-2 (package (name "rust-keyring") - (version "2.0.5") + (version "2.3.3") (source (origin (method url-fetch) (uri (crate-uri "keyring" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "14i4qxz6kpy1ijkx1gwig494f3bq54kwxldjf459w508plls2jcm")))) + "184mshdrgghlvmlz0n7w1167yx0sa3zb82n31jk4lwcx07q8fcrn")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Tests need a TTY. + `(#:tests? #f ; Can't set password for empty user: NoEntry #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-linux-keyutils" ,rust-linux-keyutils-0.2) ("rust-secret-service" ,rust-secret-service-3) ("rust-security-framework" ,rust-security-framework-2) - ("rust-winapi" ,rust-winapi-0.3)) + ("rust-windows-sys" ,rust-windows-sys-0.52)) #:cargo-development-inputs (("rust-clap" ,rust-clap-4) ("rust-doc-comment" ,rust-doc-comment-0.3) @@ -38792,44 +37080,101 @@ passwords/credentials.") "The Khronos XML API Registry, exposed as byte string constants.") (license license:asl2.0))) -(define-public rust-kqueue-sys-1 +(define-public rust-koibumi-base32-0.0.2 (package - (name "rust-kqueue-sys") - (version "1.0.3") + (name "rust-koibumi-base32") + (version "0.0.2") (source (origin (method url-fetch) - (uri (crate-uri "kqueue-sys" version)) + (uri (crate-uri "koibumi-base32" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11z5labbms9vn9m6csi5383dmrlmdgsxq13ls9fwa6zhi5a5hrw3")))) + (base32 "1frb232m6rw50ly8ijhsbllcqfif5kcma1l6hrgm5g22c3c3il94")))) (build-system cargo-build-system) (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://gitlab.com/worr/rust-kqueue-sys") - (synopsis "Low-level kqueue interface for BSDs") - (description "This package provides a low-level kqueue interface for BSDs.") - (license license:expat))) + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1)))) + (home-page "https://kashiko.gitlab.io/koibumi-rust/") + (synopsis "Base32 encoder/decoder library") + (description "This package provides a Base32 encoder/decoder library.") + (license license:gpl3+))) + +(define-public rust-konst-0.2 + (package + (name "rust-konst") + (version "0.2.19") + (source + (origin + (method url-fetch) + (uri (crate-uri "konst" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x3lxxk9vjaiiaabngv7ki2bv9xi36gnqzjzi0s8qfs8wq9hw3rk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-konst-macro-rules" ,rust-konst-macro-rules-0.2) + ("rust-konst-proc-macros" ,rust-konst-proc-macros-0.2) + ("rust-trybuild" ,rust-trybuild-1)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/rodrimati1992/konst/") + (synopsis + "Const equivalents of std functions, compile-time comparison, and parsing") + (description + "Const equivalents of std functions, compile-time comparison, and parsing.") + (license license:zlib))) + +(define-public rust-konst-macro-rules-0.2 + (package + (name "rust-konst-macro-rules") + (version "0.2.19") + (source + (origin + (method url-fetch) + (uri (crate-uri "konst_macro_rules" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dswja0dqcww4x3fwjnirc0azv2n6cazn8yv0kddksd8awzkz4x4")))) + (build-system cargo-build-system) + (home-page "https://github.com/rodrimati1992/konst/") + (synopsis "Implementation detail of the konst crate") + (description "Implementation detail of the konst crate.") + (license license:zlib))) + +(define-public rust-konst-proc-macros-0.2 + (package + (name "rust-konst-proc-macros") + (version "0.2.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "konst_proc_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dxp8mdh3q9d044ql203way4fgbc50n3j3pi2j1x2snlcaa10klq")))) + (build-system cargo-build-system) + (home-page "https://github.com/rodrimati1992/konst/") + (synopsis "Implementation detail of the @code{konst} crate") + (description "Implementation detail of the @code{konst} crate.") + (license license:zlib))) (define-public rust-kqueue-1 (package (name "rust-kqueue") - (version "1.0.4") + (version "1.0.8") (source (origin (method url-fetch) (uri (crate-uri "kqueue" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ad4vifr0kmla8a5pgig7plx5kmc9w7k1h9mgm6fk2sgg1x112h5")))) + (base32 "033x2knkbv8d3jy6i9r32jcgsq6zm3g97zh5la43amkv3g5g2ivl")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; cannot find type `EventFilter` in this scope #:cargo-inputs - (("rust-kqueue-sys" ,rust-kqueue-sys-1) ("rust-libc" ,rust-libc-0.2)) + (("rust-kqueue-sys" ,rust-kqueue-sys-1) + ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://gitlab.com/worr/rust-kqueue") @@ -38837,32 +37182,78 @@ passwords/credentials.") (description "This package provides a kqueue interface for BSDs.") (license license:expat))) +(define-public rust-kqueue-sys-1 + (package + (name "rust-kqueue-sys") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "kqueue-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12w3wi90y4kwis4k9g6fp0kqjdmc6l00j16g8mgbhac7vbzjb5pd")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; cannot find type `EventFilter` in this scope + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://gitlab.com/worr/rust-kqueue-sys") + (synopsis "Low-level kqueue interface for BSDs") + (description "This package provides a low-level kqueue interface for BSDs.") + (license license:expat))) + (define-public rust-kstring-2 (package (name "rust-kstring") - (version "2.0.0") + (version "2.0.2") (source (origin (method url-fetch) (uri (crate-uri "kstring" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0isp7kmk4q0qxpcd877q77ykgb3ryfbmj18djmnwv8c210sncc7c")))) + (base32 "1lfvqlqkg2x23nglznb7ah6fk3vv3y5i759h5l2151ami98gk2sm")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; Uses unstable features. - #:cargo-inputs + `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) ("rust-serde" ,rust-serde-1) ("rust-static-assertions" ,rust-static-assertions-1)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) + (("rust-criterion" ,rust-criterion-0.5) ("rust-proptest" ,rust-proptest-1)))) (home-page "https://github.com/cobalt-org/kstring") (synopsis "String optimized for map keys") (description "Key String provides a Rust package optimized for map keys.") (license (list license:expat license:asl2.0)))) +(define-public rust-kuchiki-0.8 + (package + (name "rust-kuchiki") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "kuchiki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n53hhscgf4az58nnbjfxlqz9k96h3f02c7fhbzpqdriw33fka0y")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cssparser" ,rust-cssparser-0.27) + ("rust-html5ever" ,rust-html5ever-0.25) + ("rust-matches" ,rust-matches-0.1) + ("rust-selectors" ,rust-selectors-0.22)))) + (home-page "https://github.com/SimonSapin/kuchiki") + (synopsis "HTML/XML tree manipulation library") + (description "A library for parsing and serializing HTML and XML documents +and traversing, manipulating, and querying the document tree.") + (license license:expat))) + (define-public rust-kv-log-macro-1 (package (name "rust-kv-log-macro") @@ -38886,116 +37277,6 @@ passwords/credentials.") "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 - (method url-fetch) - (uri (crate-uri "k9" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1a8pxz6fygqzknxdlb4l835kqxgjk7snm4bjhhhn783r025vbp9j")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-colored" ,rust-colored-1) - ("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-1) - ("rust-term-size" ,rust-term-size-0.3)))))) - -(define-public rust-language-tags-0.3 - (package - (name "rust-language-tags") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "language-tags" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "124k6w9nx33q4xs8rpa9f7klshrsa0x4f7qngdwq890lpdj5jd6l")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/pyfisch/rust-language-tags") - (synopsis "Language tags for Rust") - (description - "Language tags can be used identify human languages, scripts e.g. Latin -script, countries and other regions. They are commonly used in HTML and HTTP -@code{Content-Language} and @code{Accept-Language} header fields. This package -currently supports parsing (fully conformant parser), formatting and comparing -language tags.") - (license license:expat))) - -(define-public rust-language-tags-0.2 - (package - (inherit rust-language-tags-0.3) - (name "rust-language-tags") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "language-tags" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-heapsize" ,rust-heapsize-0.3) - ("rust-heapsize-plugin" ,rust-heapsize-plugin-0.1)))))) - (define-public rust-lab-0.11 (package (name "rust-lab") @@ -39064,35 +37345,35 @@ grammars.") (package (inherit rust-lalrpop-0.20) (name "rust-lalrpop") - (version "0.19.1") + (version "0.19.12") (source (origin (method url-fetch) (uri (crate-uri "lalrpop" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j52sybjhn82ydgsmnw7nkywjyb7pvg50mvyb48m7vdq3wcmdyv0")))) + (base32 "0yw3m7br8zsby1vb7d0v952hdllg6splc85ba4l9yn1746avy70a")))) (arguments - `(#:skip-build? #t + `(#:install-source? #f ; README is missing. #:cargo-inputs - (("rust-ascii-canvas" ,rust-ascii-canvas-2) - ("rust-atty" ,rust-atty-0.2) - ("rust-bit-set" ,rust-bit-set-0.5) - ("rust-diff" ,rust-diff-0.1) - ("rust-docopt" ,rust-docopt-1) - ("rust-ena" ,rust-ena-0.14) - ("rust-itertools" ,rust-itertools-0.9) - ("rust-lalrpop-util" ,rust-lalrpop-util-0.19) - ("rust-petgraph" ,rust-petgraph-0.5) - ("rust-regex" ,rust-regex-1) - ("rust-regex-syntax" ,rust-regex-syntax-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-sha2" ,rust-sha2-0.8) - ("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)))))) + (("rust-ascii-canvas" ,rust-ascii-canvas-3) + ("rust-bit-set" ,rust-bit-set-0.5) + ("rust-diff" ,rust-diff-0.1) + ("rust-ena" ,rust-ena-0.14) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.19) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-pico-args" ,rust-pico-args-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.6) + ("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)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.6)))))) (define-public rust-lalrpop-0.17 (package @@ -39153,17 +37434,16 @@ generated by LALRPOP.") (package (inherit rust-lalrpop-util-0.20) (name "rust-lalrpop-util") - (version "0.19.1") + (version "0.19.12") (source (origin (method url-fetch) (uri (crate-uri "lalrpop-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0224r8gsbk8and96nhwgzdj4hc1c01g78zmvv3x4f5jnzwg1cwb7")))) + (base32 "1vd0iy505h97xxm66r3m68a34v0009784syy093mlk30p4vq5i6k")))) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-regex" ,rust-regex-1)))))) + `(#:cargo-inputs (("rust-regex" ,rust-regex-1)))))) (define-public rust-lalrpop-util-0.17 (package @@ -39178,6 +37458,75 @@ generated by LALRPOP.") (sha256 (base32 "0z4bjn3g9232n1im5p6mn9mwlvw5aj5iac6hbjmljqxkhf3d2xy2")))))) +(define-public rust-language-tags-0.3 + (package + (name "rust-language-tags") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "language-tags" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "124k6w9nx33q4xs8rpa9f7klshrsa0x4f7qngdwq890lpdj5jd6l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/pyfisch/rust-language-tags") + (synopsis "Language tags for Rust") + (description + "Language tags can be used identify human languages, scripts e.g. Latin +script, countries and other regions. They are commonly used in HTML and HTTP +@code{Content-Language} and @code{Accept-Language} header fields. This package +currently supports parsing (fully conformant parser), formatting and comparing +language tags.") + (license license:expat))) + +(define-public rust-language-tags-0.2 + (package + (inherit rust-language-tags-0.3) + (name "rust-language-tags") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "language-tags" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "16hrjdpa827carq5x4b8zhas24d8kg4s16m6nmmn1kb7cr5qh7d9")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-heapsize" ,rust-heapsize-0.3) + ("rust-heapsize-plugin" ,rust-heapsize-plugin-0.1)))))) + +(define-public rust-lapack-0.19 + (package + (name "rust-lapack") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "lapack" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01yja6fdjr7h6nqhlamn0mhqv5533735030av2gnmrzp9mmnlrxd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lapack-sys" ,rust-lapack-sys-0.14) + ("rust-libc" ,rust-libc-0.2) + ("rust-num-complex" ,rust-num-complex-0.4)))) + (home-page "https://github.com/blas-lapack-rs/lapack") + (synopsis "Rust wrappers for LAPACK (Fortran)") + (description "The package provides wrappers for LAPACK (Fortran).") + (license (list license:asl2.0 license:expat)))) + (define-public rust-lapack-sys-0.14 (package (name "rust-lapack-sys") @@ -39205,27 +37554,6 @@ generated by LALRPOP.") (description "The package provides bindings to LAPACK (Fortran).") (license (list license:asl2.0 license:expat)))) -(define-public rust-lapack-0.19 - (package - (name "rust-lapack") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lapack" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01yja6fdjr7h6nqhlamn0mhqv5533735030av2gnmrzp9mmnlrxd")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-lapack-sys" ,rust-lapack-sys-0.14) - ("rust-libc" ,rust-libc-0.2) - ("rust-num-complex" ,rust-num-complex-0.4)))) - (home-page "https://github.com/blas-lapack-rs/lapack") - (synopsis "Rust wrappers for LAPACK (Fortran)") - (description "The package provides wrappers for LAPACK (Fortran).") - (license (list license:asl2.0 license:expat)))) - (define-public rust-layout-rs-0.1 (package (name "rust-layout-rs") @@ -39267,14 +37595,14 @@ generated by LALRPOP.") (define-public rust-lazy-regex-3 (package (name "rust-lazy-regex") - (version "3.1.0") + (version "3.3.0") (source (origin (method url-fetch) (uri (crate-uri "lazy-regex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0k3sjdcr13j119kgz1h7f1k2mnl787ig9ag436ymipxgjm2vw4jx")))) + (base32 "1nmzfxkaycxrv61cb272img06pdvkywp8qh1aasyrivbgv4l33ld")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -39290,14 +37618,14 @@ generated by LALRPOP.") (define-public rust-lazy-regex-proc-macros-3 (package (name "rust-lazy-regex-proc-macros") - (version "3.1.0") + (version "3.3.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")))) + (base32 "0qs13g4047fvlc16w1qb9yp4af3qm2xhp4kvkk5m6b37bnqdiqbn")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; cannot find macro `regex_replace_all` in this scope @@ -39392,7 +37720,7 @@ requires non-const function calls to be computed.") "0m8gw7dn30i0zjjpjdyf6pc16c34nl71lpv461mix50x3p70h3c3")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0)))) + `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0.302)))) (home-page "https://github.com/indiv0/lazycell") (synopsis "Lazily filled Cell struct") (description @@ -39402,20 +37730,20 @@ requires non-const function calls to be computed.") (define-public rust-lddtree-0.3 (package (name "rust-lddtree") - (version "0.3.3") + (version "0.3.7") (source (origin (method url-fetch) (uri (crate-uri "lddtree" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "15f24jcglphqdjxmzafp8fnzslczzr6q1rls36akmb9hd32gwnrg")))) + "13mh4y1bwlqpa8jpsgj3zb0mxi4syzdqh8x13xwapdnp9g4rlxz0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-fs-err" ,rust-fs-err-2) + (("rust-fs-err" ,rust-fs-err-3) ("rust-glob" ,rust-glob-0.3) - ("rust-goblin" ,rust-goblin-0.7)))) + ("rust-goblin" ,rust-goblin-0.9)))) (home-page "https://github.com/messense/lddtree-rs") (synopsis "Read the ELF dependency tree") (description "Read the ELF dependency tree.") @@ -39547,34 +37875,57 @@ and authentication, easy email builders, and async support.") "This crate provides an implementation of the levenshtein algorithm in rust.") (license license:expat))) -(define-public rust-lewton-0.10 +(define-public rust-lexical-6 (package - (name "rust-lewton") - (version "0.10.2") - (source (origin - (method url-fetch) - (uri (crate-uri "lewton" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0c60fn004awg5c3cvx82d6na2pirf0qdz9w3b93mbcdakbglhyvp")))) + (name "rust-lexical") + (version "6.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "lexical" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xk8g6k17ml0sjyx388qck9zqhxjfyzjqx1l6c0ggzj3zlvgpbn7")))) (build-system cargo-build-system) (arguments - (list #:cargo-inputs - `(("rust-byteorder" ,rust-byteorder-1) - ("rust-futures" ,rust-futures-0.1) - ("rust-ogg" ,rust-ogg-0.8) - ("rust-tinyvec" ,rust-tinyvec-1) - ("rust-tokio-io" ,rust-tokio-io-0.1)) - #:cargo-development-inputs - `(("rust-alto" ,rust-alto-3) - ("rust-ogg" ,rust-ogg-0.8)))) - (home-page "https://github.com/RustAudio/lewton") - (synopsis "Pure Rust Vorbis decoder") - (description "A pure Rust Vorbis decoder. Vorbis is a free and open -source audio format.") + `(#:cargo-inputs + (("rust-lexical-core" ,rust-lexical-core-0.8)))) + (home-page "https://github.com/Alexhuszagh/rust-lexical") + (synopsis "Lexical, to- and from-string conversion routines") + (description + "Lexical is high-performance numeric conversion routines for use in +a no_std environment. This does not depend on any standard library features, +nor a system allocator.") (license (list license:expat license:asl2.0)))) +(define-public rust-lexical-5 + (package + (inherit rust-lexical-6) + (name "rust-lexical") + (version "5.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "lexical" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r8lsi523h53kbb99xgv31jabwhcp4rzqd4hfazfhcjffh5aj17l")))) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-lexical-core" ,rust-lexical-core-0.7) + ("rust-rand" ,rust-rand-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-toml" ,rust-toml-0.5)) + #:cargo-development-inputs + (("rust-approx" ,rust-approx-0.4) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-dtoa" ,rust-dtoa-0.4) + ("rust-itoa" ,rust-itoa-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-ryu" ,rust-ryu-1)))))) + (define-public rust-lexical-core-0.8 (package (name "rust-lexical-core") @@ -39747,57 +38098,6 @@ source audio format.") "This crate provides efficient formatting of integers to strings.") (license (list license:expat license:asl2.0)))) -(define-public rust-lexical-6 - (package - (name "rust-lexical") - (version "6.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "lexical" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xk8g6k17ml0sjyx388qck9zqhxjfyzjqx1l6c0ggzj3zlvgpbn7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lexical-core" ,rust-lexical-core-0.8)))) - (home-page "https://github.com/Alexhuszagh/rust-lexical") - (synopsis "Lexical, to- and from-string conversion routines") - (description - "Lexical is high-performance numeric conversion routines for use in -a no_std environment. This does not depend on any standard library features, -nor a system allocator.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-lexical-5 - (package - (inherit rust-lexical-6) - (name "rust-lexical") - (version "5.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "lexical" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r8lsi523h53kbb99xgv31jabwhcp4rzqd4hfazfhcjffh5aj17l")))) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-lexical-core" ,rust-lexical-core-0.7) - ("rust-rand" ,rust-rand-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-toml" ,rust-toml-0.5)) - #:cargo-development-inputs - (("rust-approx" ,rust-approx-0.4) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-dtoa" ,rust-dtoa-0.4) - ("rust-itoa" ,rust-itoa-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-ryu" ,rust-ryu-1)))))) - (define-public rust-lexiclean-0.0.1 (package (name "rust-lexiclean") @@ -39836,14 +38136,14 @@ parser in Rust.") (define-public rust-libc-0.2 (package (name "rust-libc") - (version "0.2.162") + (version "0.2.169") (source (origin (method url-fetch) (uri (crate-uri "libc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1633a00yyx45kzx9r54fndvr8njsjqyr7zl12mzgsmgyczg8glhq")))) + (base32 "02m253hs8gw0m1n8iyrsc4n15yzbqwhddi7w1l0ds7i92kdsiaxm")))) (build-system cargo-build-system) (arguments (list #:cargo-inputs @@ -39878,269 +38178,93 @@ values of all the exported APIs match the platform that libc is compiled for.") `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/mmastrac/rust-libc-print") (synopsis "Println! and eprintln! without stdlib") - (description "This package provices @code{println!} and @code{eprintln!} + (description "This package provides @code{println!} and @code{eprintln!} macros on libc without stdlib.") (license (list license:asl2.0 license:expat)))) -(define-public rust-libdbus-sys-0.2 +(define-public rust-libcst-1 (package - (name "rust-libdbus-sys") - (version "0.2.5") + (name "rust-libcst") + (version "1.5.1") (source (origin (method url-fetch) - (uri (crate-uri "libdbus-sys" version)) + (uri (crate-uri "libcst" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wjw93q6ckrn8qdrxzdi02f0ma9g7nnlpgkrkcll1mjhnw95a206")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs (list pkg-config)) - (inputs (list dbus)) - (home-page "https://github.com/diwic/dbus-rs") - (synopsis "FFI bindings to libdbus") - (description "This package provides FFI bindings to libdbus.") - (license (list license:asl2.0 license:expat)))) - -;; TODO: Unbundle libdeflate -(define-public rust-libdeflate-sys-1 - (package - (name "rust-libdeflate-sys") - (version "1.19.0") - (source (origin - (method url-fetch) - (uri (crate-uri "libdeflate-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1hhwgzlpbw2nafylnjrhbyh7s6q9fb2cglf3xxcia30hhmzim4k7")))) + (base32 "0xdh02bz1gm9hlpz02r7mk90zk3ki74pypsama33vflck9bn0gps")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))) - (home-page "https://github.com/adamkewley/libdeflater") - (synopsis "Bindings to libdeflate") + `(#:cargo-test-flags + (list "--release" "--" + ;; The roundtrip_fixtures fail due to a missing file in the crate + ;; (see: https://github.com/Instagram/LibCST/issues/1249). + "--skip=roundtrip_fixtures") + #:cargo-inputs (("rust-chic" ,rust-chic-1) + ("rust-libcst-derive" ,rust-libcst-derive-1) + ("rust-memchr" ,rust-memchr-2) + ("rust-paste" ,rust-paste-1) + ("rust-peg" ,rust-peg-0.8) + ("rust-pyo3" ,rust-pyo3-0.20) + ("rust-regex" ,rust-regex-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-difference" ,rust-difference-2) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-rayon" ,rust-rayon-1)) + #:phases (modify-phases %standard-phases + ;; Avoid keeping a reference to python-minimal in a test + ;; file installed as source. + (delete 'patch-source-shebangs)))) + (native-inputs (list python-minimal)) + (home-page "https://github.com/Instagram/LibCST") + (synopsis "Python parser and Concrete Syntax Tree library.") (description - "This package provides bindings to libdeflate for DEFLATE (de)compression -exposed as non-streaming buffer operations. It contains bindings for raw -deflate, zlib, and gzip data.") - (license license:asl2.0))) - -(define-public rust-libdeflate-sys-0.12 - (package - (inherit rust-libdeflate-sys-1) - (name "rust-libdeflate-sys") - (version "0.12.0") - (source (origin - (method url-fetch) - (uri (crate-uri "libdeflate-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11a7nn3p73vw3cnra36vz7mz60wx9jzhzwwji1hbmql5gy0v1xz1")))) - (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) - -(define-public rust-libdeflate-sys-0.11 - (package - (inherit rust-libdeflate-sys-1) - (name "rust-libdeflate-sys") - (version "0.11.0") - (source (origin - (method url-fetch) - (uri (crate-uri "libdeflate-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xs2wdly73ar7r9qyrbwnkwjjz4wd92kv5h78cdxfrsbp2v88ryb")))) - (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) - -(define-public rust-libdeflate-sys-0.7 - (package - (inherit rust-libdeflate-sys-0.11) - (name "rust-libdeflate-sys") - (version "0.7.5") - (source (origin - (method url-fetch) - (uri (crate-uri "libdeflate-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0a5pkrxa7zcb0nab2j48dn6j8d8g1pjvz196c308wrax6dpazkjc")))) - (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1)))))) - -(define-public rust-libdeflater-1 - (package - (name "rust-libdeflater") - (version "1.19.0") - (source (origin - (method url-fetch) - (uri (crate-uri "libdeflater" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0zdbiqq2fmjakwk7d1xwnakjnxzaba9rz18k9clyql13cqpv4c9s")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libdeflate-sys" ,rust-libdeflate-sys-1)) - #:cargo-development-inputs - (("rust-adler32" ,rust-adler32-1) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-flate2" ,rust-flate2-1)))) - (home-page "https://github.com/adamkewley/libdeflater") - (synopsis "Bindings to libdeflate for DEFLATE") - (description "This package provides bindings to libdeflate for DEFLATE -(de)compression exposed as non-streaming buffer operations. Contains bindings -for raw deflate, zlib, and gzip data.") - (license license:asl2.0))) - -(define-public rust-libdeflater-0.12 - (package - (inherit rust-libdeflater-1) - (name "rust-libdeflater") - (version "0.12.0") - (source (origin - (method url-fetch) - (uri (crate-uri "libdeflater" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cbrdvwhilvmk919izkp5bqgwfa7b8nj2ar9gp67nb345wl667k7")))) - (arguments - `(#:cargo-inputs - (("rust-libdeflate-sys" ,rust-libdeflate-sys-0.12)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-flate2" ,rust-flate2-1)))))) - -(define-public rust-libdeflater-0.11 - (package - (inherit rust-libdeflater-1) - (name "rust-libdeflater") - (version "0.11.0") - (source (origin - (method url-fetch) - (uri (crate-uri "libdeflater" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0385hpai7fsnpfvxd3hki43v1cj8w6z1cb2rn8wd6vq4dam8bqnq")))) - (arguments - `(#:cargo-inputs - (("rust-libdeflate-sys" ,rust-libdeflate-sys-0.11)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-flate2" ,rust-flate2-1)))))) + "This package provides a Python parser and Concrete Syntax Tree library.") + (license (list license:expat license:psfl)))) -(define-public rust-libflate-2 +(define-public rust-libcst-derive-1 (package - (name "rust-libflate") - (version "2.0.0") + (name "rust-libcst-derive") + (version "1.5.1") (source (origin (method url-fetch) - (uri (crate-uri "libflate" version)) + (uri (crate-uri "libcst_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gxjqgbzzn6sdalrd2cfn7zb14c75if3dx3nzz3sz58pmra5czcz")))) + (base32 "1lcwnpbr1l9ybll6jr172s0jbcvlbhrcax94qmbcs89jas5nw5cq")))) (build-system cargo-build-system) (arguments - `(#: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).") + `(#:cargo-inputs (("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/Instagram/LibCST") + (synopsis "Proc macro helpers for libcst") + (description "This package provides Proc macro helpers for libcst.") (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) - (name "rust-libflate") - (version "0.1.27") - (source - (origin - (method url-fetch) - (uri (crate-uri "libflate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1p8z839c5lpl0g01mf8iglys9lgcjxw6xjw56crhwp8z7gs5s4yr")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-adler32" ,rust-adler32-1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-rle-decode-fast" ,rust-rle-decode-fast-1) - ("rust-take-mut" ,rust-take-mut-0.2)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2)))))) - -(define-public rust-libflate-lz77-2 +(define-public rust-libdbus-sys-0.2 (package - (name "rust-libflate-lz77") - (version "2.0.0") + (name "rust-libdbus-sys") + (version "0.2.5") (source (origin (method url-fetch) - (uri (crate-uri "libflate_lz77" version)) + (uri (crate-uri "libdbus-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "096map4a8xvf3819kgdxbg08nf97nggg9lvrdgn7c5a5ikxm4pxy")))) + (base32 "0wjw93q6ckrn8qdrxzdi02f0ma9g7nnlpgkrkcll1mjhnw95a206")))) (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 - (origin - (method url-fetch) - (uri (crate-uri "libflate_lz77" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1gxc75fb2sk0xgrh3qxvxcx1l93yhmyxn9241r251wl5zj5klbd5")))) - (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)))))) + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list dbus)) + (home-page "https://github.com/diwic/dbus-rs") + (synopsis "FFI bindings to libdbus") + (description "This package provides FFI bindings to libdbus.") + (license (list license:asl2.0 license:expat)))) (define-public rust-libfuzzer-sys-0.4 (package @@ -40167,24 +38291,6 @@ algorithm and related formats (ZLIB, GZIP).") "This package provides a wrapper around LLVM's @code{libFuzzer} runtime.") (license (list license:expat license:asl2.0 license:ncsa)))) -(define-public rust-libfuzzer-sys-0.3 - (package - (inherit rust-libfuzzer-sys-0.4) - (name "rust-libfuzzer-sys") - (version "0.3.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "libfuzzer-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1vv42rpvmfr83hlblyrjf8ifilsmc3d5gcznblmghx5jnsj89wgw")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-arbitrary" ,rust-arbitrary-0.4) - ("rust-cc" ,rust-cc-1)))))) - (define-public rust-libloading-0.8 (package (name "rust-libloading") @@ -40262,9 +38368,7 @@ loading utilities.") ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-static-assertions" ,rust-static-assertions-1)))) - (inputs - (list rust-cfg-if-1 rust-winapi-0.3)))) + ("rust-static-assertions" ,rust-static-assertions-1)))))) (define-public rust-libloading-0.5 (package @@ -40300,18 +38404,17 @@ functions and static variables these libraries contain.") (define-public rust-libm-0.2 (package (name "rust-libm") - (version "0.2.8") + (version "0.2.11") (source (origin (method url-fetch) (uri (crate-uri "libm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0n4hk1rs8pzw8hdfmwn96c4568s93kfxqgcqswr7sajd2diaihjf")))) + (base32 "1yjgk18rk71rjbqcw9l1zaqna89p9s603k7n327nqs8dn88vwmc3")))) (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-development-inputs (("rust-no-panic" ,rust-no-panic-0.1)))) (home-page "https://github.com/rust-lang/libm") (synopsis "Libm in pure Rust") (description @@ -40333,44 +38436,46 @@ functions and static variables these libraries contain.") (base32 "16pc0gx4gkg0q2s1ssq8268brn14j8344623vwhadmivc4lsmivz")))))) -(define-public rust-libmacchina-6 +(define-public rust-libmacchina-8 (package (name "rust-libmacchina") - (version "6.4.1") + (version "8.0.0") (source (origin (method url-fetch) (uri (crate-uri "libmacchina" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ag3dy24a1hs5926a7131v66j75cmgszmrhkq9z9p2c81fi6v2dn")))) + (base32 "13jj626690g7cq95ghhxkliajsrh4qzllz6659qdmhkalzh279w0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-core-foundation" ,rust-core-foundation-0.9) - ("rust-core-graphics" ,rust-core-graphics-0.22) + ("rust-core-graphics" ,rust-core-graphics-0.23) ("rust-core-video-sys" ,rust-core-video-sys-0.1) - ("rust-dirs" ,rust-dirs-4) + ("rust-dirs" ,rust-dirs-5) ("rust-home" ,rust-home-0.5) - ("rust-if-addrs" ,rust-if-addrs-0.6) - ("rust-itertools" ,rust-itertools-0.10) + ("rust-if-addrs" ,rust-if-addrs-0.10) + ("rust-itertools" ,rust-itertools-0.11) ("rust-libc" ,rust-libc-0.2) - ("rust-local-ip-address" ,rust-local-ip-address-0.4) - ("rust-mach" ,rust-mach-0.3) - ("rust-nix" ,rust-nix-0.24) + ("rust-local-ip-address" ,rust-local-ip-address-0.5) + ("rust-mach2" ,rust-mach2-0.4) + ("rust-nix" ,rust-nix-0.26) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-os-release" ,rust-os-release-0.1) ("rust-pciid-parser" ,rust-pciid-parser-0.6) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-regex" ,rust-regex-1) - ("rust-sqlite" ,rust-sqlite-0.27) - ("rust-sysctl" ,rust-sysctl-0.4) - ("rust-vergen" ,rust-vergen-7) + ("rust-rpm-pkg-count" ,rust-rpm-pkg-count-0.2) + ("rust-sqlite" ,rust-sqlite-0.36) + ("rust-sysctl" ,rust-sysctl-0.5) + ("rust-vergen" ,rust-vergen-8) ("rust-walkdir" ,rust-walkdir-2) + ("rust-wayland-sys" ,rust-wayland-sys-0.31) ("rust-windows" ,rust-windows-0.39) ("rust-winreg" ,rust-winreg-0.10) ("rust-wmi" ,rust-wmi-0.12) - ("rust-x11rb" ,rust-x11rb-0.10)))) + ("rust-x11rb" ,rust-x11rb-0.12)))) (inputs (list sqlite)) (native-inputs (list python-minimal-wrapper)) ; For the tests. (home-page "https://github.com/Macchina-CLI/libmacchina") @@ -40399,45 +38504,6 @@ information.") (description "This package provides some mathematical utilities.") (license license:expat))) -(define-public rust-libmimalloc-sys-0.1 - (package - (name "rust-libmimalloc-sys") - (version "0.1.35") - (source - (origin - (method url-fetch) - (uri (crate-uri "libmimalloc-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0r4nrd9xbmhmipw4bvh4xlbzbc7xf74frrsibqglysffgv1vay9r")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("\\[build-dependencies\\.cc\\]" all) - (string-append "[build-dependencies.pkg-config]\n" - "version = \"0.3\"\n\n" - all))) - (delete-file "build.rs") - (with-output-to-file "build.rs" - (lambda _ - (format #t "fn main() {~@ - println!(\"cargo:rustc-link-lib=mimalloc\");~@ - }~%"))))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-cty" ,rust-cty-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (inputs (list mimalloc)) - (home-page "https://github.com/purpleprotocol/mimalloc_rust") - (synopsis "Sys crate wrapping the mimalloc allocator") - (description "This package provides a sys crate wrapping the mimalloc -allocator.") - (license license:expat))) - (define-public rust-libmdns-0.7 (package (name "rust-libmdns") @@ -40473,31 +38539,44 @@ networks that do not have a local name server. Network services can be advertised and discovered using this mechanism.") (license license:expat))) -(define-public rust-libmdns-0.6 +(define-public rust-libmimalloc-sys-0.1 (package - (inherit rust-libmdns-0.7) - (name "rust-libmdns") - (version "0.6.3") - (source (origin - (method url-fetch) - (uri (crate-uri "libmdns" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0n1ymkv5246c5yj2m70ql07z38hrz6b2l16lg3wpb98vz7mbqd59")))) + (name "rust-libmimalloc-sys") + (version "0.1.39") + (source + (origin + (method url-fetch) + (uri (crate-uri "libmimalloc-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0i3b0dzz7cp0ik7ys66q92r16va78gwlbrnxhj5fnkdxsc8niai3")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\\[build-dependencies\\.cc\\]" all) + (string-append "[build-dependencies.pkg-config]\n" + "version = \"0.3\"\n\n" + all))) + (delete-file "build.rs") + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main() {~@ + println!(\"cargo:rustc-link-lib=mimalloc\");~@ + }~%"))))))) + (build-system cargo-build-system) (arguments - (list #:cargo-inputs - `(("rust-byteorder" ,rust-byteorder-1) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-hostname" ,rust-hostname-0.3) - ("rust-if-addrs" ,rust-if-addrs-0.6) - ("rust-log" ,rust-log-0.4) - ("rust-multimap" ,rust-multimap-0.8) - ("rust-rand" ,rust-rand-0.8) - ("rust-socket2" ,rust-socket2-0.4) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs - `(("rust-env-logger" ,rust-env-logger-0.8)))))) + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-cty" ,rust-cty-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (inputs (list mimalloc)) + (home-page "https://github.com/purpleprotocol/mimalloc_rust") + (synopsis "Sys crate wrapping the mimalloc allocator") + (description "This package provides a sys crate wrapping the mimalloc +allocator.") + (license license:expat))) (define-public rust-libnghttp2-sys-0.1 (package @@ -40562,121 +38641,6 @@ advertised and discovered using this mechanism.") processes for both MacOS and Linux.") (license license:expat))) -(define-public rust-libpulse-binding-2 - (package - (name "rust-libpulse-binding") - (version "2.28.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "libpulse-binding" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zza12f22wf1qs6h71lq1i73aj3kmv3036hqc7qci063vyi5fdgd")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libpulse-sys" ,rust-libpulse-sys-1) - ("rust-num-derive" ,rust-num-derive-0.3) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-winapi" ,rust-winapi-0.3)) - #:phases - (modify-phases %standard-phases - (add-before 'check 'set-HOME - (lambda _ (setenv "HOME" "/tmp")))))) - (native-inputs - (list pkg-config)) - (inputs - (list pulseaudio)) - (home-page "https://github.com/jnqnfe/pulse-binding-rust") - (synopsis "Binding for the PulseAudio libpulse library") - (description - "This package provides a Rust language binding for the PulseAudio libpulse -library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-libpulse-simple-binding-2 - (package - (name "rust-libpulse-simple-binding") - (version "2.28.1") - (source (origin - (method url-fetch) - (uri (crate-uri "libpulse-simple-binding" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "139hiksmxrmj8zcdqvswgjnwl1rivh915vg6cl92asizydl6pz85")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libpulse-binding" ,rust-libpulse-binding-2) - ("rust-libpulse-simple-sys" ,rust-libpulse-simple-sys-1) - ("rust-libpulse-sys" ,rust-libpulse-sys-1)) - #:phases - (modify-phases %standard-phases - (add-before 'check 'set-HOME - (lambda _ (setenv "HOME" "/tmp")))))) - (native-inputs (list pkg-config)) - (inputs (list pulseaudio)) - (home-page "https://github.com/jnqnfe/pulse-binding-rust") - (synopsis "Rust language bindings for PulseAudio's libpulse-simple library") - (description - "A Rust language binding for the PulseAudio libpulse-simple library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-libpulse-simple-sys-1 - (package - (name "rust-libpulse-simple-sys") - (version "1.21.1") - (source (origin - (method url-fetch) - (uri (crate-uri "libpulse-simple-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lj13ibdwf69ghy1zlldxq5vsyxi1h13wqpvvh79z2wx36s16rpa")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libpulse-sys" ,rust-libpulse-sys-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs (list pkg-config)) - (inputs (list pulseaudio)) - (home-page "https://github.com/jnqnfe/pulse-binding-rust") - (synopsis "FFI indings for PulseAudio's libpulse-simple system library") - (description - "FFI bindings for the PulseAudio libpulse-simple system library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-libpulse-sys-1 - (package - (name "rust-libpulse-sys") - (version "1.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "libpulse-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16vs0qk6xadckb5qxlrhg0f4jn2zakfd7xih1lk1fb7lzc8f26dw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-num-derive" ,rust-num-derive-0.3) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-winapi" ,rust-winapi-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - (list pulseaudio)) - (home-page "https://github.com/jnqnfe/pulse-binding-rust") - (synopsis "FFI bindings for the PulseAudio") - (description - "This package provides FFI bindings for the PulseAudio libpulse system -library.") - (license (list license:expat license:asl2.0)))) - (define-public rust-libradicl-0.4 (package (name "rust-libradicl") @@ -40773,269 +38737,6 @@ single-cell and single-nucleus sequencing data.") ("rust-libc" ,rust-libc-0.2) ("rust-redox-syscall" ,rust-redox-syscall-0.4)))))) -(define-public rust-librespot-audio-0.4 - (package - (name "rust-librespot-audio") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "librespot-audio" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "178djijj7fkg5ca5rhk10rvy9gs797gikvackh5qxsp1al9s6xn1")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-inputs - `(("rust-aes-ctr" ,rust-aes-ctr-0.6) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-bytes" ,rust-bytes-1) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-librespot-core" ,rust-librespot-core-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/librespot-org/librespot") - (synopsis "The audio fetching logic for Librespot") - (description - "Part of Librespot, an open source client library for Spotify. This -package contains the audio fetching logic.") - (license license:expat))) - -(define-public rust-librespot-connect-0.4 - (package - (name "rust-librespot-connect") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "librespot-connect" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1v6k20173hx27g34d24vkb4a67av7dbr3mfmng64b51y8imgpyjg")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-form-urlencoded" ,rust-form-urlencoded-1) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-librespot-core" ,rust-librespot-core-0.4) - ("rust-librespot-discovery" ,rust-librespot-discovery-0.4) - ("rust-librespot-playback" ,rust-librespot-playback-0.4) - ("rust-librespot-protocol" ,rust-librespot-protocol-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-protobuf" ,rust-protobuf-2) - ("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-stream" ,rust-tokio-stream-0.1)))) - (home-page "https://github.com/librespot-org/librespot") - (synopsis "Discovery and Spotify Connect logic for Librespot") - (description - "Librespot is an open source client library for Spotify. This package -contains the discovery and Spotify Connect logic.") - (license license:expat))) - -(define-public rust-librespot-core-0.4 - (package - (name "rust-librespot-core") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "librespot-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vaxnnlnsx8bmphiikm4kb99795jch0xxifr0azl9rl8b3r4jqq4")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-test-flags - ``("--release" "--" - "--skip=test_connection" - "--skip=test_apresolve" - "--skip=test_apresolve_port_443") - #:cargo-inputs - `(("rust-aes" ,rust-aes-0.6) - ("rust-base64" ,rust-base64-0.13) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-bytes" ,rust-bytes-1) - ("rust-form-urlencoded" ,rust-form-urlencoded-1) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-hmac" ,rust-hmac-0.11) - ("rust-http" ,rust-http-0.2) - ("rust-httparse" ,rust-httparse-1) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-hyper-proxy" ,rust-hyper-proxy-0.9) - ("rust-librespot-protocol" ,rust-librespot-protocol-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-integer" ,rust-num-integer-0.1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-pbkdf2" ,rust-pbkdf2-0.8) - ("rust-priority-queue" ,rust-priority-queue-1) - ("rust-protobuf" ,rust-protobuf-2) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-sha-1" ,rust-sha-1-0.10) - ("rust-shannon" ,rust-shannon-0.2) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-stream" ,rust-tokio-stream-0.1) - ("rust-tokio-util" ,rust-tokio-util-0.7) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-1) - ("rust-vergen" ,rust-vergen-3)) - #:cargo-development-inputs - `(("rust-env-logger" ,rust-env-logger-0.9) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/librespot-org/librespot") - (synopsis "The core functionality provided by librespot") - (description - "Part of Librespot, an open source client library for -Spotify. This package contains core functionality, such as authentication, -channel and session.") - (license license:expat))) - -(define-public rust-librespot-discovery-0.4 - (package - (name "rust-librespot-discovery") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "librespot-discovery" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01igbv0xf3vj046jvblbr09cgmv25mlfajyb2903cl31iz8pga1a")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-inputs - `(("rust-aes-ctr" ,rust-aes-ctr-0.6) - ("rust-base64" ,rust-base64-0.13) - ("rust-form-urlencoded" ,rust-form-urlencoded-1) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-hmac" ,rust-hmac-0.11) - ("rust-hyper" ,rust-hyper-0.14) - ("rust-libmdns" ,rust-libmdns-0.7) - ("rust-librespot-core" ,rust-librespot-core-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-rand" ,rust-rand-0.8) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-sha-1" ,rust-sha-1-0.9) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-dns-sd" ,rust-dns-sd-0.1)) - #:cargo-development-inputs - `(("rust-futures" ,rust-futures-0.3) - ("rust-hex" ,rust-hex-0.4) - ("rust-simple-logger" ,rust-simple-logger-2) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/librespot-org/librespot") - (synopsis "The discovery logic of Librespot") - (description "Part of Librespot, an open source client library for -Spotify. This package contains the discovery logic.") - (license license:expat))) - -(define-public rust-librespot-metadata-0.4 - (package - (name "rust-librespot-metadata") - (version "0.4.2") - (source (origin - (method url-fetch) - (uri (crate-uri "librespot-metadata" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07626b84cghd3jabdvyqhn1v0lax9p1hhz6ldw2r4l6brcgkd03b")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-inputs - `(("rust-async-trait" ,rust-async-trait-0.1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-librespot-core" ,rust-librespot-core-0.4) - ("rust-librespot-protocol" ,rust-librespot-protocol-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-protobuf" ,rust-protobuf-2)))) - (home-page "https://github.com/librespot-org/librespot") - (synopsis "The metadata elements of Librespot") - (description "Part of Librespot, an open source client library for -Spotify. This package contains the metadata logic.") - (license license:expat))) - -(define-public rust-librespot-playback-0.4 - (package - (name "rust-librespot-playback") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "librespot-playback" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dygnzldvkv1qpagr9nl62hmqh0xfcf4lsva37j0xxy7pjws142i")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-alsa" ,rust-alsa-0.6) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-cpal" ,rust-cpal-0.13) - ("rust-futures-executor" ,rust-futures-executor-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-glib" ,rust-glib-0.15) - ("rust-gstreamer" ,rust-gstreamer-0.18) - ("rust-gstreamer-app" ,rust-gstreamer-app-0.18) - ("rust-gstreamer-audio" ,rust-gstreamer-audio-0.18) - ("rust-jack" ,rust-jack-0.10) - ("rust-lewton" ,rust-lewton-0.10) - ("rust-libpulse-binding" ,rust-libpulse-binding-2) - ("rust-libpulse-simple-binding" ,rust-libpulse-simple-binding-2) - ("rust-librespot-audio" ,rust-librespot-audio-0.4) - ("rust-librespot-core" ,rust-librespot-core-0.4) - ("rust-librespot-metadata" ,rust-librespot-metadata-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-ogg" ,rust-ogg-0.8) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-portaudio-rs" ,rust-portaudio-rs-0.3) - ("rust-rand" ,rust-rand-0.8) - ("rust-rand-distr" ,rust-rand-distr-0.4) - ("rust-rodio" ,rust-rodio-0.15) - ("rust-sdl2" ,rust-sdl2-0.35) - ("rust-shell-words" ,rust-shell-words-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-zerocopy" ,rust-zerocopy-0.6)))) - (home-page "https://github.com/librespot-org/librespot") - (synopsis "Audio playback for Librespot") - (description "Audio playback for Librespot, an open source client -library for Spotify.") - (license license:expat))) - -(define-public rust-librespot-protocol-0.4 - (package - (name "rust-librespot-protocol") - (version "0.4.2") - (source (origin - (method url-fetch) - (uri (crate-uri "librespot-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "17xkvhlxfkjh1z79pvq22nrxi99hcxnzafg0pdkymh3a3733lvax")))) - (build-system cargo-build-system) - (arguments - (list - #:cargo-inputs - `(("rust-protobuf" ,rust-protobuf-2) - ("rust-glob" ,rust-glob-0.3) - ("rust-protobuf-codegen-pure" ,rust-protobuf-codegen-pure-2)))) - (home-page "https://github.com/librespot-org/librespot") - (synopsis "The protobuf logic for communicating with Spotify servers") - (description "Part of Librespot, an open source, Spotify client library. -This package contains the protobuf logic.") - (license license:expat))) - (define-public rust-libsensors-sys-0.2 (package (name "rust-libsensors-sys") @@ -41054,31 +38755,6 @@ This package contains the protobuf logic.") (description "This package provides Rust bindings to libsensors.") (license license:miros))) -(define-public rust-libspa-sys-0.7 - (package - (name "rust-libspa-sys") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "libspa-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ifkg4k7azfqbz4i1lk31d77nhlc2w36s133yf78a3z7yfihrrxk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) - ("rust-cc" ,rust-cc-1) - ("rust-system-deps" ,rust-system-deps-6)))) - (native-inputs - (list pkg-config clang)) - (inputs - (list pipewire)) - (home-page "https://pipewire.org") - (synopsis "Rust FFI bindings for libspa") - (description "This package provides Rust FFI bindings for libspa.") - (license license:expat))) - (define-public rust-libspa-0.7 (package (name "rust-libspa") @@ -41112,163 +38788,271 @@ This package contains the protobuf logic.") (description "This package provides Rust bindings for libspa.") (license license:expat))) -(define-public rust-libsqlite3-sys-0.30 +(define-public rust-libspa-sys-0.7 (package - (name "rust-libsqlite3-sys") - (version "0.30.1") + (name "rust-libspa-sys") + (version "0.7.2") (source (origin (method url-fetch) - (uri (crate-uri "libsqlite3-sys" version)) + (uri (crate-uri "libspa-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jcikvgbj84xc7ikdmpc8m4y5lyqgrb9aqblphwk67kv95xgp69f")))) + (base32 "0ifkg4k7azfqbz4i1lk31d77nhlc2w36s133yf78a3z7yfihrrxk")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) ("rust-cc" ,rust-cc-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-prettyplease" ,rust-prettyplease-0.2) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2) - ("rust-vcpkg" ,rust-vcpkg-0.2)))) - (inputs (list sqlite)) - (home-page "https://github.com/rusqlite/rusqlite") - (synopsis "Native bindings to the libsqlite3 library") - (description - "This package provides native Rust bindings to the libsqlite3 library.") + ("rust-system-deps" ,rust-system-deps-6)))) + (native-inputs + (list pkg-config clang)) + (inputs + (list pipewire)) + (home-page "https://pipewire.org") + (synopsis "Rust FFI bindings for libspa") + (description "This package provides Rust FFI bindings for libspa.") (license license:expat))) -(define-public rust-libsqlite3-sys-0.28 +(define-public rust-libssh2-sys-0.3 (package - (inherit rust-libsqlite3-sys-0.30) - (name "rust-libsqlite3-sys") - (version "0.28.0") + (name "rust-libssh2-sys") + (version "0.3.0") (source (origin (method url-fetch) - (uri (crate-uri "libsqlite3-sys" version)) + (uri (crate-uri "libssh2-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gzwfw0n2wqgaihcgj65wzd3lclfxyy62gixq8sv6z04fi15h40c")))) + (base32 "1vkidqw5ll71ynqc93hgcq62iqkklzb5268zffd13ql7nwqa1j1d")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "libssh2"))))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) - ("rust-cc" ,rust-cc-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-prettyplease" ,rust-prettyplease-0.2) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2) - ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + `(#:cargo-inputs + (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (native-inputs + (list pkg-config)) + (inputs + (list libssh2 openssl zlib)) + (home-page "https://github.com/alexcrichton/ssh2-rs") + (synopsis "Native bindings to the libssh2 library") + (description + "This package provides native rust bindings to the @code{libssh2} library.") + (license (list license:expat license:asl2.0)))) -(define-public rust-libsqlite3-sys-0.27 +(define-public rust-libssh2-sys-0.2 (package - (inherit rust-libsqlite3-sys-0.28) - (name "rust-libsqlite3-sys") - (version "0.27.0") + (inherit rust-libssh2-sys-0.3) + (name "rust-libssh2-sys") + (version "0.2.19") + (source + (origin + (method url-fetch) + (uri (crate-uri "libssh2-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mkhw4pksbz7gldj8hia7k6npc479n1x09i8r0pm275sac424ina")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "libssh2") #t)))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-libz-sys" ,rust-libz-sys-1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ;; Build dependencies: + ("rust-cc" ,rust-cc-1) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + +(define-public rust-libtest-mimic-0.8 + (package + (name "rust-libtest-mimic") + (version "0.8.1") (source (origin (method url-fetch) - (uri (crate-uri "libsqlite3-sys" version)) + (uri (crate-uri "libtest-mimic" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05pp60ncrmyjlxxjj187808jkvpxm06w5lvvdwwvxd2qrmnj4kng")))) + (base32 "0cwxnbv3wl00xsz7q0sf5xzksnqadqw8995a6g7a9pcyy4p9d5sj")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) - ("rust-cc" ,rust-cc-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-prettyplease" ,rust-prettyplease-0.2) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2) - ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6) + ("rust-anstyle" ,rust-anstyle-1) + ("rust-clap" ,rust-clap-4) + ("rust-escape8259" ,rust-escape8259-0.5)) + #:cargo-development-inputs + (("rust-fastrand" ,rust-fastrand-2) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/LukasKalbertodt/libtest-mimic") + (synopsis "Tools for writing a test harness") + (description + "Write your own test harness that looks and behaves like the built-in test +harness used by @code{rustc --test}.") + (license (list license:expat license:asl2.0)))) -(define-public rust-libsqlite3-sys-0.26 +(define-public rust-libtest-mimic-0.7 (package - (inherit rust-libsqlite3-sys-0.27) - (name "rust-libsqlite3-sys") - (version "0.26.0") + (inherit rust-libtest-mimic-0.8) + (name "rust-libtest-mimic") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "libtest-mimic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n4vdf4wz4zglammhdzgwxqal9v1a8gbj6rc4q22jfjvxm2xl2yc")))) + (arguments + `(#: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)))))) + +(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 "libsqlite3-sys" version)) + (uri (crate-uri "libtest-mimic" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "09j3v5nhgvjdyskgwajhg9g6v3b2ij0lxiz8qqav2cxic7zjxhmg")))) + "1rwwdrzc5hmfisc9c3zcvnab14rgh0zfa636c2jbhv4az5qf73bd")))) (arguments `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.64) - ("rust-cc" ,rust-cc-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + (("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-libsqlite3-sys-0.23 +(define-public rust-libtest-mimic-0.5 (package - (inherit rust-libsqlite3-sys-0.26) - (name "rust-libsqlite3-sys") - (version "0.23.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "libsqlite3-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0n6b4mlpw9l74cl5mahnpaanyjsgpmz5y517kmnk6v09fiygrjnj")))) + (inherit rust-libtest-mimic-0.6) + (name "rust-libtest-mimic") + (version "0.5.2") + (source (origin + (method url-fetch) + (uri (crate-uri "libtest-mimic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1v103c90ibs35ffr9mww9h5la3b7xxvil32v6x0szxcqq9wr8lkr")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=terse_output") + #:cargo-inputs + (("rust-clap" ,rust-clap-3) + ("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.4 + (package + (inherit rust-libtest-mimic-0.5) + (name "rust-libtest-mimic") + (version "0.4.1") + (source (origin + (method url-fetch) + (uri (crate-uri "libtest-mimic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17xs3xk26afdgajqqzafsv4fdg0sfijlfnjac6znad40bfmml6fc")))) (arguments `(#:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.59) - ("rust-cc" ,rust-cc-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + (("rust-clap" ,rust-clap-3) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-rayon" ,rust-rayon-1) + ("rust-termcolor" ,rust-termcolor-1)))))) -(define-public rust-libsqlite3-sys-0.22 +(define-public rust-libtest-mimic-0.3 (package - (inherit rust-libsqlite3-sys-0.23) - (name "rust-libsqlite3-sys") - (version "0.22.2") + (inherit rust-libtest-mimic-0.4) + (name "rust-libtest-mimic") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (crate-uri "libtest-mimic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bp2jllwpciljr14g6s9bk4835g46kszgrjwi66vxxsk3ynbi9q8")))) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) + ("rust-rayon" ,rust-rayon-1) + ("rust-structopt" ,rust-structopt-0.3) + ("rust-termcolor" ,rust-termcolor-1)))))) + +(define-public rust-libudev-sys-0.1 + (package + (name "rust-libudev-sys") + (version "0.1.4") (source (origin (method url-fetch) - (uri (crate-uri "libsqlite3-sys" version)) + (uri (crate-uri "libudev-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17gqc2mwih81j3ds479gl5zmsxqzzrcrj3yyv62vh34bgy8n82r9")))) - (inputs - (list sqlite)) + (base32 "09236fdzlx9l0dlrsc6xx21v5x8flpfm3d5rjq9jr5ivlas6k11w")))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - ;; build dependencies - (("rust-bindgen" ,rust-bindgen-0.58) - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list eudev)) + (home-page "https://github.com/dcuddeback/libudev-sys") + (synopsis "FFI bindings to libudev") + (description "This package provides FFI bindings to libudev.") + (license license:expat))) -(define-public rust-libsqlite3-sys-0.20 +(define-public rust-libusb1-sys-0.7 (package - (inherit rust-libsqlite3-sys-0.22) - (name "rust-libsqlite3-sys") - (version "0.20.1") + (name "rust-libusb1-sys") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "libsqlite3-sys" version)) + (uri (crate-uri "libusb1-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1g9gbjjpm9phhs991abkzmacszibp94m5nrh331ycd99y9ci1lv4")))) - (inputs - (list sqlite)) + (base32 "03yfx469d1ldpw2h21hy322f5a0h1ahlgy4s6yjipzy4gbg0l1fs")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "libusb"))))) + (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - ;; build dependencies - (("rust-bindgen" ,rust-bindgen-0.55) - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + `(#:cargo-test-flags '("--release" "--" + "--skip=test_get_device_list" + "--skip=test_init_and_exit") + #:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (inputs (list libusb)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/a1ien/rusb") + (synopsis "FFI bindings for libusb") + (description "This package provides FFI bindings for libusb.") + (license license:expat))) (define-public rust-libxml-0.3 (package @@ -41314,104 +39098,6 @@ C parser and toolkit developed for the GNOME project.") (sha256 (base32 "1xx1bsay6c0jy9vi7qcvliidya33lvbkxwpdfz9qmzl23f11xxxh")))))) -(define-public rust-libz-sys-1 - (package - (name "rust-libz-sys") - (version "1.1.20") - (source - (origin - (method url-fetch) - (uri (crate-uri "libz-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wp4i6zl385ilmcqafv61jwsk1mpk6yb8gpws9nwza00x19n9lfj")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "src/zlib") - (delete-file-recursively "src/zlib-ng"))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ;; Build dependencies: - ("rust-cc" ,rust-cc-1) - ("rust-cmake" ,rust-cmake-0.1) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))) - (native-inputs - (list pkg-config zlib)) - (home-page "https://github.com/rust-lang/libz-sys") - (synopsis "Bindings to the system libz library") - (description - "This package provides bindings to the system @code{libz} library (also -known as zlib).") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-libz-ng-sys-1 - ;; TODO: Unbundle zlib-ng. - (package - (name "rust-libz-ng-sys") - (version "1.1.16") - (source - (origin - (method url-fetch) - (uri (crate-uri "libz-ng-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0f54ffm7bzqdvmcxkv2as6ir9bgzhkaq0g1jgwkz2mns04d7adj4")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cmake" ,rust-cmake-0.1) - ("rust-libc" ,rust-libc-0.2)))) - (native-inputs - (list cmake-minimal pkg-config zlib)) - (home-page "https://github.com/rust-lang/libz-sys") - (synopsis "Low-level bindings to zlib-ng (libz-ng)") - (description - "This package provides low-level bindings to zlib-ng (libz-ng), a -high-performance zlib library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-libz-rs-sys-0.3 - (package - (name "rust-libz-rs-sys") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "libz-rs-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vsnvkff9i4qxnid1xl7wrmhz8alvqw9z5lnpimpzzgrxr4r56q0")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-zlib-rs" ,rust-zlib-rs-0.3)))) - (home-page "https://github.com/trifectatechfoundation/zlib-rs") - (synopsis "Memory-safe zlib implementation written in Rust") - (description - "This package provides a memory-safe zlib implementation written in Rust.") - (license license:zlib))) - -(define-public rust-libz-rs-sys-0.1 - (package - (inherit rust-libz-rs-sys-0.3) - (name "rust-libz-rs-sys") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "libz-rs-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a1vx9gpyc6aizq7d1v76lribxchqkfxc3295a4z7q0b4lil8g6d")))) - (arguments - `(#:tests? #f ; zlib-ng isn't packaged. - #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-zlib-rs" ,rust-zlib-rs-0.1)))))) - (define-public rust-lifeguard-0.6 (package (name "rust-lifeguard") @@ -41450,31 +39136,6 @@ high-performance zlib library.") (description "Convert string slice indices into line/column numbers") (license license:expat))) -(define-public rust-line-wrap-0.1 - (package - (name "rust-line-wrap") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "line-wrap" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ffa2whkyh9mwvdlpk6v8pjkg8p8mlzyjfymq5adll9a18sl80zk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-safemem" ,rust-safemem-0.3)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.5)))) - (home-page "https://bitbucket.org/marshallpierce/line-wrap-rs/src") - (synopsis "Efficiently insert line separators") - (description - "Efficiently insert line separators.") - (license license:asl2.0))) - (define-public rust-linear-map-1 (package (name "rust-linear-map") @@ -41582,7 +39243,7 @@ pairs in insertion order.") (arguments `(#:tests? #f ; thread 'test_into_iter_drop' panicked #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) + (("rust-clippy" ,rust-clippy-0.0.302) ("rust-heapsize" ,rust-heapsize-0.3) ("rust-serde" ,rust-serde-0.9) ("rust-serde-test" ,rust-serde-test-0.9)))))) @@ -41603,7 +39264,7 @@ pairs in insertion order.") (arguments `(#:tests? #f ; Tests don't compile correctly. #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) + (("rust-clippy" ,rust-clippy-0.0.302) ("rust-serde" ,rust-serde-0.8) ("rust-serde-test" ,rust-serde-test-0.8)))))) @@ -41632,42 +39293,24 @@ in plain text. It is smart about where a link ends, such as with trailing punctuation.") (license (list license:expat license:asl2.0)))) -(define-public rust-linkify-0.4 - (package - (inherit rust-linkify-0.7) - (name "rust-linkify") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "linkify" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15i0q81vrhm4asskacy2z83fyj09ivcff0km82gwbli4vlkib583")))) - (arguments - `(#:cargo-inputs - (("rust-memchr" ,rust-memchr-2)) - #:cargo-development-inputs - (("rust-version-sync" ,rust-version-sync-0.8)))))) - (define-public rust-linux-keyutils-0.2 (package (name "rust-linux-keyutils") - (version "0.2.3") + (version "0.2.4") (source (origin (method url-fetch) (uri (crate-uri "linux-keyutils" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jxq2bsrr80diyh8h4a0ls6yaljhyvj6ha2qmfshn7fxyrkvn9rz")))) + "13nipvk2mzk76y7yfsqwnwsqk21x6xy8fkmqz5is99fqbzn4j7kn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) + (("rust-bitflags" ,rust-bitflags-2) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs - (("rust-clap" ,rust-clap-3) + (("rust-clap" ,rust-clap-4) ("rust-zeroize" ,rust-zeroize-1)))) (home-page "https://github.com/landhb/linux-keyutils") (synopsis "Rust interface to the Linux key-management facility") @@ -41728,14 +39371,14 @@ Linux userspace APIs.") (package (inherit rust-linux-raw-sys-0.4) (name "rust-linux-raw-sys") - (version "0.3.7") + (version "0.3.8") (source (origin (method url-fetch) (uri (crate-uri "linux-raw-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "17s7qr5h82blrxy29014zzhr30jcxcjc8r16v2p31rzcfal7xsgc")))) + "068mbigb3frrxvbi5g61lx25kksy98f2qgkvc4xg8zxznwp98lzg")))) (arguments `(#:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) @@ -41748,14 +39391,14 @@ Linux userspace APIs.") (package (inherit rust-linux-raw-sys-0.3) (name "rust-linux-raw-sys") - (version "0.1.3") + (version "0.1.4") (source (origin (method url-fetch) (uri (crate-uri "linux-raw-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0zxlp1c4h7kkc4ldgcj5cn7dzynvlksg8y0s9czn2v1sjvc0i7wg")))) + "1926520si5wkn4m6iz6ka97ya5q1dgr8ib3fd705fscfgixgflgh")))) (arguments `(#:cargo-development-inputs (("rust-libc" ,rust-libc-0.2) @@ -41785,207 +39428,6 @@ Linux userspace APIs.") `(("rust-libc" ,rust-libc-0.2) ("rust-static-assertions" ,rust-static-assertions-1)))))) -(define-public rust-libssh2-sys-0.3 - (package - (name "rust-libssh2-sys") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "libssh2-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1vkidqw5ll71ynqc93hgcq62iqkklzb5268zffd13ql7nwqa1j1d")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "libssh2"))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))) - (native-inputs - (list pkg-config)) - (inputs - (list libssh2 openssl zlib)) - (home-page "https://github.com/alexcrichton/ssh2-rs") - (synopsis "Native bindings to the libssh2 library") - (description - "This package provides native rust bindings to the @code{libssh2} library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-libssh2-sys-0.2 - (package - (inherit rust-libssh2-sys-0.3) - (name "rust-libssh2-sys") - (version "0.2.19") - (source - (origin - (method url-fetch) - (uri (crate-uri "libssh2-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mkhw4pksbz7gldj8hia7k6npc479n1x09i8r0pm275sac424ina")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "libssh2") #t)))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-openssl-sys" ,rust-openssl-sys-0.9) - ;; Build dependencies: - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))))) - -(define-public rust-libtest-mimic-0.7 - (package - (name "rust-libtest-mimic") - (version "0.7.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "libtest-mimic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0n4vdf4wz4zglammhdzgwxqal9v1a8gbj6rc4q22jfjvxm2xl2yc")))) - (build-system cargo-build-system) - (arguments - `(#: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)))) - (home-page "https://github.com/LukasKalbertodt/libtest-mimic") - (synopsis "Tools for writing a test harness") - (description - "Write your own test harness that looks and behaves like the built-in test -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) - (name "rust-libtest-mimic") - (version "0.5.2") - (source (origin - (method url-fetch) - (uri (crate-uri "libtest-mimic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1v103c90ibs35ffr9mww9h5la3b7xxvil32v6x0szxcqq9wr8lkr")))) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=terse_output") - #:cargo-inputs - (("rust-clap" ,rust-clap-3) - ("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.3 - (package - (inherit rust-libtest-mimic-0.5) - (name "rust-libtest-mimic") - (version "0.3.0") - (source (origin - (method url-fetch) - (uri (crate-uri "libtest-mimic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bp2jllwpciljr14g6s9bk4835g46kszgrjwi66vxxsk3ynbi9q8")))) - (arguments - `(#:cargo-inputs - (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) - ("rust-rayon" ,rust-rayon-1) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-termcolor" ,rust-termcolor-1)))))) - -(define-public rust-libudev-sys-0.1 - (package - (name "rust-libudev-sys") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "libudev-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09236fdzlx9l0dlrsc6xx21v5x8flpfm3d5rjq9jr5ivlas6k11w")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs (list pkg-config)) - (inputs (list eudev)) - (home-page "https://github.com/dcuddeback/libudev-sys") - (synopsis "FFI bindings to libudev") - (description "This package provides FFI bindings to libudev.") - (license license:expat))) - -(define-public rust-libusb1-sys-0.7 - (package - (name "rust-libusb1-sys") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "libusb1-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "03yfx469d1ldpw2h21hy322f5a0h1ahlgy4s6yjipzy4gbg0l1fs")) - (snippet - #~(begin (use-modules (guix build utils)) - (delete-file-recursively "libusb"))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=test_get_device_list" - "--skip=test_init_and_exit") - #:cargo-inputs (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))) - (inputs (list libusb)) - (native-inputs (list pkg-config)) - (home-page "https://github.com/a1ien/rusb") - (synopsis "FFI bindings for libusb") - (description "This package provides FFI bindings for libusb.") - (license license:expat))) - (define-public rust-listenfd-1 (package (name "rust-listenfd") @@ -42012,6 +39454,36 @@ harness used by @code{rustc --test}.") the outside, such as systemd/catflap socket activation.") (license license:asl2.0))) +(define-public rust-litemap-0.7 + (package + (name "rust-litemap") + (version "0.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "litemap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0157lf44c3s2piqiwpppnynzzpv1rxyddl2z9l089hpwsjwb0g34")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; undeclared crate or module `icu_locid` + #:cargo-inputs (("rust-databake" ,rust-databake-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-yoke" ,rust-yoke-0.7)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-postcard" ,rust-postcard-1) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis "Key-value Map implementation based on a flat, sorted Vec") + (description + "This package provides a key-value Map implementation based on a flat, +sorted Vec.") + (license license:unicode))) + (define-public rust-litrs-0.4 (package (name "rust-litrs") @@ -42035,20 +39507,6 @@ 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 - (method url-fetch) - (uri (crate-uri "litrs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1akrxglqv6dz41jrjr409pjjysd00z5w0949007v52yg6c4mw9zr")))) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)))))) - (define-public rust-llvm-bitcode-0.1 (package (name "rust-llvm-bitcode") @@ -42093,6 +39551,32 @@ can also be used outside of a proc-macro context.") futures-aware, FIFO queue.") (license (list license:expat license:asl2.0)))) +(define-public rust-local-ip-address-0.5 + (package + (name "rust-local-ip-address") + (version "0.5.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "local-ip-address" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pfiy5pj70y0ycdf3scmxpgmj7jyi99054rk4rfzpb75kkmd8bk1")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Integration test with local IP address. + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-neli" ,rust-neli-0.6) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)))) + (home-page "https://github.com/EstebanBorai/local-ip-address") + (synopsis + "Retrieve system's local IP address and network interfaces/adapters") + (description + "This package provides retrieving the system's local IP address and +network interfaces/adapters.") + (license (list license:expat license:asl2.0)))) + (define-public rust-local-waker-0.1 (package (name "rust-local-waker") @@ -42161,36 +39645,10 @@ thread-local task wakeup.") by inspecting the system for user preference.") (license license:expat))) -(define-public rust-local-ip-address-0.4 - (package - (name "rust-local-ip-address") - (version "0.4.9") - (source - (origin - (method url-fetch) - (uri (crate-uri "local-ip-address" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xc88i6v43rx5f5im0zadd8nl3k7wvf2lv351q20d05h5w4pzawy")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Integration test with local IP address. - #:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-neli" ,rust-neli-0.5) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-windows-sys" ,rust-windows-sys-0.42)))) - (home-page "https://github.com/EstebanBorai/local-ip-address") - (synopsis - "Retrieve system's local IP address and network interfaces/adapters") - (description - "This package provides retrieving the system's local IP address and -network interfaces/adapters.") - (license (list license:expat license:asl2.0)))) - (define-public rust-lock-api-0.4 (package (name "rust-lock-api") - (version "0.4.10") + (version "0.4.12") (source (origin (method url-fetch) @@ -42198,7 +39656,7 @@ network interfaces/adapters.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "05nd9nzxqidg24d1k8y5vlc8lz9gscpskrikycib46qbl8brgk61")))) + "05qvxa6g27yyva25a5ghsg85apdxkvr77yhkyhapj6r8vnf8pbq7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -42337,6 +39795,31 @@ and attach/detach semantics.") `(#:cargo-inputs (("rust-log" ,rust-log-0.4)))))) +(define-public rust-log-reroute-0.1 + (package + (name "rust-log-reroute") + (version "0.1.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "log-reroute" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00mw91qd2ibaawl7x1pxc1kryki0ixyirnlx64qx78d9g6k3n6kl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1)) + #:cargo-development-inputs (("rust-fern" ,rust-fern-0.6) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/vorner/log-reroute") + (synopsis "Support to change logging target for the log crate") + (description + "This package provides support to change logging target for the log crate.") + ;; This means asl2.0 OR expat. + (license (list license:asl2.0 license:expat)))) + (define-public rust-logos-0.13 (package (name "rust-logos") @@ -42407,19 +39890,19 @@ consumption.") (define-public rust-loom-0.7 (package (name "rust-loom") - (version "0.7.1") + (version "0.7.2") (source (origin (method url-fetch) (uri (crate-uri "loom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xcibbxcxm8fxq543xinpxn8ykjk378dwr59rzm89jgvvmq5s13y")))) + (base32 "1jpszf9qxv8ydpsm2h9vcyvxvyxcfkhmmfbylzd4gfbc0k40v7j1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-generator" ,rust-generator-0.7) + ("rust-generator" ,rust-generator-0.8) ("rust-pin-utils" ,rust-pin-utils-0.1) ("rust-scoped-tls" ,rust-scoped-tls-1) ("rust-serde" ,rust-serde-1) @@ -42465,20 +39948,17 @@ explosion.") (define-public rust-loom-0.4 (package (name "rust-loom") - (version "0.4.0") + (version "0.4.1") (source (origin (method url-fetch) (uri (crate-uri "loom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1941ji91nvriqqkgzlx285kq38zg74sw68gb2x4pnjbfcfs76k6l")))) + (base32 "0c1m2j1zy7ig6didj1n29x32768cz03nvi7bwb0fhakj5w5nb9i7")))) (build-system cargo-build-system) (arguments - ;; FIXME: build phase fails with the error: "the - ;; `#[track_caller]` attribute is an experimental feature". - `(#:skip-build? #true - #:cargo-inputs + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-generator" ,rust-generator-0.6) @@ -42622,126 +40102,49 @@ image together with its neighboring pixels.") "This package provides a Rust library for PDF document manipulation.") (license license:expat))) -(define-public rust-lopdf-0.31 - (package - (inherit rust-lopdf-0.32) - (name "rust-lopdf") - (version "0.31.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lopdf" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0npqs454hz7z8ycldyi154fxmra0vkmp5xbjbzm346sb32vf3j07")))) - (arguments - `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-flate2" ,rust-flate2-1) - ("rust-image" ,rust-image-0.24) - ("rust-itoa" ,rust-itoa-1) - ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) - ("rust-log" ,rust-log-0.4) - ("rust-md5" ,rust-md5-0.7) - ("rust-nom" ,rust-nom-7) - ("rust-pom" ,rust-pom-3) - ("rust-rayon" ,rust-rayon-1) - ("rust-serde" ,rust-serde-1) - ("rust-time" ,rust-time-0.3) - ("rust-weezl" ,rust-weezl-0.1)) - #:cargo-development-inputs (("rust-clap" ,rust-clap-4) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-shellexpand" ,rust-shellexpand-3) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-lopdf-0.29 +(define-public rust-lru-0.12 (package - (inherit rust-lopdf-0.31) - (name "rust-lopdf") - (version "0.29.0") + (name "rust-lru") + (version "0.12.5") (source (origin (method url-fetch) - (uri (crate-uri "lopdf" version)) + (uri (crate-uri "lru" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1p59fkn9rkas0jywm7z24970k3lpv71sxxabmkmnig3d1p26j3yy")))) - (arguments - `(#:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-encoding" ,rust-encoding-0.2) - ("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-nom" ,rust-nom-6) - ("rust-pom" ,rust-pom-3) - ("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)))))) - -(define-public rust-lopdf-0.26 - (package - (inherit rust-lopdf-0.29) - (name "rust-lopdf") - (version "0.26.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lopdf" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wqnmibs8qzi6pr3ig4h3sg6bfkkgyv4ngdng81x069725r056ml")))) + (base32 "0f1a7cgqxbyhrmgaqqa11m3azwhcc36w0v5r4izgbhadl3sg8k13")))) + (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - (list "--release" "--" - ;; Not all files included - "--skip=parser_aux::load_and_save") - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-dtoa" ,rust-dtoa-0.4) - ("rust-encoding" ,rust-encoding-0.2) - ("rust-flate2" ,rust-flate2-1) - ("rust-image" ,rust-image-0.23) - ("rust-itoa" ,rust-itoa-0.4) - ("rust-linked-hash-map" ,rust-linked-hash-map-0.5) - ("rust-log" ,rust-log-0.4) - ("rust-lzw" ,rust-lzw-0.10) - ("rust-nom" ,rust-nom-6) - ("rust-pom" ,rust-pom-3) - ("rust-rayon" ,rust-rayon-1) - ("rust-time" ,rust-time-0.2)))))) + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.15)) + #:cargo-development-inputs + (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) + ("rust-stats-alloc" ,rust-stats-alloc-0.1)))) + (home-page "https://github.com/jeromefroe/lru-rs") + (synopsis "LRU cache implementation") + (description "This package provides a LRU cache implementation.") + (license license:expat))) -(define-public rust-lru-0.12 +(define-public rust-lru-0.10 (package + (inherit rust-lru-0.12) (name "rust-lru") - (version "0.12.1") + (version "0.10.1") (source (origin (method url-fetch) (uri (crate-uri "lru" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1myillpwqfcins062g28jvj48cxw8818zcx08ydzsl6misxfx519")))) - (build-system cargo-build-system) + (base32 "0w5n2sgh66ac8ihqv6688mlm7zb3ks18jlbzpbhwgw3x8jp8z3ki")))) (arguments - `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.14)) + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.13)) #:cargo-development-inputs (("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) - ("rust-stats-alloc" ,rust-stats-alloc-0.1)))) - (home-page "https://github.com/jeromefroe/lru-rs") - (synopsis "LRU cache implementation") - (description "This package provides a LRU cache implementation.") - (license license:expat))) + ("rust-stats-alloc" ,rust-stats-alloc-0.1)))))) (define-public rust-lru-0.9 (package - (inherit rust-lru-0.12) + (inherit rust-lru-0.10) (name "rust-lru") (version "0.9.0") (source @@ -42883,19 +40286,20 @@ key-value pairs.") (define-public rust-lsp-server-0.7 (package (name "rust-lsp-server") - (version "0.7.6") + (version "0.7.8") (source (origin (method url-fetch) (uri (crate-uri "lsp-server" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15bhdhkinhhw5fifrpmiiqdd4hwblac40jv0n7hxidbdiyvnb3r4")))) + (base32 "1yanavncgsx0i0rj65q12ddfcwpvzx5x8wgiq4g9fzz1fgfc8qll")))) (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-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1)) #:cargo-development-inputs (("rust-ctrlc" ,rust-ctrlc-3) ("rust-lsp-types" ,rust-lsp-types-0.95)))) @@ -42930,362 +40334,25 @@ key-value pairs.") Server Protocol.") (license license:expat))) -(define-public rust-lsp-types-0.91 +(define-public rust-lsp-types-0.94 (package (inherit rust-lsp-types-0.95) (name "rust-lsp-types") - (version "0.91.1") + (version "0.94.1") (source (origin (method url-fetch) (uri (crate-uri "lsp-types" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bk8iy7s80i2iqj1siyfm0rsdq2vwvz7lclsrcrx2pa2b4n32s13")))) + (base32 "18aym1qfgyaf9f9504yz911gssck5rv190izzr3hdqbal12gssy6")))) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + `(#: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 - (inherit rust-lsp-types-0.91) - (name "rust-lsp-types") - (version "0.89.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "lsp-types" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "18h9dckjy11pz2lpd5lm12vvfcds1qg67clqalr35k2jzpnhsbl5")))) - (build-system cargo-build-system) - (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)))))) - -(define-public rust-lsp-types-0.83 - (package - (inherit rust-lsp-types-0.89) - (name "rust-lsp-types") - (version "0.83.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "lsp-types" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vdbdb74w1aim0q0nqnjvddrqz9cwirwbkjykwgjg5sbhcwrzry4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.12) - ("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.80 - (package - (inherit rust-lsp-types-0.83) - (name "rust-lsp-types") - (version "0.80.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lsp-types" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1vwjmi4apa4np6fgy95gq1nxc322br9cx7q2mm6vpb5x2lkmw9pl")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.12) - ("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-lz4-1 - (package - (name "rust-lz4") - (version "1.24.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lz4" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wad97k0asgvaj16ydd09gqs2yvgaanzcvqglrhffv7kdpc2v7ky")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-lz4-sys" ,rust-lz4-sys-1)) - #:cargo-development-inputs - (("rust-docmatic" ,rust-docmatic-0.1) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/10xGenomics/lz4-rs") - (synopsis "Rust LZ4 bindings library") - (description "This crate provides Rust LZ4 bindings.") - (license license:expat))) - -(define-public rust-lz4-compress-0.1 - (package - (name "rust-lz4-compress") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "lz4-compress" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14cb8rpdfk6q3bjkf7mirpyzb6rvvcglqnayx6lvpa92m4rnb5hg")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-0.5) - ("rust-quick-error" ,rust-quick-error-1)))) - (home-page "https://github.com/ticki/tfs") - (synopsis "Pure Rust implementation of raw LZ4 compression/decompression") - (description - "Pure Rust implementation of raw LZ4 compression/decompression.") - (license license:expat))) - -(define-public rust-lz4-flex-0.11 - (package - (name "rust-lz4-flex") - (version "0.11.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "lz4_flex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1n290fjvfi8jg20n6i0q77g8pqi5srnpgg7zhw1ppnlyd5bb5a9y")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-twox-hash" ,rust-twox-hash-1)) - #:cargo-development-inputs (("rust-lz4-compress" ,rust-lz4-compress-0.1) - ("rust-lzzzz" ,rust-lzzzz-1) - ("rust-more-asserts" ,rust-more-asserts-0.3) - ("rust-proptest" ,rust-proptest-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-snap" ,rust-snap-1)))) - (home-page "https://github.com/pseitz/lz4_flex") - (synopsis "LZ4 implementation in Rust, no unsafe by default") - (description "LZ4 implementation in Rust, no unsafe by default.") - (license license:expat))) - -(define-public rust-lz4-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") - (version "1.9.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "lz4-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0059ik4xlvnss5qfh6l691psk4g3350ljxaykzv10yr0gqqppljp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/bozaro/lz4-rs") - (synopsis "Rust LZ4 sys package") - (description "This is the Rust LZ4 sys package.") - (license license:expat))) - -(define-public rust-rust-lzma-0.5 - (package - (name "rust-rust-lzma") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rust-lzma" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1njlmh9hq2qg5ssdangwbdkz1lrfj2brf8kfp65k7vmfmr6w0pc9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs - (list pkg-config xz)) - (home-page "https://github.com/fpgaminer/rust-lzma") - (synopsis - "Simple interface for LZMA compression and decompression") - (description - "This package provides Simple interface for LZMA compression and decompression.") - (license license:expat))) - -(define-public rust-lzma-rs-0.3 - (package - (name "rust-lzma-rs") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lzma-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0phif4pnjrn28zcxgz3a7z86hhx5gdajmkrndfw4vrkahd682zi9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-crc" ,rust-crc-3) - ("rust-env-logger" ,rust-env-logger-0.9) - ("rust-log" ,rust-log-0.4)) - #:cargo-development-inputs - (("rust-rust-lzma" ,rust-rust-lzma-0.5)))) ;; called rust-lzma in crates-io - (native-inputs - (list pkg-config xz)) - (home-page "https://github.com/gendx/lzma-rs") - (synopsis "Codec for LZMA, LZMA2 and XZ written in pure Rust") - (description - "This package provides a codec for LZMA, LZMA2 and XZ written in pure Rust.") - (license license:expat))) - -(define-public rust-lzma-rust-0.1 - (package - (name "rust-lzma-rust") - (version "0.1.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "lzma-rust" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12dj3w2pnvx014pzjl8pc115rldgk6cbc7w6lwg24y2d3xfwzvfm")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Only doc tests, which all fail. - #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)))) - (home-page "https://github.com/dyz1990/sevenz-rust/tree/main/lzma-rust") - (synopsis "Codec LZMA/LZMA2") - (description - "This package provides LZMA/LZMA2 codec ported from tukaani xz for java'.") - (license license:asl2.0))) - -(define-public rust-lzma-sys-0.1 - (package - (name "rust-lzma-sys") - (version "0.1.20") - (source - (origin - (method url-fetch) - (uri (crate-uri "lzma-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "09sxp20waxyglgn3cjz8qjkspb3ryz2fwx4rigkwvrk46ymh9njz")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "xz-5.2"))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs - (list pkg-config xz)) - (home-page "https://github.com/alexcrichton/xz2-rs") - (synopsis "Bindings to liblzma for lzma and xz stream encoding/decoding") - (description - "This package contains the raw bindings to liblzma which contains an -implementation of LZMA and xz stream encoding/decoding.") - (license (list license:asl2.0 - license:expat)))) - -(define-public rust-lzw-0.10 - (package - (name "rust-lzw") - (version "0.10.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lzw" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1170dfskhzlh8h2bm333811hykjvpypgnvxyhhm1rllyi2xpr53x")))) - (build-system cargo-build-system) - (home-page "https://github.com/nwin/lzw.git") - (synopsis "LZW compression and decompression") - (description - "This package provides LZW compression and decompression.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-lzzzz-1 - (package - (name "rust-lzzzz") - (version "1.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "lzzzz" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ggphn3ca5527jjq778z8hslqgmqymykgwcj63307b62r6hcr55c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1)) - #:cargo-development-inputs - (("rust-assert-fs" ,rust-assert-fs-1) - ("rust-base64" ,rust-base64-0.13) - ("rust-bytes" ,rust-bytes-1) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-rayon" ,rust-rayon-1) - ("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/picoHz/lzzzz") - (synopsis "Full-featured liblz4 binding for Rust") - (description "Full-featured liblz4 binding for Rust.") - (license license:expat))) - (define-public rust-m-lexer-0.0.4 (package (name "rust-m-lexer") @@ -43374,58 +40441,37 @@ lexer.") #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1)))) (home-page "https://github.com/svartalf/rust-macaddr") (synopsis "MAC address types") - (description "This pakcage provides MAC address types.") + (description "This package provides MAC address types.") (license (list license:asl2.0 license:expat)))) (define-public rust-macrotest-1 (package (name "rust-macrotest") - (version "1.0.9") + (version "1.0.13") (source (origin (method url-fetch) (uri (crate-uri "macrotest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "043gc53ch1szw7ihdclnygn464v62viw48iigd5l2iffhq4sx2bl")))) + (base32 "1bgx2fkjw20w4rchysnhs7zzzfwaqwd7d8idrpqqymsknkg3a82f")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-diff" ,rust-diff-0.1) + (("rust-basic-toml" ,rust-basic-toml-0.1) + ("rust-diff" ,rust-diff-0.1) ("rust-glob" ,rust-glob-0.3) - ("rust-prettyplease" ,rust-prettyplease-0.1) + ("rust-prettyplease" ,rust-prettyplease-0.2) ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-syn" ,rust-syn-1) - ("rust-toml" ,rust-toml-0.5)))) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/eupn/macrotest") (synopsis "Test harness for macro expansion") (description "This package provides test harness for macro expansion in Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-magma-0.8 - (package - (name "rust-magma") - (version "0.8.1") - (source (origin - (method url-fetch) - (uri (crate-uri "magma" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w321p30599kc85bb35ps32ykqc9gzpi5b99dsw793nxrypnj9xb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cipher" ,rust-cipher-0.4)) - #:cargo-development-inputs - (("rust-cipher" ,rust-cipher-0.4) - ("rust-hex-literal" ,rust-hex-literal-0.3)))) - (home-page "https://github.com/RustCrypto/block-ciphers") - (synopsis "Magma (GOST R 34.12-2015) block cipher") - (description "Magma (GOST R 34.12-2015) block cipher") - (license (list license:expat license:asl2.0)))) - (define-public rust-magic-crypt-3 (package (name "rust-magic-crypt") @@ -43485,6 +40531,28 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, "This package provides a MagicString port driven by Rust and N-API.") (license license:expat))) +(define-public rust-magma-0.8 + (package + (name "rust-magma") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "magma" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1w321p30599kc85bb35ps32ykqc9gzpi5b99dsw793nxrypnj9xb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cipher" ,rust-cipher-0.4)) + #:cargo-development-inputs + (("rust-cipher" ,rust-cipher-0.4) + ("rust-hex-literal" ,rust-hex-literal-0.3)))) + (home-page "https://github.com/RustCrypto/block-ciphers") + (synopsis "Magma (GOST R 34.12-2015) block cipher") + (description "Magma (GOST R 34.12-2015) block cipher") + (license (list license:expat license:asl2.0)))) + (define-public rust-maildir-0.6 (package (name "rust-maildir") @@ -43533,8 +40601,32 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, ("rust-tempfile" ,rust-tempfile-3) ("rust-walkdir" ,rust-walkdir-2)))))) +(define-public rust-mailparse-0.15 + (package + (name "rust-mailparse") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "mailparse" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zkwbrzgr7pp1wyywjgvlxayr1p3nnkn2yxgi97746j1h1ckv81x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-charset" ,rust-charset-0.1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-quoted-printable" ,rust-quoted-printable-0.5)) + #:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.17)))) + (home-page "https://github.com/staktrace/mailparse/blob/master/README.md") + (synopsis "Simple parser for MIME e-mail messages") + (description + "This package provides a simple parser for MIME e-mail messages.") + (license license:bsd-0))) + (define-public rust-mailparse-0.14 (package + (inherit rust-mailparse-0.15) (name "rust-mailparse") (version "0.14.1") (source (origin @@ -43544,18 +40636,12 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, (sha256 (base32 "0mwpkxi41ak8pabknmvj49dpsbs0q6w7w12f0lp49avcjaa6a29d")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-charset" ,rust-charset-0.1) ("rust-data-encoding" ,rust-data-encoding-2) ("rust-quoted-printable" ,rust-quoted-printable-0.5)) - #:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.17)))) - (home-page "https://github.com/staktrace/mailparse/blob/master/README.md") - (synopsis "Simple parser for MIME e-mail messages") - (description - "This package provides a simple parser for MIME e-mail messages.") - (license license:bsd-0))) + #:cargo-development-inputs (("rust-ouroboros" ,rust-ouroboros-0.17)))))) (define-public rust-mailparse-0.13 (package @@ -43614,6 +40700,32 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-manifest-dir-macros-0.1 + (package + (name "rust-manifest-dir-macros") + (version "0.1.18") + (source + (origin + (method url-fetch) + (uri (crate-uri "manifest-dir-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14zm557gcm1ldr19ry53ngvni8vqaicm01xa5vg8pgyd3kg40vcw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-mime-guess" ,rust-mime-guess-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://magiclen.org/manifest-dir-macros") + (synopsis + "Check or operate paths relative to CARGO_MANIFEST_DIR at compile time") + (description + "This crate provides function-like macros to check or operate paths +relative to CARGO_MANIFEST_DIR at compile time.") + (license license:expat))) + (define-public rust-maplit-1 (package (name "rust-maplit") @@ -43654,50 +40766,74 @@ algorithms. It supports CBC block cipher mode, PKCS5 padding and 64, 128, defined in the FITS World Coordinate System (WCS).") (license (list license:asl2.0 license:expat)))) -(define-public rust-markup-proc-macro-0.13 +(define-public rust-marked-yaml-0.7 (package - (name "rust-markup-proc-macro") + (name "rust-marked-yaml") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "marked-yaml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13ddwcjd55ysa5ccw22zawy16p72abmdyx3ssrc40vqlmfkjbszj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-hashlink" ,rust-hashlink-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1) + ("rust-yaml-rust2" ,rust-yaml-rust2-0.9)))) + (home-page "https://github.com/kinnison/marked-yaml/") + (synopsis "Simplified YAML structure with provenance spans") + (description + "This package provides a simplified YAML structure with provenance spans.") + (license license:expat))) + +(define-public rust-markup-0.13 + (package + (name "rust-markup") (version "0.13.1") (source (origin (method url-fetch) - (uri (crate-uri "markup-proc-macro" version)) + (uri (crate-uri "markup" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0l41di814m9vzw3bz3j49j09j6cb3r73rc4a3a6dvjvx4c77z4hs")))) + "03cb086vkqdym3z0wq9h8ywgc2v1w9n4d8pn0j6p76fl6ni9d4dx")))) (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-itoa" ,rust-itoa-1) + ("rust-markup-proc-macro" ,rust-markup-proc-macro-0.13)))) (home-page "https://github.com/utkarshkukreti/markup.rs") - (synopsis "Macros for template engine for Rust") + (synopsis "Fast, type-safe template engine for Rust") (description - "This package provides macros for \"markup\", the fast, type-safe -template engine for Rust.") + "This package provides a fast, type-safe template engine for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-markup-0.13 +(define-public rust-markup-proc-macro-0.13 (package - (name "rust-markup") + (name "rust-markup-proc-macro") (version "0.13.1") (source (origin (method url-fetch) - (uri (crate-uri "markup" version)) + (uri (crate-uri "markup-proc-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "03cb086vkqdym3z0wq9h8ywgc2v1w9n4d8pn0j6p76fl6ni9d4dx")))) + "0l41di814m9vzw3bz3j49j09j6cb3r73rc4a3a6dvjvx4c77z4hs")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-itoa" ,rust-itoa-1) - ("rust-markup-proc-macro" ,rust-markup-proc-macro-0.13)))) + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/utkarshkukreti/markup.rs") - (synopsis "Fast, type-safe template engine for Rust") + (synopsis "Macros for template engine for Rust") (description - "This package provides a fast, type-safe template engine for Rust.") + "This package provides macros for \"markup\", the fast, type-safe +template engine for Rust.") (license (list license:expat license:asl2.0)))) (define-public rust-markup5ever-0.12 @@ -43811,8 +40947,36 @@ template engine for Rust.") (base32 "08ayl9aqjnmf7ly1ipy6dk3wjvyfn4w51l40jzh1fh984ykldbzi")))))) +(define-public rust-markup5ever-rcdom-0.3 + (package + (name "rust-markup5ever-rcdom") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "markup5ever_rcdom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "065yb6zn9sfn7kqk5wwc48czsls5z3hzgrddk58fxgq16ymj3apd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-html5ever" ,rust-html5ever-0.27) + ("rust-markup5ever" ,rust-markup5ever-0.12) + ("rust-tendril" ,rust-tendril-0.4) + ("rust-xml5ever" ,rust-xml5ever-0.18)) + #:cargo-development-inputs (("rust-rustc-test" ,rust-rustc-test-0.3) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/servo/html5ever") + (synopsis + "Basic, unsupported DOM structure for use by tests in html5ever/xml5ever") + (description + "This package provides a basic, unsupported DOM structure for use by tests +in html5ever/xml5ever") + (license (list license:expat license:asl2.0)))) + (define-public rust-markup5ever-rcdom-0.2 (package + (inherit rust-markup5ever-rcdom-0.3) (name "rust-markup5ever-rcdom") (version "0.2.0") (source (origin @@ -43822,7 +40986,6 @@ template engine for Rust.") (sha256 (base32 "1hir73wmvl0i5mfplfjg0qvxxmsn8qp5xmjkdkp813hgfpb1slmr")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-html5ever" ,rust-html5ever-0.26) @@ -43831,14 +40994,7 @@ template engine for Rust.") ("rust-xml5ever" ,rust-xml5ever-0.17)) #:cargo-development-inputs (("rust-rustc-test" ,rust-rustc-test-0.3) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/servo/html5ever") - (synopsis - "Basic, unsupported DOM structure for use by tests in html5ever/xml5ever") - (description - "This package provides a basic, unsupported DOM structure for use by tests -in html5ever/xml5ever") - (license (list license:expat license:asl2.0)))) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-markup5ever-rcdom-0.1 (package @@ -43885,26 +41041,6 @@ in html5ever/xml5ever") OAuth 2.0.") (license license:asl2.0))) -(define-public rust-matchit-0.7 - (package - (name "rust-matchit") - (version "0.7.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "matchit" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "156bgdmmlv4crib31qhgg49nsjk88dxkdqp80ha2pk2rk6n6ax0f")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t)) ; Cut the dependency tree. - (home-page "https://github.com/ibraheemdev/matchit") - (synopsis "High performance, zero-copy URL router") - (description - "This package provides a high performance, zero-copy URL router.") - (license (list license:expat license:bsd-3)))) - (define-public rust-match-cfg-0.1 (package (name "rust-match-cfg") @@ -43928,25 +41064,6 @@ depending on a large number of @code{#[cfg]} parameters. Structured like match statement, the first matching branch is the item that gets emitted.") (license (list license:expat license:asl2.0)))) -(define-public rust-matches-0.1 - (package - (name "rust-matches") - (version "0.1.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "matches" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1994402fq4viys7pjhzisj4wcw894l53g798kkm2y74laxk0jci5")))) - (build-system cargo-build-system) - (home-page "https://github.com/SimonSapin/rust-std-candidates") - (synopsis "Macro to evaluate whether an expression matches a pattern") - (description "This package provides a macro to evaluate, as a boolean, -whether an expression matches a pattern.") - (license license:expat))) - (define-public rust-matchers-0.1 (package (name "rust-matchers") @@ -43971,7 +41088,7 @@ grammars. It provides the subset of the regex crate that only deals with matching, not parsing substrings.") (license license:expat))) -(define-public rust-matchers-0.0 +(define-public rust-matchers-0.0.1 (package (inherit rust-matchers-0.1) (name "rust-matchers") @@ -43990,23 +41107,44 @@ matching, not parsing substrings.") `(#:cargo-inputs (("rust-regex-automata" ,rust-regex-automata-0.1)))))) -(define-public rust-matrixcompare-core-0.1 +(define-public rust-matches-0.1 (package - (name "rust-matrixcompare-core") - (version "0.1.0") + (name "rust-matches") + (version "0.1.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "matches" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1994402fq4viys7pjhzisj4wcw894l53g798kkm2y74laxk0jci5")))) + (build-system cargo-build-system) + (home-page "https://github.com/SimonSapin/rust-std-candidates") + (synopsis "Macro to evaluate whether an expression matches a pattern") + (description "This package provides a macro to evaluate, as a boolean, +whether an expression matches a pattern.") + (license license:expat))) + +(define-public rust-matchit-0.7 + (package + (name "rust-matchit") + (version "0.7.3") (source (origin (method url-fetch) - (uri (crate-uri "matrixcompare-core" version)) + (uri (crate-uri "matchit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0wqaj028ws2x2h16rf10arwvmpfbmk7afg8b57ahb25i1nrspgdh")))) + (base32 "156bgdmmlv4crib31qhgg49nsjk88dxkdqp80ha2pk2rk6n6ax0f")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/Andlon/matrixcompare") - (synopsis "Core traits for matrixcompare") - (description "This package provides core traits for matrixcompare.") - (license license:expat))) + (arguments + `(#:skip-build? #t)) ; Cut the dependency tree. + (home-page "https://github.com/ibraheemdev/matchit") + (synopsis "High performance, zero-copy URL router") + (description + "This package provides a high performance, zero-copy URL router.") + (license (list license:expat license:bsd-3)))) (define-public rust-matrixcompare-0.3 (package @@ -44058,6 +41196,24 @@ matrices.") matrices.") (license license:expat))) +(define-public rust-matrixcompare-core-0.1 + (package + (name "rust-matrixcompare-core") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "matrixcompare-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wqaj028ws2x2h16rf10arwvmpfbmk7afg8b57ahb25i1nrspgdh")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/Andlon/matrixcompare") + (synopsis "Core traits for matrixcompare") + (description "This package provides core traits for matrixcompare.") + (license license:expat))) + (define-public rust-matrixcompare-mock-0.1 (package (name "rust-matrixcompare-mock") @@ -44084,14 +41240,14 @@ testing of matrixcompare.") (define-public rust-matrixmultiply-0.3 (package (name "rust-matrixmultiply") - (version "0.3.8") + (version "0.3.9") (source (origin (method url-fetch) (uri (crate-uri "matrixmultiply" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1whgrp8ph7904aslqx87h9qm0ks4pxdj2nysffmrhiys6v7w2x3m")))) + (base32 "06msav241ybxvsqfwm4hfmb1pbws71v0inhmyk0i0vg9wc8vk04k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -44712,30 +41868,6 @@ for Rust structs.") (description "Traits for measuring dynamic memory usage of types.") (license (list license:expat license:asl2.0)))) -(define-public rust-merge-derive-0.1 - (package - (name "rust-merge-derive") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "merge_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01wxhi7mqmp34l540wcfb24hb13vcbps4wlynas66bnsfra0g790")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://sr.ht/~ireas/merge-rs") - (synopsis "Derive macro for the merge crate") - (description "This crate provides a derive macro for the -@code{merge::Merge} crate.") - (license (list license:asl2.0 license:expat)))) - (define-public rust-merge-0.1 (package (name "rust-merge") @@ -44765,6 +41897,30 @@ for Rust structs.") to merge two objects of the same type into one.") (license (list license:asl2.0 license:expat)))) +(define-public rust-merge-derive-0.1 + (package + (name "rust-merge-derive") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "merge_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01wxhi7mqmp34l540wcfb24hb13vcbps4wlynas66bnsfra0g790")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://sr.ht/~ireas/merge-rs") + (synopsis "Derive macro for the merge crate") + (description "This crate provides a derive macro for the +@code{merge::Merge} crate.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-merlin-3 (package (name "rust-merlin") @@ -44818,31 +41974,6 @@ non-interactive protocols can be implemented as if they were interactive.") ("rust-rand-core" ,rust-rand-core-0.5) ("rust-zeroize" ,rust-zeroize-1)))))) -(define-public rust-metrics-macros-0.2 - (package - (name "rust-metrics-macros") - (version "0.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "metrics-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0yy2dc9g3m1h8df6bmnqh1sngyvrgznz1fjpkp9rz1is9p6n1b0i")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-regex" ,rust-regex-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/metrics-rs/metrics") - (synopsis "Macros for the metrics crate") - (description "This package provides macros for the metrics crate.") - (license license:expat))) - (define-public rust-metrics-0.14 (package (name "rust-metrics") @@ -44868,66 +41999,63 @@ non-interactive protocols can be implemented as if they were interactive.") (description "This package provides a lightweight metrics facade.") (license license:expat))) +(define-public rust-metrics-macros-0.2 + (package + (name "rust-metrics-macros") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "metrics-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yy2dc9g3m1h8df6bmnqh1sngyvrgznz1fjpkp9rz1is9p6n1b0i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/metrics-rs/metrics") + (synopsis "Macros for the metrics crate") + (description "This package provides macros for the metrics crate.") + (license license:expat))) + (define-public rust-metrohash-1 (package (name "rust-metrohash") - (version "1.0.6") + (version "1.0.7") (source (origin (method url-fetch) (uri (crate-uri "metrohash" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0v2hn33ypx79naimfcz58pz46qhj2prawvx1p9abrb72375m799v")))) + (base32 "1ifqmkg81nprxm9dv52k6wbcv48aibd830f3ph7zcff3mnzi2h58")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-fnv" ,rust-fnv-1) - ("rust-twox-hash" ,rust-twox-hash-1)))) - (home-page - "https://github.com/arthurprs/metrohash-rs") + `(#:cargo-development-inputs (("rust-fnv" ,rust-fnv-1) + ("rust-twox-hash" ,rust-twox-hash-1)))) + (home-page "https://github.com/arthurprs/metrohash-rs") (synopsis "Rust implementation of the MetroHash hash algorithm") (description "This library is a Rust implementation of MetroHash, a high quality, high performance hash algorithm.") (license license:expat))) -(define-public rust-meval-0.2 - (package - (name "rust-meval") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "meval" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ncj0fv9q3b4his7g947fmgkskpfly6dsniw0g6mg38wcnjrd57p")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-fnv" ,rust-fnv-1) - ("rust-nom" ,rust-nom-1) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/rekka/meval-rs") - (synopsis "Simple math expression parser and evaluator") - (description - "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") + (version "7.4.0") (source (origin (method url-fetch) (uri (crate-uri "miette" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1hdgjkkj1vgiqn9dq445m1p8z4y8adiaig8gh2mhsahc699qip2f")))) + (base32 "0r1c34b7crjj97i8gx06hh6agw3ip7qprwrafa91h0mp5rp18zri")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) @@ -44940,7 +42068,7 @@ quality, high performance hash algorithm.") ("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-terminal-size" ,rust-terminal-size-0.4) ("rust-textwrap" ,rust-textwrap-0.16) ("rust-thiserror" ,rust-thiserror-1) ("rust-unicode-width" ,rust-unicode-width-0.1)) @@ -45001,14 +42129,14 @@ quality, high performance hash algorithm.") (define-public rust-miette-derive-7 (package (name "rust-miette-derive") - (version "7.2.0") + (version "7.4.0") (source (origin (method url-fetch) (uri (crate-uri "miette-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0v4sczg1n88arqwilhir1g97y5vsq9zjmpxn8v1ni05czaprrw6w")))) + (base32 "0rxds09gdl0l0l0kdns87zcy4ic1d15bamy8vb8wpmp1zcsvkj93")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -45016,8 +42144,7 @@ quality, high performance hash algorithm.") ("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.") + (description "This package provides derive macros for miette.") (license license:asl2.0))) (define-public rust-miette-derive-5 @@ -45037,75 +42164,107 @@ quality, high performance hash algorithm.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))))) +(define-public rust-migrations-internals-2 + (package + (name "rust-migrations-internals") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "migrations_internals" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nnsr5d4h2kcvmz2j4l8g8n8r1zm7nngwmp842q58lh1h0azf8qg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.7)))) + (home-page "https://diesel.rs") + (synopsis "Internal implementation of Diesel's migration mechanism") + (description "This package provides an internal implementation of Diesel's +migration mechanism.") + (license (list license:expat license:asl2.0)))) + (define-public rust-migrations-internals-1 (package + (inherit rust-migrations-internals-2) (name "rust-migrations-internals") (version "1.4.1") (source (origin (method url-fetch) (uri (crate-uri "migrations_internals" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0q2qk4jpa16mcfcmhjz6hdg2s73az1k7j0cy08vvh87h997chkrb")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-barrel" ,rust-barrel-0.6) ("rust-diesel" ,rust-diesel-1)) #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))) + (("rust-tempdir" ,rust-tempdir-0.3)))))) + +(define-public rust-migrations-macros-2 + (package + (name "rust-migrations-macros") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "migrations_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "027gd4s58fmh7jil9rz0ckdsdw81mqfa6dyqbfmvnrqfqxd35qyc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" "--skip=src/lib.rs - embed_migrations (line 44)") + #:cargo-inputs + (("rust-migrations-internals" ,rust-migrations-internals-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)) + #:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-diesel" ,rust-diesel-2) + ("rust-dotenvy" ,rust-dotenvy-0.15) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://diesel.rs") - (synopsis "Internal implementation of Diesel's migration mechanism") - (description "This package provides an internal implementation of Diesel's -migration mechanism.") + (synopsis "Code generation macros for Diesel's embedded migrations") + (description "This package provides code generation macros for Diesel's +embedded migrations.") (license (list license:expat license:asl2.0)))) (define-public rust-migrations-macros-1 (package + (inherit rust-migrations-macros-2) (name "rust-migrations-macros") (version "1.4.2") (source (origin (method url-fetch) (uri (crate-uri "migrations_macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "173qgwans6n2jf6b7qajq273rvg1r9c34p5fflzr53gx14lz2lwp")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-migrations-internals" - ,rust-migrations-internals-1) + (("rust-migrations-internals" ,rust-migrations-internals-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs - (("rust-tempdir" ,rust-tempdir-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - (list sqlite)) - (home-page "https://diesel.rs") - (synopsis "Code generation macros for Diesel's embedded migrations") - (description "This package provides code generation macros for Diesel's -embedded migrations.") - (license (list license:expat license:asl2.0)))) + (("rust-tempdir" ,rust-tempdir-0.3)))))) (define-public rust-mimalloc-0.1 (package (name "rust-mimalloc") - (version "0.1.39") + (version "0.1.43") (source (origin (method url-fetch) (uri (crate-uri "mimalloc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "176w9gf5qxs07kd2q39f0k25rzmp4kyx5r13wc8sk052bqmr40gs")))) + (base32 "0csnyrxc16i592gm5ffham07jyj2w98qsh9jyy1rv59lmr8474b8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -45269,6 +42428,27 @@ file's MIME type by its extension.") ("rust-phf-codegen" ,rust-phf-codegen-0.7) ("rust-unicase" ,rust-unicase-1)))))) +(define-public rust-mini-internal-0.1 + (package + (name "rust-mini-internal") + (version "0.1.41") + (source + (origin + (method url-fetch) + (uri (crate-uri "mini-internal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ks7vwcgmkkg3lsqzjwmrfzm4ly5y6b41b2sfn4jy3bz18sg3dq7")))) + (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/miniserde") + (synopsis "Derive macros for miniserde") + (description "This package provides derive macros for miniserde.") + (license (list license:expat license:asl2.0)))) + (define-public rust-mini-moka-0.10 (package (name "rust-mini-moka") @@ -45303,6 +42483,29 @@ file's MIME type by its extension.") library.") (license (list license:expat license:asl2.0)))) +(define-public rust-minicov-0.3 + (package + (name "rust-minicov") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "minicov" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jsvi62lklfyvdmsiizipkqcfpsc7h4c4illgxlf28iwrkqyjzzj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (inputs (list clang)) + (home-page "https://github.com/Amanieu/minicov") + (synopsis "Code coverage and profile-guided optimization support") + (description + "This package provides Code coverage and profile-guided optimization +support for no_std and embedded programs.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-miniflux-api-0.3 (package (name "rust-miniflux-api") @@ -45340,21 +42543,21 @@ library.") ;; No copyright headers in the source code. LICENSE indicates gpl3. (license license:gpl3))) -(define-public rust-minijinja-1 +(define-public rust-minijinja-2 (package (name "rust-minijinja") - (version "1.0.10") + (version "2.5.0") (source (origin (method url-fetch) (uri (crate-uri "minijinja" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jqvjzcj96jxyqp3pmz2hhrfq4ql2q6p719yvpsnrj7jgrbmi1r0")))) + (base32 "1d99nn7pmqimbp5sd3gcndi958nmp5klav633pjx1p6i2ysy2drc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aho-corasick" ,rust-aho-corasick-1) - ("rust-indexmap" ,rust-indexmap-1) + ("rust-indexmap" ,rust-indexmap-2) ("rust-memo-map" ,rust-memo-map-0.3) ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-self-cell" ,rust-self-cell-1) @@ -45364,43 +42567,15 @@ library.") ("rust-unicase" ,rust-unicase-2) ("rust-unicode-ident" ,rust-unicode-ident-1) ("rust-v-htmlescape" ,rust-v-htmlescape-0.15)) - #:cargo-development-inputs (("rust-insta" ,rust-insta-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-similar-asserts" ,rust-similar-asserts-1)))) - (home-page "https://github.com/mitsuhiko/minijinja") - (synopsis "Template engine for Rust") - (description "This package provides a template engine for Rust.") - (license license:asl2.0))) - -(define-public rust-minijinja-0.34 - (package - (inherit rust-minijinja-1) - (name "rust-minijinja") - (version "0.34.0") - (source (origin - (method url-fetch) - (uri (crate-uri "minijinja" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1gf14x3rvixw1pqwbdj95nx5wxcrkkdpmg2k7spxdjkxm35r3akm")))) - (arguments - `(#:cargo-inputs - (("rust-aho-corasick" ,rust-aho-corasick-1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-memo-map" ,rust-memo-map-0.3) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-self-cell" ,rust-self-cell-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-unicode-ident" ,rust-unicode-ident-1) - ("rust-v-htmlescape" ,rust-v-htmlescape-0.15)) #:cargo-development-inputs (("rust-insta" ,rust-insta-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-similar-asserts" ,rust-similar-asserts-1)))))) + ("rust-similar-asserts" ,rust-similar-asserts-1)))) + (home-page "https://github.com/mitsuhiko/minijinja") + (synopsis "Template engine for Rust") + (description "This package provides a template engine for Rust.") + (license license:asl2.0))) (define-public rust-minimad-0.13 (package @@ -45455,174 +42630,35 @@ efficient round-trip float parsing. Minimal-lexical implements a correct, fast float parser.") (license (list license:expat license:asl2.0)))) -(define-public rust-minimp3-0.5 - (package - (name "rust-minimp3") - (version "0.5.1") - (source (origin - (method url-fetch) - (uri (crate-uri "minimp3" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0wj3nzj1swnvwsk3a4a3hkfj1d21jsi7babi40wlrxzbbzvkhm4q")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; no method named `next_frame_future` found for struct `Decoder` - #:cargo-inputs (("rust-minimp3-sys" ,rust-minimp3-sys-0.3) - ("rust-slice-deque" ,rust-slice-deque-0.3) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/germangb/minimp3-rs") - (synopsis "Rust bindings for the minimp3 library") - (description "Rust bindings for the minimp3 library.") - (license license:expat))) - -(define-public rust-minimp3-sys-0.3 - (package - (name "rust-minimp3-sys") - (version "0.3.2") - (source (origin - (method url-fetch) - (uri (crate-uri "minimp3-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "144vmf3s89kad0smjprzigcp2c9r5dm95n4ydilrbp399irp6772")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs (("rust-cc" ,rust-cc-1)))) - (native-inputs (list pkg-config)) - (inputs (list minimp3)) - (home-page "https://github.com/germangb/minimp3-rs") - (synopsis "Rust bindings for the minimp3 library") - (description "Rust bindings for the minimp3 library.") - (license license:expat))) - -(define-public rust-miniz-oxide-0.8 +(define-public rust-miniserde-0.1 (package - (name "rust-miniz-oxide") - (version "0.8.0") + (name "rust-miniserde") + (version "0.1.41") (source (origin (method url-fetch) - (uri (crate-uri "miniz_oxide" version)) + (uri (crate-uri "miniserde" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1wadxkg6a6z4lr7kskapj5d8pxlx7cp1ifw4daqnkzqjxych5n72")))) + (base32 "0rhbii3v1sflzfz6zx36j42a6j5zh0c08f4kv7k5y9chpjvhhlk2")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-adler2" ,rust-adler2-2) - ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-simd-adler32" ,rust-simd-adler32-0.3)))) - (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide") - (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder") + `(#:cargo-inputs (("rust-itoa" ,rust-itoa-1) + ("rust-mini-internal" ,rust-mini-internal-0.1) + ("rust-ryu" ,rust-ryu-1)) + #:cargo-development-inputs (("rust-automod" ,rust-automod-1) + ("rust-indoc" ,rust-indoc-2) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/dtolnay/miniserde") + (synopsis "Data structure serialization library") (description - "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using -@code{flate2} with the @code{rust_backend} feature provides an easy to use -streaming API for miniz_oxide.") - (license (list license:expat license:zlib license:asl2.0)))) - -(define-public rust-miniz-oxide-0.7 - (package - (inherit rust-miniz-oxide-0.8) - (name "rust-miniz-oxide") - (version "0.7.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "miniz_oxide" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "024wv14aa75cvik7005s5y2nfc8zfidddbd7g55g7sjgnzfl18mq")))) - (arguments - `(#:cargo-inputs - (("rust-adler" ,rust-adler-1) - ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-simd-adler32" ,rust-simd-adler32-0.3)))))) - -(define-public rust-miniz-oxide-0.6 - (package - (inherit rust-miniz-oxide-0.7) - (name "rust-miniz-oxide") - (version "0.6.2") - (source (origin - (method url-fetch) - (uri (crate-uri "miniz_oxide" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yp8z6yll5ypz1ldmgnv7zi0r78kbvmqmn2mii77jzmk5069axdj")))) - (arguments - `(#:cargo-inputs - (("rust-adler" ,rust-adler-1) - ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-simd-adler32" ,rust-simd-adler32-0.3)))))) - -(define-public rust-miniz-oxide-0.5 - (package - (inherit rust-miniz-oxide-0.6) - (name "rust-miniz-oxide") - (version "0.5.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "miniz_oxide" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0d2xcypr8s0skd81dhlrylas1j794qyz74snm11jc8kmy6l0nncn")))) - (arguments - `(#:cargo-inputs - (("rust-adler" ,rust-adler-1) - ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-simd-adler32" ,rust-simd-adler32-0.3)))))) - -(define-public rust-miniz-oxide-0.4 - (package - (inherit rust-miniz-oxide-0.5) - (name "rust-miniz-oxide") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "miniz_oxide" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jsfv00hl5rmx1nijn59sr9jmjd4rjnjhh4kdjy8d187iklih9d9")))) - (arguments - `(#:cargo-inputs - (("rust-adler" ,rust-adler-1) - ("rust-autocfg" ,rust-autocfg-1) - ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))) - -(define-public rust-miniz-oxide-0.3 - (package - (inherit rust-miniz-oxide-0.4) - (name "rust-miniz-oxide") - (version "0.3.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "miniz_oxide" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dblrhgbm0wa8jjl8cjp81akaj36yna92df4z1h9b26n3spal7br")))) - (arguments - `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1)))))) + "This package provides a data structure serialization library with several +opposite design goals from Serde.") + (license (list license:expat license:asl2.0)))) (define-public rust-mint-0.5 (package @@ -45836,58 +42872,6 @@ possible over the OS abstractions.") ("rust-sysctl" ,rust-sysctl-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-mio-aio-0.7 - (package - (inherit rust-mio-aio-0.8) - (name "rust-mio-aio") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "mio-aio" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07y7wnkd4xvj48fyxgnfm9jqjldgqfd39k3ydfmaqc76mw36pagq")))) - (arguments - `(#:skip-build? #t ; no variant named `SigevKevent` found for enum `SigevNotify` - #:cargo-inputs - (("rust-mio" ,rust-mio-0.8) - ("rust-nix" ,rust-nix-0.24)) - #:cargo-development-inputs - (("rust-assert-impl" ,rust-assert-impl-0.1) - ("rust-log" ,rust-log-0.3) - ("rust-mio" ,rust-mio-0.8) - ("rust-nix" ,rust-nix-0.24) - ("rust-sysctl" ,rust-sysctl-0.1) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-mio-anonymous-pipes-0.2 - (package - (name "rust-mio-anonymous-pipes") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "mio-anonymous-pipes" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sqsr9ifvacarlmf02l0hh5ianns5kdhzdb1llx5l075bw117ibb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-mio" ,rust-mio-0.6) - ("rust-miow" ,rust-miow-0.3) - ("rust-spsc-buffer" ,rust-spsc-buffer-0.1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/davidhewitt/mio-anonymous-pipes") - (synopsis "Asynchronous wrapper for Windows synchronous pipes") - (description - "This package provides asynchronous wrapper for Windows synchronous pipes.") - (license license:expat))) - (define-public rust-mio-extras-2 (package (name "rust-mio-extras") @@ -45941,7 +42925,7 @@ possible over the OS abstractions.") (synopsis "Windows named pipe bindings for mio") (description "A library for integrating Windows Named Pipes with mio.") - (license `(,license:asl2.0 ,license:expat)))) + (license (list license:asl2.0 license:expat)))) (define-public rust-mio-uds-0.6 (package @@ -45988,125 +42972,46 @@ possible over the OS abstractions.") (description "Macros that provide source code annotations for MIRAI") (license license:expat))) -(define-public rust-mock-instant-0.3 +(define-public rust-mktemp-0.4 (package - (name "rust-mock-instant") - (version "0.3.2") + (name "rust-mktemp") + (version "0.4.1") (source (origin (method url-fetch) - (uri (crate-uri "mock_instant" version)) + (uri (crate-uri "mktemp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "180yr3i44a98w1mj36dd8xmym33rbzndpj0j1g13di52n8g8crlk")))) + (base32 "18hd84l7k7i1mbjylagwg1miczh78cjrs55r0kggqcc28ivfcpcp")))) (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 - (method url-fetch) - (uri (crate-uri "mock_instant" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vg0kmz96zazjdq57l57nm24mc2in57y090ywcq827xq8fi2jzki")))) - (arguments - `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) - -(define-public rust-mockall-0.11 - (package - (name "rust-mockall") - (version "0.11.4") - (source (origin - (method url-fetch) - (uri (crate-uri "mockall" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "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-2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-mockall-derive" ,rust-mockall-derive-0.11) - ("rust-predicates" ,rust-predicates-2) - ("rust-predicates-tree" ,rust-predicates-tree-1)) - #:cargo-development-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-futures" ,rust-futures-0.3) - ("rust-mockall-double" ,rust-mockall-double-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tracing" ,rust-tracing-0.1)))) - (home-page "https://github.com/asomers/mockall") - (synopsis "Mock object library for Rust") - (description - "Mockall is a rich mocking library with a terse and ergonomic interface.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-mockall-derive-0.11 - (package - (name "rust-mockall-derive") - (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 - "1fvc9kwjcc9ia6ng7z9z02b4qkl9dvsx9m4z51xz9i0mj1k7bki2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("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/asomers/mockall") - (synopsis "Procedural macros for the Mockall crate") - (description - "This package procides procedural macros for the Mockall crate.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-inputs (("rust-uuid" ,rust-uuid-0.8)))) + (home-page "https://docs.rs/mktemp") + (synopsis "Mktemp files and directories") + (description "This package provides mktemp files and directories.") + (license license:mpl2.0))) -(define-public rust-mockall-double-0.3 +(define-public rust-mmap-fixed-0.1 (package - (name "rust-mockall-double") - (version "0.3.0") - (source (origin - (method url-fetch) - (uri (crate-uri "mockall_double" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xk6hjr7m73zly4hg3zmma437vqvrwnjxy2wfxy1hxbk52xwfwdf")))) + (name "rust-mmap-fixed") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "mmap-fixed" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "106lbziidb8bwi3bs4hx5znjlwkh7x6x08qdg0914rpcd2w1qw1v")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/asomers/mockall") - (synopsis "Double test adapter that works well with Mockall") + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3)))) + (home-page "https://github.com/khang06/rust-mmap-fixed-fixed") + (synopsis "Library for dealing with memory-mapped I/O") (description - "This crate makes it even easier to use mocking by providing a way to -select the mock struct at compile time. Used with the Mockall crate.") - (license (list license:expat license:asl2.0)))) + "This package provides a library for dealing with memory-mapped I/O.") + (license license:expat))) (define-public rust-modifier-0.1 (package @@ -46164,14 +43069,14 @@ debug_assert_* macros.") (define-public rust-mozim-0.2 (package (name "rust-mozim") - (version "0.2.2") + (version "0.2.5") (source (origin (method url-fetch) (uri (crate-uri "mozim" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14f4k92zfr1mm2qhq6j3bq277j4wfdlj24lb96py0jrivz81a70c")))) + (base32 "1bg8xkvcpxr06a1kp1dp78gjkgsgq5a9i1qzcf43az007l8k83k1")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests can't run in the build environment. @@ -46182,42 +43087,15 @@ debug_assert_* macros.") ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-nispor" ,rust-nispor-1) - ("rust-nix" ,rust-nix-0.26) + ("rust-nix" ,rust-nix-0.27) ("rust-rand" ,rust-rand-0.8)) - #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11) ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/nispor/mozim") (synopsis "DHCP Client Library") - (description "DHCP Client Library.") + (description "This package provides a DHCP Client Library.") (license license:asl2.0))) -(define-public rust-mp4-0.9 - (package - (name "rust-mp4") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "mp4" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12rwsjj5fn5h198ih0ig08vz34rfjlnf8rw3d0i5jwbaay88f1kq")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-bytes" ,rust-bytes-1) - ("rust-num-rational" ,rust-num-rational-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://github.com/alfg/mp4-rust") - (synopsis "MP4 reader and writer library in Rust") - (description "mp4 is a Rust library to read and write ISO-MP4 files.") - (license license:expat))) - (define-public rust-mptcp-pm-0.1 (package (name "rust-mptcp-pm") @@ -46276,6 +43154,27 @@ debug_assert_* macros.") C++ symbols mangled by MSVC.") (license (list license:expat license:ncsa)))) +(define-public rust-muldiv-1 + (package + (name "rust-muldiv") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "muldiv" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1c6ljsp41n8ijsx7zicwfm135drgyhcms12668ivvsbm1r98frwm")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs `(("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/sdroege/rust-muldiv") + (synopsis "Trait for numeric types to combine multiplication and division") + (description + "This package provides a trait for numeric types to perform combined +multiplication and division with overflow protection.") + (license license:expat))) + (define-public rust-multer-3 (package (name "rust-multer") @@ -46348,27 +43247,6 @@ async Rust environment e.g. any async server.") ("rust-serde" ,rust-serde-1) ("rust-tokio" ,rust-tokio-1)))))) -(define-public rust-muldiv-1 - (package - (name "rust-muldiv") - (version "1.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "muldiv" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1c6ljsp41n8ijsx7zicwfm135drgyhcms12668ivvsbm1r98frwm")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-inputs `(("rust-quickcheck" ,rust-quickcheck-1)))) - (home-page "https://github.com/sdroege/rust-muldiv") - (synopsis "Trait for numeric types to combine multiplication and division") - (description - "This package provides a trait for numeric types to perform combined -multiplication and division with overflow protection.") - (license license:expat))) - (define-public rust-multimap-0.8 (package (name "rust-multimap") @@ -46391,6 +43269,33 @@ multiplication and division with overflow protection.") (description "This package provides a multimap implementation.") (license (list license:expat license:asl2.0)))) +(define-public rust-multipart-rs-0.1 + (package + (name "rust-multipart-rs") + (version "0.1.13") + (source + (origin + (method url-fetch) + (uri (crate-uri "multipart-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wj5jgbrq7svcqdahxi17j8vws8nsz6a5y9f6ir51ajjgq7f1jk4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-mime" ,rust-mime-0.3) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-futures-test" ,rust-futures-test-0.3)))) + (home-page "https://github.com/feliwir/multipart-rs") + (synopsis "Async multipart reader & writer for Rust") + (description + "This package provides a simple, zero-allocation, streaming, async multipart +reader & writer for Rust.") + (license license:expat))) + (define-public rust-multiversion-0.7 (package (name "rust-multiversion") @@ -46495,138 +43400,6 @@ library.") (description "This package provides a Rust implementation of Mustache.") (license (list license:expat license:asl2.0)))) -(define-public rust-mysqlclient-sys-0.2 - (package - (name "rust-mysqlclient-sys") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "mysqlclient-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16wndr59cbpc2wgli45zfgi0hi837pbrsh1aqh2k0ads50akh6zn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))) - (native-inputs - (list `(,mariadb "lib"))) - (home-page "https://github.com/sgrif/mysqlclient-sys") - (synopsis "Auto-generated rust bindings for libmysqlclient") - (description "This package provides auto-generated rust bindings for -libmysqlclient.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-nanorand-0.7 - (package - (name "rust-nanorand") - (version "0.7.0") - (source (origin - (method url-fetch) - (uri (crate-uri "nanorand" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1hr60b8zlfy7mxjcwx2wfmhpkx7vfr3v9x12shmv1c10b0y32lba")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.4)))) - (home-page "https://github.com/Absolucy/nanorand-rs") - (synopsis "Tiny, fast, zero-dep library for random number generation") - (description - "This library is meant for fast, random number generation with -quick compile time, and minimal dependencies.") - (license license:zlib))) - -(define-public rust-nanorand-0.5 - (package - (inherit rust-nanorand-0.7) - (name "rust-nanorand") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "nanorand" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ryi6jdfsfij4di33f269099g7m32rlr7sv7j4pklnjcj2xxfwri")))) - (arguments - `(#:skip-build? #true ;error with pre-release randomize - #:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-fastrand" ,rust-fastrand-1) - ("rust-hex" ,rust-hex-0.4) - ("rust-random-fast-rng" ,rust-random-fast-rng-0.1) - ("rust-randomize" ,rust-randomize-4)))))) - -(define-public rust-nanorand-0.4 - (package - (inherit rust-nanorand-0.5) - (name "rust-nanorand") - (version "0.4.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "nanorand" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ifpjgir1a6lw64jkb6la5hb8j5jvqq70nmxgzjj0cjf13jd3kys")))) - (arguments - `(#:skip-build? #true ;error with pre-release randomize - #:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-zeroize" ,rust-zeroize-1)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-fastrand" ,rust-fastrand-1) - ("rust-hex" ,rust-hex-0.4) - ("rust-random-fast-rng" ,rust-random-fast-rng-0.1) - ("rust-randomize" ,rust-randomize-4)))))) - -(define-public rust-nasm-rs-0.3 - (package - (name "rust-nasm-rs") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nasm-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nfrmnfvc1rcpghi14zbrdx3x5jr7gl2pv873pn440wyshdzmz0j")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-jobserver" ,rust-jobserver-0.1)))) - (home-page "https://github.com/medek/nasm-rs") - (synopsis "Run NASM during your Cargo build") - (description "This package provides NASM during your Cargo build.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-nasm-rs-0.2 - (package - (inherit rust-nasm-rs-0.3) - (name "rust-nasm-rs") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nasm-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lgc3gg32hj4pcbfp07vzwy013smdm27469fyy4rqgyil3x46vx7")))) - (arguments - `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) - ("rust-rayon" ,rust-rayon-1)))))) - (define-public rust-nalgebra-0.32 (package (name "rust-nalgebra") @@ -46756,8 +43529,7 @@ transformations and statically-sized or dynamically-sized matrices.") (uri (crate-uri "nalgebra" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zri11vkrbk3ayvy8xqcdvvyjvfcbl5a18x8z82racnn11zfn1nm")) - (modules '((guix build utils))))) + (base32 "1zri11vkrbk3ayvy8xqcdvvyjvfcbl5a18x8z82racnn11zfn1nm")))) (arguments `(#:tests? #f ;TODO: how to enable required features? #:cargo-inputs @@ -47031,6 +43803,122 @@ linear algebra library.") (("rust-nalgebra" ,rust-nalgebra-0.26) ("rust-trybuild" ,rust-trybuild-1)))))) +(define-public rust-nanorand-0.7 + (package + (name "rust-nanorand") + (version "0.7.0") + (source (origin + (method url-fetch) + (uri (crate-uri "nanorand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hr60b8zlfy7mxjcwx2wfmhpkx7vfr3v9x12shmv1c10b0y32lba")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-hex" ,rust-hex-0.4)))) + (home-page "https://github.com/Absolucy/nanorand-rs") + (synopsis "Tiny, fast, zero-dep library for random number generation") + (description + "This library is meant for fast, random number generation with +quick compile time, and minimal dependencies.") + (license license:zlib))) + +(define-public rust-nanorand-0.5 + (package + (inherit rust-nanorand-0.7) + (name "rust-nanorand") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nanorand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ryi6jdfsfij4di33f269099g7m32rlr7sv7j4pklnjcj2xxfwri")))) + (arguments + `(#:skip-build? #true ;error with pre-release randomize + #:cargo-inputs + (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-fastrand" ,rust-fastrand-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-random-fast-rng" ,rust-random-fast-rng-0.1) + ("rust-randomize" ,rust-randomize-4)))))) + +(define-public rust-nanorand-0.4 + (package + (inherit rust-nanorand-0.5) + (name "rust-nanorand") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "nanorand" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ifpjgir1a6lw64jkb6la5hb8j5jvqq70nmxgzjj0cjf13jd3kys")))) + (arguments + `(#:skip-build? #true ;error with pre-release randomize + #:cargo-inputs + (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-fastrand" ,rust-fastrand-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-random-fast-rng" ,rust-random-fast-rng-0.1) + ("rust-randomize" ,rust-randomize-4)))))) + +(define-public rust-nanoserde-0.1 + (package + (name "rust-nanoserde") + (version "0.1.37") + (source + (origin + (method url-fetch) + (uri (crate-uri "nanoserde" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "168vga2z8inldwahsjps2mi3m149p16dfnsjac1mmqmi9a2czsax")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.12) + ("rust-nanoserde-derive" ,rust-nanoserde-derive-0.1)))) + (home-page "https://github.com/not-fl3/nanoserde") + (synopsis "Fork of makepad-tinyserde without any external dependencies") + (description + "This package provides Fork of makepad-tinyserde without any external +dependencies. It supports json, binary and ron.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-nanoserde-derive-0.1 + (package + (name "rust-nanoserde-derive") + (version "0.1.22") + (source + (origin + (method url-fetch) + (uri (crate-uri "nanoserde-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "011211f0flikd4sg4mylk9ivfhf7rn3hcl3qcvnf7drp2g1b4hz9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-hashbrown" ,rust-hashbrown-0.12)))) + (home-page "https://github.com/not-fl3/nanoserde") + (synopsis + "Fork of makepad-tinyserde derive without any external dependencies") + (description + "This package provides a fork of makepad-tinyserde derive without any +external dependencies.") + (license license:expat))) + (define-public rust-napi-2 (package (name "rust-napi") @@ -47160,6 +44048,41 @@ linear algebra library.") (description "This package provides a NodeJS N-API raw binding.") (license license:expat))) +(define-public rust-nasm-rs-0.3 + (package + (name "rust-nasm-rs") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nasm-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nfrmnfvc1rcpghi14zbrdx3x5jr7gl2pv873pn440wyshdzmz0j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-jobserver" ,rust-jobserver-0.1)))) + (home-page "https://github.com/medek/nasm-rs") + (synopsis "Run NASM during your Cargo build") + (description "This package provides NASM during your Cargo build.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-nasm-rs-0.2 + (package + (inherit rust-nasm-rs-0.3) + (name "rust-nasm-rs") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nasm-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lgc3gg32hj4pcbfp07vzwy013smdm27469fyy4rqgyil3x46vx7")))) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-rayon" ,rust-rayon-1)))))) + (define-public rust-natord-1 (package (name "rust-natord") @@ -47206,31 +44129,6 @@ a non-blocking way, without waiting for the connection to become fully established.") (license (list license:asl2.0 license:expat)))) -(define-public rust-ncurses-5 - (package - (name "rust-ncurses") - (version "5.100.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ncurses" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ss1ia7skbs5x2p5lccp38qmm3xnkq7spcp8cyr4yvvz5350gnx7")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (home-page "https://github.com/jeaye/ncurses-rs") - (synopsis "Thin wrapper around the @code{ncurses} TUI library") - (description - "This package provides a very thin wrapper around the @code{ncurses} TUI -library.") - (license license:expat))) - (define-public rust-ndarray-0.15 (package (name "rust-ndarray") @@ -47433,7 +44331,7 @@ general elements and for numerics.") #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-jni" ,rust-jni-0.19) - ("rust-jni-glue" ,rust-jni-glue-0.0) + ("rust-jni-glue" ,rust-jni-glue-0.0.10) ("rust-jni-sys" ,rust-jni-sys-0.3) ("rust-ndk-sys" ,rust-ndk-sys-0.4) ("rust-num-enum" ,rust-num-enum-0.5) @@ -47456,7 +44354,7 @@ general elements and for numerics.") `(#:skip-build? #t ; Android only #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-jni" ,rust-jni-0.18) - ("rust-jni-glue" ,rust-jni-glue-0.0) + ("rust-jni-glue" ,rust-jni-glue-0.0.10) ("rust-jni-sys" ,rust-jni-sys-0.3) ("rust-ndk-sys" ,rust-ndk-sys-0.3) ("rust-num-enum" ,rust-num-enum-0.5) @@ -47479,7 +44377,7 @@ general elements and for numerics.") #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-jni" ,rust-jni-0.18) - ("rust-jni-glue" ,rust-jni-glue-0.0) + ("rust-jni-glue" ,rust-jni-glue-0.0.10) ("rust-jni-sys" ,rust-jni-sys-0.3) ("rust-ndk-sys" ,rust-ndk-sys-0.2) ("rust-num-enum" ,rust-num-enum-0.5) @@ -47501,7 +44399,7 @@ general elements and for numerics.") `(#:skip-build? #true ;XXX: Android only #:cargo-inputs (("rust-jni" ,rust-jni-0.14) - ("rust-jni-glue" ,rust-jni-glue-0.0) + ("rust-jni-glue" ,rust-jni-glue-0.0.10) ("rust-jni-sys" ,rust-jni-sys-0.3) ("rust-ndk-sys" ,rust-ndk-sys-0.2) ("rust-num-enum" ,rust-num-enum-0.4) @@ -48033,21 +44931,21 @@ that represent any netlink message for any sub-protocol.") (description "Generic netlink packet types.") (license license:expat))) -(define-public rust-netlink-packet-route-0.19 +(define-public rust-netlink-packet-route-0.21 (package (name "rust-netlink-packet-route") - (version "0.19.0") + (version "0.21.0") (source (origin (method url-fetch) (uri (crate-uri "netlink-packet-route" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x4bjc97nq6ckvn25l8qysybf324jbinqx6s11vqrvmlfz6p3hbl")))) + (base32 "0vh6qc3c87ihbwb7s1z7ik1i5f2fa1yhk3w52j96jrggpza2acs8")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; Cut the dependency tree - #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-bitflags" ,rust-bitflags-2) ("rust-byteorder" ,rust-byteorder-1) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) @@ -48055,7 +44953,6 @@ that represent any netlink message for any sub-protocol.") ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)) #:cargo-development-inputs (("rust-netlink-sys" ,rust-netlink-sys-0.8) - ;("rust-pcap-file" ,rust-pcap-file-1) ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) (home-page "https://github.com/rust-netlink/netlink-packet-route") (synopsis "Netlink packet types") @@ -48064,6 +44961,31 @@ Netlink route protocol(rtnetlink) packet into Rust data types. The goal of this crate is saving netlink user from reading Kernel Netlink codes.") (license license:expat))) +(define-public rust-netlink-packet-route-0.19 + (package + (inherit rust-netlink-packet-route-0.21) + (name "rust-netlink-packet-route") + (version "0.19.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "netlink-packet-route" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x4bjc97nq6ckvn25l8qysybf324jbinqx6s11vqrvmlfz6p3hbl")))) + (arguments + `(#:skip-build? #t ; Cut the dependency tree + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5)) + #:cargo-development-inputs + (("rust-netlink-sys" ,rust-netlink-sys-0.8) + ;("rust-pcap-file" ,rust-pcap-file-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))))) + (define-public rust-netlink-packet-route-0.18 (package (inherit rust-netlink-packet-route-0.19) @@ -48146,23 +45068,23 @@ implementation of the netlink protocol.") (define-public rust-netlink-sys-0.8 (package (name "rust-netlink-sys") - (version "0.8.5") + (version "0.8.7") (source (origin (method url-fetch) (uri (crate-uri "netlink-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04842pp457q7g14d6a61j70k60zg2wrbz0cmda3ka0dcww4bywb4")))) + (base32 "08xxx1ng7fxkvqrh81y95hni5mnir1ksg5xzj4vbj32rf2m07j8n")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-async-io" ,rust-async-io-1) + #:cargo-inputs (("rust-async-io" ,rust-async-io-2) ("rust-bytes" ,rust-bytes-1) ("rust-futures" ,rust-futures-0.3) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) - ("rust-mio" ,rust-mio-0.8) + ("rust-mio" ,rust-mio-1) ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) @@ -48220,6 +45142,27 @@ Integration with mio and tokio is optional.") release (fork of debug_unreachable)") (license license:expat))) +(define-public rust-new-string-template-1 + (package + (name "rust-new-string-template") + (version "1.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "new_string_template" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1svmx6a6qqz70mhrgz77bi9ifpnlpwpslqzvdbw557jc6d9ih3y5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/hasezoey/new_string_template") + (synopsis "Customizable String-Templating Library for Rust") + (description + "This package provides a customizable string-templating library for Rust.") + (license license:expat))) + ;; Keep this package for future packaging of NewsFlash. (define-public rust-news-flash-1 (package @@ -48350,25 +45293,26 @@ structures.") (license (list license:expat license:asl2.0)))) -(define-public rust-nftables-0.3 +(define-public rust-nftables-0.5 (package (name "rust-nftables") - (version "0.3.0") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "nftables" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lmn2qkd5d24ip963ijj864djmqnm0q2mvgansbkv82fqysiplbi")))) + (base32 "0mz6i4cm5qbc11zdrzghixvml2j9vxdf97nqjbkqc471kvg8hwkc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1) - ("rust-strum" ,rust-strum-0.25) - ("rust-strum-macros" ,rust-strum-macros-0.25) - ("rust-thiserror" ,rust-thiserror-1)))) + ("rust-strum" ,rust-strum-0.26) + ("rust-strum-macros" ,rust-strum-macros-0.26) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-3)))) (home-page "https://namib.me/") (synopsis "Safe abstraction for nftables JSON API") (description @@ -48397,6 +45341,41 @@ rulesets in Rust and parse existing nftables rulesets from JSON.") (description "NibbleVec is a data structure for storing a sequence of half-bytes.") (license license:expat))) +(define-public rust-nispor-1 + (package + (name "rust-nispor") + (version "1.2.21") + (source + (origin + (method url-fetch) + (uri (crate-uri "nispor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j8nw3i4cxgglizrkp8vcd1ghr1hd8rkclg56b3gc17zy0ml4g2l")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests can't run in the build environment. + #:cargo-inputs (("rust-ethtool" ,rust-ethtool-0.2) + ("rust-futures" ,rust-futures-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mptcp-pm" ,rust-mptcp-pm-0.1) + ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-rtnetlink" ,rust-rtnetlink-0.14) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-wl-nl80211" ,rust-wl-nl80211-0.2)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9)))) + (home-page "https://github.com/nispor/nispor") + (synopsis "Unified interface for Linux network state querying") + (description "Unified interface for Linux network state querying.") + (license license:asl2.0))) + (define-public rust-nitrokey-0.9 (package (name "rust-nitrokey") @@ -48519,40 +45498,6 @@ nitrokey crate and others using it.") nitrokey-test crate.") (license license:gpl3+))) -(define-public rust-nispor-1 - (package - (name "rust-nispor") - (version "1.2.17") - (source - (origin - (method url-fetch) - (uri (crate-uri "nispor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jp0fs6sy8cpg0gi7jkh215czbx3b8p0kygimpx0abgg6mx2955b")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests can't run in the build environment. - #:cargo-inputs (("rust-ethtool" ,rust-ethtool-0.2) - ("rust-futures" ,rust-futures-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mptcp-pm" ,rust-mptcp-pm-0.1) - ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.19) - ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) - ("rust-netlink-sys" ,rust-netlink-sys-0.8) - ("rust-rtnetlink" ,rust-rtnetlink-0.14) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs (("rust-pretty-assertions" - ,rust-pretty-assertions-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.9)))) - (home-page "https://github.com/nispor/nispor") - (synopsis "Unified interface for Linux network state querying") - (description "Unified interface for Linux network state querying.") - (license license:asl2.0))) - (define-public rust-nix-0.29 (package (name "rust-nix") @@ -49035,9 +45980,7 @@ while still providing platform specific APIs.") ("rust-rand" ,rust-rand-0.6) ("rust-semver" ,rust-semver-0.9) ("rust-sysctl" ,rust-sysctl-0.1) - ("rust-tempfile" ,rust-tempfile-3)))) - (inputs - (list rust-bitflags-1 rust-cc-1 rust-cfg-if-0.1 rust-libc-0.2)))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-nix-0.15 (package @@ -49140,7 +46083,7 @@ environment variable is set.") (define-public rust-no-panic-0.1 (package (name "rust-no-panic") - (version "0.1.26") + (version "0.1.33") (source (origin (method url-fetch) @@ -49148,7 +46091,7 @@ environment variable is set.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0sp4d9815f8vdz31qm10wpnswi0x89hlbzw78nxy0p2g88kd39ki")))) + "1s4p4r6p6gv3fy2dm1cx19hmnxc9szvb5x3f51wn0i7ycrjahzcg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -49157,7 +46100,7 @@ environment variable is set.") ("rust-syn" ,rust-syn-2)) #:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1) - ("rust-tempfile" ,rust-tempfile-3) + ("rust-scratch" ,rust-scratch-1) ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/dtolnay/no-panic") (synopsis "Prove a function can't ever panic") @@ -49441,48 +46384,6 @@ combinators library.") #: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) - (name "rust-nom") - (version "1.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "nom" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1kjh42w67z1hh1dw3jrilgqrf54jk2xcvhw4rcdm4wclzmbc5f55")))) - (arguments - ;; This is an ancient version and all inputs are optional. - `(#:skip-build? #t)))) - -(define-public rust-nom8-0.2 - (package - (name "rust-nom8") - (version "0.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "nom8" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1y6jzabxyrl05vxnh63r66ac2fh0symg5fnynxm4ii3zkif580df")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-memchr" ,rust-memchr-2)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-proptest" ,rust-proptest-1)))) - (home-page "https://github.com/epage/nom-experimental") - (synopsis "Byte-oriented, zero-copy, parser combinators library") - (description "This package provides a byte-oriented, zero-copy, parser -combinators library (fork for proposals for v8)") - (license license:expat))) - (define-public rust-nom-derive-0.10 (package (name "rust-nom-derive") @@ -49555,6 +46456,30 @@ combinators library (fork for proposals for v8)") tokens.") (license license:expat))) +(define-public rust-nom8-0.2 + (package + (name "rust-nom8") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "nom8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y6jzabxyrl05vxnh63r66ac2fh0symg5fnynxm4ii3zkif580df")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs + (("rust-memchr" ,rust-memchr-2)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-proptest" ,rust-proptest-1)))) + (home-page "https://github.com/epage/nom-experimental") + (synopsis "Byte-oriented, zero-copy, parser combinators library") + (description "This package provides a byte-oriented, zero-copy, parser +combinators library (fork for proposals for v8)") + (license license:expat))) + (define-public rust-nonempty-0.7 (package (name "rust-nonempty") @@ -49616,24 +46541,6 @@ tokens.") 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") @@ -49671,6 +46578,24 @@ with all line endings.") (base32 "1a1knz9j1w5a1pl2q6whmjphm3z6p64r5njnam7syp5rx8wil2if")))))) +(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-normpath-1 (package (name "rust-normpath") @@ -49807,35 +46732,6 @@ notification library.") ("rust-tempfile" ,rust-tempfile-3)))) (license (list license:cc0 license:artistic2.0)))) -(define-public rust-notify-5-pre.13 - (package - (inherit rust-notify-5) - (name "rust-notify") - (version "5.0.0-pre.13") - (source (origin - (method url-fetch) - (uri (crate-uri "notify" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0za8mpacxkr62fii5h7ny4h396y0m8myd3hf08njqdg2h21kap94")))) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-fsevent-sys" ,rust-fsevent-sys-4) - ("rust-inotify" ,rust-inotify-0.9) - ("rust-kqueue" ,rust-kqueue-1) - ("rust-kqueue" ,rust-kqueue-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mio" ,rust-mio-0.7) - ("rust-serde" ,rust-serde-1) - ("rust-walkdir" ,rust-walkdir-2) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-notify-4 (package (inherit rust-notify-5) @@ -49865,6 +46761,38 @@ notification library.") (("rust-tempfile" ,rust-tempfile-3)))) (license license:cc0))) +(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-notify-debouncer-mini-0.4 (package (name "rust-notify-debouncer-mini") @@ -49887,36 +46815,50 @@ notification library.") (description "This crate is notify mini debouncer for events.") (license (list license:expat license:asl2.0)))) -(define-public rust-notify-debouncer-full-0.3 +(define-public rust-notify-rust-4 (package - (name "rust-notify-debouncer-full") - (version "0.3.1") + (name "rust-notify-rust") + (version "4.11.3") (source (origin (method url-fetch) - (uri (crate-uri "notify-debouncer-full" version)) + (uri (crate-uri "notify-rust" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0m31ad5wv0lhrncn6qqk4zmryf0fl9h1j9kzrx89p2rlkjsxmxa9")))) + (base32 "18ykiijr0c452hxlpvciac0wqvsan4dfh08vz2zpicbhqlnsfd2i")))) (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-test-flags '("--release" "--" + ;; Missing test files + "--skip=realworld::burst" + "--skip=realworld::capabilities" + "--skip=realworld::category" + "--skip=realworld::closing" + "--skip=realworld::init" + "--skip=realworld::persistent" + "--skip=realworld::urgency") + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-dbus" ,rust-dbus-0.9) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-image" ,rust-image-0.25) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-mac-notification-sys" ,rust-mac-notification-sys-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-tauri-winrt-notification" ,rust-tauri-winrt-notification-0.2) + ("rust-zbus" ,rust-zbus-4)) #: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") + (("rust-async-std" ,rust-async-std-1) + ("rust-color-backtrace" ,rust-color-backtrace-0.6) + ("rust-ctor" ,rust-ctor-0.2) + ("rust-maplit" ,rust-maplit-1)))) + (home-page "https://github.com/hoodie/notify-rust") + (synopsis "Show desktop notifications (linux, bsd, mac). Pure Rust dbus +client and server") (description - "This package provides a notify event debouncer optimized for ease of use.") + "This package provides Show desktop notifications (linux, bsd, mac). Pure +Rust dbus client and server.") (license (list license:expat license:asl2.0)))) (define-public rust-notmuch-0.8 @@ -49955,36 +46897,6 @@ notification library.") "This crate provides a Rust interface and bindings for Notmuch.") (license license:gpl3+))) -(define-public rust-notmuch-0.6 - (package - (inherit rust-notmuch-0.8) - (name "rust-notmuch") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "notmuch" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19q93iyvx4liksm09mhq9ibm8zj7i3dizc1s40f916z0kbpn9k5w")) - (snippet - #~(begin (use-modules (guix build utils)) - (substitute* "Cargo.toml" - ;; Use a newer maildir. - (("version = \"0.3.2\"") "version = \"0.5.0\"")))))) - (arguments - `(#:tests? #f ;see https://github.com/vhdirk/notmuch-rs/issues/35 - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-supercow" ,rust-supercow-0.1)) - #:cargo-development-inputs - (("rust-dirs" ,rust-dirs-1) - ("rust-gethostname" ,rust-gethostname-0.2) - ("rust-lettre" ,rust-lettre-0.9) - ("rust-lettre-email" ,rust-lettre-email-0.9) - ("rust-maildir" ,rust-maildir-0.5) - ("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-now-0.1 (package (name "rust-now") @@ -50104,6 +47016,36 @@ enhances the built-in library with some useful features.") ("rust-ntest-timeout" ,rust-ntest-timeout-0.7)) #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))))) +(define-public rust-ntest-proc-macro-helper-0.8 + (package + (name "rust-ntest-proc-macro-helper") + (version "0.8.0") + (source (origin + (method url-fetch) + (uri (crate-uri "ntest_proc_macro_helper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "154r3r9nnnp6qjzlayc54213bdrgdk8b68jjnn1xcyd6cz92iqx0")))) + (build-system cargo-build-system) + (home-page "https://github.com/becheran/ntest") + (synopsis "Helper functions for the procedural macros used in ntest") + (description "This package provides helper functions for the procedural +macros used in ntest.") + (license license:expat))) + +(define-public rust-ntest-proc-macro-helper-0.7 + (package + (inherit rust-ntest-proc-macro-helper-0.8) + (name "rust-ntest-proc-macro-helper") + (version "0.7.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "ntest_proc_macro_helper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lkyfx97aynbm7cnhzyc9cr0rpq1xzng1hwmzizbf1a6855y6llg")))))) + (define-public rust-ntest-test-cases-0.9 (package (name "rust-ntest-test-cases") @@ -50221,36 +47163,6 @@ framework.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-ntest-proc-macro-helper-0.8 - (package - (name "rust-ntest-proc-macro-helper") - (version "0.8.0") - (source (origin - (method url-fetch) - (uri (crate-uri "ntest_proc_macro_helper" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "154r3r9nnnp6qjzlayc54213bdrgdk8b68jjnn1xcyd6cz92iqx0")))) - (build-system cargo-build-system) - (home-page "https://github.com/becheran/ntest") - (synopsis "Helper functions for the procedural macros used in ntest") - (description "This package provides helper functions for the procedural -macros used in ntest.") - (license license:expat))) - -(define-public rust-ntest-proc-macro-helper-0.7 - (package - (inherit rust-ntest-proc-macro-helper-0.8) - (name "rust-ntest-proc-macro-helper") - (version "0.7.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "ntest_proc_macro_helper" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lkyfx97aynbm7cnhzyc9cr0rpq1xzng1hwmzizbf1a6855y6llg")))))) - (define-public rust-ntex-bytes-0.1 (package (name "rust-ntex-bytes") @@ -50276,17 +47188,62 @@ macros used in ntest.") (description "Types and traits for working with bytes (bytes crate fork)") (license license:expat))) +(define-public rust-nucleo-0.2 + (package + (name "rust-nucleo") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nucleo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wzx32bz4n68dcd3yw57195sz49hdhv9b75jikr5qiyfpks32lxf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nucleo-matcher" ,rust-nucleo-matcher-0.2) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-rayon" ,rust-rayon-1)))) + (home-page "https://github.com/helix-editor/nucleo") + (synopsis "Plug and play high performance fuzzy matcher") + (description + "This package provides plug and play high performance fuzzy matcher.") + (license license:mpl2.0))) + +(define-public rust-nucleo-matcher-0.2 + (package + (name "rust-nucleo-matcher") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nucleo-matcher" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mxxz58acszkgxha4wy459fkcx6f8sh55d803wnid1p25x02nw0v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cov-mark" ,rust-cov-mark-1) + ("rust-memchr" ,rust-memchr-2) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)) + #:cargo-development-inputs (("rust-cov-mark" ,rust-cov-mark-1)))) + (home-page "https://github.com/helix-editor/nucleo") + (synopsis "Plug and play high performance fuzzy matcher") + (description + "This package provides plug and play high performance fuzzy matcher.") + (license license:mpl2.0))) + (define-public rust-num-0.4 (package (name "rust-num") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "num" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hbaawqgb3gsmx2i94ygbhc7nyqi6a30zbpja453n43xya5b0d9i")))) + (base32 "08yb2fc1psig7pkzaplm495yp7c30m4pykpkwmi5bxrgid705g9m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -50690,14 +47647,14 @@ exact behavior of code more explicit, and allows using turbofish syntax.") (define-public rust-num-derive-0.4 (package (name "rust-num-derive") - (version "0.4.1") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "num-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04j7mndk9p6nzl9j6zrf49r2cq3250h4ldcx40jv3y48mxwpddyg")))) + (base32 "00p2am9ma8jgd2v6xpsz621wc7wbn1yqi71g15gc3h67m7qmafgd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -50762,17 +47719,19 @@ exact behavior of code more explicit, and allows using turbofish syntax.") (define-public rust-num-enum-0.7 (package (name "rust-num-enum") - (version "0.7.1") + (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "num_enum" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h1pncbi7zviymadn521ycj7gdq84q1x3c4zqc015n76j7am2dv8")))) + (base32 "0yai0vafhy85mvhknzfqd7lm04hzaln7i5c599rhy8mj831kyqaf")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; unresolved import `num_enum` + `(#:cargo-test-flags '("--" + "--skip=no_std" + "--skip=std") #:cargo-inputs (("rust-num-enum-derive" ,rust-num-enum-derive-0.7)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-paste" ,rust-paste-1) @@ -50832,17 +47791,17 @@ primitives and enums easier.") (define-public rust-num-enum-derive-0.7 (package (name "rust-num-enum-derive") - (version "0.7.1") + (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "num_enum_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03jgxry6vja1n7hp6wsg4c0rldkaabq95h8zv76rq85dk13y84bc")))) + (base32 "0mksna1jj87ydh146gn6jcqkvvs920c3dgh0p4f3xk184kpl865g")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" + `(#:cargo-test-flags '("--" "--skip=derive_default" "--skip=derive_from_primitive" "--skip=derive_into_primitive" @@ -51011,19 +47970,18 @@ directly.") (define-public rust-num-rational-0.4 (package (name "rust-num-rational") - (version "0.4.1") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "num-rational" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1c0rb8x4avxy3jvvzv764yk7afipzxncfnqlb10r3h53s34s2f06")))) + (base32 "093qndy02817vpgcqjnj139im3jl7vkq4h68kykdqqh577d18ggq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-autocfg" ,rust-autocfg-1) - ("rust-num-bigint" ,rust-num-bigint-0.4) + (("rust-num-bigint" ,rust-num-bigint-0.4) ("rust-num-integer" ,rust-num-integer-0.1) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-serde" ,rust-serde-1)))) @@ -51101,16 +48059,16 @@ directly.") (define-public rust-num-threads-0.1 (package (name "rust-num-threads") - (version "0.1.6") + (version "0.1.7") (source (origin (method url-fetch) (uri (crate-uri "num_threads" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0i5vmffsv6g79z869flp1sja69g1gapddjagdw1k3q9f3l2cw698")))) + (base32 "1ngajbmhrgyhzrlc4d5ga9ych1vrfcvfsiqz6zv0h2dpr2wrhwsw")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Unclear why these tests fail. + `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/jhpratt/num_threads") (synopsis "Determine the number of running threads for the current process") @@ -51243,6 +48201,56 @@ giga, kibi.") "1vs9rhggqbql1p26x8nkha1j06wawwgb2jp5fs88b5gi7prvvy5q")))) (arguments '(#:tests? #f)))) +(define-public rust-nvml-wrapper-0.10 + (package + (name "rust-nvml-wrapper") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nvml-wrapper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1i9q80f8x5zy646wvz1wkaydryvnfnwsi8jy72hh92fll45gz6qc")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests expect libnvidia-ml.so from the NVIDIA driver + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-nvml-wrapper-sys" ,rust-nvml-wrapper-sys-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-wrapcenum-derive" ,rust-wrapcenum-derive-0.4)) + #:cargo-development-inputs (("rust-pretty-bytes" ,rust-pretty-bytes-0.2)))) + (home-page "https://github.com/Cldfire/nvml-wrapper") + (synopsis "Rust wrapper for the NVIDIA Management Library") + (description + "This package provides a safe and ergonomic Rust wrapper for the NVIDIA +Management Library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-nvml-wrapper-sys-0.8 + (package + (name "rust-nvml-wrapper-sys") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nvml-wrapper-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dgw2dpldxik2gn3m3aqgl2qj1da5sz6wav5g571ly18dwalb3b9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libloading" ,rust-libloading-0.8)))) + (home-page "https://github.com/Cldfire/nvml-wrapper") + (synopsis "Generated bindings to the NVIDIA Management Library") + (description + "This package provides generated bindings to the NVIDIA Management Library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-oauth2-types-0.7 (package (name "rust-oauth2-types") @@ -51343,34 +48351,31 @@ form and deobfuscated locally.") (define-public rust-object-0.36 (package (name "rust-object") - (version "0.36.4") + (version "0.36.5") (source (origin (method url-fetch) (uri (crate-uri "object" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02h7k38dwi8rndc3y81n6yjxijbss99p2jm9c0b6ak5c45c1lkq8")))) + (base32 "0gk8lhbs229c68lapq6w6qmnm4jkj48hrcw5ilfyswy514nhmpxf")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" "--" - ;; Not all files are included - "--skip=read::coff::coff_extended_relocations" - "--skip=read::elf::get_buildid_bad_elf" - "--skip=read::elf::get_buildid_less_bad_elf" - "--skip=read::macho::test_go_macho") + ;; The parse_self test correspond to the unit tests; the integration + ;; tests have some failures for unknown reasons. + '("--release" "parse_self" "--") #: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-hashbrown" ,rust-hashbrown-0.15) ("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.7) - ("rust-wasmparser" ,rust-wasmparser-0.216)))) + ("rust-wasmparser" ,rust-wasmparser-0.218)))) (home-page "https://github.com/gimli-rs/object") (synopsis "Unified interface for reading and writing object file formats") (description @@ -51460,58 +48465,6 @@ file formats.") ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-wasmparser" ,rust-wasmparser-0.57)))))) -(define-public rust-object-0.28 - (package - (inherit rust-object-0.29) - (name "rust-object") - (version "0.28.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "object" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0964501nlfh806mik3f9v6n05mx74qa0w7byvn0sqpwm5lprhb74")))) - (arguments - `(#:cargo-test-flags - (list "--release" "--" - "--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.11) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-memchr" ,rust-memchr-2) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-wasmparser" ,rust-wasmparser-0.57)))))) - -(define-public rust-object-0.27 - (package - (inherit rust-object-0.28) - (name "rust-object") - (version "0.27.1") - (source (origin - (method url-fetch) - (uri (crate-uri "object" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ygv9zgi9wz6q5f2z9xn72i0c97jjr1dgj30kbyicdhxk8zivb37")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-flate2" ,rust-flate2-1) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-memchr" ,rust-memchr-2) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-wasmparser" ,rust-wasmparser-0.57)))))) - (define-public rust-object-pool-0.5 (package (name "rust-object-pool") @@ -51586,56 +48539,66 @@ 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 +(define-public rust-octocrab-0.41 (package - (name "rust-oboe") - (version "0.4.6") - (source (origin - (method url-fetch) - (uri (crate-uri "oboe" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hd5626s8qkpgrl2alwz73i8rh1rzifbxj6pxz7zp82gicskrxi7")))) - (build-system cargo-build-system) - (arguments - (list #:skip-build? #t ; requires Android libs - #:cargo-inputs `(("rust-jni" ,rust-jni-0.19) - ("rust-ndk" ,rust-ndk-0.6) - ("rust-ndk-context" ,rust-ndk-context-0.1) - ("rust-num-derive" ,rust-num-derive-0.3) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-oboe-sys" ,rust-oboe-sys-0.4)))) - (home-page "https://github.com/katyo/oboe-rs") - (synopsis - "Safe interface for oboe an android library for low latency audio IO") - (description - "Safe interface for oboe an android library for low latency audio IO.") - (license license:asl2.0))) - -(define-public rust-oboe-sys-0.4 - (package - (name "rust-oboe-sys") - (version "0.4.5") - (source (origin - (method url-fetch) - (uri (crate-uri "oboe-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1gcl494yy880h2gfgsbdd32g2h0s1n94v58j5hil9mrf6yvsnw1k")))) + (name "rust-octocrab") + (version "0.41.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "octocrab" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vzsvbhc8cfnamnb4wqvs3i4avqbdx4n8f0ssy8r9lzvdqgx3pz2")))) (build-system cargo-build-system) (arguments - (list #:skip-build? #t ; requires Android libs - #:cargo-inputs `(("rust-bindgen" ,rust-bindgen-0.59) - ("rust-cc" ,rust-cc-1) - ("rust-fetch-unroll" ,rust-fetch-unroll-0.3)))) - (home-page "https://github.com/katyo/oboe-rs") - (synopsis - "Unsafe bindings for oboe an android library for low latency audio IO") + `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.22) + ("rust-bytes" ,rust-bytes-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-either" ,rust-either-1) + ("rust-futures" ,rust-futures-0.3) + ("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-hyper" ,rust-hyper-1) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.27) + ("rust-hyper-timeout" ,rust-hyper-timeout-0.5) + ("rust-hyper-tls" ,rust-hyper-tls-0.6) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-jsonwebtoken" ,rust-jsonwebtoken-9) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-secrecy" ,rust-secrecy-0.10) + ("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-snafu" ,rust-snafu-0.8) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower" ,rust-tower-0.5) + ("rust-tower-http" ,rust-tower-http-0.6) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.22) + ("rust-crypto-box" ,rust-crypto-box-0.8) + ("rust-graphql-client" ,rust-graphql-client-0.14) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4) + ("rust-wiremock" ,rust-wiremock-0.6)))) + (native-inputs (list nss-certs-for-test)) + (home-page "https://github.com/XAMPPRocky/octocrab") + (synopsis "Extensible GitHub API client") (description - "Unsafe bindings for oboe an android library for low latency audio IO.") - (license license:asl2.0))) + "This package provides a modern, extensible @code{GitHub} API client.") + (license (list license:expat license:asl2.0)))) (define-public rust-odbc-api-0.36 (package @@ -51687,20 +48650,46 @@ local files.") (description "This package provides ODBC FFI bindings.") (license license:expat))) +(define-public rust-odds-0.4 + (package + (name "rust-odds") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "odds" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17jd5fjcrlya7dbnnj0v8s83l3jhlajyljmkcy49pxsvxj9zdsdz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.2) + ("rust-rawslice" ,rust-rawslice-0.1) + ("rust-unchecked-index" ,rust-unchecked-index-0.2)) + #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-memchr" ,rust-memchr-2) + ("rust-quickcheck" ,rust-quickcheck-0.9)))) + (home-page "https://github.com/bluss/odds") + (synopsis "Extra functionality for slices, strings and other things") + (description + "Odds and ends collection miscellania. Extra functionality for +slices (@code{.find()}, @code{RevSlice}), strings and other things. +Things in odds may move to more appropriate crates if we find them.") + (license (list license:expat license:asl2.0)))) + (define-public rust-odds-0.3 (package + (inherit rust-odds-0.4) (name "rust-odds") (version "0.3.1") (source (origin (method url-fetch) (uri (crate-uri "odds" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0rdnxa0na4897yb0svb3figz35g4imxjv61yfm2j21gbh5q8v8d9")))) - (build-system cargo-build-system) + (base32 "0rdnxa0na4897yb0svb3figz35g4imxjv61yfm2j21gbh5q8v8d9")))) (arguments `(#:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.1) @@ -51710,14 +48699,7 @@ local files.") (("rust-itertools" ,rust-itertools-0.7) ("rust-lazy-static" ,rust-lazy-static-0.2) ("rust-memchr" ,rust-memchr-2) - ("rust-quickcheck" ,rust-quickcheck-0.4)))) - (home-page "https://github.com/bluss/odds") - (synopsis "Extra functionality for slices, strings and other things") - (description - "Odds and ends collection miscellania. Extra functionality for -slices (@code{.find()}, @code{RevSlice}), strings and other things. -Things in odds may move to more appropriate crates if we find them.") - (license (list license:asl2.0 license:expat)))) + ("rust-quickcheck" ,rust-quickcheck-0.4)))))) (define-public rust-odds-0.2 (package @@ -51745,30 +48727,32 @@ Things in odds may move to more appropriate crates if we find them.") ("rust-memchr" ,rust-memchr-2) ("rust-quickcheck" ,rust-quickcheck-0.4)))))) -(define-public rust-ogg-0.8 +(define-public rust-oem-cp-2 (package - (name "rust-ogg") - (version "0.8.0") - (source (origin - (method url-fetch) - (uri (crate-uri "ogg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vjxmqcv9252aj8byy70iy2krqfjknfcxg11lcyikj11pzlb8lb9")))) + (name "rust-oem-cp") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "oem_cp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r0fn4bnmc78pkqhvzjjbm1zidgzvryspdz6hsdb1nml5a83h09k")))) (build-system cargo-build-system) (arguments - (list #:cargo-inputs - `(("rust-byteorder" ,rust-byteorder-1) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-tokio-io" ,rust-tokio-io-0.1)) - #:cargo-development-inputs - `(("rust-rand" ,rust-rand-0.3)))) - (home-page "https://github.com/RustAudio/ogg") - (synopsis "Ogg container decoder and encoder written in pure Rust") - (description "An Ogg decoder and encoder. Implements the xiph.org Ogg -spec in pure Rust.") + `(#:cargo-inputs (("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/tats-u/rust-oem-cp/") + (synopsis + "Handle OEM code pages (e.g. CP{437,737,850}) for single byte character sets") + (description + "This package provides a rust library that handles OEM code pages (e.g. +CP{437,737,850}) for single byte character sets.") (license license:expat))) (define-public rust-omnipath-0.1 @@ -51788,6 +48772,114 @@ spec in pure Rust.") (description "This package provides a path utility library.") (license (list license:expat license:asl2.0)))) +(define-public rust-once-cell-1 + (package + (name "rust-once-cell") + (version "1.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "once_cell" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xb7rw1aqr7pa4z3b00y7786gyf8awx2gca3md73afy76dzgwq8j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-critical-section" ,rust-critical-section-1) + ("rust-parking-lot-core" ,rust-parking-lot-core-0.9) + ("rust-portable-atomic" ,rust-portable-atomic-1)) + #:cargo-development-inputs + (("rust-critical-section" ,rust-critical-section-1) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/matklad/once_cell") + (synopsis "Single assignment cells and lazy values") + (description + "This package provides two new cell-like types, @code{unsync::OnceCell} +and @code{sync::OnceCell}. OnceCell might store arbitrary non-copy types, can +be assigned to at most once and provide direct access to the stored +contents.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-oncemutex-0.1 + (package + (name "rust-oncemutex") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "oncemutex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qmzibgx46k3xfh0mbljp46cfy9vx62frrx5x1ph18zlcvj1vla4")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f)) ; `#![feature]` may not be used on the stable release channel + (home-page "https://github.com/reem/rust-once-mutex.git") + (synopsis + "Mutex providing one-time synchronized access, then safe unsynchronized access") + (description + "This package provides a mutex providing one-time synchronized access, then +safe unsynchronized access.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-onenote-parser-0.3 + (package + (name "rust-onenote-parser") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "onenote_parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12rj3ixhnxvl2mpkad3ng4b8fx4ynxhdlwzxba36c8i98ls57zzf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2) + ("rust-itertools" ,rust-itertools-0.9) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-paste" ,rust-paste-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uuid" ,rust-uuid-0.8) + ("rust-widestring" ,rust-widestring-0.4)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1)))) + (home-page "https://github.com/msiemens/onenote.rs") + (synopsis "Parser for Microsoft OneNote files") + (description + "This package provides a parser for Microsoft OneNote files.") + (license license:mpl2.0))) + +(define-public rust-onenote-parser-for-clamav + (package + (inherit rust-onenote-parser-0.3) + (name "rust-onenote-parser-for-clamav") + (source (origin + (inherit (package-source rust-onenote-parser-0.3)) + (patches + (search-patches + "rust-onenote-parser-for-clamav-deps.patch" + "rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch" + "rust-onenote-parser-for-clamav-property-type.patch")) + (snippet #~(begin + (delete-file "Cargo.toml") + (rename-file "Cargo.toml.orig" "Cargo.toml"))))) + (arguments + `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-paste" ,rust-paste-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-uuid" ,rust-uuid-1) + ("rust-widestring" ,rust-widestring-1)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1)))))) + (define-public rust-onig-6 (package (name "rust-onig") @@ -51841,35 +48933,6 @@ This crate exposes a set of unsafe functions which can then be used by other crates to create safe wrappers around Oniguruma.") (license license:expat))) -(define-public rust-once-cell-1 - (package - (name "rust-once-cell") - (version "1.20.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "once_cell" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xb7rw1aqr7pa4z3b00y7786gyf8awx2gca3md73afy76dzgwq8j")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-critical-section" ,rust-critical-section-1) - ("rust-parking-lot-core" ,rust-parking-lot-core-0.9) - ("rust-portable-atomic" ,rust-portable-atomic-1)) - #:cargo-development-inputs - (("rust-critical-section" ,rust-critical-section-1) - ("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/matklad/once_cell") - (synopsis "Single assignment cells and lazy values") - (description - "This package provides two new cell-like types, @code{unsync::OnceCell} -and @code{sync::OnceCell}. OnceCell might store arbitrary non-copy types, can -be assigned to at most once and provide direct access to the stored -contents.") - (license (list license:expat license:asl2.0)))) - (define-public rust-oorandom-11 (package (name "rust-oorandom") @@ -51929,14 +48992,14 @@ contents.") (define-public rust-open-5 (package (name "rust-open") - (version "5.1.2") + (version "5.3.1") (source (origin (method url-fetch) (uri (crate-uri "open" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ciy22dh82rdgmmsiai2wksx7sj9abb4ddnmxpqxnpfqapw0z7s4")))) + (base32 "177npnl443gln9ypzcpsj5fjw0yyslg2bai093740p6ip3q55k9y")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-is-wsl" ,rust-is-wsl-0.4) @@ -51999,24 +49062,6 @@ the system.") (("rust-pathdiff" ,rust-pathdiff-0.2) ("rust-windows-sys" ,rust-windows-sys-0.36)))))) -(define-public rust-open-1 - (package - (inherit rust-open-2) - (name "rust-open") - (version "1.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "open" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00828zcxdy3r38inz48jgnszgvqgi1a3bi2rrhij86mqsqq7msnw")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-opener-0.7 (package (name "rust-opener") @@ -52041,87 +49086,17 @@ the system.") the default program configured on the system.") (license (list license:expat license:asl2.0)))) -(define-public rust-opener-0.6 - (package - (inherit rust-opener-0.7) - (name "rust-opener") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "opener" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1217aqxl8srr7v0bcc174yf5apaxjmzg0j62x8kb772g2yvdqqkc")) - (snippet - #~(begin (use-modules (guix build utils)) - ;; Don't demand vendored dbus. - (substitute* "Cargo.toml" - ((".*vendored.*") "")))))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-dbus" ,rust-dbus-0.9) - ("rust-normpath" ,rust-normpath-1) - ("rust-url" ,rust-url-2) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-version-sync" ,rust-version-sync-0.9)))))) - -(define-public rust-opener-0.5 - (package - (inherit rust-opener-0.6) - (name "rust-opener") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "opener" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01ghahdn64lw4whj0p70vmzivrdlmca2629gplalq99pirkiag19")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-version-sync" ,rust-version-sync-0.9)))))) - -(define-public rust-openssl-macros-0.1 - (package - (name "rust-openssl-macros") - (version "0.1.0") - (source (origin - (method url-fetch) - (uri (crate-uri "openssl-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0v3kgnzbadrf9c06q4cqmbjas53av73n5w7wwz3n0nb6257y80dm")))) - (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/sfackler/rust-openssl") - (synopsis "Internal macros used by the openssl crate") - (description "This package provides internal macros used by the openssl -crate.") - (license (list license:expat license:asl2.0)))) - (define-public rust-openssl-0.10 (package (name "rust-openssl") - (version "0.10.64") + (version "0.10.68") (source (origin (method url-fetch) (uri (crate-uri "openssl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "07vb455yh08qh3n493ssw1qsa3zg3zfj438kk2180453hq94i84m")) + "1xbiz2bmba2fibg70s462yk2fndp3f9vz11c7iw0ilh2y54bqx31")) (snippet #~(begin (use-modules (guix build utils)) (substitute* "Cargo.toml" @@ -52137,7 +49112,7 @@ crate.") ("rust-openssl-macros" ,rust-openssl-macros-0.1) ("rust-openssl-sys" ,rust-openssl-sys-0.9)) #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.3)))) + (("rust-hex" ,rust-hex-0.4)))) (native-inputs (list pkg-config)) (inputs @@ -52156,11 +49131,12 @@ crate.") (origin (method url-fetch) (uri (crate-uri "openssl" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0cw767rbasg4dbsfcsnxqm3q5ljkv6s1jq0a2p82xi5a8ii7n4f4")))) + (base32 "0cw767rbasg4dbsfcsnxqm3q5ljkv6s1jq0a2p82xi5a8ii7n4f4")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments `(#:skip-build? #t ; Build depends on openssl-1.0. #:cargo-inputs @@ -52174,14 +49150,30 @@ crate.") (("rust-net2" ,rust-net2-0.2) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-winapi" ,rust-winapi-0.2) - ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))))))) + ("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2)))))) + +(define-public rust-openssl-macros-0.1 + (package + (name "rust-openssl-macros") + (version "0.1.1") + (source (origin + (method url-fetch) + (uri (crate-uri "openssl-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "173xxvfc63rr5ybwqwylsir0vq6xsj4kxiv4hmg4c3vscdmncj59")))) + (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/sfackler/rust-openssl") + (synopsis "Internal macros used by the openssl crate") + (description "This package provides internal macros used by the openssl +crate.") + (license (list license:expat license:asl2.0)))) (define-public rust-openssl-probe-0.1 (package @@ -52282,25 +49274,19 @@ system for OpenSSL.") (origin (method url-fetch) (uri (crate-uri "openssl-sys-extras" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1ymrmfnknyjji74fflbnnq9r5ihx25h0vgs5y203vl6klzdy3i8i")))) + (base32 "1ymrmfnknyjji74fflbnnq9r5ihx25h0vgs5y203vl6klzdy3i8i")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (build-system cargo-build-system) (arguments `(#:skip-build? #t ; Depends on openssl-1.0. #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-openssl-sys" ,rust-openssl-sys-0.7) - ("rust-gcc" ,rust-gcc-0.3)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))))) + ("rust-gcc" ,rust-gcc-0.3)))) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "Extra FFI bindings to OpenSSL that require a C shim") @@ -52360,6 +49346,30 @@ framework.") (description "This package provides an OPML parser for Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-optfield-0.3 + (package + (name "rust-optfield") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "optfield" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "079a5n7lhqsj444fkgk580vra5v2nhym7czwnky9iip9rljz0ngs")))) + (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-paste" ,rust-paste-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/roignpar/optfield") + (synopsis "Macro that generates structs with optional fields") + (description + "This package provides a macro that generates structs with optional fields.") + (license (list license:expat license:asl2.0)))) + (define-public rust-optick-1 (package (name "rust-optick") @@ -52562,19 +49572,21 @@ PartialOrd types, like floats.") (define-public rust-ordered-float-4 (package (name "rust-ordered-float") - (version "4.2.0") + (version "4.5.0") (source (origin (method url-fetch) (uri (crate-uri "ordered-float" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kjqcvvbcsibbx3hnj7ag06bd9gv2zfi5ja6rgyh2kbxbh3zfvd7")))) + (base32 "0ppqpjrri5r5vdz06na24d00cjaz67ambd1hcq13iy8vf3wy2pn6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) ("rust-borsh" ,rust-borsh-1) ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-derive-visitor" ,rust-derive-visitor-0.4) + ("rust-num-cmp" ,rust-num-cmp-0.1) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-proptest" ,rust-proptest-1) ("rust-rand" ,rust-rand-0.8) @@ -52656,28 +49668,47 @@ PartialOrd types, like floats.") ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))))) -(define-public rust-ordered-multimap-0.4 +(define-public rust-ordered-multimap-0.7 (package (name "rust-ordered-multimap") - (version "0.4.3") + (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "ordered-multimap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jljv1257pfyf855jlwwas5mqkzk40b9lqfx40f73qbpf7ildmyc")))) + (base32 "0ygg08g2h381r3zbclba4zx4amm25zd2hsqqmlxljc00mvf3q829")))) (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)))) + `(#:cargo-inputs (("rust-dlv-list" ,rust-dlv-list-0.5) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-coverage-helper" ,rust-coverage-helper-0.2) + ("rust-serde-test" ,rust-serde-test-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.4 + (package + (inherit rust-ordered-multimap-0.7) + (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")))) + (arguments + `(#:cargo-inputs (("rust-dlv-list" ,rust-dlv-list-0.3) + ("rust-hashbrown" ,rust-hashbrown-0.12) + ("rust-serde" ,rust-serde-1)))))) + (define-public rust-ordered-multimap-0.3 (package (inherit rust-ordered-multimap-0.4) @@ -52722,19 +49753,6 @@ insertion order across all keys and values.") external events in Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-ordered-stream-0.1 - (package - (inherit rust-ordered-stream-0.2) - (name "rust-ordered-stream") - (version "0.1.4") - (source (origin - (method url-fetch) - (uri (crate-uri "ordered-stream" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "140c0h0ap30mcfhdk2xy1q9iqyb450wh11dglshh2y6vmjyj82in")))))) - (define-public rust-ordermap-0.3 (package (name "rust-ordermap") @@ -52853,19 +49871,19 @@ under its new name.") (define-public rust-os-pipe-1 (package (name "rust-os-pipe") - (version "1.1.5") + (version "1.2.1") (source (origin (method url-fetch) (uri (crate-uri "os_pipe" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1fcgfg3ddnsh6vfhkk579p7z786kh1khb1dar4g4k1iri4xrq4ap")))) + (base32 "10nrh0i507560rsiy4c79fajdmqgbr6dha2pbl9mncrlaq52pzaz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-windows-sys" ,rust-windows-sys-0.52)))) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) (native-inputs (list python-minimal-wrapper)) ; For the tests. (home-page "https://github.com/oconnor663/os_pipe.rs") @@ -52893,23 +49911,6 @@ under its new name.") ("rust-winapi" ,rust-winapi-0.3)))) (native-inputs (list)))) -(define-public rust-os-pipe-0.8 - (package - (inherit rust-os-pipe-0.9) - (name "rust-os-pipe") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "os_pipe" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "049ax8shxik7mm68r2nf7xnrcq3z3p7hz54sbrcxwywxqsjdzs41")))) - (arguments - (list #:cargo-inputs - `(("rust-nix" ,rust-nix-0.15) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-os-release-0.1 (package (name "rust-os-release") @@ -52993,65 +49994,30 @@ platform-native strings.") "11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg")))) (arguments `(#:skip-build? #t)))) -(define-public rust-ouroboros-macro-0.17 +(define-public rust-ouroboros-0.18 (package - (name "rust-ouroboros-macro") - (version "0.17.2") + (name "rust-ouroboros") + (version "0.18.4") (source (origin (method url-fetch) - (uri (crate-uri "ouroboros_macro" version)) + (uri (crate-uri "ouroboros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1y5nmgnng4i23g333cvp8p7j3i3438r9g85fq1wafk4vqqjn4k7c")))) + (base32 "0rsazk2hh2w626585scb7ylaf500y5insp3rnkbdwnm2jq4s4kwl")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) - ("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) + `(#:cargo-inputs (("rust-aliasable" ,rust-aliasable-0.1) + ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.18) + ("rust-static-assertions" ,rust-static-assertions-1)))) (home-page "https://github.com/someguynamedjosh/ouroboros") - (synopsis "Proc macro for ouroboros") - (description - "This package provides a proc macro for the @code{ouroboros} crate.") + (synopsis "Self-referential struct generation") + (description "Easy, safe self-referential struct generation for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-ouroboros-macro-0.15 - (package - (inherit rust-ouroboros-macro-0.17) - (name "rust-ouroboros-macro") - (version "0.15.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "ouroboros_macro" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dsn37vds4qpkzscmwaw17dv3m5m7a7j9qby8dsac19ks3622zaz")))) - (arguments - `(#:cargo-inputs - (("rust-inflector" ,rust-inflector-0.11) - ("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-ouroboros-macro-0.14 - (package - (inherit rust-ouroboros-macro-0.15) - (name "rust-ouroboros-macro") - (version "0.14.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ouroboros_macro" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11cav04x82liknlrv50lpl1i1ln2jw4isdqzdjnjsg0pcpvwik9r")))))) - (define-public rust-ouroboros-0.17 (package + (inherit rust-ouroboros-0.18) (name "rust-ouroboros") (version "0.17.2") (source @@ -53061,15 +50027,10 @@ platform-native strings.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0m69j8288k3b3iyblngdfgraahnk9d5maw5a5y4fmprr1lr0gfp2")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-aliasable" ,rust-aliasable-0.1) ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.17) - ("rust-static-assertions" ,rust-static-assertions-1)))) - (home-page "https://github.com/someguynamedjosh/ouroboros") - (synopsis "Self-referential struct generation") - (description "Easy, safe self-referential struct generation for Rust.") - (license (list license:expat license:asl2.0)))) + ("rust-static-assertions" ,rust-static-assertions-1)))))) (define-public rust-ouroboros-0.15 (package @@ -53106,6 +50067,84 @@ platform-native strings.") ("rust-ouroboros-macro" ,rust-ouroboros-macro-0.14) ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))))) +(define-public rust-ouroboros-macro-0.18 + (package + (name "rust-ouroboros-macro") + (version "0.18.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "ouroboros_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gb5njxh9clp9krjc7kfbz17g5racjlld1bsjkjx13sjs7mdxc1r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-heck" ,rust-heck-0.4) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-proc-macro2-diagnostics" ,rust-proc-macro2-diagnostics-0.10) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/someguynamedjosh/ouroboros") + (synopsis "Proc macro for ouroboros") + (description + "This package provides a proc macro for the @code{ouroboros} crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ouroboros-macro-0.17 + (package + (inherit rust-ouroboros-macro-0.18) + (name "rust-ouroboros-macro") + (version "0.17.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ouroboros_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y5nmgnng4i23g333cvp8p7j3i3438r9g85fq1wafk4vqqjn4k7c")))) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + +(define-public rust-ouroboros-macro-0.15 + (package + (inherit rust-ouroboros-macro-0.17) + (name "rust-ouroboros-macro") + (version "0.15.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "ouroboros_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dsn37vds4qpkzscmwaw17dv3m5m7a7j9qby8dsac19ks3622zaz")))) + (arguments + `(#:cargo-inputs + (("rust-inflector" ,rust-inflector-0.11) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-ouroboros-macro-0.14 + (package + (inherit rust-ouroboros-macro-0.15) + (name "rust-ouroboros-macro") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ouroboros_macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11cav04x82liknlrv50lpl1i1ln2jw4isdqzdjnjsg0pcpvwik9r")))))) + (define-public rust-overload-0.1 (package (name "rust-overload") @@ -53126,61 +50165,40 @@ platform-native strings.") "This package provides a macro to simplify operator overloading.") (license license:expat))) -(define-public rust-owned-ttf-parser-0.19 +(define-public rust-owned-ttf-parser-0.25 (package (name "rust-owned-ttf-parser") - (version "0.19.0") - (source (origin - (method url-fetch) - (uri (crate-uri "owned_ttf_parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "192v6mjgy2fv7z8n7wm6548pikngcc293l9qh8xdc4s147iffvbh")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-ttf-parser" ,rust-ttf-parser-0.19)))) - (home-page "https://github.com/alexheretic/owned-ttf-parser") - (synopsis "Ttf-parser plus support for owned data") - (description - "This package provides a ttf-parser plus support for owned data.") - (license license:asl2.0))) - -(define-public rust-owo-colors-4 - (package - (name "rust-owo-colors") - (version "4.0.0") + (version "0.25.0") (source (origin (method url-fetch) - (uri (crate-uri "owo-colors" version)) + (uri (crate-uri "owned_ttf_parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0grsk47cllj0s4nc4qxvy4gdhj2lyiglbqx4lmw2m7grdmq59zya")))) + (base32 "1i5jhazmm87nf8wbqm76vjvncmcv28ghpqm4170q2aivpydp3v12")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-supports-color" ,rust-supports-color-2)))) - (home-page "https://github.com/jam1garner/owo-colors") - (synopsis "Zero-allocation terminal colors that'll make people go owo") + `(#:cargo-inputs (("rust-ttf-parser" ,rust-ttf-parser-0.25)))) + (home-page "https://github.com/alexheretic/owned-ttf-parser") + (synopsis "Ttf-parser plus support for owned data") (description - "This package provides zero-allocation terminal colors that'll make people go -owo.") - (license license:expat))) + "This package provides a ttf-parser plus support for owned data.") + (license license:asl2.0))) -(define-public rust-owo-colors-3 +(define-public rust-owned-ttf-parser-0.19 (package - (inherit rust-owo-colors-4) - (name "rust-owo-colors") - (version "3.5.0") + (inherit rust-owned-ttf-parser-0.25) + (name "rust-owned-ttf-parser") + (version "0.19.0") (source (origin (method url-fetch) - (uri (crate-uri "owo-colors" version)) + (uri (crate-uri "owned_ttf_parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0vyvry6ba1xmpd45hpi6savd8mbx09jpmvnnwkf6z62pk6s4zc61")))) + "192v6mjgy2fv7z8n7wm6548pikngcc293l9qh8xdc4s147iffvbh")))) (arguments - `(#:cargo-inputs (("rust-supports-color" ,rust-supports-color-1)))))) + `(#:cargo-inputs (("rust-ttf-parser" ,rust-ttf-parser-0.19)))))) (define-public rust-owned-ttf-parser-0.6 (package @@ -53244,6 +50262,58 @@ normally prevent moving a type that has been borrowed from.") (list #:cargo-inputs `(("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))))) +(define-public rust-owo-colors-4 + (package + (name "rust-owo-colors") + (version "4.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "owo-colors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mms4sbisxm1w8v08qz85m90sv861xg4ahil85587kb9cmzpcdzv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-supports-color" ,rust-supports-color-3) + ("rust-supports-color" ,rust-supports-color-2)))) + (home-page "https://github.com/jam1garner/owo-colors") + (synopsis "Zero-allocation terminal colors that'll make people go owo") + (description + "This package provides zero-allocation terminal colors that'll make people go +owo.") + (license license:expat))) + +(define-public rust-owo-colors-3 + (package + (inherit rust-owo-colors-4) + (name "rust-owo-colors") + (version "3.5.0") + (source (origin + (method url-fetch) + (uri (crate-uri "owo-colors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vyvry6ba1xmpd45hpi6savd8mbx09jpmvnnwkf6z62pk6s4zc61")))) + (arguments + `(#:cargo-inputs (("rust-supports-color" ,rust-supports-color-1)))))) + +(define-public rust-owo-colors-1 + (package + (inherit rust-owo-colors-4) + (name "rust-owo-colors") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "owo-colors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mbs3z0c6p48wh96paa230xf6c6h8nhyyk1d118pybqwx7mv91i3")))) + (arguments + `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2)))))) + (define-public rust-packed-simd-0.3 (package (name "rust-packed-simd") @@ -53317,46 +50387,6 @@ normally prevent moving a type that has been borrowed from.") (description "Portable Packed SIMD vectors.") (license (list license:expat license:asl2.0)))) -(define-public rust-packed-struct-0.3 - (package - (name "rust-packed-struct") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "packed_struct" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1pvc0b8zpwlwx7kmvnvzh06nfdfrlqxf3p1xr0k1b3xm33xhzcd2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags ; Skip the doctests. - '("--release" "--lib" "--bins" "--tests") - #:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "http://www.hashmismatch.net/libraries/packed-struct/") - (synopsis "Binary-level structure packing and unpacking generator") - (description "This package provides bit-level packing an unpacking -of structs. Tkhe library provides a meta-programming approach, using -attributes to define fields and how they should be packed. The resulting -trait implementations provide safe packing, unpacking and runtime debugging -formatters with per-field documentation generated for each structure. - -@itemize -@item Plain Rust structures, decorated with attributes -@item MSB or LSB integers of user-defined bit widths -@item Primitive enum code generation helper -@item MSB0 or LSB0 bit positioning -@item Documents the field's packing table -@item Runtime packing visualization -@item Nested packed types -@item Arrays of packed structures as fields -@item Reserved fields, their bits are always 0 or 1 -@end itemize") - ;; User can choose either license. - (license (list license:expat license:asl2.0)))) - (define-public rust-pad-0.1 (package (name "rust-pad") @@ -53404,24 +50434,6 @@ formatters with per-field documentation generated for each structure. memory page size.") (license (list license:expat license:asl2.0)))) -(define-public rust-page-size-0.4 - (package - (inherit rust-page-size-0.6) - (name "rust-page-size") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "page_size" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1kgdv7f626jy4i2pq8czp4ppady4g4kqfa5ik4dah7mzzd4fbggf")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-spin" ,rust-spin-0.5) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-pager-0.16 (package (name "rust-pager") @@ -53468,64 +50480,6 @@ memory page size.") rustified API consider using pam.") (license (list license:expat license:asl2.0)))) -(define-public rust-pancurses-0.16 - (package - (name "rust-pancurses") - (version "0.16.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pancurses" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1w0gknaz07fzq7gw7zjg1bg9xr7srp2z3zksmjr9cc23gk1qn1fk")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-ncurses" ,rust-ncurses-5) - ("rust-pdcurses-sys" ,rust-pdcurses-sys-0.7) - ("rust-winreg" ,rust-winreg-0.5)))) - (home-page "https://github.com/ihalila/pancurses") - (synopsis "@code{curses} library for Rust") - (description "@code{pancurses} is a @code{curses} library for Rust.") - (license license:expat))) - -(define-public rust-parasail-sys-0.2 - (package - (name "rust-parasail-sys") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "parasail-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "156fwfdbcfpzmx4k274jqdp8jzmllmdnhd1ibnh7kgd9cp7ni6ac")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-build-flags '("-vv") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'set-shell-for-configure-script - (lambda _ - (setenv "SHELL" (which "sh")) - (setenv "CONFIG_SHELL" (which "sh"))))) - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)))) - (inputs - (list zlib)) - (native-inputs - (list libtool)) - (home-page "https://github.com/anp/parasailors") - (synopsis "Bindings to the parasail pairwise genetic sequence alignment library") - (description - "This packgae provides native bindings to the parasail pairwise genetic -sequence alignment library.") - (license license:expat))) - (define-public rust-pandoc-0.8 (package (name "rust-pandoc") @@ -53546,17 +50500,22 @@ sequence alignment library.") executable.") (license (list license:expat license:asl2.0)))) -(define-public rust-papergrid-0.11 +(define-public rust-papergrid-0.12 (package (name "rust-papergrid") - (version "0.11.0") + (version "0.12.0") (source (origin (method url-fetch) (uri (crate-uri "papergrid" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yzppnq3v1ivwqbrp4f7b13ijxirfykb64072vwngxsf083krm4s")))) + (base32 "09b7x34znfnm7lyzk8vajbazpw9xzsh8a4716c6vdsbx5barlhf7")) + (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 `testing_table` @@ -53569,24 +50528,23 @@ executable.") (home-page "https://github.com/zhiburt/tabled") (synopsis "Core library to print a table") (description - "Papergrid is a core library to print a table.") + "This package provides Papergrid is a core library to print a table.") (license license:expat))) -(define-public rust-papergrid-0.10 +(define-public rust-papergrid-0.11 (package - (inherit rust-papergrid-0.11) + (inherit rust-papergrid-0.12) (name "rust-papergrid") - (version "0.10.0") + (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "papergrid" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1j6hhk8lgzz53rzrlpxqrsq9gqi7cis445l7m7wn5nxny8avxk52")))) - (build-system cargo-build-system) + (base32 "1yzppnq3v1ivwqbrp4f7b13ijxirfykb64072vwngxsf083krm4s")))) (arguments - `(#:tests? #f ; use of undeclared crate or module `testing_table` + `(#:tests? #f ; use of undeclared crate or module `testing_table` #:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) ("rust-ansitok" ,rust-ansitok-0.2) ("rust-bytecount" ,rust-bytecount-0.6) @@ -53594,6 +50552,39 @@ executable.") ("rust-unicode-width" ,rust-unicode-width-0.1)) #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))))) +(define-public rust-parasail-sys-0.2 + (package + (name "rust-parasail-sys") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "parasail-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "156fwfdbcfpzmx4k274jqdp8jzmllmdnhd1ibnh7kgd9cp7ni6ac")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-build-flags '("-vv") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-shell-for-configure-script + (lambda _ + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh"))))) + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)))) + (inputs + (list zlib)) + (native-inputs + (list libtool)) + (home-page "https://github.com/anp/parasailors") + (synopsis "Bindings to the parasail pairwise genetic sequence alignment library") + (description + "This packgae provides native bindings to the parasail pairwise genetic +sequence alignment library.") + (license license:expat))) + (define-public rust-parasailors-0.3 (package (name "rust-parasailors") @@ -54012,7 +51003,7 @@ synchronization primitives.") `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-cloudabi" ,rust-cloudabi-0.0) + ("rust-cloudabi" ,rust-cloudabi-0.0.3) ("rust-libc" ,rust-libc-0.2) ("rust-petgraph" ,rust-petgraph-0.5) ("rust-redox-syscall" ,rust-redox-syscall-0.1) @@ -54036,7 +51027,7 @@ synchronization primitives.") `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-cloudabi" ,rust-cloudabi-0.0) + ("rust-cloudabi" ,rust-cloudabi-0.0.3) ("rust-libc" ,rust-libc-0.2) ("rust-petgraph" ,rust-petgraph-0.4) ("rust-redox-syscall" ,rust-redox-syscall-0.1) @@ -54063,7 +51054,7 @@ synchronization primitives.") `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) ("rust-cfg-if" ,rust-cfg-if-0.1) - ("rust-cloudabi" ,rust-cloudabi-0.0) + ("rust-cloudabi" ,rust-cloudabi-0.0.3) ("rust-libc" ,rust-libc-0.2) ("rust-petgraph" ,rust-petgraph-0.4) ("rust-rand" ,rust-rand-0.6) @@ -54120,29 +51111,6 @@ synchronization primitives.") ("rust-thread-id" ,rust-thread-id-3) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-parquet-format-2 - (package - (name "rust-parquet-format") - (version "2.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "parquet-format" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0wavvaf5dkfas1ms5kz093hq4mayldc0grfcyv4fsp9vahinpg55")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-thrift" ,rust-thrift-0.13)))) - (home-page "https://github.com/sunchao/parquet-format-rs") - (synopsis "Apache Parquet format for Rust") - (description - "This crate provides Apache Parquet format, hosting the Thrift definition -file and the generated @file{.rs} file.") - (license license:asl2.0))) - (define-public rust-parquet-format-async-temp-0.2 (package (name "rust-parquet-format-async-temp") @@ -54259,6 +51227,29 @@ parallelism and safety in mind.") (native-inputs '()) (inputs '()))) +(define-public rust-parse-datetime-0.6 + (package + (name "rust-parse-datetime") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "parse_datetime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l4n9gsflf1fksfrvyhqyf8bdwxrk0s705l7x86g4jnxwds08wm8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-nom" ,rust-nom-7) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/uutils/parse_datetime") + (synopsis "Parse human-readable time strings and converting them to a DateTime") + (description + "This package provides parsing human-readable time strings and converting +them to a @code{DateTime}.") + (license license:expat))) + (define-public rust-parse-display-0.8 (package (name "rust-parse-display") @@ -54387,30 +51378,46 @@ and would-block I/O operations.") ("rust-quickcheck" ,rust-quickcheck-0.6) ("rust-tokio-core" ,rust-tokio-core-0.1)))))) -(define-public rust-partial-io-0.2 +(define-public rust-partial-ref-0.3 (package - (inherit rust-partial-io-0.3) - (name "rust-partial-io") - (version "0.2.5") + (name "rust-partial-ref") + (version "0.3.3") (source (origin (method url-fetch) - (uri (crate-uri "partial-io" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "partial_ref" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "03iynvayh11a4mckhwflm5y1qmnkw5m3b20gzi1crpasndy3h8xx")))) + (base32 "034i78nmzp2bdapvpz8fgh14932aj0s70l5s1kj5d5j7n74qnwhg")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-futures" ,rust-futures-0.1) - ("rust-quickcheck" ,rust-quickcheck-0.4) - ("rust-tokio-io" ,rust-tokio-io-0.1)) - #:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.4) - ("rust-tokio-core" ,rust-tokio-core-0.1)))) - (license license:bsd-3))) + `(#:tests? #f ; use of undeclared crate or module `partial_ref_tests` + #:cargo-inputs (("rust-partial-ref-derive" ,rust-partial-ref-derive-0.3)))) + (home-page "https://github.com/jix/partial_ref") + (synopsis "Type checked partial references") + (description "This package provides type checked partial references.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-partial-ref-derive-0.3 + (package + (name "rust-partial-ref-derive") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "partial_ref_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10bm0pxwjph40z9pqwdzkkkbyz9n1h6lx69f6jjvb65qnln1s3ih")))) + (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/jix/partial_ref") + (synopsis "Derives for partial_ref") + (description "This package provides derives for partial_ref.") + (license (list license:expat license:asl2.0)))) (define-public rust-partition-identity-0.3 (package @@ -54742,22 +51749,36 @@ path (e.g. @code{foo/bar}, @code{foo\\bar} or @code{C:\\foo\\bar}) from/to a slash path (e.g. @code{foo/bar}, @code{C:/foo/bar}).") (license license:expat))) +(define-public rust-path-slash-0.1 + (package + (inherit rust-path-slash-0.2) + (name "rust-path-slash") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "path-slash" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15mni0f28mblwd97192c4zyyi6054yljmiqrdb6bx97ga69hk2j9")))) + (arguments + `(#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)))))) + (define-public rust-pathdiff-0.2 (package (name "rust-pathdiff") - (version "0.2.1") + (version "0.2.3") (source (origin (method url-fetch) (uri (crate-uri "pathdiff" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pa4dcmb7lwir4himg1mnl97a05b2z0svczg62l8940pbim12dc8")))) + (base32 "1lrqp4ip05df8dzldq6gb2c1sq2gs54gly8lcnv3rhav1qhwx56z")))) (build-system cargo-build-system) (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-camino" ,rust-camino-1)))) + (list #:cargo-inputs `(("rust-camino" ,rust-camino-1)) + #:cargo-development-inputs `(("rust-cfg-if" ,rust-cfg-if-1)))) (home-page "https://github.com/Manishearth/pathdiff") (synopsis "Library for diffing paths to obtain relative paths") (description @@ -54766,6 +51787,161 @@ relative path from a provided base directory path to the provided path.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pathfinder-geometry-0.5 + (package + (name "rust-pathfinder-geometry") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pathfinder_geometry" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lssir0s1cmrpzzrk49jm31nkssh2j715gryww6700x79rxpwyqb")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5)))) + (home-page "https://github.com/servo/pathfinder") + (synopsis "Basic SIMD-accelerated geometry/linear algebra") + (description "This package provides basic SIMD-accelerated geometry/linear +algebra.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-pathfinder-simd-0.5 + (package + (name "rust-pathfinder-simd") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pathfinder_simd" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zx6yjch2zwlnbrsq3ljnkwzs9jdf4cbh5wwjkjradahqnn4dzir")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-rustc-version" ,rust-rustc-version-0.3)))) + (home-page "https://github.com/servo/pathfinder") + (synopsis "Simple SIMD Rust library") + (description "This package provides a simple SIMD Rust library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-pathsearch-0.2 + (package + (name "rust-pathsearch") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pathsearch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01bvjyighsrb5bgk8vcwlr1mjv6pqxk4n2qrkhbigaw2wp2kp66s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/wez/wzsh") + (synopsis "Search for files in PATH") + (description "This package provides Search for files in PATH.") + (license license:expat))) + +(define-public rust-paw-1 + (package + (name "rust-paw") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "paw" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sc481y42rb08hmww525m4539ppl8k0w14kwxp13vg2dasdzrh09")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `async_await` has been stable since `1.39.0` + #:cargo-inputs + (("rust-paw-attributes" ,rust-paw-attributes-1) + ("rust-paw-raw" ,rust-paw-raw-1)) + #:cargo-development-inputs + (("rust-paw-structopt" ,rust-paw-structopt-1) + ("rust-runtime" ,rust-runtime-0.3) + ("rust-structopt" ,rust-structopt-0.2)))) + (home-page "https://github.com/rust-cli/paw") + (synopsis "CLI argument parser") + (description "This package provides a CLI argument parser.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-paw-attributes-1 + (package + (name "rust-paw-attributes") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "paw-attributes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fda1v7y5pfmg8d2v7m0pyvif6c44qjz914jjn718pdyclrmhd8g")))) + (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/rust-cli/paw") + (synopsis "Proc Macro attributes for the Paw crate") + (description "This package provides Proc Macro attributes for the Paw +crate.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-paw-raw-1 + (package + (name "rust-paw-raw") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "paw-raw" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wk76ipp34gjh42vivmgdkb2rgr26gwhn34gk7z5l378ixk5j2vz")))) + (build-system cargo-build-system) + (home-page "https://github.com/rust-cli/paw") + (synopsis "Traits to implement custom Paw implementations") + (description "This package provides traits to implement custom Paw +implementations.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-paw-structopt-1 + (package + (name "rust-paw-structopt") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "paw-structopt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1iwg83xqjpfgpy8wrq173cy7zgkyxfryd230sh34f5qsjdx7zap4")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `paw` + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-0.6) + ("rust-structopt" ,rust-structopt-0.2) + ("rust-syn" ,rust-syn-0.15)))) + (home-page "https://github.com/rust-cli/paw") + (synopsis "Structopt support for the Paw crate") + (description "This package provides Structopt support for the Paw crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pcap-1 (package (name "rust-pcap") @@ -54814,11 +51990,10 @@ path.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "14blflnbj87z3ajlj1hszsl6k7rwa338y4aw2yjm2j0xdpjvj4pr")))) - (native-inputs (list libpcap)) (arguments `(#:tests? #f ; can't find crate for `futures` #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) + (("rust-clippy" ,rust-clippy-0.0.302) ("rust-futures" ,rust-futures-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-mio" ,rust-mio-0.6) @@ -54869,9 +52044,9 @@ library.") `(#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.6) ("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/tkaitchuck/Mwc256XXA64") - (synopsis "Non-cryptographic psudo random number generator") + (synopsis "Non-cryptographic pseudo random number generator") (description - "This package provides a fast non-cryptographic psudo random number generator.") + "This package provides a fast non-cryptographic pseudo random number generator.") (license (list license:expat license:asl2.0)))) (define-public rust-pciid-parser-0.6 @@ -54998,29 +52173,6 @@ library.") "This package provides Low-level bindings to the PC/SC C API.") (license license:expat))) -(define-public rust-pdcurses-sys-0.7 - (package - (name "rust-pdcurses-sys") - (version "0.7.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pdcurses-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sqn552nz33bmd0d8lcx862lrbxg6fgk5djfblig2q7zjqkx4k88")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2)))) - (home-page "https://github.com/ihalila/pdcurses-sys") - (synopsis "FFI bindings for PDCurses") - (description - "This package provides FFI bindings for PDCurses implementation.") - (license license:expat))) - (define-public rust-pdqselect-0.1 (package (name "rust-pdqselect") @@ -55151,14 +52303,14 @@ the @code{take_while} predicate returned false after dropping the @code{by_ref}. (define-public rust-peg-0.8 (package (name "rust-peg") - (version "0.8.2") + (version "0.8.4") (source (origin (method url-fetch) (uri (crate-uri "peg" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qbgchzj0ajpgmasbxk65lqx9fwvxda21k6pifzqmhqrsavwl2s0")))) + (base32 "13qfwkmlmm3wbwzsrc3bkb16m1xjd5w7aah5cvpx2ipk5nq86li9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-peg-macros" ,rust-peg-macros-0.8) @@ -55211,14 +52363,14 @@ in Rust.") (define-public rust-peg-macros-0.8 (package (name "rust-peg-macros") - (version "0.8.2") + (version "0.8.4") (source (origin (method url-fetch) (uri (crate-uri "peg-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "141c76na4n9mfs1y22az59yanaz9kw5aabgnj28d2xlvhp71rrj6")))) + (base32 "09nlm6lw5zdpv9wnfr08836snsjnypaibr1cb1cs05pikhfnmbdx")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-peg-runtime" ,rust-peg-runtime-0.8) @@ -55252,14 +52404,14 @@ procedural macros for rust-peg. To use rust-peg, see the peg package.") (define-public rust-peg-runtime-0.8 (package (name "rust-peg-runtime") - (version "0.8.2") + (version "0.8.3") (source (origin (method url-fetch) (uri (crate-uri "peg-runtime" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08l9sad4mh5f0niizjk1k44n2z2s9cn8pfbq8v79h8zsc0nfkfin")))) + (base32 "0fmasxbncm503dcakq8qwkcbjihz4jklkrjy0v1190q79ksvibp3")))) (build-system cargo-build-system) (home-page "https://github.com/kevinmehall/rust-peg") (synopsis "Runtime support for rust-peg grammars") @@ -55284,17 +52436,17 @@ runtime support for rust-peg grammars. To use rust-peg, see the peg crate.") (define-public rust-pem-3 (package (name "rust-pem") - (version "3.0.3") + (version "3.0.4") (source (origin (method url-fetch) (uri (crate-uri "pem" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0463ya67xrxaqn4qs9iz7rsx4parcasd78pd9fv7yd1m81wwr3qv")))) + (base32 "1blgcn17wc41yxdzrxlsir5m6ds8r13ijmpsqda6lwwhwmjr6icf")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.22) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-proptest" ,rust-proptest-1) @@ -55366,8 +52518,39 @@ PEM-encoded data.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) +(define-public rust-pep440-rs-0.6 + (package + (name "rust-pep440-rs") + (version "0.6.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "pep440_rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11g35bi0gagfchjcdvpaj1i82gxkrc391fcpm2f0cblw2yissvj6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-pubgrub" ,rust-pubgrub-0.2) + ("rust-pyo3" ,rust-pyo3-0.22) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-unscanny" ,rust-unscanny-0.1)) + #:cargo-development-inputs (("rust-indoc" ,rust-indoc-2)))) + (home-page "https://github.com/konstin/pep440-rs") + (synopsis + "Library for python version numbers and specifiers, implementing PEP 440") + (description + "This package provides a library for python version numbers and specifiers, +implementing PEP 440.") + (license (list license:asl2.0 license:bsd-2)))) + (define-public rust-pep440-rs-0.3 (package + (inherit rust-pep440-rs-0.6) (name "rust-pep440-rs") (version "0.3.9") (source (origin @@ -55377,7 +52560,6 @@ PEM-encoded data.") (sha256 (base32 "0l3nyvfz8qq62dvilwfbzgdqxyz9kbf006s0gpx2qhhi79lia7gy")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) @@ -55386,18 +52568,52 @@ PEM-encoded data.") ("rust-serde" ,rust-serde-1) ("rust-tracing" ,rust-tracing-0.1) ("rust-unicode-width" ,rust-unicode-width-0.1)) - #:cargo-development-inputs (("rust-indoc" ,rust-indoc-2)))) - (home-page "https://github.com/konstin/pep440-rs") + #:cargo-development-inputs (("rust-indoc" ,rust-indoc-2)))))) + +;; Should be the same rust-pyo3 version as cargo-input rust-pep440-rs. +(define-public rust-pep508-rs-0.6 + (package + (name "rust-pep508-rs") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pep508_rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y99l63mi09vkl7b7qzdw5gn8kpq6kj26c9k280cik4rk947g21z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-derivative" ,rust-derivative-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pep440-rs" ,rust-pep440-rs-0.6) + ("rust-pyo3" ,rust-pyo3-0.22) + ("rust-pyo3-log" ,rust-pyo3-log-0.11) + ("rust-regex" ,rust-regex-1) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-url" ,rust-url-2) + ("rust-urlencoding" ,rust-urlencoding-2)) + #:cargo-development-inputs + (("rust-indoc" ,rust-indoc-2) + ("rust-log" ,rust-log-0.4) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-testing-logger" ,rust-testing-logger-0.1)))) + (home-page "https://github.com/konstin/pep508_rs") (synopsis - "Library for python version numbers and specifiers, implementing PEP 440") + "Library for python dependency specifiers, better known as PEP 508") (description - "This package provides a library for python version numbers and specifiers, -implementing PEP 440.") + "This package provides a library for python dependency specifiers, better +known as PEP 508.") (license (list license:asl2.0 license:bsd-2)))) -;; Should be the same rust-pyo3 version as cargo-input rust-pep440-rs. (define-public rust-pep508-rs-0.2 (package + (inherit rust-pep508-rs-0.6) (name "rust-pep508-rs") (version "0.2.1") (source (origin @@ -55407,7 +52623,6 @@ implementing PEP 440.") (sha256 (base32 "1qjkhh89xhjwhpjz2ppk5lp3mdm464gqx8sh9iyjpjk1p1xkswf0")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -55427,14 +52642,7 @@ implementing PEP 440.") (("rust-indoc" ,rust-indoc-2) ("rust-log" ,rust-log-0.4) ("rust-serde-json" ,rust-serde-json-1) - ("rust-testing-logger" ,rust-testing-logger-0.1)))) - (home-page "https://github.com/konstin/pep508_rs") - (synopsis - "Library for python dependency specifiers, better known as PEP 508") - (description - "This package provides a library for python dependency specifiers, better -known as PEP 508.") - (license (list license:asl2.0 license:bsd-2)))) + ("rust-testing-logger" ,rust-testing-logger-0.1)))))) (define-public rust-percent-encoding-2 (package @@ -55487,33 +52695,6 @@ known as PEP 508.") "This package provides a simple and simplistic string parsing library.") (license license:expat))) -(define-public rust-perf-event-open-sys-1 - (package - (name "rust-perf-event-open-sys") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "perf-event-open-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06jnb2jkwjinpj4hc41kbwsqbxdb1ywy5vci4ggly8rcvbsyv6yf")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2)))) - (home-page - "https://github.com/jimblandy/perf-event-open-sys.git") - (synopsis - "Unsafe, direct bindings for Linux's perf_event_open system call") - (description - "This package provides a unsafe, direct bindings for Linux's -perf_event_open system call, with associated types and constants.") - (license (list license:expat license:asl2.0)))) - (define-public rust-perf-event-0.4 (package (name "rust-perf-event") @@ -55541,6 +52722,33 @@ perf_event_open system call, with associated types and constants.") "This package provides a Rust interface to Linux performance monitoring.") (license (list license:expat license:asl2.0)))) +(define-public rust-perf-event-open-sys-1 + (package + (name "rust-perf-event-open-sys") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "perf-event-open-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06jnb2jkwjinpj4hc41kbwsqbxdb1ywy5vci4ggly8rcvbsyv6yf")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2)))) + (home-page + "https://github.com/jimblandy/perf-event-open-sys.git") + (synopsis + "Unsafe, direct bindings for Linux's perf_event_open system call") + (description + "This package provides a unsafe, direct bindings for Linux's +perf_event_open system call, with associated types and constants.") + (license (list license:expat license:asl2.0)))) + (define-public rust-permutohedron-0.2 (package (name "rust-permutohedron") @@ -55567,24 +52775,26 @@ algorithm.") (define-public rust-pest-2 (package (name "rust-pest") - (version "2.6.0") + (version "2.7.14") (source (origin (method url-fetch) (uri (crate-uri "pest" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0w3vaad35km41g2liasf0sfkgfhj190rn7mc9q9hf18zn2zq93p6")))) + (base32 "0hplghvnz8yhs4mgpy7854gkpp6ysr96fy7ircs0k4w33al556c7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) + ("rust-miette" ,rust-miette-7) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-thiserror" ,rust-thiserror-1) - ("rust-ucd-trie" ,rust-ucd-trie-0.1)))) + ("rust-ucd-trie" ,rust-ucd-trie-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-miette" ,rust-miette-7)))) (home-page "https://pest.rs/") (synopsis "The Elegant Parser") (description "The Elegant Parser.") @@ -55593,7 +52803,7 @@ algorithm.") (define-public rust-pest-derive-2 (package (name "rust-pest-derive") - (version "2.6.0") + (version "2.7.14") (source (origin (method url-fetch) @@ -55602,7 +52812,7 @@ algorithm.") (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1yzv982pypxrr2zwhd08xv40plr474p155i26aj2anl63k3x8ybb")))) + "1p82kbjm5dvflxgj9vl3q78n2v4l9khh2cwizm3kl4ibcdgkc56j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -55616,16 +52826,14 @@ algorithm.") (define-public rust-pest-generator-2 (package (name "rust-pest-generator") - (version "2.6.0") + (version "2.7.14") (source (origin (method url-fetch) (uri (crate-uri "pest_generator" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0zh7igibnn9d4skgx3vjy4q6nya2hjhw7vf8xd8vhdv40zqmnhvc")))) + (base32 "0khcyqjyd8pg1qcivh1xzk9613zbn983ycdclap1f5rh6ikmhmgb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -55633,7 +52841,7 @@ algorithm.") ("rust-pest-meta" ,rust-pest-meta-2) ("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://pest.rs/") (synopsis "Pest code generator") (description "Pest code generator.") @@ -55642,49 +52850,64 @@ algorithm.") (define-public rust-pest-meta-2 (package (name "rust-pest-meta") - (version "2.6.0") + (version "2.7.14") (source (origin (method url-fetch) (uri (crate-uri "pest_meta" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "04ala2f51zxninvajvvqk5gq80qxyp2v6cpfv3zkj7mpiqplankl")))) + (base32 "0gfhci2whiz3kiw2k2asj2lcj8rrrp4hm69whdvcpngl1jks4pdp")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file "Cargo.toml") + (rename-file "Cargo.toml.orig" "Cargo.toml") + (substitute* "Cargo.toml" + ;; Correct path to pest dependency. + (("pest = \\{ path = \"\\.\\./pest\",") "pest = {") + ;; Remove explicit version requirement on cargo. + (("cargo = \\{ version = \"") + "cargo = { version = \">=")))))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all test files included. - #:cargo-inputs - (("rust-once-cell" ,rust-once-cell-1) - ("rust-pest" ,rust-pest-2) - ("rust-sha2" ,rust-sha2-0.10)))) + `(#:tests? #f ;Not all test files included. + #:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-pest" ,rust-pest-2) + ("rust-cargo" ,rust-cargo)) + #:cargo-development-inputs (("rust-sha2" ,rust-sha2-0.10)))) (home-page "https://pest.rs") (synopsis "Pest meta language parser and validator") - (description - "Pest meta language parser and validator.") + (description "Pest meta language parser and validator.") (license (list license:asl2.0 license:expat)))) (define-public rust-petgraph-0.6 (package (name "rust-petgraph") - (version "0.6.0") + (version "0.6.5") (source (origin (method url-fetch) (uri (crate-uri "petgraph" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kw27zzhsa82d4qpkrz91vznyxi3wm0qg0i84grfaqqbkpxa44sa")))) + (base32 "1ns7mbxidnn2pqahbbjccxkrqkrll2i5rbxx43ns6rh6fn3cridl")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-fixedbitset" ,rust-fixedbitset-0.4) - ("rust-indexmap" ,rust-indexmap-1) + ("rust-indexmap" ,rust-indexmap-2) ("rust-quickcheck" ,rust-quickcheck-0.8) + ("rust-rayon" ,rust-rayon-1) ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1)))) + ("rust-serde-derive" ,rust-serde-derive-1)) + #:cargo-development-inputs (("rust-ahash" ,rust-ahash-0.7) + ("rust-bincode" ,rust-bincode-1) + ("rust-defmac" ,rust-defmac-0.2) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-odds" ,rust-odds-0.4) + ("rust-rand" ,rust-rand-0.5)))) (home-page "https://github.com/petgraph/petgraph") (synopsis "Graph data structure library") (description @@ -56314,6 +53537,46 @@ function data structures.") "Support code shared by PHF libraries.") (license license:expat))) +(define-public rust-phonenumber-0.3 + (package + (name "rust-phonenumber") + (version "0.3.6+8.13.36") + (source + (origin + (method url-fetch) + (uri (crate-uri "phonenumber" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ak9iwx0f5gx2hxycp87wwq4scinlh7fgcf8gplwb33vnlvn4x8i")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-either" ,rust-either-1) + ("rust-fnv" ,rust-fnv-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-7) + ("rust-quick-xml" ,rust-quick-xml-0.28) + ("rust-regex" ,rust-regex-1) + ("rust-regex-cache" ,rust-regex-cache-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-strum" ,rust-strum-0.24) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-rstest" ,rust-rstest-0.13) + ("rust-rstest-reuse" ,rust-rstest-reuse-0.6)))) + (home-page "https://github.com/whisperfish/rust-phonenumber") + (synopsis + "Library for parsing, formatting and validating international phone numbers") + (description + "This package provides a library for parsing, formatting and validating +international phone numbers.") + (license license:asl2.0))) + (define-public rust-pico-args-0.5 (package (name "rust-pico-args") @@ -56331,6 +53594,19 @@ function data structures.") (description "This package provides an ultra simple CLI arguments parser.") (license license:expat))) +(define-public rust-pico-args-0.4 + (package + (inherit rust-pico-args-0.5) + (name "rust-pico-args") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pico-args" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s646i0pbcck300rqldb21m151zxp66m3mdskha063blrfbcv2yv")))))) + (define-public rust-pikchr-0.1 (package (name "rust-pikchr") @@ -56355,55 +53631,28 @@ function data structures.") (define-public rust-pin-project-1 (package (name "rust-pin-project") - (version "1.1.5") + (version "1.1.7") (source (origin (method url-fetch) (uri (crate-uri "pin-project" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cxl146x0q7lawp0m1826wsgj8mmmfs6ja8q7m6f7ff5j6vl7gxn")))) + (base32 "15cvflrzsgp1zbl5gv37al2r62nl8lc37xkfwf70ql3fji7gcmxy")))) (build-system cargo-build-system) (arguments - ;; XXX: Tests fail with "error[E0433]: failed to resolve: use of - ;; undeclared crate or module `macrotest`". - `(#:tests? #false + `(#:tests? #false ; use of undeclared crate or module `trybuild` #:cargo-inputs (("rust-pin-project-internal" ,rust-pin-project-internal-1)) #:cargo-development-inputs - (("rust-macrotest" ,rust-macrotest-1) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-static-assertions" ,rust-static-assertions-1) - ("rust-trybuild" ,rust-trybuild-1)))) + (("rust-rustversion" ,rust-rustversion-1) + ("rust-static-assertions" ,rust-static-assertions-1)))) (home-page "https://github.com/taiki-e/pin-project") (synopsis "Crate for safe and ergonomic pin-projection") (description "This package provides a crate for safe and ergonomic pin-projection.") (license (list license:asl2.0 license:expat)))) -(define-public rust-ping-0.4 - (package - (name "rust-ping") - (version "0.4.1") - (source (origin - (method url-fetch) - (uri (crate-uri "ping" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0h8iyphd5c6k609635ja813isyplnzrlz8hgp0pfrb2v39xahw33")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Tests require network access. - #:cargo-inputs - (("rust-rand" ,rust-rand-0.8) - ("rust-socket2" ,rust-socket2-0.4) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/aisk/ping") - (synopsis "ICMP library for Rust") - (description "This package provides an ICMP library for Rust.") - (license license:expat))) - (define-public rust-pin-project-0.4 (package (inherit rust-pin-project-1) @@ -56434,17 +53683,17 @@ function data structures.") (define-public rust-pin-project-internal-1 (package (name "rust-pin-project-internal") - (version "1.1.5") + (version "1.1.7") (source (origin (method url-fetch) (uri (crate-uri "pin-project-internal" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0r9r4ivwiyqf45sv6b30l1dx282lxaax2f6gl84jwa3q590s8f1g")))) + (base32 "133mxf5vmvnvw4idw2y2lb5bxsza2xlyfl6psjy7mz3l12nmy3rw")))) (build-system cargo-build-system) (arguments - `(#:tests? #false + `(#:tests? #false ; use of undeclared crate or module `pin_project` #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) @@ -56480,14 +53729,14 @@ crate.") (define-public rust-pin-project-lite-0.2 (package (name "rust-pin-project-lite") - (version "0.2.13") + (version "0.2.15") (source (origin (method url-fetch) (uri (crate-uri "pin-project-lite" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0n0bwr5qxlf0mhn2xkl36sy55118s9qmvx2yl5f3ixkb007lbywa")) + (base32 "1zz4xif3iknfrpmvqmh0pcc9mx4cxm28jywqydir3pimcla1wnli")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -56495,16 +53744,10 @@ crate.") (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-macrotest" ,rust-macrotest-1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-serde" ,rust-serde-1) - ("rust-static-assertions" ,rust-static-assertions-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-trybuild" ,rust-trybuild-1)))) + `(#:tests? #f ; use of undeclared crate or module `trybuild` + #:cargo-development-inputs + (("rust-rustversion" ,rust-rustversion-1) + ("rust-static-assertions" ,rust-static-assertions-1)))) (home-page "https://github.com/taiki-e/pin-project-lite") (synopsis "Lightweight version of pin-project") (description "This package provides a lightweight version of pin-project @@ -56515,14 +53758,14 @@ written with declarative macros.") (package (inherit rust-pin-project-lite-0.2) (name "rust-pin-project-lite") - (version "0.1.11") + (version "0.1.12") (source (origin (method url-fetch) (uri (crate-uri "pin-project-lite" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0srgdb3vkx7ppcww1qr7a67c7n84y01lq35j9g44z4h1z8x145y9")))) + (base32 "0xx7f3wzc8ydvd1v2mmrxfypjchp52bphrirf08phbq8ba8n8yr5")))) (arguments `(#:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1) @@ -56547,6 +53790,29 @@ written with declarative macros.") (description "This crate provides utilities for pinning values on the stack.") (license (list license:expat license:asl2.0)))) +(define-public rust-ping-0.4 + (package + (name "rust-ping") + (version "0.4.1") + (source (origin + (method url-fetch) + (uri (crate-uri "ping" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0h8iyphd5c6k609635ja813isyplnzrlz8hgp0pfrb2v39xahw33")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests require network access. + #:cargo-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-socket2" ,rust-socket2-0.4) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/aisk/ping") + (synopsis "ICMP library for Rust") + (description "This package provides an ICMP library for Rust.") + (license license:expat))) + (define-public rust-pinot-0.1 (package (name "rust-pinot") @@ -56645,63 +53911,6 @@ along with strong support for variations and the core header tables.") #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)))))) -(define-public rust-pipewire-sys-0.7 - (package - (name "rust-pipewire-sys") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "pipewire-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0r4z0farzflycgfp6x7z65h57np4l1qnpj4r8z5lcwkkgd70h349")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66) - ("rust-libspa-sys" ,rust-libspa-sys-0.7) - ("rust-system-deps" ,rust-system-deps-6)))) - (native-inputs - (list pkg-config clang)) - (inputs - (list pipewire)) - (home-page "https://pipewire.org") - (synopsis "Rust FFI bindings for PipeWire") - (description - "This package provides Rust FFI bindings for @code{PipeWire}.") - (license license:expat))) - -(define-public rust-pipewire-0.7 - (package - (name "rust-pipewire") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "pipewire" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sg9cbvhp0s07a337zwli0xm40f8wkvm06d72nsr1s35vp40kl52")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-bitflags" ,rust-bitflags-2) - ("rust-libc" ,rust-libc-0.2) - ("rust-libspa" ,rust-libspa-0.7) - ("rust-libspa-sys" ,rust-libspa-sys-0.7) - ("rust-nix" ,rust-nix-0.26) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-pipewire-sys" ,rust-pipewire-sys-0.7) - ("rust-thiserror" ,rust-thiserror-1)))) - (native-inputs - (list pkg-config)) - (inputs - (list pipewire clang)) - (home-page "https://pipewire.org") - (synopsis "Rust bindings for PipeWire") - (description "This package provides Rust bindings for @code{PipeWire}.") - (license license:expat))) - (define-public rust-pkg-config-0.3 (package (name "rust-pkg-config") @@ -56806,14 +54015,14 @@ serialization library.") (define-public rust-platform-info-2 (package (name "rust-platform-info") - (version "2.0.2") + (version "2.0.5") (source (origin (method url-fetch) (uri (crate-uri "platform-info" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "03rhwsfhdr3sb6fxr0bmf7xav745m132y6vg05jzcfz5c149q9fn")))) + "06j5v6hg914lbdr732jfx5syx703l5qwy1qk6dm4zjyqznrswfbm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -57067,17 +54276,17 @@ both WASM and native applications") (description "This package provides utils for proc-macro.") (license (list license:asl2.0 license:expat)))) -(define-public rust-pnet-base-0.34 +(define-public rust-pnet-base-0.35 (package (name "rust-pnet-base") - (version "0.34.0") + (version "0.35.0") (source (origin (method url-fetch) (uri (crate-uri "pnet_base" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0k2z3jh6vw99bwl0ckpsd142n4yiscza1bmj3b86i2xk7bxzck7y")))) + (base32 "1xxj1ym32zqmy7m7ciiisv513rk9qis3p6x4mgrnmwbx0va91hgz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-no-std-net" ,rust-no-std-net-0.6) @@ -57089,6 +54298,23 @@ both WASM and native applications") "This crate implements fundamental base types and code used by pnet.") (license (list license:expat license:asl2.0)))) +(define-public rust-pnet-base-0.34 + (package + (inherit rust-pnet-base-0.35) + (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")))) + (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)))))) + (define-public rust-pnet-base-0.27 (package (inherit rust-pnet-base-0.34) @@ -57105,25 +54331,25 @@ both WASM and native applications") `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))))) -(define-public rust-pnet-datalink-0.34 +(define-public rust-pnet-datalink-0.35 (package (name "rust-pnet-datalink") - (version "0.34.0") + (version "0.35.0") (source (origin (method url-fetch) (uri (crate-uri "pnet_datalink" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zlq1z3y6flpqh0x2yqczxvzavwpr3mlazbzjv9vnzh6y2mm8n5d")))) + (base32 "1dx7a9j2n7r463w8dv0wn1vasqnkhrajs79f6cm10qz11gn717p7")))) (build-system cargo-build-system) (arguments `(#: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-pnet-base" ,rust-pnet-base-0.35) + ("rust-pnet-sys" ,rust-pnet-sys-0.35) ("rust-serde" ,rust-serde-1) ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/libpnet/libpnet") @@ -57132,6 +54358,28 @@ both WASM and native applications") "This crate implements cross-platform, datalink layer networking.") (license (list license:expat license:asl2.0)))) +(define-public rust-pnet-datalink-0.34 + (package + (inherit rust-pnet-datalink-0.35) + (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")))) + (arguments + `(#: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)))))) + (define-public rust-pnet-datalink-0.27 (package (inherit rust-pnet-datalink-0.34) @@ -57154,20 +54402,22 @@ both WASM and native applications") ("rust-serde" ,rust-serde-1) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-pnet-sys-0.34 +(define-public rust-pnet-sys-0.35 (package (name "rust-pnet-sys") - (version "0.34.0") + (version "0.35.0") (source (origin (method url-fetch) (uri (crate-uri "pnet_sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "004d28vbaxv3m55cd741mpjm34031c3p2dpp8kazcwxms7n0nz21")))) + (base32 "0jqgl34w5jckvby74nh89hjc94m8m6pz7hjh21s0hsyvsk9l6ikx")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Tries to use sockets. + `(#:cargo-test-flags '("--" + "--skip=test_get_socket_receive_timeout" + "--skip=test_set_socket_receive_timeout") #:cargo-inputs (("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/libpnet/libpnet") @@ -57176,6 +54426,23 @@ both WASM and native applications") "This crate providess access to network related system function and calls.") (license (list license:expat license:asl2.0)))) +(define-public rust-pnet-sys-0.34 + (package + (inherit rust-pnet-sys-0.35) + (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")))) + (arguments + `(#:tests? #f ; Tries to use sockets. + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-pnet-sys-0.27 (package (inherit rust-pnet-sys-0.34) @@ -57241,25 +54508,6 @@ applications.") (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 - (origin - (method url-fetch) - (uri (crate-uri "polars" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1655qd1khas4qm14k3hl3sh8zh2xaj505344qzm68fz98rfs553w")))) - (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)))))) - (define-public rust-polars-arrow-0.37 (package (name "rust-polars-arrow") @@ -57334,25 +54582,6 @@ applications.") "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 - (origin - (method url-fetch) - (uri (crate-uri "polars-arrow" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16aakfkiaqk71c3n3274r9ra44v0jrc8wwp5nqdr0srd5y6lii0w")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-arrow2" ,rust-arrow2-0.7) - ("rust-num" ,rust-num-0.4) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-polars-arrow-format-0.1 (package (name "rust-polars-arrow-format") @@ -57450,44 +54679,6 @@ applications.") "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 - (origin - (method url-fetch) - (uri (crate-uri "polars-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xjv2rja2pzcnn6sazgj2dqzy7gpbp57as6rcf0s0hnpcd054wb7")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-anyhow" ,rust-anyhow-1) - ("rust-arrow2" ,rust-arrow2-0.7) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-comfy-table" ,rust-comfy-table-1) - ("rust-hashbrown" ,rust-hashbrown-0.11) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-jsonpath-lib" ,rust-jsonpath-lib-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-ndarray" ,rust-ndarray-0.15) - ("rust-num" ,rust-num-0.4) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-polars-arrow" ,rust-polars-arrow-0.17) - ("rust-prettytable-rs" ,rust-prettytable-rs-0.8) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-distr" ,rust-rand-distr-0.3) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("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)))))) - (define-public rust-polars-error-0.37 (package (name "rust-polars-error") @@ -57592,41 +54783,6 @@ applications.") "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 - (origin - (method url-fetch) - (uri (crate-uri "polars-io" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0mq921184vwmadxz3996g0ilb4wiws3fajgxpvkkw1152pszb98i")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-anyhow" ,rust-anyhow-1) - ("rust-arrow2" ,rust-arrow2-0.7) - ("rust-csv-core" ,rust-csv-core-0.1) - ("rust-dirs" ,rust-dirs-3) - ("rust-flate2" ,rust-flate2-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-lexical" ,rust-lexical-6) - ("rust-memchr" ,rust-memchr-2) - ("rust-memmap2" ,rust-memmap2-0.5) - ("rust-num" ,rust-num-0.4) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-polars-arrow" ,rust-polars-arrow-0.17) - ("rust-polars-core" ,rust-polars-core-0.17) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-simdutf8" ,rust-simdutf8-0.1)))) - (native-inputs '()) - (inputs '()))) - (define-public rust-polars-json-0.37 (package (name "rust-polars-json") @@ -57699,29 +54855,6 @@ applications.") @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 - (origin - (method url-fetch) - (uri (crate-uri "polars-lazy" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qabh08q4978s33d2mn2m8c90spg21frr4lhpyxx2ngsw93scgns")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ahash" ,rust-ahash-0.7) - ("rust-itertools" ,rust-itertools-0.10) - ("rust-polars-arrow" ,rust-polars-arrow-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)))))) - (define-public rust-polars-ops-0.37 (package (name "rust-polars-ops") @@ -58231,51 +55364,39 @@ overloading without macros in Rust.") (arguments `(#:cargo-inputs (("rust-portable-atomic" ,rust-portable-atomic-1)))))) -(define-public rust-portaudio-rs-0.3 +(define-public rust-portable-pty-0.8 (package - (name "rust-portaudio-rs") - (version "0.3.2") - (source (origin - (method url-fetch) - (uri (crate-uri "portaudio-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0qnmc7amk0fzbcs985ixv0k4955f0fmpkhrl9ps9pk3cz7pvbdnd")))) + (name "rust-portable-pty") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "portable-pty" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gmh9ij90qwxx8gzvs6dj2vlc1ackv8zhd4mzfly3nq3586fhvl0")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-downcast-rs" ,rust-downcast-rs-1) + ("rust-filedescriptor" ,rust-filedescriptor-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) - ("rust-portaudio-sys" ,rust-portaudio-sys-0.1)))) - (native-inputs (list pkg-config)) - (inputs (list portaudio alsa-lib)) - (home-page "https://github.com/RustAudio/rust-portaudio") - (synopsis "Rust bindings for PortAudio a cross-platfomr audio library") - (description "Rusting bindings for PortAudio an open source, cross-platform -audio I/O library.") - (license license:expat))) - -(define-public rust-portaudio-sys-0.1 - (package - (name "rust-portaudio-sys") - (version "0.1.1") - (source (origin - (method url-fetch) - (uri (crate-uri "portaudio-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xdpywirpr1kqkbak7hnny62gmsc93qgc3ij3j2zskrvjpxa952i")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (native-inputs (list pkg-config)) - (inputs (list portaudio alsa-lib)) - (home-page "https://github.com/RustAudio/rust-portaudio") - (synopsis "Bindings for PortAudio a cross-platform audio library") - (description "Bindings for PortAudio an open source, cross-platform audio -I/O library.") + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.25) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serial" ,rust-serial-0.4) + ("rust-shared-library" ,rust-shared-library-0.1) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-winreg" ,rust-winreg-0.10)) + #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-smol" ,rust-smol-1)))) + (home-page "https://github.com/wez/wezterm") + (synopsis "Cross platform pty interface") + (description "This package provides a cross platform pty interface.") (license license:expat))) (define-public rust-postcard-1 @@ -58327,129 +55448,6 @@ I/O library.") (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") - (version "0.19.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "postgres" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1hnid1d78zrr8ph12lpvp5b2cpx2fsqqgqs2yn1q23c6g7jix1y7")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; tests require postgres server. - #:cargo-inputs - (("rust-bytes" ,rust-bytes-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-futures" ,rust-futures-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-postgres" ,rust-tokio-postgres-0.7)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3)))) - (home-page "https://github.com/sfackler/rust-postgres") - (synopsis "Native, synchronous PostgreSQL client") - (description - "This package provides a native, synchronous PostgreSQL client.") - (license license:expat))) - -(define-public rust-postgres-derive-0.4 - (package - (name "rust-postgres-derive") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "postgres-derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xqlf1gffy3q8hra3fm0vm9x8i5fkvi0qjl99d0xirxh3hidsmy8")))) - (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/sfackler/rust-postgres") - (synopsis "Internal crate used by postgres-types") - (description - "This is an internal crate used by postgres-types.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-postgres-protocol-0.6 - (package - (name "rust-postgres-protocol") - (version "0.6.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "postgres-protocol" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wxzs78zvz00bh3bhbbp9hnq9hg77f8h5pzjmcy9481fsdq0ygpz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-bytes" ,rust-bytes-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-hmac" ,rust-hmac-0.10) - ("rust-md-5" ,rust-md-5-0.9) - ("rust-memchr" ,rust-memchr-2) - ("rust-rand" ,rust-rand-0.8) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-stringprep" ,rust-stringprep-0.1)))) - (home-page "https://github.com/sfackler/rust-postgres") - (synopsis "Low level Postgres protocol APIs") - (description - "This package provides low level Postgres protocol APIs.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-postgres-types-0.2 - (package - (name "rust-postgres-types") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "postgres-types" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0brsqkydz0grfy60nc1d0hxa9jbpim0c7c52v467nrdpw4ql23s3")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-bit-vec" ,rust-bit-vec-0.6) - ("rust-bytes" ,rust-bytes-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-eui48" ,rust-eui48-0.4) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-geo-types" ,rust-geo-types-0.7) - ("rust-geo-types" ,rust-geo-types-0.6) - ("rust-postgres-derive" ,rust-postgres-derive-0.4) - ("rust-postgres-protocol" ,rust-postgres-protocol-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-time" ,rust-time-0.2) - ("rust-uuid" ,rust-uuid-0.8)))) - (home-page "https://github.com/sfackler/rust-postgres") - (synopsis "Conversions between Rust and Postgres values") - (description - "This package provides a Rust implementation for conversions between Rust -and Postgres values.") - (license (list license:expat license:asl2.0)))) - (define-public rust-powerfmt-0.2 (package (name "rust-powerfmt") @@ -58574,31 +55572,6 @@ programs.") #: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") - (version "0.4.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "pq-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1npz9756283pjq3lcpwss8xh1rw4sx8f6dz8cxdg90h5bbp5xhka")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))) - (native-inputs - (list postgresql)) - (home-page "https://crates.io/crates/pq-sys") - (synopsis "Auto-generated rust bindings for libpq") - (description "This package provides auto-generated rust bindings for -libpq.") - (license (list license:expat license:asl2.0)))) - (define-public rust-precomputed-hash-0.1 (package (name "rust-precomputed-hash") @@ -58626,23 +55599,23 @@ dependency to expose a precomputed hash.") (define-public rust-predicates-3 (package (name "rust-predicates") - (version "3.1.0") + (version "3.1.3") (source (origin (method url-fetch) (uri (crate-uri "predicates" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1s676s13sva6ikv2qmfmm7n3y3jnzvwbbhy1xzgnr4h58vyppf38")))) + (base32 "0wrm57acvagx0xmh5xffx5xspsr2kbggm698x0vks132fpjrxld5")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" "--" + '("--" "--skip=path::fc::PredicateFileContentExt::from_file_path") #:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) ("rust-difflib" ,rust-difflib-0.4) - ("rust-float-cmp" ,rust-float-cmp-0.9) + ("rust-float-cmp" ,rust-float-cmp-0.10) ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.3) ("rust-predicates-core" ,rust-predicates-core-1) ("rust-regex" ,rust-regex-1)) @@ -58705,41 +55678,17 @@ functions.") #:cargo-development-inputs (("rust-predicates-tree" ,rust-predicates-tree-1)))))) -(define-public rust-predicates-0.9 - (package - (inherit rust-predicates-1) - (name "rust-predicates") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "predicates" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "085ysw5iigw9l7fdy0pxqs7h165m9hxaxdknmkyq868izivpj7pk")))) - (arguments - `(#:cargo-inputs - (("rust-difference" ,rust-difference-2) - ("rust-float-cmp" ,rust-float-cmp-0.4) - ("rust-normalize-line-endings" ,rust-normalize-line-endings-0.2) - ("rust-predicates-core" ,rust-predicates-core-0.9) - ("rust-regex" ,rust-regex-1)) - #:cargo-development-inputs - (("rust-predicates-tree" ,rust-predicates-tree-0.9)))))) - (define-public rust-predicates-core-1 (package (name "rust-predicates-core") - (version "1.0.6") + (version "1.0.9") (source (origin (method url-fetch) (uri (crate-uri "predicates-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0x7ij95n63mhgkyrb7hly5ngm41mwfsassfvnjz7lbk10wk0755p")))) + (base32 "1yjz144yn3imq2r4mh7k9h0r8wv4yyjjj57bs0zwkscz24mlczkj")))) (build-system cargo-build-system) (home-page "https://github.com/assert-rs/predicates-rs/tree/master/predicates-core") @@ -58748,37 +55697,22 @@ functions.") "An API for boolean-valued predicate functions.") (license (list license:expat license:asl2.0)))) -(define-public rust-predicates-core-0.9 - (package - (inherit rust-predicates-core-1) - (name "rust-predicates-core") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "predicates-core" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ig5wi3j2faxss6kshv5xdwnchiwbkq2fgx6v962mh6ij31hpy45")))))) - (define-public rust-predicates-tree-1 (package (name "rust-predicates-tree") - (version "1.0.9") + (version "1.0.12") (source (origin (method url-fetch) (uri (crate-uri "predicates-tree" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kyfq3r0s2vg94a9r59n7ar5gv66zvpa0s1fd6mm4l4czcas72rn")))) + (base32 "0p223d9y02ywwxs3yl68kziswz4da4vabz67jfhp7yqx71njvpbj")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-predicates-core" ,rust-predicates-core-1) - ("rust-termtree" ,rust-termtree-0.4)) + ("rust-termtree" ,rust-termtree-0.5)) #:cargo-development-inputs (("rust-predicates" ,rust-predicates-3)))) (home-page @@ -58789,25 +55723,6 @@ functions.") "Render boolean-valued predicate functions results as a tree.") (license (list license:expat license:asl2.0)))) -(define-public rust-predicates-tree-0.9 - (package - (inherit rust-predicates-tree-1) - (name "rust-predicates-tree") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "predicates-tree" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ga0yyfmqbwi28naxlr6cvpmiig0qnwx5adc858hmjxxh6dxz1if")))) - (arguments - `(#:cargo-inputs - (("rust-predicates-core" ,rust-predicates-core-0.9) - ("rust-treeline" ,rust-treeline-0.1)))))) - (define-public rust-pretty-0.11 (package (name "rust-pretty") @@ -58839,40 +55754,22 @@ functions.") particularly useful for printing structured recursive data like trees.") (license license:expat))) -(define-public rust-pretty-0.5 - (package - (inherit rust-pretty-0.11) - (name "rust-pretty") - (version "0.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "pretty" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lzn7d60l79vsdwcfgrh6jmk193nzwh1j36r8p9cv3n8dyghs37n")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-termcolor" ,rust-termcolor-0.3) - ("rust-typed-arena" ,rust-typed-arena-1)))))) - (define-public rust-pretty-assertions-1 (package (name "rust-pretty-assertions") - (version "1.4.0") + (version "1.4.1") (source (origin (method url-fetch) (uri (crate-uri "pretty_assertions" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0rmsnqlpmpfjp5gyi31xgc48kdhc1kqn246bnc494nwadhdfwz5g")))) + "0v8iq35ca4rw3rza5is3wjxwsf88303ivys07anc5yviybi31q9s")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-diff" ,rust-diff-0.1) - ("rust-yansi" ,rust-yansi-0.5)))) + ("rust-yansi" ,rust-yansi-1)))) (home-page "https://github.com/rust-pretty-assertions/rust-pretty-assertions") (synopsis "Drop-in replacements for assert_eq! and assert_ne!") (description @@ -58970,6 +55867,26 @@ replacements, adding colorful diffs.") (("rust-ansi-term" ,rust-ansi-term-0.9) ("rust-difference" ,rust-difference-1)))))) +(define-public rust-pretty-bytes-0.2 + (package + (name "rust-pretty-bytes") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty-bytes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05jkd1f824b93jh0jwfskba9hd70crvjz2nl1hf2xgqx5kfnx780")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-atty" ,rust-atty-0.2) + ("rust-getopts" ,rust-getopts-0.2)))) + (home-page "https://github.com/banyan/rust-pretty-bytes") + (synopsis "Convert bytes to a human readable string") + (description "This package converts bytes to a human readable string.") + (license license:expat))) + (define-public rust-pretty-env-logger-0.5 (package (name "rust-pretty-env-logger") @@ -59028,6 +55945,40 @@ replacements, adding colorful diffs.") ("rust-chrono" ,rust-chrono-0.4) ("rust-env-logger" ,rust-env-logger-0.6)))))) +(define-public rust-pretty-hex-0.4 + (package + (name "rust-pretty-hex") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m0j8pqmh6gq1mq7yzp12z0ix159fw0di5lhiwv2y1j0m3j3xj5v")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.8)))) + (home-page "https://github.com/wolandr/pretty-hex") + (synopsis "Prettified output of hexadecimal byte slices") + (description "Pretty hex dump of byte slices in the common style.") + (license license:expat))) + +(define-public rust-pretty-hex-0.3 + (package + (inherit rust-pretty-hex-0.4) + (name "rust-pretty-hex") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6")))) + (arguments + (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5)))))) + (define-public rust-prettyplease-0.2 (package (name "rust-prettyplease") @@ -59071,40 +56022,6 @@ replacements, adding colorful diffs.") #:cargo-development-inputs (("rust-syn" ,rust-syn-1)))))) -(define-public rust-pretty-hex-0.4 - (package - (name "rust-pretty-hex") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pretty-hex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0m0j8pqmh6gq1mq7yzp12z0ix159fw0di5lhiwv2y1j0m3j3xj5v")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.8)))) - (home-page "https://github.com/wolandr/pretty-hex") - (synopsis "Prettified output of hexadecimal byte slices") - (description "Pretty hex dump of byte slices in the common style.") - (license license:expat))) - -(define-public rust-pretty-hex-0.3 - (package - (inherit rust-pretty-hex-0.4) - (name "rust-pretty-hex") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pretty-hex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6")))) - (arguments - (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5)))))) - (define-public rust-prettytable-rs-0.8 (package (name "rust-prettytable-rs") @@ -59131,6 +56048,146 @@ replacements, adding colorful diffs.") formatted tables in terminal.") (license license:bsd-3))) +(define-public rust-primal-0.3 + (package + (name "rust-primal") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s6n396cssbr86f9w31sppdf06xsymgrl7y9gw0yccl5jiag7rdi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-primal-check" ,rust-primal-check-0.3) + ("rust-primal-estimate" ,rust-primal-estimate-0.3) + ("rust-primal-sieve" ,rust-primal-sieve-0.3)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-primal-slowsieve" ,rust-primal-slowsieve-0.3)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Various tools for prime numbers") + (description + "This package provides various tools to work with prime numbers. It +includes: optimised prime sieves, checking for primality, enumerating primes, +factorising numbers, and state-of-the-art estimation of upper and lower bounds +for the number of primes below n and the k-th prime.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-primal-bit-0.3 + (package + (name "rust-primal-bit") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-bit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mb0cdxhlm6phhl2f4d7nf7g4yrnd8xdq07m7liw7b5fp3djj915")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-hamming" ,rust-hamming-0.1)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Bit-vector specialised for rust-primal") + (description + "This package provides a bit-vector specialised to the +prime-number-related needs of @code{rust-primal}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-primal-check-0.3 + (package + (name "rust-primal-check") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-check" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "025xnak4rhkwa4h970bjb3cvp2k853wviyr84n8gjfhy65dqj3fw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-num-integer" ,rust-num-integer-0.1)) + #:cargo-development-inputs (("rust-primal" ,rust-primal-0.3)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Test primality") + (description + "This package provides a standalone primality testing tool.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-primal-estimate-0.3 + (package + (name "rust-primal-estimate") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-estimate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08nq0n0r35rni65h79fynync0wyy8agrxy5mfmg0hq9s1c510cm4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-primal" ,rust-primal-0.3)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Estimate upper and lower bounds for the k-th prime") + (description + "This package provides a state-of-the-art estimation of upper and lower +bounds for the number of primes below n and the k-th prime.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-primal-sieve-0.3 + (package + (name "rust-primal-sieve") + (version "0.3.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-sieve" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lzdllk78jqdp93h15l69s4xglbjcf6jlq6khccka0r2v2b2g64f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-primal-bit" ,rust-primal-bit-0.3) + ("rust-primal-estimate" ,rust-primal-estimate-0.3) + ("rust-smallvec" ,rust-smallvec-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3) + ("rust-primal" ,rust-primal-0.3) + ("rust-primal-slowsieve" ,rust-primal-slowsieve-0.3)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Prime sieve") + (description "This package provides a high performance prime sieve.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-primal-slowsieve-0.3 + (package + (name "rust-primal-slowsieve") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "primal-slowsieve" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02pixp7xprkmj0fvjgg6n4dn5f8syr6xj2m2dxn0nyg06b8lipy9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-primal-bit" ,rust-primal-bit-0.3) + ("rust-primal-estimate" ,rust-primal-estimate-0.3)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/huonw/primal") + (synopsis "Simple sieve of Eratosthenes") + (description + "This package provides a simple sieve of Eratosthenes designed for +testing faster sieves. For use in Rust crates, use @code{rust-primal-sieve} +or @code{rust-primal} instead.") + (license (list license:expat license:asl2.0)))) + (define-public rust-print-bytes-1 (package (name "rust-print-bytes") @@ -59263,21 +56320,20 @@ priority of an object.") (define-public rust-proc-macro-crate-3 (package (name "rust-proc-macro-crate") - (version "3.1.0") + (version "3.2.0") (source (origin (method url-fetch) (uri (crate-uri "proc-macro-crate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "110jcl9vnj92ihbhjqmkp19m8rzxc14a7i60knlmv99qlwfcadvd")))) + (base32 "0yzsqnavb3lmrcsmbrdjfrky9vcbl46v59xi9avn0796rb3likwf")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" + `(#:cargo-test-flags '("--" ;; Not all files included. "--skip=workspace_deps_working") - #:cargo-inputs (("rust-toml-edit" ,rust-toml-edit-0.21)) + #:cargo-inputs (("rust-toml-edit" ,rust-toml-edit-0.22)) #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) @@ -59436,8 +56492,8 @@ in your code.") ("rust-rustversion" ,rust-rustversion-1) ("rust-syn" ,rust-syn-1) ("rust-trybuild" ,rust-trybuild-1) - ("rust-demo-hack" ,rust-demo-hack-0.0) - ("rust-demo-hack-impl" ,rust-demo-hack-impl-0.0)))) + ("rust-demo-hack" ,rust-demo-hack-0.0.5) + ("rust-demo-hack-impl" ,rust-demo-hack-impl-0.0.5)))) (home-page "https://github.com/dtolnay/proc-macro-hack") (synopsis "Procedural macros in expression position") @@ -59449,37 +56505,32 @@ in your code.") (package (inherit rust-proc-macro-hack-0.5) (name "rust-proc-macro-hack") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "proc-macro-hack" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0fxn3qfhw76c518dfal2qqjwj5dbf0a1f7z0r5c4wd0igygg4fs6")))) + (base32 "1qlfck1fiwrj0wdv71z06bm0alpfsyq9pywfzx2cr607b145dyfp")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-proc-macro-hack-impl" ,rust-proc-macro-hack-impl-0.4)) #:cargo-development-inputs - (("rust-demo-hack" ,rust-demo-hack-0.0) - ("rust-demo-hack-impl" ,rust-demo-hack-impl-0.0)))))) + (("rust-demo-hack" ,rust-demo-hack-0.0.4) + ("rust-demo-hack-impl" ,rust-demo-hack-impl-0.0.4)))))) (define-public rust-proc-macro-hack-impl-0.4 (package (name "rust-proc-macro-hack-impl") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "proc-macro-hack-impl" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0hk8g6s0zsi1ps0w48la2s8q5iqq42g8jfrgq3l2v04l2p5pvi1q")))) + (base32 "09q0jvdm5g0balskv9q446l9h7k3bk0fzmnxqzbz8d8nmvq5prbv")))) (build-system cargo-build-system) (home-page "https://github.com/dtolnay/proc-macro-hack") (synopsis "Procedural functionlike!() macros using only Macros 1.1") @@ -59512,14 +56563,14 @@ in your code.") (define-public rust-proc-macro2-1 (package (name "rust-proc-macro2") - (version "1.0.89") + (version "1.0.92") (source (origin (method url-fetch) (uri (crate-uri "proc-macro2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vlq56v41dsj69pnk7lil7fxvbfid50jnzdn3xnr31g05mkb0fgi")))) + (base32 "1c1vjy5wg8iy7kxsxda564qf4ljp0asysmbn2i7caj177x5m9lrp")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--lib") @@ -59631,6 +56682,31 @@ macro use case.") ("rust-yansi" ,rust-yansi-0.5)) #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)))))) +(define-public rust-proc-maps-0.4 + (package + (name "rust-proc-maps") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "proc-maps" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ys4dj9wzqj6z5k7i28qy7l2ff224znvjfyrzhjkl68flrd4rd1x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-bindgen" ,rust-bindgen-0.70) + ("rust-libc" ,rust-libc-0.2) + ("rust-libproc" ,rust-libproc-0.14) + ("rust-mach2" ,rust-mach2-0.4) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/rbspy/proc-maps") + (synopsis "Helper crate for getting virtual memory maps from processes") + (description "This package provides a helper crate for getting virtual +memory maps from processes.") + (license license:expat))) + (define-public rust-proc-mounts-0.3 (package (name "rust-proc-mounts") @@ -59698,8 +56774,68 @@ macro use case.") "This package provides a procedural macro implementation of quote!.") (license (list license:expat license:asl2.0)))) +(define-public rust-process-control-5 + (package + (name "rust-process-control") + (version "5.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "process_control" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qhbyxrfz6ywmsm69pjl7vxzgj6plc6qn6lp0zgqlw17laslwb7k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-windows-sys" ,rust-windows-sys-0.59)) + #:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1)))) + (home-page "https://github.com/dylni/process_control") + (synopsis "Ergonomically run processes with limits") + (description + "This package provides Ergonomically run processes with limits.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-procfs-0.17 + (package + (name "rust-procfs") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "procfs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17swyjqinpb745f07dpdi7c8q37hxvhx9xmmsi2dhxaj2kc74nyc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=process::tests::test_proc_status_for_kthreadd" + "--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-procfs-core" ,rust-procfs-core-0.17) + ("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-0.16 (package + (inherit rust-procfs-0.17) (name "rust-procfs") (version "0.16.0") (source @@ -59709,7 +56845,6 @@ macro use case.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1d4k8ai16b5cv05dpz7b87qn5dap3jdyfnrvycb5zhmhas9hs7kk")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -59732,24 +56867,19 @@ macro use case.") (("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)))) + ("rust-procinfo" ,rust-procinfo-0.4)))))) -(define-public rust-procfs-core-0.16 +(define-public rust-procfs-core-0.17 (package (name "rust-procfs-core") - (version "0.16.0") + (version "0.17.0") (source (origin (method url-fetch) (uri (crate-uri "procfs-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0acs0p19yfcs0h787ls24vi5ql4g6c62cm57qh2cxx397a958d9d")))) + (base32 "1v0jdbyc1rq1x22m0wn7n4iq4h86gdls38wqfg06zc29hcnz1793")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-backtrace" ,rust-backtrace-0.3) @@ -59764,6 +56894,25 @@ macro use case.") pseudo-filesystem.") (license (list license:expat license:asl2.0)))) +(define-public rust-procfs-core-0.16 + (package + (inherit rust-procfs-core-0.17) + (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")))) + (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)))))) + (define-public rust-procinfo-0.4 (package (name "rust-procinfo") @@ -60032,29 +57181,6 @@ possibly blocking tasks.") "This crate provides a very thin abstraction over other profiler crates.") (license (list license:expat license:asl2.0)))) -(define-public rust-progress-0.2 - (package - (name "rust-progress") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "progress" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0i0w5zh2hm4l16ibg5mgr9pf3vpybhhx0zrs0nb8d191awq21f0p")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; 2 tests fail - #:cargo-inputs - (("rust-terminal-size" ,rust-terminal-size-0.1)))) - (home-page "https://github.com/TheKK/progress") - (synopsis "Library for showing text based progress bar and job status") - (description - "This library is used for showing text based progress bar and job -status.") - (license license:expat))) - (define-public rust-progressing-3 (package (name "rust-progressing") @@ -60103,6 +57229,27 @@ progress-bars for Rust.") (description "Resolve project origins and kinds from a path.") (license license:asl2.0))) +(define-public rust-promptly-0.3 + (package + (name "rust-promptly") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "promptly" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fl0548ww11gpja8hlsfc8jgxk00rdd48n1g6icgwadhlp2wdjws")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-rustyline" ,rust-rustyline-9) + ("rust-url" ,rust-url-2)))) + (home-page "https://github.com/anowell/promptly") + (synopsis "Opinionated CLI prompting helper") + (description "This package provides opinionated CLI prompting helper.") + (license license:expat))) + (define-public rust-propfuzz-0.0.1 (package (name "rust-propfuzz") @@ -60290,8 +57437,36 @@ including most strategies and the testing framework itself.") #:cargo-development-inputs (("rust-regex" ,rust-regex-0.2)))))) +(define-public rust-proptest-derive-0.5 + (package + (name "rust-proptest-derive") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "proptest-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jay6jwfvrwzz5bqpi4hxx3ax6kax06p0h29vgkxb0vl42nckqaf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `#![feature]` may not be used on the stable release channel + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-compiletest-rs" ,rust-compiletest-rs-0.11) + ("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.4 (package + (inherit rust-proptest-derive-0.5) (name "rust-proptest-derive") (version "0.4.0") (source @@ -60306,7 +57481,6 @@ including most strategies and the testing framework itself.") (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" "--" @@ -60318,13 +57492,7 @@ including most strategies and the testing framework itself.") #: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)))) + ("rust-proptest" ,rust-proptest-1)))))) (define-public rust-proptest-derive-0.3 (package @@ -60399,24 +57567,22 @@ trait of proptest.") "This package provides Procedural macros for the proptest crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-prost-0.12 +(define-public rust-prost-0.13 (package (name "rust-prost") - (version "0.12.3") + (version "0.13.4") (source (origin (method url-fetch) (uri (crate-uri "prost" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jmrhlb4jkiylz72xb14vlkfbmlq0jwv7j20ini9harhvaf2hv0l")))) + (base32 "1v22ds00ixxga07m09w4vqvylpg1xpbmjp5333vcrr1h89nfy3rc")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) - ("rust-prost-derive" ,rust-prost-derive-0.12)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-log" ,rust-log-0.4) + ("rust-prost-derive" ,rust-prost-derive-0.13)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) ("rust-proptest" ,rust-proptest-1) ("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/tokio-rs/prost") @@ -60426,6 +57592,27 @@ trait of proptest.") language.") (license license:asl2.0))) +(define-public rust-prost-0.12 + (package + (inherit rust-prost-0.13) + (name "rust-prost") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jmrhlb4jkiylz72xb14vlkfbmlq0jwv7j20ini9harhvaf2hv0l")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-prost-derive" ,rust-prost-derive-0.12)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8)))))) + (define-public rust-prost-0.11 (package (inherit rust-prost-0.12) @@ -60486,8 +57673,46 @@ language.") (("rust-bytes" ,rust-bytes-1) ("rust-prost-derive" ,rust-prost-derive-0.9)))))) +(define-public rust-prost-build-0.13 + (package + (name "rust-prost-build") + (version "0.13.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ys9hjx3ykzanzjz2ppxppdfxi62ga9h1ip2d065isw0xnzfbwyh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("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.13) + ("rust-prost-types" ,rust-prost-types-0.13) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.12) + ("rust-pulldown-cmark-to-cmark" ,rust-pulldown-cmark-to-cmark-18) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-2) + ("rust-tempfile" ,rust-tempfile-3)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11)))) + (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.12 (package + (inherit rust-prost-build-0.13) (name "rust-prost-build") (version "0.12.3") (source @@ -60497,7 +57722,6 @@ language.") (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") @@ -60517,14 +57741,7 @@ language.") ("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))) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)))))) (define-public rust-prost-build-0.10 (package @@ -60555,17 +57772,17 @@ files as part of a Cargo build.") ("rust-which" ,rust-which-4)) #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.8)))))) -(define-public rust-prost-derive-0.12 +(define-public rust-prost-derive-0.13 (package (name "rust-prost-derive") - (version "0.12.3") + (version "0.13.4") (source (origin (method url-fetch) (uri (crate-uri "prost-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03l4yf6pdjvc4sgbvln2srq1avzm1ai86zni4hhqxvqxvnhwkdpg")))) + (base32 "1qv2040663cgjyilp9dfgrn83xsr8yv9bx5qkwnyvhm5gsfmlz0m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) @@ -60582,6 +57799,25 @@ the most part, users of @code{prost} shouldn't need to interact with @code{prost-derive} directly.") (license license:asl2.0))) +(define-public rust-prost-derive-0.12 + (package + (inherit rust-prost-derive-0.13) + (name "rust-prost-derive") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03l4yf6pdjvc4sgbvln2srq1avzm1ai86zni4hhqxvqxvnhwkdpg")))) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-prost-derive-0.11 (package (inherit rust-prost-derive-0.12) @@ -60641,20 +57877,20 @@ the most part, users of @code{prost} shouldn't need to interact with ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-prost-types-0.12 +(define-public rust-prost-types-0.13 (package (name "rust-prost-types") - (version "0.12.3") + (version "0.13.4") (source (origin (method url-fetch) (uri (crate-uri "prost-types" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03j73llzljdxv9cdxp4m3vb9j3gh4y24rkbx48k3rx6wkvsrhf0r")))) + (base32 "1z78yxzxfhxy7kgzrq3mcbv70jqksbs1mhpb799r67m6p9b1wbyc")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-prost" ,rust-prost-0.12)) + `(#:cargo-inputs (("rust-prost" ,rust-prost-0.13)) #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)))) (home-page "https://github.com/tokio-rs/prost") (synopsis "Prost definitions of Protocol Buffers well known types") @@ -60663,6 +57899,22 @@ the most part, users of @code{prost} shouldn't need to interact with Protobuf reference for more information about well known types.") (license license:asl2.0))) +(define-public rust-prost-types-0.12 + (package + (inherit rust-prost-types-0.13) + (name "rust-prost-types") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03j73llzljdxv9cdxp4m3vb9j3gh4y24rkbx48k3rx6wkvsrhf0r")))) + (arguments + `(#:cargo-inputs (("rust-prost" ,rust-prost-0.12)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)))))) + (define-public rust-prost-types-0.10 (package (inherit rust-prost-types-0.12) @@ -60888,21 +58140,18 @@ pointers: (base32 "0w72k0svlj8ihbf7m7ivay7rpv38xz9ad5a06isyqsiiddwq1pm0")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-atty" ,rust-atty-0.2) - ("rust-config" ,rust-config-0.11) - ("rust-directories" ,rust-directories-4) - ("rust-petgraph" ,rust-petgraph-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-serde-value" ,rust-serde-value-0.7) - ("rust-tint" ,rust-tint-1)))) + `(#:skip-build? #t ; Cut the dependency graph. + #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-atty" ,rust-atty-0.2) + ("rust-config" ,rust-config-0.11) + ("rust-directories" ,rust-directories-4) + ("rust-petgraph" ,rust-petgraph-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-value" ,rust-serde-value-0.7) + ("rust-tint" ,rust-tint-1)))) (home-page "https://gitlab.com/Noughmad/ptree") (synopsis "Pretty-print tree-like structures") - (description - "The @code{ptree} crate supports output formatting due to a user-provided -configuration file and/or environment variables.") + (description "This package provides pretty-print tree-like structures.") (license (list license:expat license:asl2.0)))) (define-public rust-ptyprocess-0.4 @@ -60929,56 +58178,31 @@ configuration file and/or environment variables.") "This package provides a library to work with PTY/TTY on Unix systems.") (license license:expat))) -(define-public rust-publicsuffix-2 +(define-public rust-pubgrub-0.2 (package - (name "rust-publicsuffix") - (version "2.2.3") + (name "rust-pubgrub") + (version "0.2.1") (source (origin (method url-fetch) - (uri (crate-uri "publicsuffix" version)) + (uri (crate-uri "pubgrub" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0mvls29klp6xk16n8114sr1llhahy6fy8qi9kbwzf6mflnyw3a4n")))) + (base32 "1z9qdzjfq4yqfzrh2rjx6m2a08k8y9vda41w68x78pazmm94blfd")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-hashbrown" ,rust-hashbrown-0.12) - ("rust-idna" ,rust-idna-0.3) - ("rust-psl-types" ,rust-psl-types-2) - ("rust-unicase" ,rust-unicase-2)) - #:cargo-development-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rspec" ,rust-rspec-1)))) - (home-page "https://github.com/rushmorem/publicsuffix") - (synopsis "Domain name parsing and email address validation") - (description "This package provides robust domain name parsing and RFC -compliant email address validation.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-publicsuffix-1 - (package - (inherit rust-publicsuffix-2) - (name "rust-publicsuffix") - (version "1.5.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "publicsuffix" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0yvmjpywfyypfr17kxiwy6ssykgv8nmcdhfakas6548pfn8a9fiv")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-error-chain" ,rust-error-chain-0.12) - ("rust-idna" ,rust-idna-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-regex" ,rust-regex-1) - ("rust-url" ,rust-url-2)))))) + `(#:cargo-inputs (("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-proptest" ,rust-proptest-0.10) + ("rust-ron" ,rust-ron-0.6) + ("rust-varisat" ,rust-varisat-0.2)))) + (home-page "https://github.com/pubgrub-rs/pubgrub") + (synopsis "PubGrub version solving algorithm") + (description + "This package provides the @code{PubGrub} version solving algorithm.") + (license license:mpl2.0))) (define-public rust-public-api-0.33 (package @@ -61042,6 +58266,57 @@ on rustdoc JSON output from the nightly toolchain.") ("rust-rustdoc-json" ,rust-rustdoc-json-0.8) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-publicsuffix-2 + (package + (name "rust-publicsuffix") + (version "2.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "publicsuffix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0mvls29klp6xk16n8114sr1llhahy6fy8qi9kbwzf6mflnyw3a4n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-hashbrown" ,rust-hashbrown-0.12) + ("rust-idna" ,rust-idna-0.3) + ("rust-psl-types" ,rust-psl-types-2) + ("rust-unicase" ,rust-unicase-2)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rspec" ,rust-rspec-1)))) + (home-page "https://github.com/rushmorem/publicsuffix") + (synopsis "Domain name parsing and email address validation") + (description "This package provides robust domain name parsing and RFC +compliant email address validation.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-publicsuffix-1 + (package + (inherit rust-publicsuffix-2) + (name "rust-publicsuffix") + (version "1.5.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "publicsuffix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0yvmjpywfyypfr17kxiwy6ssykgv8nmcdhfakas6548pfn8a9fiv")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-error-chain" ,rust-error-chain-0.12) + ("rust-idna" ,rust-idna-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-regex" ,rust-regex-1) + ("rust-url" ,rust-url-2)))))) + (define-public rust-puffin-0.18 (package (name "rust-puffin") @@ -61073,38 +58348,61 @@ on rustdoc JSON output from the nightly toolchain.") (description "Simple instrumentation profiler for games.") (license (list license:expat license:asl2.0)))) -(define-public rust-pulldown-cmark-to-cmark-10 +(define-public rust-pulldown-cmark-0.12 (package - (name "rust-pulldown-cmark-to-cmark") - (version "10.0.4") + (name "rust-pulldown-cmark") + (version "0.12.2") (source (origin (method url-fetch) - (uri (crate-uri "pulldown-cmark-to-cmark" version)) + (uri (crate-uri "pulldown-cmark" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gc366cmd5jxal9m95l17rvqsm4dn62lywc8v5gwq8vcjvhyd501")))) + (base32 "055v2bzzrkrbrc1s6l9mbkvpdkhkid5j7vdkpcnc9k7b582s4szq")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9)) - #:cargo-development-inputs - (("rust-indoc" ,rust-indoc-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) - (home-page "https://github.com/Byron/pulldown-cmark-to-cmark") - (synopsis - "Convert pulldown-cmark Events back to the string they were parsed from") - (description - "A utility library which translates Event back to markdown. It's the -prerequisite for writing markdown filters which can work as -@code{mdbook-preprocessors}. + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-memchr" ,rust-memchr-2) + ("rust-pulldown-cmark-escape" ,rust-pulldown-cmark-escape-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-unicase" ,rust-unicase-2)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/raphlinus/pulldown-cmark") + (synopsis "Pull parser for CommonMark") + (description "This package provides a pull parser for @code{CommonMark}.") + (license license:expat))) -This library takes great pride in supporting everything that -@code{pulldown-cmark} supports, including tables and footnotes and codeblocks -in codeblocks, while assuring quality with a powerful test suite.") - (license license:asl2.0))) +(define-public rust-pulldown-cmark-0.11 + (package + (inherit rust-pulldown-cmark-0.12) + (name "rust-pulldown-cmark") + (version "0.11.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pulldown-cmark" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09a6q582pblnj8xflbx6zb29zgnwg0r6rg9wi54wdikq5k9434v7")))) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-memchr" ,rust-memchr-2) + ("rust-pulldown-cmark-escape" ,rust-pulldown-cmark-escape-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-unicase" ,rust-unicase-2)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-pulldown-cmark-0.9 (package + (inherit rust-pulldown-cmark-0.11) (name "rust-pulldown-cmark") (version "0.9.3") (source (origin @@ -61114,7 +58412,6 @@ in codeblocks, while assuring quality with a powerful test suite.") (sha256 (base32 "166rhmwk42ffirrzhv7lmsh9f3my6xv1ggmb66fgzv57y3qs58bp")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -61130,16 +58427,11 @@ in codeblocks, while assuring quality with a powerful test suite.") ("rust-markup5ever-rcdom" ,rust-markup5ever-rcdom-0.2) ("rust-regex" ,rust-regex-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-tendril" ,rust-tendril-0.4)))) - (home-page "https://github.com/raphlinus/pulldown-cmark") - (synopsis "Pull parser for CommonMark") - (description - "This package provides a pull parser for CommonMark.") - (license license:expat))) + ("rust-tendril" ,rust-tendril-0.4)))))) (define-public rust-pulldown-cmark-0.8 (package - (inherit rust-pulldown-cmark-0.9) + (inherit rust-pulldown-cmark-0.11) (name "rust-pulldown-cmark") (version "0.8.0") (source @@ -61167,31 +58459,9 @@ in codeblocks, while assuring quality with a powerful test suite.") ("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) + (inherit rust-pulldown-cmark-0.11) (name "rust-pulldown-cmark") (version "0.4.1") (source @@ -61217,34 +58487,9 @@ in codeblocks, while assuring quality with a powerful test suite.") ("rust-regex" ,rust-regex-1) ("rust-tendril" ,rust-tendril-0.4)))))) -(define-public rust-pulldown-cmark-0.2 - (package - (name "rust-pulldown-cmark") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pulldown-cmark" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05gfnqa0wzix5m17jrmgj0yyr9sflqm0knn79ndppsnhcan2zxgf")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-getopts" ,rust-getopts-0.2) - ("rust-bitflags" ,rust-bitflags-1)))) - (home-page "https://github.com/raphlinus/pulldown-cmark") - (synopsis "Pull parser for CommonMark") - (description - "This package provides a pull parser for CommonMark.") - (license license:expat))) - (define-public rust-pulldown-cmark-0.1 (package - (inherit rust-pulldown-cmark-0.2) + (inherit rust-pulldown-cmark-0.11) (name "rust-pulldown-cmark") (version "0.1.2") (source @@ -61262,6 +58507,72 @@ in codeblocks, while assuring quality with a powerful test suite.") (("rust-bitflags" ,rust-bitflags-0.9) ("rust-getopts" ,rust-getopts-0.2)))))) +(define-public rust-pulldown-cmark-escape-0.11 + (package + (name "rust-pulldown-cmark-escape") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pulldown-cmark-escape" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bp13akkz52p43vh2ffpgv604l3xd9b67b4iykizidnsbpdqlz80")))) + (build-system cargo-build-system) + (home-page "https://github.com/pulldown-cmark/pulldown-cmark") + (synopsis "Escape library for HTML created in the pulldown-cmark project") + (description "This package provides an escape library for HTML created in +the pulldown-cmark project.") + (license license:expat))) + +(define-public rust-pulldown-cmark-to-cmark-18 + (package + (name "rust-pulldown-cmark-to-cmark") + (version "18.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pulldown-cmark-to-cmark" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l06qfh9gb97hz4jrzlxajzyv7ry7d0lnsdifnv2x7xlvhxbc0hy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.12)) + #:cargo-development-inputs + (("rust-indoc" ,rust-indoc-2) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/Byron/pulldown-cmark-to-cmark") + (synopsis + "Convert pulldown-cmark Events back to the string they were parsed from") + (description + "A utility library which translates Event back to markdown. It's the +prerequisite for writing markdown filters which can work as +@code{mdbook-preprocessors}. + +This library takes great pride in supporting everything that +@code{pulldown-cmark} supports, including tables and footnotes and codeblocks +in codeblocks, while assuring quality with a powerful test suite.") + (license license:asl2.0))) + +(define-public rust-pulldown-cmark-to-cmark-10 + (package + (inherit rust-pulldown-cmark-to-cmark-18) + (name "rust-pulldown-cmark-to-cmark") + (version "10.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "pulldown-cmark-to-cmark" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gc366cmd5jxal9m95l17rvqsm4dn62lywc8v5gwq8vcjvhyd501")))) + (arguments + `(#:cargo-inputs (("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9)) + #:cargo-development-inputs + (("rust-indoc" ,rust-indoc-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))))) + (define-public rust-pulse-0.5 (package (name "rust-pulse") @@ -61304,21 +58615,6 @@ in codeblocks, while assuring quality with a powerful test suite.") @code{LC_COLLATE} and @code{LC_CTYPE} are not yet supported.") (license (list license:expat license:asl2.0)))) -(define-public rust-pure-rust-locales-0.7 - (package - (inherit rust-pure-rust-locales-0.8) - (name "rust-pure-rust-locales") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "pure-rust-locales" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cl46srhxzj0jlvfp73l8l9qw54qwa04zywaxdf73hidwqlsh0pd")))) - (arguments - (list #:tests? #f)))) ; Not all files included. - (define-public rust-pwd-1 (package (name "rust-pwd") @@ -61339,32 +58635,491 @@ in codeblocks, while assuring quality with a powerful test suite.") (description "This package provides a safe interface to @code{pwd.h}.") (license license:public-domain))) -(define-public rust-pyo3-build-config-0.21 +(define-public rust-pyo3-0.23 (package - (name "rust-pyo3-build-config") + (name "rust-pyo3") + (version "0.23.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05bclbdhj210gpq0i7w16369y6cgzbb1z3ribaq7mdjcicngv174")))) + (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.10) + ("rust-either" ,rust-either-1) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-hashbrown" ,rust-hashbrown-0.15) + ("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-num-rational" ,rust-num-rational-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.23) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.23) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.23) + ("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.10) + ("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-static-assertions" ,rust-static-assertions-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-uuid" ,rust-uuid-1)))) + (inputs (list python-minimal)) + (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.22 + (package + (inherit rust-pyo3-0.23) + (name "rust-pyo3") + (version "0.22.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "110qrq9yibfv40zzind9p2i87617lhzs379ix0m2065b2qk0c0pl")))) + (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.9) + ("rust-indexmap" ,rust-indexmap-1) + ("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.2) + ("rust-num-rational" ,rust-num-rational-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.22) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.22) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.22) + ("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-static-assertions" ,rust-static-assertions-1) + ("rust-trybuild" ,rust-trybuild-1)))))) + +(define-public rust-pyo3-0.21 + (package + (inherit rust-pyo3-0.22) + (name "rust-pyo3") (version "0.21.2") (source (origin (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n39y183jfqbyvimscqr0ysxxa6804pn46ivw048ww91lnb0pq55")))) + (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)))))) + +(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) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-either" ,rust-either-1) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-indoc" ,rust-indoc-2) + ("rust-inventory" ,rust-inventory-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.9) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.20) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.20) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-unindent" ,rust-unindent-0.2)) + #:cargo-development-inputs (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-send-wrapper" ,rust-send-wrapper-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-widestring" ,rust-widestring-0.5)))))) + +(define-public rust-pyo3-0.19 + (package + (inherit rust-pyo3-0.20) + (name "rust-pyo3") + (version "0.19.2") + (source (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f1aqx947mzsrk05zdm9w2702lj5k9s97y9w9lxwkp2avk7sd0g6")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=exceptions::PyUnicodeDecodeError::new_utf8") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-indoc" ,rust-indoc-1) + ("rust-inventory" ,rust-inventory-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.9) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.19) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.19) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-serde" ,rust-serde-1) + ("rust-unindent" ,rust-unindent-0.1)) + #:cargo-development-inputs + (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-proptest" ,rust-proptest-0.10) + ("rust-rayon" ,rust-rayon-1) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-send-wrapper" ,rust-send-wrapper-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-widestring" ,rust-widestring-0.5)))))) + +(define-public rust-pyo3-0.18 + (package + (inherit rust-pyo3-0.19) + (name "rust-pyo3") + (version "0.18.3") + (source (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02914yszvcg7qzh1kkrhiz8qqi0p9pbzi1cpmbyk9fii6xdsrcg3")))) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=test_compile_errors" + "--skip=exceptions::PyUnicodeDecodeError::new_utf8") + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-hashbrown" ,rust-hashbrown-0.12) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-indoc" ,rust-indoc-1) + ("rust-inventory" ,rust-inventory-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.8) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-complex" ,rust-num-complex-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.18) + ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.18) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.18) + ("rust-serde" ,rust-serde-1) + ("rust-unindent" ,rust-unindent-0.1)) + #:cargo-development-inputs + (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-proptest" ,rust-proptest-0.10) + ("rust-rayon" ,rust-rayon-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-send-wrapper" ,rust-send-wrapper-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-widestring" ,rust-widestring-0.5)))))) + +(define-public rust-pyo3-0.16 + (package + (inherit rust-pyo3-0.19) + (name "rust-pyo3") + (version "0.16.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jn6nhp9a8i5kfwds6fzy3hzb938qim8bajp8gfkkcn9892c8802")))) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-hashbrown" ,rust-hashbrown-0.11) + ("rust-indexmap" ,rust-indexmap-1.7) + ("rust-indoc" ,rust-indoc-1) + ("rust-inventory" ,rust-inventory-0.2) + ("rust-libc" ,rust-libc-0.2) + ("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-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) + ("rust-serde" ,rust-serde-1) + ("rust-unindent" ,rust-unindent-0.1)) + #:cargo-development-inputs + (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-criterion" ,rust-criterion-0.3) + ("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)) + ;; SIGSEGV: invalid memory reference + #:tests? #f)))) + +(define-public rust-pyo3-0.15 + (package + (inherit rust-pyo3-0.16) + (name "rust-pyo3") + (version "0.15.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ljp3m1frg8y50al4cbadwxfwwrgsvslmljclp4cf20y4ykm07fl")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-eyre" ,rust-eyre-0.6) + ("rust-hashbrown" ,rust-hashbrown-0.11) + ("rust-indexmap" ,rust-indexmap-1.7) + ("rust-indoc" ,rust-indoc-0.3) + ("rust-inventory" ,rust-inventory-0.1) + ("rust-libc" ,rust-libc-0.2) + ("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.15) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.15) + ("rust-serde" ,rust-serde-1) + ("rust-unindent" ,rust-unindent-0.1)) + #:cargo-development-inputs + (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-clap" ,rust-clap-2) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-half" ,rust-half-1) + ("rust-proptest" ,rust-proptest-0.10) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)) + ;; FIXME: fails to initialize Python interpreter. + #:tests? #f)))) + +(define-public rust-pyo3-0.13 + (package + (inherit rust-pyo3-0.15) + (name "rust-pyo3") + (version "0.13.2") + (source (origin + (method url-fetch) + (uri (crate-uri "pyo3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1hq965lgi25dn578fpn9hjva6zjr1c8rl7lxywijq44aw7lbhds8")))) + (arguments + `(#:skip-build? #true + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-ctor" ,rust-ctor-0.1) + ("rust-hashbrown" ,rust-hashbrown-0.9) + ("rust-indoc" ,rust-indoc-0.3) + ("rust-inventory" ,rust-inventory-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-num-bigint" ,rust-num-bigint-0.3) + ("rust-num-complex" ,rust-num-complex-0.3) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-paste" ,rust-paste-0.1) + ("rust-pyo3-macros" ,rust-pyo3-macros-0.13) + ("rust-serde" ,rust-serde-1) + ("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-serde-json" ,rust-serde-json-1) + ("rust-trybuild" ,rust-trybuild-1)))))) + +(define-public rust-pyo3-build-config-0.23 + (package + (name "rust-pyo3-build-config") + (version "0.23.3") + (source + (origin + (method url-fetch) (uri (crate-uri "pyo3-build-config" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0l0vxvnqsbjrpdmysnwaljf4q3zcr1kb526qq23svzgs6mcdz0vq")))) + (base32 "0fzzpr1bkwps58m3adcy460820k12mg9d62b0hh8w82gm1lh83nw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) - ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) - ("rust-target-lexicon" ,rust-target-lexicon-0.12) ("rust-target-lexicon" ,rust-target-lexicon-0.12)))) - (native-inputs (list python)) ;for tests + (native-inputs (list python-minimal)) ;for tests (home-page "https://github.com/pyo3/pyo3") (synopsis "Build configuration for PyO3") (description - "This package contains build configuration helpers for the PyO3 -ecosystem.") + "This package provides Build configuration for the @code{PyO3} ecosystem.") (license (list license:expat license:asl2.0)))) +(define-public rust-pyo3-build-config-0.22 + (package + (inherit rust-pyo3-build-config-0.23) + (name "rust-pyo3-build-config") + (version "0.22.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-build-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f4w8waba9cyzllq0dpxpw7qmgic05wdf4k20p8nsi7znmsmfjxi")))) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) + ("rust-target-lexicon" ,rust-target-lexicon-0.12)))))) + +(define-public rust-pyo3-build-config-0.21 + (package + (inherit rust-pyo3-build-config-0.22) + (name "rust-pyo3-build-config") + (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 "0l0vxvnqsbjrpdmysnwaljf4q3zcr1kb526qq23svzgs6mcdz0vq")))) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-python3-dll-a" ,rust-python3-dll-a-0.2) + ("rust-target-lexicon" ,rust-target-lexicon-0.12)))))) + (define-public rust-pyo3-build-config-0.20 (package (inherit rust-pyo3-build-config-0.21) @@ -61461,29 +59216,63 @@ ecosystem.") `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)))))) -(define-public rust-pyo3-ffi-0.21 +(define-public rust-pyo3-ffi-0.23 (package (name "rust-pyo3-ffi") - (version "0.21.2") + (version "0.23.3") (source (origin (method url-fetch) (uri (crate-uri "pyo3-ffi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00vlp4gmzn76gz250pz1r3fydd5r41nwl7dd9nmidfb0vi1migh1")))) + (base32 "0b9pmqzw0ggw6cwkpad51nwkdzj5k555c9q21wd6yvwnz6klf5gb")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.21)))) - (native-inputs (list python)) + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.23)) + #:cargo-development-inputs (("rust-paste" ,rust-paste-1)))) + (native-inputs (list python-minimal)) (home-page "https://github.com/pyo3/pyo3") (synopsis "Python API bindings for the PyO3 ecosystem") (description - "This crate provides Rust FFI declarations for Python 3.") + "This package provides Python-API bindings for the @code{PyO3} ecosystem.") (license (list license:expat license:asl2.0)))) +(define-public rust-pyo3-ffi-0.22 + (package + (inherit rust-pyo3-ffi-0.23) + (name "rust-pyo3-ffi") + (version "0.22.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-ffi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dl6zj806rkvs67q2mdgjbnzjhzm8glms46nqx8bpp1c9bqbrdcs")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.22)) + #:cargo-development-inputs (("rust-paste" ,rust-paste-1)))))) + +(define-public rust-pyo3-ffi-0.21 + (package + (inherit rust-pyo3-ffi-0.22) + (name "rust-pyo3-ffi") + (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 "00vlp4gmzn76gz250pz1r3fydd5r41nwl7dd9nmidfb0vi1migh1")))) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.21)))))) + (define-public rust-pyo3-ffi-0.20 (package (inherit rust-pyo3-ffi-0.21) @@ -61552,8 +59341,34 @@ ecosystem.") (("rust-libc" ,rust-libc-0.2) ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.16)))))) +(define-public rust-pyo3-log-0.11 + (package + (name "rust-pyo3-log") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-log" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hx4526pxbg3s6xbxsbkb3afjvma7drfd6jwawmbqn8ixip4xj1s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-log" ,rust-log-0.4) + ("rust-pyo3" ,rust-pyo3-0.21)) + #:cargo-development-inputs (("rust-pyo3" ,rust-pyo3-0.21) + ("rust-syn" ,rust-syn-2)))) + (inputs (list python-minimal)) + (home-page "https://github.com/vorner/pyo3-log") + (synopsis "Logging bridge from pyo3 native extension to python") + (description "This package provides a logging bridge from pyo3 native +extension to python.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-pyo3-log-0.8 (package + (inherit rust-pyo3-log-0.11) (name "rust-pyo3-log") (version "0.8.4") (source (origin @@ -61563,7 +59378,6 @@ ecosystem.") (sha256 (base32 "1hrvdialyynmpnvydnfsnjm0mkmnv83acv237nkxhf35kcs2p760")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) @@ -61571,135 +59385,53 @@ ecosystem.") ("rust-pyo3" ,rust-pyo3-0.19)) #:cargo-development-inputs (("rust-pyo3" ,rust-pyo3-0.19) - ("rust-syn" ,rust-syn-1)))) - (inputs (list python)) - (home-page "https://github.com/vorner/pyo3-log") - (synopsis "Logging bridge from pyo3 native extension to python") - (description "This package provides a logging bridge from pyo3 native -extension to python.") - (license (list license:asl2.0 license:expat)))) + ("rust-syn" ,rust-syn-1)))))) -(define-public rust-pyo3-macros-backend-0.21 +(define-public rust-pyo3-macros-0.23 (package - (name "rust-pyo3-macros-backend") - (version "0.21.2") + (name "rust-pyo3-macros") + (version "0.23.3") (source (origin (method url-fetch) - (uri (crate-uri "pyo3-macros-backend" version)) + (uri (crate-uri "pyo3-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0p58yp8ajlc8bq56wghw1syrjszmadasasdfpsjy3d9dychhf9h8")))) + (base32 "0mrjqfvrdw6dp0g4d1ja884vpp4vfk46z23ccb8ysp7sqs7dmdpx")))) (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) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.23) ("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") + (synopsis "Proc macros for PyO3") (description - "This package provides code generation backends for PyO3.") + "This package provides compiler macros for use with PyO3.") (license (list license:expat license:asl2.0)))) -(define-public rust-pyo3-macros-backend-0.20 +(define-public rust-pyo3-macros-0.22 (package - (inherit rust-pyo3-macros-backend-0.21) - (name "rust-pyo3-macros-backend") - (version "0.20.3") + (inherit rust-pyo3-macros-0.23) + (name "rust-pyo3-macros") + (version "0.22.6") (source (origin (method url-fetch) - (uri (crate-uri "pyo3-macros-backend" version)) + (uri (crate-uri "pyo3-macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11b1z7qnbdnd9hy74ds3xcjx3mjkz43mvpnan32ljccwpdl9nzkw")))) + (base32 "0lylczfabgylnfldns6m36vsw98m9sini0wn1gcfda83g64lvlhg")))) (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) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.22) ("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) - (name "rust-pyo3-macros-backend") - (version "0.19.2") - (source (origin - (method url-fetch) - (uri (crate-uri "pyo3-macros-backend" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0dlm4pg29hjmlqx15gcy9cmnabvc8ycy60hcvjg8hm62flhw2zcl")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (native-inputs '()))) - -(define-public rust-pyo3-macros-backend-0.18 - (package - (inherit rust-pyo3-macros-backend-0.19) - (name "rust-pyo3-macros-backend") - (version "0.18.3") - (source (origin - (method url-fetch) - (uri (crate-uri "pyo3-macros-backend" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "062rxf7cj1dn82yiaws3dmxw5qq9ssccq92jgdc210y4lh4gznlp")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-pyo3-macros-backend-0.16 - (package - (inherit rust-pyo3-macros-backend-0.19) - (name "rust-pyo3-macros-backend") - (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 - "1f0y9vxmyq1cidk544pwg3my30f6xfqfgf42grw4gx4q5pl687v1")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-pyo3-macros-backend-0.15 - (package - (inherit rust-pyo3-macros-backend-0.16) - (name "rust-pyo3-macros-backend") - (version "0.15.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "pyo3-macros-backend" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15bhc1xib9yz4l1sd2lk3nc7scbqsjfvgvlr3mj0xq0jqh92i32s")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.15) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (native-inputs (list python)))) - (define-public rust-pyo3-macros-0.21 (package + (inherit rust-pyo3-macros-0.22) (name "rust-pyo3-macros") (version "0.21.2") (source @@ -61709,19 +59441,12 @@ extension to python.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (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.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)))) + ("rust-syn" ,rust-syn-2)))))) (define-public rust-pyo3-macros-0.20 (package @@ -61781,25 +59506,6 @@ extension to python.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-pyo3-macros-backend-0.13 - (package - (inherit rust-pyo3-macros-backend-0.15) - (name "rust-pyo3-macros-backend") - (version "0.13.2") - (source (origin - (method url-fetch) - (uri (crate-uri "pyo3-macros-backend" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rjxayd78l10hnyphk03bcvhm0jpsvnzn07lczhy7jsgv3jrgc47")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-pyo3-macros-0.16 (package (inherit rust-pyo3-macros-0.19) @@ -61838,367 +59544,217 @@ extension to python.") ("rust-syn" ,rust-syn-1)))) (native-inputs (list python)))) -(define-public rust-pyo3-0.21 +(define-public rust-pyo3-macros-0.13 (package - (name "rust-pyo3") - (version "0.21.2") + (inherit rust-pyo3-macros-0.15) + (name "rust-pyo3-macros") + (version "0.13.2") + (source (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1fxi5lx5dl7xh469gr5xckyjy3r3c5dqypzxcj0fbhzf1hq2qzx4")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.13) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + +(define-public rust-pyo3-macros-backend-0.23 + (package + (name "rust-pyo3-macros-backend") + (version "0.23.3") (source (origin (method url-fetch) - (uri (crate-uri "pyo3" version)) + (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n39y183jfqbyvimscqr0ysxxa6804pn46ivw048ww91lnb0pq55")))) + (base32 "0z9ysg19gh84qdxvnmw426nd6nahmspkc4cb2s8jgagm5wh8b8rq")))) (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)) + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.23) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (native-inputs (list python-minimal)) (home-page "https://github.com/pyo3/pyo3") - (synopsis "Rust bindings for the Python interpreter") + (synopsis "Code generation for PyO3") (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.") + "This package provides code generation backends for PyO3.") (license (list license:expat license:asl2.0)))) -(define-public rust-pyo3-0.20 +(define-public rust-pyo3-macros-backend-0.22 (package - (inherit rust-pyo3-0.21) - (name "rust-pyo3") + (inherit rust-pyo3-macros-backend-0.23) + (name "rust-pyo3-macros-backend") + (version "0.22.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyo3-macros-backend" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gmz3i0sr4fdg7qjvd8ylbkrgbbch9wv955kni903rd17fh13h1n")))) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.22) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + +(define-public rust-pyo3-macros-backend-0.21 + (package + (inherit rust-pyo3-macros-backend-0.22) + (name "rust-pyo3-macros-backend") + (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 "0p58yp8ajlc8bq56wghw1syrjszmadasasdfpsjy3d9dychhf9h8")))) + (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)))))) + +(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" version)) + (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0cw2pgab0pq5gd98nhv18xgxvyigygspla6c8mfycmwisjbbpgak")))) + (base32 "11b1z7qnbdnd9hy74ds3xcjx3mjkz43mvpnan32ljccwpdl9nzkw")))) (arguments - `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-either" ,rust-either-1) - ("rust-eyre" ,rust-eyre-0.6) - ("rust-hashbrown" ,rust-hashbrown-0.14) - ("rust-indexmap" ,rust-indexmap-2) - ("rust-indoc" ,rust-indoc-2) - ("rust-inventory" ,rust-inventory-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-memoffset" ,rust-memoffset-0.9) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-complex" ,rust-num-complex-0.4) - ("rust-parking-lot" ,rust-parking-lot-0.12) + `(#: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-pyo3-ffi" ,rust-pyo3-ffi-0.20) - ("rust-pyo3-macros" ,rust-pyo3-macros-0.20) - ("rust-rust-decimal" ,rust-rust-decimal-1) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-unindent" ,rust-unindent-0.2)) - #:cargo-development-inputs (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-proptest" ,rust-proptest-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-send-wrapper" ,rust-send-wrapper-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-trybuild" ,rust-trybuild-1) - ("rust-widestring" ,rust-widestring-0.5)))))) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) -(define-public rust-pyo3-0.19 +(define-public rust-pyo3-macros-backend-0.19 (package - (inherit rust-pyo3-0.20) - (name "rust-pyo3") + (inherit rust-pyo3-macros-backend-0.20) + (name "rust-pyo3-macros-backend") (version "0.19.2") (source (origin (method url-fetch) - (uri (crate-uri "pyo3" version)) + (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0f1aqx947mzsrk05zdm9w2702lj5k9s97y9w9lxwkp2avk7sd0g6")))) + "0dlm4pg29hjmlqx15gcy9cmnabvc8ycy60hcvjg8hm62flhw2zcl")))) (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=exceptions::PyUnicodeDecodeError::new_utf8") - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-eyre" ,rust-eyre-0.6) - ("rust-hashbrown" ,rust-hashbrown-0.14) - ("rust-indexmap" ,rust-indexmap-2) - ("rust-indoc" ,rust-indoc-1) - ("rust-inventory" ,rust-inventory-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-memoffset" ,rust-memoffset-0.9) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-complex" ,rust-num-complex-0.4) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19) - ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.19) - ("rust-pyo3-macros" ,rust-pyo3-macros-0.19) - ("rust-rust-decimal" ,rust-rust-decimal-1) - ("rust-serde" ,rust-serde-1) - ("rust-unindent" ,rust-unindent-0.1)) - #:cargo-development-inputs - (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-proptest" ,rust-proptest-0.10) - ("rust-rayon" ,rust-rayon-1) - ("rust-rust-decimal" ,rust-rust-decimal-1) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-send-wrapper" ,rust-send-wrapper-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-trybuild" ,rust-trybuild-1) - ("rust-widestring" ,rust-widestring-0.5)))))) + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (native-inputs '()))) -(define-public rust-pyo3-0.18 +(define-public rust-pyo3-macros-backend-0.18 (package - (inherit rust-pyo3-0.19) - (name "rust-pyo3") + (inherit rust-pyo3-macros-backend-0.19) + (name "rust-pyo3-macros-backend") (version "0.18.3") (source (origin (method url-fetch) - (uri (crate-uri "pyo3" version)) + (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "02914yszvcg7qzh1kkrhiz8qqi0p9pbzi1cpmbyk9fii6xdsrcg3")))) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=test_compile_errors" - "--skip=exceptions::PyUnicodeDecodeError::new_utf8") - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-eyre" ,rust-eyre-0.6) - ("rust-hashbrown" ,rust-hashbrown-0.12) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-indoc" ,rust-indoc-1) - ("rust-inventory" ,rust-inventory-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-memoffset" ,rust-memoffset-0.8) - ("rust-num-bigint" ,rust-num-bigint-0.4) - ("rust-num-complex" ,rust-num-complex-0.4) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.18) - ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.18) - ("rust-pyo3-macros" ,rust-pyo3-macros-0.18) - ("rust-serde" ,rust-serde-1) - ("rust-unindent" ,rust-unindent-0.1)) - #:cargo-development-inputs - (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-proptest" ,rust-proptest-0.10) - ("rust-rayon" ,rust-rayon-1) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-send-wrapper" ,rust-send-wrapper-0.6) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-trybuild" ,rust-trybuild-1) - ("rust-widestring" ,rust-widestring-0.5)))))) - -(define-public rust-pyo3-0.16 - (package - (inherit rust-pyo3-0.19) - (name "rust-pyo3") - (version "0.16.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "pyo3" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jn6nhp9a8i5kfwds6fzy3hzb938qim8bajp8gfkkcn9892c8802")))) + "062rxf7cj1dn82yiaws3dmxw5qq9ssccq92jgdc210y4lh4gznlp")))) (arguments `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-eyre" ,rust-eyre-0.6) - ("rust-hashbrown" ,rust-hashbrown-0.11) - ("rust-indexmap" ,rust-indexmap-1.7) - ("rust-indoc" ,rust-indoc-1) - ("rust-inventory" ,rust-inventory-0.2) - ("rust-libc" ,rust-libc-0.2) - ("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-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) - ("rust-serde" ,rust-serde-1) - ("rust-unindent" ,rust-unindent-0.1)) - #:cargo-development-inputs - (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) - ("rust-criterion" ,rust-criterion-0.3) - ("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)) - ;; SIGSEGV: invalid memory reference - #:tests? #f)))) + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) -(define-public rust-pyo3-macros-0.13 +(define-public rust-pyo3-macros-backend-0.16 (package - (inherit rust-pyo3-macros-0.15) - (name "rust-pyo3-macros") - (version "0.13.2") + (inherit rust-pyo3-macros-backend-0.19) + (name "rust-pyo3-macros-backend") + (version "0.16.6") (source (origin (method url-fetch) - (uri (crate-uri "pyo3-macros" version)) + (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1fxi5lx5dl7xh469gr5xckyjy3r3c5dqypzxcj0fbhzf1hq2qzx4")))) + "1f0y9vxmyq1cidk544pwg3my30f6xfqfgf42grw4gx4q5pl687v1")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.13) + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-pyo3-0.15 +(define-public rust-pyo3-macros-backend-0.15 (package - (inherit rust-pyo3-0.16) - (name "rust-pyo3") + (inherit rust-pyo3-macros-backend-0.16) + (name "rust-pyo3-macros-backend") (version "0.15.2") (source (origin (method url-fetch) - (uri (crate-uri "pyo3" version)) + (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ljp3m1frg8y50al4cbadwxfwwrgsvslmljclp4cf20y4ykm07fl")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) - (string-append "\"^" version))))))) + (base32 "15bhc1xib9yz4l1sd2lk3nc7scbqsjfvgvlr3mj0xq0jqh92i32s")))) (arguments `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-eyre" ,rust-eyre-0.6) - ("rust-hashbrown" ,rust-hashbrown-0.11) - ("rust-indexmap" ,rust-indexmap-1.7) - ("rust-indoc" ,rust-indoc-0.3) - ("rust-inventory" ,rust-inventory-0.1) - ("rust-libc" ,rust-libc-0.2) - ("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-proc-macro2" ,rust-proc-macro2-1) ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.15) - ("rust-pyo3-macros" ,rust-pyo3-macros-0.15) - ("rust-serde" ,rust-serde-1) - ("rust-unindent" ,rust-unindent-0.1)) - #:cargo-development-inputs - (("rust-assert-approx-eq" ,rust-assert-approx-eq-1) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-clap" ,rust-clap-2) - ("rust-criterion" ,rust-criterion-0.3) - ("rust-half" ,rust-half-1) - ("rust-proptest" ,rust-proptest-0.10) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-trybuild" ,rust-trybuild-1)) - ;; FIXME: fails to initialize Python interpreter. - #:tests? #f)))) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (native-inputs (list python)))) -(define-public rust-pyo3-0.13 +(define-public rust-pyo3-macros-backend-0.13 (package - (inherit rust-pyo3-0.15) - (name "rust-pyo3") + (inherit rust-pyo3-macros-backend-0.15) + (name "rust-pyo3-macros-backend") (version "0.13.2") (source (origin (method url-fetch) - (uri (crate-uri "pyo3" version)) + (uri (crate-uri "pyo3-macros-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1hq965lgi25dn578fpn9hjva6zjr1c8rl7lxywijq44aw7lbhds8")))) + "0rjxayd78l10hnyphk03bcvhm0jpsvnzn07lczhy7jsgv3jrgc47")))) (arguments - `(#:skip-build? #true + `(#:skip-build? #t #:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-ctor" ,rust-ctor-0.1) - ("rust-hashbrown" ,rust-hashbrown-0.9) - ("rust-indoc" ,rust-indoc-0.3) - ("rust-inventory" ,rust-inventory-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-num-bigint" ,rust-num-bigint-0.3) - ("rust-num-complex" ,rust-num-complex-0.3) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-paste" ,rust-paste-0.1) - ("rust-pyo3-macros" ,rust-pyo3-macros-0.13) - ("rust-serde" ,rust-serde-1) - ("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-serde-json" ,rust-serde-json-1) - ("rust-trybuild" ,rust-trybuild-1)))))) + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) -(define-public rust-pyproject-toml-0.8 +(define-public rust-pyproject-toml-0.11 (package (name "rust-pyproject-toml") - (version "0.8.1") + (version "0.11.0") (source (origin (method url-fetch) (uri (crate-uri "pyproject-toml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "010fl8m9cx1a5iapcpy53dabl16ij5saa3maz0lkmwl7j7kabm26")))) + (base32 "0sm3ncm57hgcyladl55w59ycl39vq4crigjb9bya0n6b7c162w7g")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) - ("rust-pep440-rs" ,rust-pep440-rs-0.3) - ("rust-pep508-rs" ,rust-pep508-rs-0.2) + ("rust-pep440-rs" ,rust-pep440-rs-0.6) + ("rust-pep508-rs" ,rust-pep508-rs-0.6) ("rust-serde" ,rust-serde-1) ("rust-toml" ,rust-toml-0.8)))) (home-page "https://github.com/PyO3/pyproject-toml-rs.git") @@ -62206,48 +59762,47 @@ Python code from a Rust binary is also supported.") (description "This package provides a pyproject.toml parser in Rust.") (license license:expat))) -(define-public rust-pyproject-toml-0.6 +(define-public rust-pyproject-toml-0.8 (package - (inherit rust-pyproject-toml-0.8) + (inherit rust-pyproject-toml-0.11) (name "rust-pyproject-toml") - (version "0.6.1") - (source (origin - (method url-fetch) - (uri (crate-uri "pyproject-toml" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pywp6ml15jlv9yxfjcvrs3fgd3xnq8fc6a2wcbw9q9iknmgwygf")))) + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pyproject-toml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "010fl8m9cx1a5iapcpy53dabl16ij5saa3maz0lkmwl7j7kabm26")))) (arguments - `(#:cargo-inputs - (("rust-indexmap" ,rust-indexmap-1) - ("rust-pep440-rs" ,rust-pep440-rs-0.3) - ("rust-pep508-rs" ,rust-pep508-rs-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-toml" ,rust-toml-0.7)))))) + `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-pep440-rs" ,rust-pep440-rs-0.3) + ("rust-pep508-rs" ,rust-pep508-rs-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-toml" ,rust-toml-0.8)))))) (define-public rust-python-pkginfo-0.6 (package (name "rust-python-pkginfo") - (version "0.6.0") + (version "0.6.5") (source (origin (method url-fetch) (uri (crate-uri "python-pkginfo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1yjc2a1dyxwpcqc9c8hy8l8h08an3lps176nyqdqk37hck0njx03")))) + (base32 "006n1myk8lx98g9w4d250lmnmahs0ns9lqrgkg992pn41y45h7y2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bzip2" ,rust-bzip2-0.4) ("rust-flate2" ,rust-flate2-1) - ("rust-fs-err" ,rust-fs-err-2) - ("rust-mailparse" ,rust-mailparse-0.14) - ("rust-rfc2047-decoder" ,rust-rfc2047-decoder-0.2) + ("rust-fs-err" ,rust-fs-err-3) + ("rust-mailparse" ,rust-mailparse-0.15) + ("rust-rfc2047-decoder" ,rust-rfc2047-decoder-1) ("rust-serde" ,rust-serde-1) ("rust-tar" ,rust-tar-0.4) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-xz" ,rust-xz-0.1) + ("rust-thiserror" ,rust-thiserror-2) + ("rust-xz2" ,rust-xz2-0.1) ("rust-zip" ,rust-zip-0.6)) #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/PyO3/python-pkginfo-rs") @@ -62256,31 +59811,71 @@ Python code from a Rust binary is also supported.") "Parse Python package metadata from sdist and bdists and etc.") (license license:expat))) -(define-public rust-python-pkginfo-0.5 +(define-public rust-qrcode-generator-4 (package - (inherit rust-python-pkginfo-0.6) - (name "rust-python-pkginfo") - (version "0.5.6") - (source (origin - (method url-fetch) - (uri (crate-uri "python-pkginfo" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "03hvc5h10vicfjql9dw46w0xcwq2gjm9sfbfmr13rglz1z68hfg2")))) + (name "rust-qrcode-generator") + (version "4.1.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "qrcode-generator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ngiwz7mfqfy7g8nh309vq9qqphyybbp890s4fb418f78sbcn1hx")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bzip2" ,rust-bzip2-0.4) - ("rust-flate2" ,rust-flate2-1) - ("rust-fs-err" ,rust-fs-err-2) - ("rust-mailparse" ,rust-mailparse-0.14) - ("rust-rfc2047-decoder" ,rust-rfc2047-decoder-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-tar" ,rust-tar-0.4) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-xz" ,rust-xz-0.1) - ("rust-zip" ,rust-zip-0.6)) - #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))))) + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-html-escape" ,rust-html-escape-0.2) + ("rust-image" ,rust-image-0.24) + ("rust-qrcodegen" ,rust-qrcodegen-1)) + #:cargo-development-inputs + (("rust-manifest-dir-macros" ,rust-manifest-dir-macros-0.1)))) + (home-page "https://magiclen.org/qrcode-generator") + (synopsis "Generate QR Code matrices and images") + (description + "This package provides code to generate QR Code matrices and images in RAW, +PNG and SVG formats.") + (license license:expat))) + +(define-public rust-qrcodegen-1 + (package + (name "rust-qrcodegen") + (version "1.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "qrcodegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hn1j12q31nzlkra42s20p0wh198bx8f7xc73mic3j9121xgqfa3")))) + (build-system cargo-build-system) + (arguments (list #:tests? #f)) ; use of undeclared type `QrCode` + (home-page "https://www.nayuki.io/page/qr-code-generator-library") + (synopsis "QR Code generator library") + (description + "This package provides a QR Code generator library.") + (license license:expat))) + +(define-public rust-qrencode-0.14 + (package + (name "rust-qrencode") + (version "0.14.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "qrencode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hgp0lchnp3zx79j3799nm445rvqg7x62x2x7926ky22lqhv23d6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-checked-int-cast" ,rust-checked-int-cast-1) + ("rust-image" ,rust-image-0.24)) + #:cargo-development-inputs (("rust-image" ,rust-image-0.24)))) + (home-page "https://github.com/sayanarijit/qrencode") + (synopsis "QR code encoder in Rust") + (description "This package provides QR code encoder in Rust.") + (license (list license:expat license:asl2.0)))) (define-public rust-quad-rand-0.2 (package @@ -62362,17 +59957,17 @@ to write.") (base32 "1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51")))))) -(define-public rust-quick-xml-0.36 +(define-public rust-quick-xml-0.37 (package (name "rust-quick-xml") - (version "0.36.2") + (version "0.37.1") (source (origin (method url-fetch) (uri (crate-uri "quick-xml" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zj3sjcjk6sn544wb2wvhr1km5f9cy664vzclygfsnph9mxrlr7p")))) + (base32 "00vagwspb7j87v34ybvylphf9isf8bb5zy9fcgcb91rrzyyjjbzj")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) @@ -62395,6 +59990,34 @@ to write.") "This package provides a high performance XML reader and writer.") (license license:expat))) +(define-public rust-quick-xml-0.36 + (package + (inherit rust-quick-xml-0.37) + (name "rust-quick-xml") + (version "0.36.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "quick-xml" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zj3sjcjk6sn544wb2wvhr1km5f9cy664vzclygfsnph9mxrlr7p")))) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-memchr" ,rust-memchr-2) + ("rust-serde" ,rust-serde-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde-value" ,rust-serde-value-0.7) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))))) + (define-public rust-quick-xml-0.32 (package (inherit rust-quick-xml-0.36) @@ -62608,255 +60231,6 @@ to write.") ("rust-memchr" ,rust-memchr-2) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-quick-xml-0.19 - (package - (inherit rust-quick-xml-0.20) - (name "rust-quick-xml") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "quick-xml" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16qzavgdfdhw325hpyfwmb6wc7msvy01flmn02yqb3s7fxa2vmxk")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-memchr" ,rust-memchr-2) - ("rust-serde" ,rust-serde-1)))))) - -(define-public rust-quickcheck-1 - (package - (name "rust-quickcheck") - (version "1.0.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1mjhkfqwrb8mdyxdqr4zzbj1rm5dfx25n9zcc25lb6fxwiw673sq")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.8) - ("rust-log" ,rust-log-0.4) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/BurntSushi/quickcheck") - (synopsis "Automatic property based testing with shrinking") - (description - "QuickCheck is a way to do property based testing using randomly generated -input. This crate comes with the ability to randomly generate and shrink -integers, floats, tuples, booleans, lists, strings, options and results.") - (license (list license:unlicense license:expat)))) - -(define-public rust-quickcheck-0.9 - (package - (inherit rust-quickcheck-1) - (name "rust-quickcheck") - (version "0.9.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0pwl7j21wmf843kpa9gr0byb40hg975ghjrwp0yxcym99bkq6j54")))) - (arguments - `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-log" ,rust-log-0.4) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-core" ,rust-rand-core-0.5)))))) - -(define-public rust-quickcheck-0.8 - (package - (inherit rust-quickcheck-0.9) - (name "rust-quickcheck") - (version "0.8.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0mkl4wnvvjk4m32aq3an4ayfyvnmbxnzcybfm7n3fbsndb1xjdcw")))) - (arguments - `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.6) - ("rust-log" ,rust-log-0.4) - ("rust-rand" ,rust-rand-0.6) - ("rust-rand-core" ,rust-rand-core-0.4)))))) - -(define-public rust-quickcheck-0.7 - (package - (inherit rust-quickcheck-0.9) - (name "rust-quickcheck") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05pqzja6fwdyrs1za5vmxb9ifb993knmpdsrs1fs2wyz9qz7slyl")))) - (arguments - `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.5) - ("rust-log" ,rust-log-0.4) - ("rust-rand" ,rust-rand-0.5) - ("rust-rand-core" ,rust-rand-core-0.2)))))) - -(define-public rust-quickcheck-0.6 - (package - (inherit rust-quickcheck-0.9) - (name "rust-quickcheck") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dyazm2fcq0v9fscq1a7597zsvdl9f0j8c2bfj1jm2nlzz2sn6y0")))) - (arguments - `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.5) - ("rust-log" ,rust-log-0.4) - ("rust-rand" ,rust-rand-0.4)))))) - -(define-public rust-quickcheck-0.5 - (package - (inherit rust-quickcheck-0.9) - (name "rust-quickcheck") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jzm1ygfbn4igaq14b9nipc8yvsn6c8panpgd1qiy5r2insjllyd")))) - (arguments - `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.4) - ("rust-log" ,rust-log-0.3) - ("rust-rand" ,rust-rand-0.3)))))) - -(define-public rust-quickcheck-0.4 - (package - (inherit rust-quickcheck-0.5) - (name "rust-quickcheck") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "01hligcv1h4pvc8ykch65qjzi7jgcq2s462v69j27slc84fl3hh2")))) - (arguments - `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.3) - ("rust-log" ,rust-log-0.3) - ("rust-rand" ,rust-rand-0.3)))))) - -(define-public rust-quickcheck-0.2 - (package - (inherit rust-quickcheck-0.4) - (name "rust-quickcheck") - (version "0.2.27") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1vb4acppaavlnchzc1jmn5wlkgir9x9gmhgp97bavyxxqxgsg1nh")))))) - -(define-public rust-quickcheck-macros-1 - (package - (name "rust-quickcheck-macros") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck_macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1s8nh0fmmzq3fd7928qcp2syvymlyv1pmww6fxcaj5np48r6jamj")))) - (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/BurntSushi/quickcheck") - (synopsis "Macro attribute for quickcheck") - (description - "This package provides a macro attribute for quickcheck.") - (license (list license:unlicense license:expat)))) - -(define-public rust-quickcheck-macros-0.9 - (package - (inherit rust-quickcheck-macros-1) - (name "rust-quickcheck-macros") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck_macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0zsb9b4jpg7qvbiym4v8y9pgqk7p1g4f5hn9gp0fnzz9v1pib330")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)))))) - -(define-public rust-quickcheck-macros-0.8 - (package - (inherit rust-quickcheck-macros-0.9) - (name "rust-quickcheck-macros") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "quickcheck_macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0b3mhn0xcrdd3fkbkx3rghhivwzwil8w991ngp6gaj70l72c3pyp")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)) - #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.8)))))) - (define-public rust-quickersort-3 (package (name "rust-quickersort") @@ -62885,8 +60259,55 @@ also has (optional) support for efficient and robust sorting of floating point numbers.") (license (list license:expat license:asl2.0)))) +(define-public rust-quinn-0.11 + (package + (name "rust-quinn") + (version "0.11.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "quinn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vq55p4kfc4zjxj58xrpf3kcjjqi4mn0wf52a5rzkiky4w46isb2")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + (list rust-async-io-2 + rust-async-std-1 + rust-bytes-1 + rust-futures-io-0.3 + rust-pin-project-lite-0.2 + rust-quinn-proto-0.11 + rust-quinn-udp-0.5 + rust-rustc-hash-2 + rust-rustls-0.23 + rust-smol-2 + rust-socket2-0.5 + rust-thiserror-2 + rust-tokio-1 + rust-tracing-0.1) + #:cargo-development-inputs + (list rust-anyhow-1 + rust-bencher-0.1 + rust-clap-4 + rust-crc-3 + rust-directories-next-2 + rust-rand-0.8 + rust-rcgen-0.13 + rust-rustls-pemfile-2 + rust-tokio-1 + rust-tracing-futures-0.2 + rust-tracing-subscriber-0.3 + rust-url-2))) + (home-page "https://github.com/quinn-rs/quinn") + (synopsis "Versatile QUIC transport protocol implementation") + (description "Versatile QUIC transport protocol implementation.") + (license (list license:expat license:asl2.0)))) + (define-public rust-quinn-0.10 (package + (inherit rust-quinn-0.11) (name "rust-quinn") (version "0.10.2") (source @@ -62896,7 +60317,6 @@ numbers.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0x9xjkz2vw7p10llsrm9q0299q618sy1g8yfbncxahsbgq0wbhlc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-io" ,rust-async-io-1) @@ -62923,11 +60343,7 @@ numbers.") ("rust-tokio" ,rust-tokio-1) ("rust-tracing-futures" ,rust-tracing-futures-0.2) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) - ("rust-url" ,rust-url-2)))) - (home-page "https://github.com/quinn-rs/quinn") - (synopsis "Versatile QUIC transport protocol implementation") - (description "Versatile QUIC transport protocol implementation.") - (license (list license:expat license:asl2.0)))) + ("rust-url" ,rust-url-2)))))) (define-public rust-quinn-0.8 (package @@ -62968,8 +60384,51 @@ numbers.") ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) ("rust-url" ,rust-url-2)))))) +(define-public rust-quinn-proto-0.11 + (package + (name "rust-quinn-proto") + (version "0.11.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "quinn-proto" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p8k3iqd0rcxc7b6m2yyijhw4bpfwa61lyzigwvjwzax97rmxzm2")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + (list rust-arbitrary-1 + rust-aws-lc-rs-1 + rust-bytes-1 + rust-getrandom-0.2 + rust-rand-0.8 + rust-ring-0.17 + rust-rustc-hash-2 + rust-rustls-0.23 + rust-rustls-pki-types-1 + rust-rustls-platform-verifier-0.4 + rust-slab-0.4 + rust-thiserror-2 + rust-tinyvec-1 + rust-tracing-0.1 + rust-web-time-1) + #:cargo-development-inputs + (list rust-assert-matches-1 + rust-hex-literal-0.4 + rust-lazy-static-1 + rust-rcgen-0.13 + rust-tracing-subscriber-0.3 + rust-wasm-bindgen-test-0.3))) + (home-page "https://github.com/quinn-rs/quinn") + (synopsis "State machine for the QUIC transport protocol") + (description + "This package provides the state machine for the QUIC transport protocol.") + (license (list license:expat license:asl2.0)))) + (define-public rust-quinn-proto-0.10 (package + (inherit rust-quinn-proto-0.11) (name "rust-quinn-proto") (version "0.10.6") (source @@ -62979,7 +60438,6 @@ numbers.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "06ibzy0i7gf7hs65slxgv7xv095aalj2zq9zzmmj9g1gvvgzf6ql")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -63001,11 +60459,7 @@ numbers.") ("rust-hex-literal" ,rust-hex-literal-0.4) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-rcgen" ,rust-rcgen-0.10) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/quinn-rs/quinn") - (synopsis "State machine for the QUIC transport protocol") - (description "State machine for the QUIC transport protocol.") - (license (list license:expat license:asl2.0)))) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) (define-public rust-quinn-proto-0.8 (package @@ -63040,31 +60494,54 @@ numbers.") ("rust-rcgen" ,rust-rcgen-0.8) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) -(define-public rust-quinn-udp-0.4 +(define-public rust-quinn-udp-0.5 (package (name "rust-quinn-udp") - (version "0.4.1") + (version "0.5.9") (source (origin (method url-fetch) (uri (crate-uri "quinn-udp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mxiy36w9a3rw6cvfcmlc0rz2vhmq8fzffg4qj9rzswgirvlwnq5")))) + (base32 "016rir0w5q6brwd33id2nvqi67xpl3k55ms4srqkmfml2xi2hh0w")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + `(#:cargo-inputs (("rust-cfg-aliases" ,rust-cfg-aliases-0.2) ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) ("rust-socket2" ,rust-socket2-0.5) ("rust-tracing" ,rust-tracing-0.1) - ("rust-windows-sys" ,rust-windows-sys-0.48)))) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/quinn-rs/quinn") (synopsis "UDP sockets with ECN information for the QUIC transport protocol") (description - "This package provodes UDP sockets with ECN information for the QUIC + "This package provides UDP sockets with ECN information for the QUIC transport protocol in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-quinn-udp-0.4 + (package + (inherit rust-quinn-udp-0.5) + (name "rust-quinn-udp") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "quinn-udp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mxiy36w9a3rw6cvfcmlc0rz2vhmq8fzffg4qj9rzswgirvlwnq5")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-windows-sys" ,rust-windows-sys-0.48)))))) + (define-public rust-quinn-udp-0.1 (package (inherit rust-quinn-udp-0.4) @@ -63478,7 +60955,7 @@ useful types and distributions, and some randomness-related algorithms.") (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-cloudabi" ,rust-cloudabi-0.0) + (("rust-cloudabi" ,rust-cloudabi-0.0.3) ("rust-fuchsia-cprng" ,rust-fuchsia-cprng-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) @@ -63767,19 +61244,17 @@ distributions.") (define-public rust-rand-hc-0.3 (package (name "rust-rand-hc") - (version "0.3.1") + (version "0.3.2") (source (origin (method url-fetch) (uri (crate-uri "rand_hc" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rwpykyvhkxs4jvqdja3mzp9dqaqamzn113cxaigs9z2dmcry7nm")))) + (base32 "0m2grc3bjndds93mv55qw7qf1gapar080v2qpxi8vy3hcd7ksdkv")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-rand-core" ,rust-rand-core-0.6)))) + `(#:cargo-inputs (("rust-rand-core" ,rust-rand-core-0.6)))) (home-page "https://crates.io/crates/rand_hc") (synopsis "HC128 random number generator") (description "This package provides a cryptographically secure random number @@ -63982,7 +61457,7 @@ generators.") "0wahppm0s64gkr2vmhcgwc0lij37in1lgfxg5rbgqlz0l5vgcxbv")))) (arguments `(#:cargo-inputs - (("rust-cloudabi" ,rust-cloudabi-0.0) + (("rust-cloudabi" ,rust-cloudabi-0.0.3) ("rust-fuchsia-cprng" ,rust-fuchsia-cprng-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) @@ -64326,8 +61801,122 @@ random generic types.") (license (list license:zlib license:asl2.0 license:expat)))) +(define-public rust-ratatui-0.29 + (package + (name "rust-ratatui") + (version "0.29.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ratatui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0yqiccg1wmqqxpb2sz3q2v3nifmhsrfdsjgwhc2w40bqyg199gga")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-compact-str" ,rust-compact-str-0.8) + ("rust-crossterm" ,rust-crossterm-0.28) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-indoc" ,rust-indoc-2) + ("rust-instability" ,rust-instability-0.3) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-lru" ,rust-lru-0.12) + ("rust-palette" ,rust-palette-0.7) + ("rust-paste" ,rust-paste-1) + ("rust-serde" ,rust-serde-1) + ("rust-strum" ,rust-strum-0.26) + ("rust-termion" ,rust-termion-4) + ("rust-termwiz" ,rust-termwiz-0.22) + ("rust-time" ,rust-time-0.3) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-truncate" ,rust-unicode-truncate-1) + ("rust-unicode-width" ,rust-unicode-width-0.2)) + #:cargo-development-inputs + (("rust-argh" ,rust-argh-0.1) + ("rust-color-eyre" ,rust-color-eyre-0.6) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-crossterm" ,rust-crossterm-0.28) + ("rust-fakeit" ,rust-fakeit-1) + ("rust-font8x8" ,rust-font8x8-0.3) + ("rust-futures" ,rust-futures-0.3) + ("rust-indoc" ,rust-indoc-2) + ("rust-octocrab" ,rust-octocrab-0.41) + ("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.23) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-appender" ,rust-tracing-appender-0.2) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) + (home-page "https://ratatui.rs") + (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.27 + (package + (inherit rust-ratatui-0.29) + (name "rust-ratatui") + (version "0.27.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ratatui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lv8r99miibk6np2d2m0y6vf62jf5dr1x272ws6byalnnp2lcrfi")))) + (arguments + `(#:cargo-test-flags + '("--" + "--skip=backend::test::tests::buffer_view_with_overwrites") + #: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-itertools" ,rust-itertools-0.13) + ("rust-lru" ,rust-lru-0.12) + ("rust-palette" ,rust-palette-0.7) + ("rust-paste" ,rust-paste-1) + ("rust-serde" ,rust-serde-1) + ("rust-stability" ,rust-stability-0.2) + ("rust-strum" ,rust-strum-0.26) + ("rust-strum-macros" ,rust-strum-macros-0.26) + ("rust-termion" ,rust-termion-4) + ("rust-termwiz" ,rust-termwiz-0.22) + ("rust-time" ,rust-time-0.3) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-truncate" ,rust-unicode-truncate-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-color-eyre" ,rust-color-eyre-0.6) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-derive-builder" ,rust-derive-builder-0.20) + ("rust-fakeit" ,rust-fakeit-1) + ("rust-font8x8" ,rust-font8x8-0.3) + ("rust-indoc" ,rust-indoc-2) + ("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.21) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-appender" ,rust-tracing-appender-0.2) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) + (define-public rust-ratatui-0.26 (package + (inherit rust-ratatui-0.29) (name "rust-ratatui") (version "0.26.1") (source @@ -64337,7 +61926,6 @@ random generic types.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1n1ivnbpng797ssrw1rv1i0j4sjgylm3bssn1m5n2qkcpy7jzcdw")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -64364,27 +61952,22 @@ random generic types.") ("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))) + #: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)))))) (define-public rust-ratatui-0.25 (package @@ -64702,31 +62285,6 @@ Rust.") ("rust-rand" ,rust-rand-0.3) ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)))))) -(define-public rust-rawkey-0.1 - (package - (name "rust-rawkey") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "rawkey" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bgbb0pd8wbhbwib2d39x2r1m8kasw8x3w13bdb4s17g6nnfzmks")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-readkey" ,rust-readkey-0.1) - ("rust-user32-sys" ,rust-user32-sys-0.2) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-x11" ,rust-x11-2)))) - (home-page "https://github.com/jonathandturner/rawkey") - (synopsis "Raw terminal key input") - (description - "This package provides support for raw key input in terminals.") - (license license:expat))) - (define-public rust-rayon-core-1 (package (name "rust-rayon-core") @@ -64795,33 +62353,6 @@ Arc and Rc APIs.") reference counting.") (license license:expat))) -(define-public rust-rctree-0.5 - (package - (inherit rust-rctree-0.6) - (name "rust-rctree") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rctree" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0kvzahkwriawhjjb08ai7rfi77px7rpx5h83hjcx6dccyxzf4hiv")))))) - -(define-public rust-rctree-0.4 - (package - (inherit rust-rctree-0.5) - (name "rust-rctree") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rctree" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1s92472lniqn2c0b5ln8ssl014x0raiyzkk0hagrvsd6far2iq4s")))))) - (define-public rust-rdrand-0.4 (package (name "rust-rdrand") @@ -64846,6 +62377,29 @@ reference counting.") @code{rdrand} and @code{rdseed} instructions") (license license:isc))) +(define-public rust-read-process-memory-0.1 + (package + (name "rust-read-process-memory") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "read-process-memory" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c1vmw8a2ywf7v96xfwbsyrnpk3fy8cc2a0rdxw8fs0b5wxni5w4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mach" ,rust-mach-0.3) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/rbspy/read-process-memory") + (synopsis "Read memory from another process") + (description "This package provides a crate that allows reading memory +from another process.") + (license license:expat))) + (define-public rust-readlock-0.1 (package (name "rust-readlock") @@ -64889,6 +62443,30 @@ reference counting.") using tokio's @code{RwLock}") (license license:mpl2.0))) +(define-public rust-recvmsg-1 + (package + (name "rust-recvmsg") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "recvmsg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xa173gbg1cx8q7wyzi6c4kmcsz5rka68r4jb6kg14icskax9vfk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://docs.rs/recvmsg/1.0.0") + (synopsis "Traits for receiving datagrams reliably, without truncation") + (description + "This package provides traits for receiving datagrams reliably, +without truncation.") + (license license:bsd-0))) + (define-public rust-recycler-0.1 (package (name "rust-recycler") @@ -65067,68 +62645,6 @@ functionality") ("rust-redox-syscall" ,rust-redox-syscall-0.1) ("rust-rust-argon2" ,rust-rust-argon2-0.8)))))) -(define-public rust-reduce-0.1 - (package - (name "rust-reduce") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "reduce" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1mrmicr43hx3s9556zbzg0lys4nmsw0vwznd52imxhcanr3xrlhn")))) - (build-system cargo-build-system) - (arguments `(#:tests? #f)) ; Tests don't compile. - (home-page "https://github.com/dtolnay/reduce") - (synopsis "Fold an iterator without an initial value") - (description - "This package provides a way to fold an iterator without a separate -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") @@ -65314,14 +62830,14 @@ memory to speed up reallocation.") (define-public rust-regex-1 (package (name "rust-regex") - (version "1.11.0") + (version "1.11.1") (source (origin (method url-fetch) (uri (crate-uri "regex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n5imk7yxam409ik5nagsjpwqvbg3f0g0mznd5drf549x1g0w81q")))) + (base32 "148i41mzbx8bmq32hsj1q4karkzzx5m60qza6gdw4pdc9qdyyi5m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -65485,6 +63001,56 @@ uses finite automata and guarantees linear time matching on all inputs.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-toml" ,rust-toml-0.5)))))) ; 0.4 +(define-public rust-regex-cache-0.2 + (package + (name "rust-regex-cache") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex-cache" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14w7h1rl68fzzvavig18hf184macxcypqsrv6m7vkf23jzb64yrg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-oncemutex" ,rust-oncemutex-0.1) + ("rust-regex" ,rust-regex-1) + ("rust-regex-syntax" ,rust-regex-syntax-0.6)))) + (home-page "https://github.com/1aim/rust-regex-cache") + (synopsis "Lazy and cached regular expressions") + (description "This package provides lazy and cached regular expressions.") + (license license:expat))) + +(define-public rust-regex-cursor-0.1 + (package + (name "rust-regex-cursor") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "regex-cursor" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sbi1xr9201hd5c40779gfnmlnmrb4yqs4jj07d6zbp3znsjfhxf")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-regex-automata" ,rust-regex-automata-0.4) + ("rust-regex-syntax" ,rust-regex-syntax-0.8) + ("rust-ropey" ,rust-ropey-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-proptest" ,rust-proptest-1) + ("rust-regex-test" ,rust-regex-test-0.1)))) + (home-page "https://github.com/pascalkuthe/regex-cursor") + (synopsis "Regex fork that can search discontiguous haystacks") + (description + "This package provides regex fork that can search discontiguous haystacks.") + (license (list license:expat license:asl2.0)))) + (define-public rust-regex-lite-0.1 (package (name "rust-regex-lite") @@ -65641,54 +63207,36 @@ crate unless you're working on a regex implementation.") (define-public rust-region-3 (package (name "rust-region") - (version "3.0.0") + (version "3.0.2") (source (origin (method url-fetch) (uri (crate-uri "region" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bji1p0c9abzh78ps5hs0ygg9pxkg7gjspll43lxr14q6v18kqbn")))) + (base32 "19wrf7fg741jfnyz2314dv9m9hwssh816v27rpwsw2f07g8ypdp6")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--" + "--skip=alloc::tests::alloc_frees_memory_when_dropped" + "--skip=query::tests::query_returns_one_region_for_multiple_page_allocation") #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-libc" ,rust-libc-0.2) - ("rust-mach" ,rust-mach-0.3) - ("rust-winapi" ,rust-winapi-0.3)))) + ("rust-mach2" ,rust-mach2-0.4) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-mmap-fixed" ,rust-mmap-fixed-0.1)))) (home-page "https://github.com/darfink/region-rs") (synopsis "Library for manipulating memory regions") (description "This package provides a library for manipulating memory regions.") (license license:expat))) -(define-public rust-region-2 - (package - (inherit rust-region-3) - (name "rust-region") - (version "2.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "region" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1q4szar3ms76552iygmhsvzhvvwkgz4l94qpx600vmyw5bm58zl7")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-mach" ,rust-mach-0.3) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-memmap" ,rust-memmap-0.7)))))) - (define-public rust-relative-path-1 (package (name "rust-relative-path") - (version "1.9.0") + (version "1.9.3") (source (origin (method url-fetch) @@ -65696,7 +63244,7 @@ crate unless you're working on a regex implementation.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1jl32g41ww8pm8lbdmxm6ahagzwkz8b02q1gxzps47g1zj52j1y7")))) + "1limlh8fzwi21g0473fqzd6fln9iqkwvzp3816bxi31pkilz6fds")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags ; Skip the doctests. @@ -65704,31 +63252,50 @@ crate unless you're working on a regex implementation.") #:cargo-inputs (("rust-serde" ,rust-serde-1)) #:cargo-development-inputs - (("rust-serde" ,rust-serde-1)))) + (("rust-anyhow" ,rust-anyhow-1) + ("rust-serde" ,rust-serde-1)))) (home-page "https://docs.rs/crate/relative-path/") (synopsis "Portable, relative paths for Rust") (description "This package provides portable, relative paths for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-rend-0.3 +(define-public rust-remoteprocess-0.5 (package - (name "rust-rend") - (version "0.3.6") - (source (origin - (method url-fetch) - (uri (crate-uri "rend" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "15fz3rw8c74586kxl6dcdn4s864ph884wfpg9shgnbrnnss69bvr")))) + (name "rust-remoteprocess") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "remoteprocess" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "087z016qvypalbqjgdxmri97vsrqg4k1kpmc8b5d5hdgqxq4f6g6")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; (signal: 4, SIGILL: illegal instruction) - #:cargo-inputs (("rust-bytecheck" ,rust-bytecheck-0.6)))) - (home-page "https://github.com/rkyv/rend") - (synopsis "Endian-aware primitives for Rust") - (description - "This package provides endian-aware primitives for Rust.") + `(#:cargo-inputs + (("rust-addr2line" ,rust-addr2line-0.24) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-goblin" ,rust-goblin-0.9) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libproc" ,rust-libproc-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-mach" ,rust-mach-0.3) + ("rust-mach-o-sys" ,rust-mach-o-sys-0.1) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-nix" ,rust-nix-0.26) + ("rust-object" ,rust-object-0.36) + ("rust-proc-maps" ,rust-proc-maps-0.4) + ("rust-read-process-memory" ,rust-read-process-memory-0.1) + ("rust-regex" ,rust-regex-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.10) + ("rust-mark-flaky-tests" ,rust-mark-flaky-tests-1)))) + (home-page "https://github.com/benfred/remoteprocess") + (synopsis "Library for getting information on running processes") + (description "This package provides an API for getting information on +running processes.") (license license:expat))) (define-public rust-rend-0.4 @@ -65789,8 +63356,7 @@ avoided if possible.") "1pj0qgmvwwsfwyjqyjxzikkwbwc3vj7hm3hdykr47dy5inbnhpj7")))) (build-system cargo-build-system) (arguments - (list #:skip-build? #f - #:cargo-inputs + (list #:cargo-inputs `(("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))) @@ -65987,27 +63553,26 @@ functionality as retain but gives mutable borrow to the predicate.") (sha256 (base32 "11j09lp1wqwc2r9bw58my2474zj95jz5fihff3ldv3rz0g2baccc")))))) -(define-public rust-rfc2047-decoder-0.2 +(define-public rust-rfc2047-decoder-1 (package (name "rust-rfc2047-decoder") - (version "0.2.2") - (source (origin - (method url-fetch) - (uri (crate-uri "rfc2047-decoder" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0bpc2k7dp3nxc3pnsvz6zd3vc58j8q29nzibn4q3wz49a974pz31")))) + (version "1.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "rfc2047-decoder" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0afyg0k2hagnirvv5rk2ysr3khz8ab5ifdap3dsnli9121fm8dmw")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.21) - ("rust-charset" ,rust-charset-0.1) - ("rust-chumsky" ,rust-chumsky-0.9) - ("rust-memchr" ,rust-memchr-2) - ("rust-quoted-printable" ,rust-quoted-printable-0.4) - ("rust-thiserror" ,rust-thiserror-1)))) - (home-page "https://github.com/soywod/rfc2047-decoder") + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.22) + ("rust-charset" ,rust-charset-0.1) + ("rust-chumsky" ,rust-chumsky-0.9) + ("rust-memchr" ,rust-memchr-2) + ("rust-quoted-printable" ,rust-quoted-printable-0.5) + ("rust-thiserror" ,rust-thiserror-2)))) + (home-page "https://github.com/TornaxO7/rfc2047-decoder") (synopsis "Rust library for decoding RFC 2047 MIME Message Headers") (description "This package provides a rust library for decoding RFC 2047 MIME Message Headers.") @@ -66103,17 +63668,215 @@ Rhai, a scripting language and engine for Rust.") First In First Out} ring buffer with direct access to inner data.") (license (list license:expat license:asl2.0)))) +(define-public rust-rinja-0.3 + (package + (name "rust-rinja") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "rinja" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "198ppf5bnm6q53dhn4nijl9vbrdm49i1z86msyrk0m2r006r9i1x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-humansize" ,rust-humansize-2) + ("rust-itoa" ,rust-itoa-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rinja-derive" ,rust-rinja-derive-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://rinja.readthedocs.io/") + (synopsis "Type-safe, compiled Jinja-like templates for Rust") + (description + "This package provides a type-safe, compiled Jinja-like templates for Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rinja-derive-0.3 + (package + (name "rust-rinja-derive") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "rinja_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12x1dfrjxhzfai2izmrqpbplj1aifkq1a58vby1f5xmf8q0yvn88")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-basic-toml" ,rust-basic-toml-0.1) + ("rust-memchr" ,rust-memchr-2) + ("rust-mime" ,rust-mime-0.3) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.12) + ("rust-quote" ,rust-quote-1) + ("rust-rinja-parser" ,rust-rinja-parser-0.3) + ("rust-rustc-hash" ,rust-rustc-hash-2) + ("rust-serde" ,rust-serde-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-console" ,rust-console-0.15) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-similar" ,rust-similar-2) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/rinja-rs/rinja") + (synopsis "Procedural macro package for Rinja") + (description "This package provides a procedural macro package for Rinja.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rinja-parser-0.3 + (package + (name "rust-rinja-parser") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "rinja_parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "046602hy9x1q3np3qm64xpkw1xx64kiyjikyn8gpl2p0w9kaiyck")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-memchr" ,rust-memchr-2) + ("rust-nom" ,rust-nom-7) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/rinja-rs/rinja") + (synopsis "Parser for Rinja templates") + (description "This package provides a parser for Rinja templates.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rio-0.9 + (package + (name "rust-rio") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nv8wrnkd41flb32lmxb412l6m1790j12c3lg305764hcmbc564y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs (("rust-extreme" ,rust-extreme-666)))) + (home-page "https://github.com/spacejam/rio") + (synopsis "Bindings for io_uring") + (description + "This package provides bindings for io_uring.") + (license license:gpl3))) + +(define-public rust-rkyv-0.7 + (package + (name "rust-rkyv") + (version "0.7.44") + (source (origin + (method url-fetch) + (uri (crate-uri "rkyv" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1h4rpjn15bfldwb2j3zlmv3zaksvizzl1yf6vg24yfdk5534dfjw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-bitvec" ,rust-bitvec-1) + ("rust-bytecheck" ,rust-bytecheck-0.6) + ("rust-bytes" ,rust-bytes-1) + ("rust-hashbrown" ,rust-hashbrown-0.12) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-ptr-meta" ,rust-ptr-meta-0.1) + ("rust-rend" ,rust-rend-0.4) + ("rust-rkyv-derive" ,rust-rkyv-derive-0.7) + ("rust-seahash" ,rust-seahash-4) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-smol-str" ,rust-smol-str-0.2) + ("rust-tinyvec" ,rust-tinyvec-1) + ("rust-uuid" ,rust-uuid-1)))) + (home-page "https://github.com/rkyv/rkyv") + (synopsis "Zero-copy deserialization framework for Rust") + (description "Rkyv is a zero-copy deserialization framework for Rust.") + (license license:expat))) + +(define-public rust-rkyv-0.6 + (package + (inherit rust-rkyv-0.7) + (name "rust-rkyv") + (version "0.6.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "rkyv" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01wsn0i8gsw958j892w8i4fyzjdsyhrh7c5zajig049kbqz5n4yb")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytecheck" ,rust-bytecheck-0.5) + ("rust-memoffset" ,rust-memoffset-0.6) + ("rust-ptr-meta" ,rust-ptr-meta-0.1) + ("rust-rkyv-derive" ,rust-rkyv-derive-0.6) + ("rust-seahash" ,rust-seahash-4)))))) + +(define-public rust-rkyv-derive-0.7 + (package + (name "rust-rkyv-derive") + (version "0.7.44") + (source (origin + (method url-fetch) + (uri (crate-uri "rkyv_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0rbwvbxka171bvhj60yjaxn77ipi5d1nwknnp5i6ypp2ipzxzpd7")))) + (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/rkyv/rkyv") + (synopsis "Derive macro for zero-copy deserialization framework") + (description "This package provides a Derive macro for the rkyv +deserialization framework.") + (license license:expat))) + +(define-public rust-rkyv-derive-0.6 + (package + (inherit rust-rkyv-derive-0.7) + (name "rust-rkyv-derive") + (version "0.6.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "rkyv_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mc7rnps41gdywahsffqlypsp9jqmp0r6hlh2nxm31bddfgli3xs")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-rle-decode-fast-1 (package (name "rust-rle-decode-fast") - (version "1.0.1") + (version "1.0.3") (source (origin (method url-fetch) (uri (crate-uri "rle-decode-fast" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1b4h7qs4mssc5dnlhs3f91ya8pb40bv72zzshl18gify2jllzgna")))) + (base32 "08kljzl29rpm12fiz0qj5pask49aiswdvcjigdcq73s224rgd0im")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -66129,6 +63892,26 @@ this crate is here to save you the hassle of maintaining and testing your own implementation.") (license (list license:expat license:asl2.0)))) +(define-public rust-rlimit-0.9 + (package + (name "rust-rlimit") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rlimit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13mb3ligflqb4h7m76pkyc8z5pswpc38fcl6qm1lvp2jls3rv8pq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/Nugine/rlimit/") + (synopsis "Resource limits") + (description "This package provides controls for resource limits.") + (license license:expat))) + (define-public rust-rlp-0.5 (package (name "rust-rlp") @@ -66155,14 +63938,14 @@ decoding, and compression.") (define-public rust-rmp-0.8 (package (name "rust-rmp") - (version "0.8.12") + (version "0.8.14") (source (origin (method url-fetch) (uri (crate-uri "rmp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "083bbqw8ibqp63v6scmaxmy5x8yznj4j0i2n6jjivv9qrjk6163z")))) + (base32 "1i1l6dhv7vws5vp0ikakj44fk597xi59g3j6ng1q55x3dz0xg3i2")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -66183,14 +63966,14 @@ MessagePack format.") (define-public rust-rmp-serde-1 (package (name "rust-rmp-serde") - (version "1.1.2") + (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "rmp-serde" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12i5aglyni58hlq19pi58z1z6a1hv6l04p9y8ms8l3cqx9gaizmz")))) + (base32 "1nylmh7w2vpa1bwrnx1jfp2l4yz6i5qrmpic5zll166gfyj9kraj")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `rmpv` @@ -66199,8 +63982,8 @@ MessagePack format.") ("rust-rmp" ,rust-rmp-0.8) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs - (("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-serde-derive" ,rust-serde-derive-1)))) + (("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11)))) (home-page "https://github.com/3Hren/msgpack-rust") (synopsis "Serde bindings for RMP") (description "This crate provides Serde bindings for RMP.") @@ -66251,14 +64034,14 @@ MessagePack format.") (define-public rust-rmpv-1 (package (name "rust-rmpv") - (version "1.0.1") + (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "rmpv" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1v01az3ahglmag94d75qgdygfcgwj9bh5921rvn49d52lha043if")))) + (base32 "1adjigqyrzbv71s18qz3sa77zqggqip0p8j4rrrk5scyrlihfiaq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -66273,25 +64056,26 @@ MessagePack format.") (description "This create provides a value variant for @code{rust-rmp}.") (license license:expat))) -(define-public rust-roadmap-0.5 +(define-public rust-roadmap-0.7 (package (name "rust-roadmap") - (version "0.5.0") - (source (origin - (method url-fetch) - (uri (crate-uri "roadmap" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0d0j88wn59sfxwh2k4f609w56n6bmcgf54m0jk9rwc3vci5f8ad1")))) + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "roadmap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xwzxsh3qk5mg7yfsjxjm6x68adp5c8szv7dznzf9irla5f7fjgc")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-textwrap" ,rust-textwrap-0.15) - ("rust-thiserror" ,rust-thiserror-1)))) + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-marked-yaml" ,rust-marked-yaml-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-textwrap" ,rust-textwrap-0.16) + ("rust-thiserror" ,rust-thiserror-2)))) (home-page "https://gitlab.com/larswirzenius/roadmap") (synopsis "Model a project roadmap as a directed acyclic graph") (description "Model a project roadmap as a directed acyclic graph.") @@ -66324,34 +64108,6 @@ MessagePack format.") implementation.") (license (list license:expat license:asl2.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") @@ -66557,39 +64313,27 @@ text-buffer for applications such as text editors. Ropey is fast, robust, and can handle huge texts and memory-incoherent edits with ease.") (license license:expat))) -(define-public rust-rowan-0.15 +(define-public rust-roxmltree-0.20 (package - (name "rust-rowan") - (version "0.15.2") + (name "rust-roxmltree") + (version "0.20.0") (source (origin (method url-fetch) - (uri (crate-uri "rowan" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "roxmltree" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1ilxrar5npwnsb575gxh2gp8hi3032mm20sapzw72sv58gn8zski")))) + (base32 "15vw91ps91wkmmgy62khf9zb63bdinvm80957dascbsw7dwvc83c")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-countme" ,rust-countme-3) - ("rust-hashbrown" ,rust-hashbrown-0.11) - ("rust-memoffset" ,rust-memoffset-0.6) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-serde" ,rust-serde-1) - ("rust-text-size" ,rust-text-size-1)) - #:cargo-development-inputs - (("rust-m-lexer" ,rust-m-lexer-0.0.4)))) - (home-page "https://github.com/rust-analyzer/rowan") - (synopsis "Library for generic lossless syntax trees") + (home-page "https://github.com/RazrFalcon/roxmltree") + (synopsis "Represent an XML as a read-only tree") (description - "This package provides a library for generic lossless syntax trees.") + "@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.19 (package + (inherit rust-roxmltree-0.20) (name "rust-roxmltree") (version "0.19.0") (source @@ -66598,29 +64342,22 @@ can handle huge texts and memory-incoherent edits with ease.") (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)))) + (base32 "0zs0q8hg5nnh91s1ib6r0fky7xm8ay63ayfa5i1afxxpwgalzl9w")))))) -(define-public rust-roxmltree-0.14 +(define-public rust-roxmltree-0.18 (package (inherit rust-roxmltree-0.19) (name "rust-roxmltree") - (version "0.14.0") + (version "0.18.1") (source (origin (method url-fetch) (uri (crate-uri "roxmltree" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "010mahzyarkzb7kaawgga1a9y46nsp209yh2i4g4pq98bg8afn5z")))) + (base32 "00mkd2xyrxm8ap39sxpkhzdzfn2m98q3zicf6wd2f6yfa7il08w6")))) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-xmlparser" ,rust-xmlparser-0.13)))))) + `(#:cargo-inputs (("rust-xmlparser" ,rust-xmlparser-0.13)))))) (define-public rust-rpassword-7 (package @@ -66708,6 +64445,29 @@ console applications.") structures with structural sharing.") (license license:mpl2.0))) +(define-public rust-rpm-pkg-count-0.2 + (package + (name "rust-rpm-pkg-count") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rpm-pkg-count" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jzh63l7k30l37s5gd2m2hvh8slzjaxw54s4xpcjnaqb8xfsq0sa")))) + (build-system cargo-build-system) + (arguments + `(#:features '("runtime") + #:cargo-test-flags '("--features" "runtime") + #:cargo-inputs (("rust-libloading" ,rust-libloading-0.8) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/RubixDev/rpm-pkg-count") + (synopsis "Count installed RPM packages using librpm") + (description + "This package counts installed RPM packages using librpm.") + (license license:gpl3))) + (define-public rust-rspec-1 (package (name "rust-rspec") @@ -66935,8 +64695,71 @@ contains the API endpoint response objects.") ("rust-rand-hc" ,rust-rand-hc-0.2) ("rust-serde-json" ,rust-serde-json-1)))))) +(define-public rust-rstest-0.23 + (package + (name "rust-rstest") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d90hr3i2yajzgpzvsh6p2yjzmcb3nm8884xdbb5sswvwmdmhb0a")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `rstest_test` + #:cargo-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.23) + ("rust-rustc-version" ,rust-rustc-version-0.4)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.22) + ("rust-temp-testdir" ,rust-temp-testdir-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-unindent" ,rust-unindent-0.2)))) + (home-page "https://github.com/la10736/rstest") + (synopsis "Rust fixture based test framework") + (description + "This package provides a Rust fixture based test framework. It uses a +procedural macro to implement fixtures and table based tests.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rstest-0.22 + (package + (inherit rust-rstest-0.23) + (name "rust-rstest") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dlrn6y4z5xgsvf6ky3lrjwsxpvi13sizlkwnqs1gmmxc873yhkv")))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `rstest_test` + #:cargo-inputs (("rust-futures" ,rust-futures-0.3) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-rstest-macros" ,rust-rstest-macros-0.22) + ("rust-rustc-version" ,rust-rustc-version-0.4)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.21) + ("rust-temp-testdir" ,rust-temp-testdir-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-unindent" ,rust-unindent-0.2)))))) + (define-public rust-rstest-0.21 (package + (inherit rust-rstest-0.23) (name "rust-rstest") (version "0.21.0") (source @@ -66946,7 +64769,6 @@ contains the API endpoint response objects.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "10inb7hv1p42i981bf6705dakbgfbdgl2qaim4sf9mk9f2k5bzcs")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `rstest_test` #:cargo-inputs (("rust-futures" ,rust-futures-0.3) @@ -66960,13 +64782,7 @@ contains the API endpoint response objects.") ("rust-rstest" ,rust-rstest-0.20) ("rust-temp-testdir" ,rust-temp-testdir-0.2) ("rust-tokio" ,rust-tokio-1) - ("rust-unindent" ,rust-unindent-0.2)))) - (home-page "https://github.com/la10736/rstest") - (synopsis "Rust fixture based test framework") - (description - "This package provides a Rust fixture based test framework. It uses a -procedural macro to implement fixtures and table based tests.") - (license (list license:expat license:asl2.0)))) + ("rust-unindent" ,rust-unindent-0.2)))))) (define-public rust-rstest-0.20 (package @@ -67186,42 +65002,76 @@ procedural macro to implement fixtures and table based tests.") ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-rstest-0.10 +(define-public rust-rstest-macros-0.23 (package - (inherit rust-rstest-0.15) - (name "rust-rstest") - (version "0.10.0") - (source (origin - (method url-fetch) - (uri (crate-uri "rstest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bwhy92fsqc05y8x9iyyq9sykinh0gxnl25zpdca3xhl5hhb06q4")))) + (name "rust-rstest-macros") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nmdm7a4ysihnh0zz6w6gqrmw205zfp7xqkb2id3858vg20afpl2")))) + (build-system cargo-build-system) (arguments - (list #:skip-build? #t - #:cargo-inputs - `(("rust-cfg-if" ,rust-cfg-if-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-rustc-version" ,rust-rustc-version-0.3) - ("rust-syn" ,rust-syn-1)))))) + `(#:tests? #f ; unresolved import `rstest` + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-relative-path" ,rust-relative-path-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-ident" ,rust-unicode-ident-1)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.22)))) + (home-page "https://github.com/la10736/rstest") + (synopsis "Procedural macros for @code{rstest}.") + (description + "This package provides the procedural macro crate for @code{rstest}.") + (license (list license:expat license:asl2.0)))) -(define-public rust-rstest-0.6 +(define-public rust-rstest-macros-0.22 (package - (inherit rust-rstest-0.10) - (name "rust-rstest") - (version "0.6.4") - (source (origin - (method url-fetch) - (uri (crate-uri "rstest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0f3wdwfhf4dh7yf49cmi0r40qnwi4gwrqdki1bffyxvr2ny4ii6y")))))) + (inherit rust-rstest-macros-0.23) + (name "rust-rstest-macros") + (version "0.22.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rstest_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hiba8l3d20ajkifd3kz5rzzpxsy311ca4c4ll94pxqlglg73qf5")))) + (arguments + `(#:tests? #f ; unresolved import `rstest` + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-3) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-relative-path" ,rust-relative-path-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-syn" ,rust-syn-2) + ("rust-unicode-ident" ,rust-unicode-ident-1)) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.21)))))) (define-public rust-rstest-macros-0.21 (package + (inherit rust-rstest-macros-0.23) (name "rust-rstest-macros") (version "0.21.0") (source @@ -67231,7 +65081,6 @@ procedural macro to implement fixtures and table based tests.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13brqq64wp8gjaiq1d7g8jbzcwdwpwy0swpcilfx97d3b6pdyra1")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `rstest` #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) @@ -67244,15 +65093,11 @@ procedural macro to implement fixtures and table based tests.") ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-syn" ,rust-syn-2) ("rust-unicode-ident" ,rust-unicode-ident-1)) - #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) - ("rust-async-std" ,rust-async-std-1) - ("rust-maplit" ,rust-maplit-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) - (home-page "https://github.com/la10736/rstest") - (synopsis "Procedural macros for @code{rstest}.") - (description - "This package provides the procedural macro crate for @code{rstest}.") - (license (list license:expat license:asl2.0)))) + #:cargo-development-inputs + (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-async-std" ,rust-async-std-1) + ("rust-maplit" ,rust-maplit-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) (define-public rust-rstest-macros-0.20 (package @@ -67853,282 +65698,33 @@ please consider using @code{async-std} or @code{tokio}.") (description "This package provides a Tokio-based asynchronous runtime.") (license (list license:expat license:asl2.0)))) -(define-public rust-rusqlite-0.32 - (package - (name "rust-rusqlite") - (version "0.32.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0vlx040bppl414pbjgbp7qr4jdxwszi9krx0m63zzf2f2whvflvp")))) - (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.30) - ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.3) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.3) - ("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.31 - (package - (inherit rust-rusqlite-0.32) - (name "rust-rusqlite") - (version "0.31.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1bic69apqidimqf8gm80b98a832qzl9x6ns8myzah4yjg2ifnf5q")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.9) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.28) - ("rust-rusqlite-macros" ,rust-rusqlite-macros-0.2) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-time" ,rust-time-0.3) - ("rust-url" ,rust-url-2) - ("rust-uuid" ,rust-uuid-1)) - #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-unicase" ,rust-unicase-2) - ("rust-uuid" ,rust-uuid-1)))))) - -(define-public rust-rusqlite-0.30 - (package - (inherit rust-rusqlite-0.31) - (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 - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wj12rmwa8g0bfhsk307fl84k0xcw8ji872xx3k447apdl1rv6sl")))) - (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.2) - ("rust-fallible-streaming-iterator" ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.8) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.26) - ("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.26 - (package - (inherit rust-rusqlite-0.29) - (name "rust-rusqlite") - (version "0.26.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19sh4nnw1i7a6wacqllz20qpqpdj96jsg3dzaq61cwmd3ywv10la")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-csv" ,rust-csv-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.2) - ("rust-fallible-streaming-iterator" - ,rust-fallible-streaming-iterator-0.1) - ("rust-hashlink" ,rust-hashlink-0.7) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libsqlite3-sys" ,rust-libsqlite3-sys-0.23) - ("rust-memchr" ,rust-memchr-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-0.8)))))) - -(define-public rust-rusqlite-macros-0.3 - (package - (name "rust-rusqlite-macros") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0i8fiv3jqwjcq2rdbwd5wycvh6fyfrw0y2wazinr2wpicifmxp7c")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-litrs" ,rust-litrs-0.4) - ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.13)))) - (home-page "https://github.com/rusqlite/rusqlite") - (synopsis "Private implementation detail of rusqlite crate") - (description "This package provides a private implementation detail of the -@code{rusqlite} crate.") - (license license:expat))) - -(define-public rust-rusqlite-macros-0.2 - (package - (inherit rust-rusqlite-macros-0.3) - (name "rust-rusqlite-macros") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusqlite-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07y5887q4via4k7hdfxh61nmcwwz8r0bqlgxrk1p177lrkgz8cdp")))) - (arguments - `(#:cargo-inputs (("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-litrs" ,rust-litrs-0.4) - ("rust-sqlite3-parser" ,rust-sqlite3-parser-0.12)))))) - -(define-public rust-rusqlite-macros-0.1 +(define-public rust-rusb-0.9 (package - (inherit rust-rusqlite-macros-0.2) - (name "rust-rusqlite-macros") - (version "0.1.0") + (name "rust-rusb") + (version "0.9.4") (source (origin (method url-fetch) - (uri (crate-uri "rusqlite-macros" version)) + (uri (crate-uri "rusb" 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") - (version "0.38.2") - (source (origin - (method url-fetch) - (uri (crate-uri "rust-htslib" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "070sihnvyiyqcw8yjkdl8hvav598bsw36m722phgd2b394k6djia")))) + (base32 "1905rijhabvylblh24379229hjmkfhxr80jc79aqd9v3bgq9z7xb")))) (build-system cargo-build-system) (arguments - ;; TODO: cannot find openssl_src - `(#:skip-build? #t - #:cargo-inputs - (("rust-bio-types" ,rust-bio-types-0.12) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-custom-derive" ,rust-custom-derive-0.1) - ("rust-derive-new" ,rust-derive-new-0.5) - ("rust-hts-sys" ,rust-hts-sys-2) - ("rust-ieee754" ,rust-ieee754-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-linear-map" ,rust-linear-map-1) - ("rust-newtype-derive" ,rust-newtype-derive-0.1) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-url" ,rust-url-2)) - #:cargo-development-inputs - (("rust-bincode" ,rust-bincode-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) - (inputs (list openssl)) + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-libusb1-sys" ,rust-libusb1-sys-0.7) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-regex" ,rust-regex-1) + ("rust-usb-ids" ,rust-usb-ids-1)))) + (inputs (list libusb)) (native-inputs (list pkg-config)) - (home-page "https://github.com/rust-bio/rust-htslib.git") - (synopsis "HTSlib bindings and API for reading and writing BAM files") + (home-page "https://github.com/a1ien/rusb") + (synopsis "Library for accessing USB devices") (description - "This library provides HTSlib bindings and a high level Rust API for -reading and writing BAM files.") + "This package provides a Rust library for accessing USB devices.") (license license:expat))) -(define-public rust-rust-base58-0.0 +(define-public rust-rust-base58-0.0.4 (package (name "rust-rust-base58") (version "0.0.4") @@ -68388,146 +65984,6 @@ the file-system during development.") (arguments `(#:cargo-inputs (("rust-walkdir" ,rust-walkdir-2)))))) -(define-public rust-eml-parser-0.1 - (package - (name "rust-eml-parser") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "eml-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f82z4ryz4wchr0n99gj20s093ygx8ps0dqq6pr01ljcw8a0vqyr")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-regex" ,rust-regex-1)))) - (home-page "https://github.com/aeshirey/EmlParser/") - (synopsis "Library for parsing @file{.eml} files") - (description - "This package provides a library for parsing @file{.eml} files.") - (license license:asl2.0))) - -(define-public rust-equivalent-1 - (package - (name "rust-equivalent") - (version "1.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "equivalent" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1malmx5f4lkfvqasz319lq6gb3ddg19yzf9s8cykfsgzdmyq0hsl")))) - (build-system cargo-build-system) - (home-page "https://github.com/cuviper/equivalent") - (synopsis "Traits for key comparison in maps") - (description "Traits for key comparison in maps.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-ethtool-0.2 - (package - (name "rust-ethtool") - (version "0.2.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "ethtool" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nivim6pzfvrnmyb0p7qv39q54vraa0z6jy0ims7gp0panih93hx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=test_dump_link_modes") - #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-async-std" ,rust-async-std-1) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-genetlink" ,rust-genetlink-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) - ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3) - ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) - ("rust-netlink-proto" ,rust-netlink-proto-0.11) - ("rust-netlink-sys" ,rust-netlink-sys-0.8) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)) - #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://docs.rs/ethtool/latest/ethtool/") - (synopsis "Linux Ethtool Communication Library") - (description "Linux Ethtool Communication Library.") - (license license:expat))) - -(define-public rust-etherparse-0.13 - (package - (name "rust-etherparse") - (version "0.13.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "etherparse" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "146rcbnhlpcbl6c6csfhvz0227wbiwhk13md6acq8211b7m94wl2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7)) - #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) - ("rust-proptest" ,rust-proptest-1)))) - (home-page "https://github.com/JulianSchmid/etherparse") - (synopsis "Library for parsing & writing a bunch of packet based protocols") - (description - "This package provides a library for parsing & writing a bunch of packet -based protocols (@code{EthernetII}, IPv4, IPv6, UDP, TCP ...).") - (license (list license:expat license:asl2.0)))) - -(define-public rust-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-rusb-0.9 - (package - (name "rust-rusb") - (version "0.9.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "rusb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1905rijhabvylblh24379229hjmkfhxr80jc79aqd9v3bgq9z7xb")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-libusb1-sys" ,rust-libusb1-sys-0.7) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs (("rust-regex" ,rust-regex-1) - ("rust-usb-ids" ,rust-usb-ids-1)))) - (inputs (list libusb)) - (native-inputs (list pkg-config)) - (home-page "https://github.com/a1ien/rusb") - (synopsis "Library for accessing USB devices") - (description - "This package provides a Rust library for accessing USB devices.") - (license license:expat))) - (define-public rust-rust-hawktracer-0.7 (package (name "rust-rust-hawktracer") @@ -68554,55 +66010,53 @@ based protocols (@code{EthernetII}, IPv4, IPv6, UDP, TCP ...).") "Rust bindings for hawktracer profiling library.") (license (list license:expat license:asl2.0)))) -(define-public rust-rust-hawktracer-proc-macro-0.4 +(define-public rust-rust-hawktracer-normal-macro-0.4 (package - (name "rust-rust-hawktracer-proc-macro") + (name "rust-rust-hawktracer-normal-macro") (version "0.4.1") (source (origin (method url-fetch) - (uri (crate-uri "rust_hawktracer_proc_macro" version)) + (uri (crate-uri "rust_hawktracer_normal_macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1qfksscfv8rbbzv2zb0i9sbbqmig0dr0vrma3c1kzsfmpsynlqnb")))) + "1sfjmipdbb5s498c150czr6wihjlkwwgla2jyg3cs7cyjich0mwa")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-rust-hawktracer-sys" ,rust-rust-hawktracer-sys-0.4)))) - (home-page "https://github.com/AlexEne/rust_hawktracer_proc_macro") - (synopsis - "Helper crate for hawktracer profiling library") + (home-page "https://github.com/AlexEne/rust_hawktracer_normal_macro") + (synopsis "Helper crate for hawktracer profiling library") (description - "This package is a helper crate for hawktracer profiling library.") + "This package provides a helper crate for hawktracer profiling library.") (license (list license:expat license:asl2.0)))) -(define-public rust-rust-hawktracer-normal-macro-0.4 +(define-public rust-rust-hawktracer-proc-macro-0.4 (package - (name "rust-rust-hawktracer-normal-macro") + (name "rust-rust-hawktracer-proc-macro") (version "0.4.1") (source (origin (method url-fetch) - (uri (crate-uri - "rust_hawktracer_normal_macro" - version)) + (uri (crate-uri "rust_hawktracer_proc_macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1sfjmipdbb5s498c150czr6wihjlkwwgla2jyg3cs7cyjich0mwa")))) + "1qfksscfv8rbbzv2zb0i9sbbqmig0dr0vrma3c1kzsfmpsynlqnb")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-rust-hawktracer-sys" ,rust-rust-hawktracer-sys-0.4)))) - (home-page "https://github.com/AlexEne/rust_hawktracer_normal_macro") - (synopsis "Helper crate for hawktracer profiling library") + (home-page "https://github.com/AlexEne/rust_hawktracer_proc_macro") + (synopsis + "Helper crate for hawktracer profiling library") (description - "This package provides a helper crate for hawktracer profiling library.") + "This package is a helper crate for hawktracer profiling library.") (license (list license:expat license:asl2.0)))) (define-public rust-rust-hawktracer-sys-0.4 @@ -68650,115 +66104,139 @@ based protocols (@code{EthernetII}, IPv4, IPv6, UDP, TCP ...).") "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 +(define-public rust-rust-htslib-0.38 + (package + (name "rust-rust-htslib") + (version "0.38.2") + (source (origin + (method url-fetch) + (uri (crate-uri "rust-htslib" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "070sihnvyiyqcw8yjkdl8hvav598bsw36m722phgd2b394k6djia")))) + (build-system cargo-build-system) + (arguments + ;; TODO: cannot find openssl_src + `(#:skip-build? #t + #:cargo-inputs + (("rust-bio-types" ,rust-bio-types-0.12) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-custom-derive" ,rust-custom-derive-0.1) + ("rust-derive-new" ,rust-derive-new-0.5) + ("rust-hts-sys" ,rust-hts-sys-2) + ("rust-ieee754" ,rust-ieee754-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-linear-map" ,rust-linear-map-1) + ("rust-newtype-derive" ,rust-newtype-derive-0.1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) + (inputs (list openssl)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/rust-bio/rust-htslib.git") + (synopsis "HTSlib bindings and API for reading and writing BAM files") + (description + "This library provides HTSlib bindings and a high level Rust API for +reading and writing BAM files.") + (license license:expat))) + +(define-public rust-rust-ini-0.21 (package (name "rust-rust-ini") - (version "0.18.0") + (version "0.21.1") (source (origin (method url-fetch) (uri (crate-uri "rust-ini" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1px22l3m84v7f46pa3p4bsjykivw8ryq6af8kpkzdd16c11z5mgn")))) + (base32 "17s0fmfba05i9cnfwfy02wp7mf5wkapis5x1d68vgvmnw7q0wcaf")))) (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)))) + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-ordered-multimap" ,rust-ordered-multimap-0.7) + ("rust-trim-in-place" ,rust-trim-in-place-0.1) + ("rust-unicase" ,rust-unicase-2)))) (home-page "https://github.com/zonyitoo/rust-ini") - (synopsis "INI configuration file parsing library in Rust") + (synopsis "Ini configuration file parsing library in Rust") (description - "This package is an INI configuration file parsing library in Rust.") + "This package provides An Ini configuration file parsing library in Rust.") (license license:expat))) -(define-public rust-rust-ini-0.17 +(define-public rust-rust-ini-0.20 (package - (inherit rust-rust-ini-0.18) + (inherit rust-rust-ini-0.21) (name "rust-rust-ini") - (version "0.17.0") + (version "0.20.0") (source (origin (method url-fetch) (uri (crate-uri "rust-ini" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08hfh6p2svznza3m07vavsc4c8x4g6d715sz58rzh73sm551qiv3")))) + (base32 "12h608iy8kzxdrd0i5r20pzmgnw5fwg4rjwy5azq526bdch9h1iy")))) (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)))))) + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-ordered-multimap" ,rust-ordered-multimap-0.7) + ("rust-unicase" ,rust-unicase-2)))))) -(define-public rust-rust-ini-0.13 +(define-public rust-rust-ini-0.18 (package - (inherit rust-rust-ini-0.17) + (inherit rust-rust-ini-0.21) (name "rust-rust-ini") - (version "0.13.0") + (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 "1hifnbgaz01zja5995chy6vjacbif2m76nlxsisw7y1pxx4c2liy")))) - (arguments `(#:skip-build? #t)))) + (base32 "1px22l3m84v7f46pa3p4bsjykivw8ryq6af8kpkzdd16c11z5mgn")))) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-ordered-multimap" ,rust-ordered-multimap-0.4) + ("rust-unicase" ,rust-unicase-2)))))) -(define-public rust-rustbox-0.11 +(define-public rust-rust-ini-0.17 (package - (name "rust-rustbox") - (version "0.11.0") + (inherit rust-rust-ini-0.18) + (name "rust-rust-ini") + (version "0.17.0") (source (origin (method url-fetch) - (uri (crate-uri "rustbox" version)) + (uri (crate-uri "rust-ini" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cahyxncijdwvy9kw87ahizpfbdq76hf333y4nrhbxzssajhdzcf")))) - (build-system cargo-build-system) + (base32 "08hfh6p2svznza3m07vavsc4c8x4g6d715sz58rzh73sm551qiv3")))) (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-0.2) - ("rust-gag" ,rust-gag-0.1) - ("rust-num-traits" ,rust-num-traits-0.1) - ("rust-termbox-sys" ,rust-termbox-sys-0.2)))) - (home-page "https://github.com/gchp/rustbox") - (synopsis "Rust implementation of the @code{termbox} library") - (description - "This package provides a Rust implementation of the @code{termbox} -library.") - (license license:expat))) + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-ordered-multimap" ,rust-ordered-multimap-0.3) + ("rust-unicase" ,rust-unicase-2)))))) -(define-public rust-rustc-ap-rustc-lexer-725 +(define-public rust-rust-ini-0.13 (package - (name "rust-rustc-ap-rustc-lexer") - (version "725.0.0") + (inherit rust-rust-ini-0.17) + (name "rust-rust-ini") + (version "0.13.0") (source (origin (method url-fetch) - (uri (crate-uri "rustc-ap-rustc_lexer" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "rust-ini" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "13pnbln1mnv51p1kgf6ljmzypp9q0j4aplxac5val0x2z0p78l7r")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-unicode-xid" ,rust-unicode-xid-0.2)) - #:cargo-development-inputs - (("rust-expect-test" ,rust-expect-test-1)))) - (home-page "https://github.com/alexcrichton/rustc-auto-publish") - (synopsis "Automatically published versions of rustc macros") - (description - "Use the lexer used in the Rust compiler with this crate. -It is automatically published using the compiler repository at -@url{https://www.github.com/rust-lang/rust}.") - (license (list license:expat license:asl2.0)))) + (base32 "1hifnbgaz01zja5995chy6vjacbif2m76nlxsisw7y1pxx4c2liy")))) + (arguments `(#:skip-build? #t)))) (define-public rust-rustc-demangle-0.1 (package @@ -68818,14 +66296,14 @@ It is automatically published using the compiler repository at (define-public rust-rustc-hash-2 (package (name "rust-rustc-hash") - (version "2.0.0") + (version "2.1.0") (source (origin (method url-fetch) (uri (crate-uri "rustc-hash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lni0lf846bzrf3jvci6jaf4142n1mdqxvcpczk5ch9pfgyk8c2q")))) + (base32 "15yln6fmqlbg0k35r748h8g9xsd637ri23xihq81jb03ncwq1yy7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-rand" ,rust-rand-0.8)))) (home-page "https://github.com/rust-lang/rustc-hash") @@ -69111,18 +66589,17 @@ require unstable language features.") (define-public rust-rustc-version-0.4 (package (name "rust-rustc-version") - (version "0.4.0") + (version "0.4.1") (source (origin (method url-fetch) (uri (crate-uri "rustc_version" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0rpk9rcdk405xhbmgclsh4pai0svn49x35aggl4nhbkd4a2zb85z")))) + (base32 "14lvdsmr5si5qbqzrajgb6vfn69k0sfygrvfvr2mps26xwi3mjyg")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-semver" ,rust-semver-1)) #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3)))) @@ -69134,7 +66611,8 @@ rustc compiler.") (license (list license:expat license:asl2.0)))) (define-public rust-rustc-version-0.3 - (package/inherit rust-rustc-version-0.4 + (package + (inherit rust-rustc-version-0.4) (name "rust-rustc-version") (version "0.3.3") (source @@ -69183,6 +66661,28 @@ rustc compiler.") `(#:cargo-inputs (("rust-semver" ,rust-semver-0.1)))))) +(define-public rust-rustdct-0.7 + (package + (name "rust-rustdct") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustdct" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lcm1191xx8wizima5j3n25fs90x58v3q1kwg6cbzafn0m8maqcb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-rustfft" ,rust-rustfft-6)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/ejmahler/rust_dct") + (synopsis "Compute Discrete Cosine Transforms (DCT) in pure Rust") + (description + "This package provides a Rust library to compute the main Discrete Cosine +Transforms (DCT) of any size in O(nlogn) time.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustdoc-json-0.8 (package (name "rust-rustdoc-json") @@ -69256,6 +66756,38 @@ rustc compiler.") (description "Types for rustdoc's json output.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustfft-6 + (package + (name "rust-rustfft") + (version "6.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustfft" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11hx83yr2h2jszkba9qhq2d08q9i5rsashq62rfhqvahpihnb023")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-num-complex" ,rust-num-complex-0.4) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-primal-check" ,rust-primal-check-0.3) + ("rust-strength-reduce" ,rust-strength-reduce-0.2) + ("rust-transpose" ,rust-transpose-0.2) + ("rust-version-check" ,rust-version-check-0.9)) + #:cargo-development-inputs + (("rust-getrandom" ,rust-getrandom-0.2) + ("rust-paste" ,rust-paste-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/ejmahler/RustFFT") + (synopsis "Rust FFT library") + (description + "This package provides a high-performance FFT (Fast Fourier Transform) +library written in pure Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustfix-0.8 (package (name "rust-rustfix") @@ -69359,7 +66891,8 @@ rustc compiler.") ("rust-tempdir" ,rust-tempdir-0.3)))))) (define-public rust-rustfix-0.4 - (package/inherit rust-rustfix-0.5 + (package + (inherit rust-rustfix-0.5) (name "rust-rustfix") (version "0.4.6") (source @@ -69402,30 +66935,14 @@ rustc compiler.") (define-public rust-rustix-0.38 (package (name "rust-rustix") - (version "0.38.40") + (version "0.38.42") (source (origin (method url-fetch) (uri (crate-uri "rustix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h33ilqk4psn6kqfmd232df3x3lrwp4gjl2nisdmajyw3hzfmr4r")) - (snippet - #~(begin (use-modules (guix build utils)) - (for-each delete-file (find-files "." "\\.a$")) - (delete-file "Cargo.toml") - (substitute* "Cargo.toml.orig" - ;; Depend unconditionally on the cc crate - (("(cc = .*), optional = true.*" _ cc) - (string-append cc " }\n")) - ;; Disable using the linux_raw backend - (("not\\(rustic_use_libc\\)") "miri")) - (substitute* "build.rs" - ;; Always use the 'feature = "cc"' path - (("not\\(feature = \"cc\"\\)") "feature = \"foobar\"") - (("#\\[cfg\\(feature = \"cc\"\\)\\]" all) - (string-append "//" all))) - (copy-file "Cargo.toml.orig" "Cargo.toml"))))) + (base32 "11fvprv3p450ggyqacp7sdpjbbsgm5zvfjwnzy8bfbmbrf7c6ggr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -69459,14 +66976,14 @@ rustc compiler.") (package (inherit rust-rustix-0.38) (name "rust-rustix") - (version "0.37.19") + (version "0.37.27") (source (origin (method url-fetch) (uri (crate-uri "rustix" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0gb12rp992bh2h5msqcbpdsx6h1gslsb0zpp5hdnyxj2hnfp5y5c")) + "1lidfswa8wbg358yrrkhfvsw0hzlvl540g4lwqszw09sg8vcma7y")) (snippet #~(begin (use-modules (guix build utils)) @@ -69499,21 +67016,19 @@ rustc compiler.") ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-windows-sys" ,rust-windows-sys-0.48)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) - ("rust-ctor" ,rust-ctor-0.2) + (("rust-ctor" ,rust-ctor-0.2) ("rust-errno" ,rust-errno-0.3) ("rust-flate2" ,rust-flate2-1) ("rust-io-lifetimes" ,rust-io-lifetimes-1) ("rust-libc" ,rust-libc-0.2) - ("rust-memoffset" ,rust-memoffset-0.8) - ("rust-serial-test" ,rust-serial-test-0.6) + ("rust-memoffset" ,rust-memoffset-0.9) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-rustix-0.36 (package (inherit rust-rustix-0.37) (name "rust-rustix") - (version "0.36.13") + (version "0.36.17") (source (origin (inherit (package-source rust-rustix-0.37)) (method url-fetch) @@ -69521,7 +67036,7 @@ rustc compiler.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0n6ng6kdcz65ax5s17xavkjqs5a6gwcp9acc9r8blfp91d9gjf1s")))) + "1vf7p0ixq1vm537bv7zs6fq21dabk4vg3x8xa3mkjhfy9z8znpih")))) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -69537,21 +67052,19 @@ rustc compiler.") ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) ("rust-windows-sys" ,rust-windows-sys-0.45)) #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) - ("rust-ctor" ,rust-ctor-0.1) + (("rust-ctor" ,rust-ctor-0.1) ("rust-errno" ,rust-errno-0.3) ("rust-flate2" ,rust-flate2-1) ("rust-io-lifetimes" ,rust-io-lifetimes-1) ("rust-libc" ,rust-libc-0.2) ("rust-memoffset" ,rust-memoffset-0.7) - ("rust-serial-test" ,rust-serial-test-0.6) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-rustix-0.35 (package (inherit rust-rustix-0.36) (name "rust-rustix") - (version "0.35.13") + (version "0.35.16") (source (origin (inherit (package-source rust-rustix-0.36)) (method url-fetch) @@ -69559,7 +67072,7 @@ rustc compiler.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1yfmkj5nwghxd3nha5ywf1cj6zqh44qwm0cavwifr1ppcmnilykj")))) + "0qlb5s7zgmks58ric301yma02p4aq8j0n2nxq5zx8kr4llbgcqsk")))) (arguments (list #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) @@ -69577,13 +67090,11 @@ rustc compiler.") ,rust-rustc-std-workspace-core-1) ("rust-windows-sys" ,rust-windows-sys-0.42)) #:cargo-development-inputs - `(("rust-criterion" ,rust-criterion-0.3) - ("rust-ctor" ,rust-ctor-0.1) + `(("rust-ctor" ,rust-ctor-0.1) ("rust-errno" ,rust-errno-0.2) ("rust-io-lifetimes" ,rust-io-lifetimes-0.7) ("rust-libc" ,rust-libc-0.2) ("rust-memoffset" ,rust-memoffset-0.6) - ("rust-serial-test" ,rust-serial-test-0.6) ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-rustix-openpty-0.1 @@ -69718,14 +67229,14 @@ font rendering.") (define-public rust-rustversion-1 (package (name "rust-rustversion") - (version "1.0.17") + (version "1.0.18") (source (origin (method url-fetch) (uri (crate-uri "rustversion" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mm3fckyvb0l2209in1n2k05sws5d9mpkszbnwhq3pkq8apjhpcm")))) + (base32 "0j2207vmgrcxwwwvknfn3lwv4i8djhjnxlvwdnz8bwijqqmrz08f")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -69935,17 +67446,16 @@ sub-processes using a fork-like interface.") (package (inherit rust-rustyline-12) (name "rust-rustyline") - (version "9.0.0") + (version "9.1.2") (source (origin (method url-fetch) (uri (crate-uri "rustyline" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mj0cgdyw6gaadsg7yxsnb9n4bdl91qga9kiwyd4hqqsi31qf13r")))) + (base32 "0f8069ljhiv9nf97y975wvv9yvx82w3lm9g50d5n298fkiw2cy6v")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-clipboard-win" ,rust-clipboard-win-4) @@ -69954,83 +67464,26 @@ sub-processes using a fork-like interface.") ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-memchr" ,rust-memchr-2) - ("rust-nix" ,rust-nix-0.22) + ("rust-nix" ,rust-nix-0.23) ("rust-radix-trie" ,rust-radix-trie-0.2) ("rust-regex" ,rust-regex-1) ("rust-scopeguard" ,rust-scopeguard-1) + ("rust-skim" ,rust-skim-0.9) ("rust-smallvec" ,rust-smallvec-1) ("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) - ("rust-skim" ,rust-skim-0.9)))))) - -(define-public rust-rustyline-8 - (package - (inherit rust-rustyline-9) - (name "rust-rustyline") - (version "8.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustyline" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0x0qwcbnq6zyayxv1xqqn0zbwlz878jra0sgiv4pd3vklzvymm7v")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-clipboard-win" ,rust-clipboard-win-4) - ("rust-dirs-next" ,rust-dirs-next-2) - ("rust-fd-lock" ,rust-fd-lock-2) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-nix" ,rust-nix-0.20) - ("rust-radix-trie" ,rust-radix-trie-0.2) - ("rust-scopeguard" ,rust-scopeguard-1) - ("rust-smallvec" ,rust-smallvec-1) - ("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) - ("rust-skim" ,rust-skim-0.9)))))) - -(define-public rust-rustyline-7 - (package - (inherit rust-rustyline-8) - (name "rust-rustyline") - (version "7.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustyline" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1v1czmy3ir7d06xldp8bg94l97hrm15hcgdxxkq3cwbizhdk09w2")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-dirs-next" ,rust-dirs-next-2) - ("rust-fs2" ,rust-fs2-0.4) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-nix" ,rust-nix-0.19) - ("rust-scopeguard" ,rust-scopeguard-1) - ("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) - ("rust-skim" ,rust-skim-0.7)))))) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-rustyline-derive" ,rust-rustyline-derive-0.6) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-rustyline-6 (package - (inherit rust-rustyline-7) + (inherit rust-rustyline-9) (name "rust-rustyline") (version "6.3.0") (source @@ -70118,6 +67571,22 @@ sub-processes using a fork-like interface.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-rustyline-derive-0.6 + (package + (inherit rust-rustyline-derive-0.7) + (name "rust-rustyline-derive") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustyline-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mw0nfi8xxsm4q80mv4va7ff8m0kgnsfjvv067zc1d8hp1daaddv")))) + (arguments + `(#:cargo-inputs (("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-rustyline-derive-0.3 (package (inherit rust-rustyline-derive-0.9) @@ -70135,191 +67604,6 @@ sub-processes using a fork-like interface.") (("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-ruzstd-0.7 - (package - (name "rust-ruzstd") - (version "0.7.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "ruzstd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08ffshmfmmcgijcg4w517clpsxwknga89inxjw4hgb1s2f797hwr")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-twox-hash" ,rust-twox-hash-1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/KillingSpark/zstd-rs") - (synopsis "Decoder for the zstd compression format") - (description - "This package provides a decoder for the zstd compression format.") - (license license:expat))) - -(define-public rust-ruzstd-0.5 - (package - (inherit rust-ruzstd-0.7) - (name "rust-ruzstd") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ruzstd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ga8jciw7ka3mxrzl39skmsbdslajghzglcil10g0z4rh65fpi2q")))) - (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)))))) - -(define-public rust-ruzstd-0.4 - (package - (inherit rust-ruzstd-0.5) - (name "rust-ruzstd") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "ruzstd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1p4ghqzkq36dy1x1ijnk7jmml4wi3v9bkfzlbm2hsnkiz6wglgxc")))) - (arguments - `(#:cargo-test-flags - '("--release" "--" - ;; not all files included - "--skip=tests::decode_corpus::test_decode_corpus_files" - "--skip=tests::dict_test::test_dict_decoding" - "--skip=tests::fuzz_regressions::test_all_artifacts" - "--skip=tests::test_block_header_reading" - "--skip=tests::test_decode_from_to" - "--skip=tests::test_frame_decoder" - "--skip=tests::test_frame_header_reading" - "--skip=tests::test_specific_file" - "--skip=tests::test_streaming") - #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-thiserror-core" ,rust-thiserror-core-1) - ("rust-twox-hash" ,rust-twox-hash-1)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) - ("rust-rand" ,rust-rand-0.8)))))) - -(define-public rust-rkyv-0.7 - (package - (name "rust-rkyv") - (version "0.7.44") - (source (origin - (method url-fetch) - (uri (crate-uri "rkyv" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1h4rpjn15bfldwb2j3zlmv3zaksvizzl1yf6vg24yfdk5534dfjw")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-arrayvec" ,rust-arrayvec-0.7) - ("rust-bitvec" ,rust-bitvec-1) - ("rust-bytecheck" ,rust-bytecheck-0.6) - ("rust-bytes" ,rust-bytes-1) - ("rust-hashbrown" ,rust-hashbrown-0.12) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-ptr-meta" ,rust-ptr-meta-0.1) - ("rust-rend" ,rust-rend-0.4) - ("rust-rkyv-derive" ,rust-rkyv-derive-0.7) - ("rust-seahash" ,rust-seahash-4) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-smol-str" ,rust-smol-str-0.2) - ("rust-tinyvec" ,rust-tinyvec-1) - ("rust-uuid" ,rust-uuid-1)))) - (home-page "https://github.com/rkyv/rkyv") - (synopsis "Zero-copy deserialization framework for Rust") - (description "Rkyv is a zero-copy deserialization framework for Rust.") - (license license:expat))) - -(define-public rust-rkyv-0.6 - (package - (inherit rust-rkyv-0.7) - (name "rust-rkyv") - (version "0.6.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "rkyv" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "01wsn0i8gsw958j892w8i4fyzjdsyhrh7c5zajig049kbqz5n4yb")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytecheck" ,rust-bytecheck-0.5) - ("rust-memoffset" ,rust-memoffset-0.6) - ("rust-ptr-meta" ,rust-ptr-meta-0.1) - ("rust-rkyv-derive" ,rust-rkyv-derive-0.6) - ("rust-seahash" ,rust-seahash-4)))))) - - -(define-public rust-rkyv-derive-0.7 - (package - (name "rust-rkyv-derive") - (version "0.7.44") - (source (origin - (method url-fetch) - (uri (crate-uri "rkyv_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0rbwvbxka171bvhj60yjaxn77ipi5d1nwknnp5i6ypp2ipzxzpd7")))) - (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/rkyv/rkyv") - (synopsis "Derive macro for zero-copy deserialization framework") - (description "This package provides a Derive macro for the rkyv -deserialization framework.") - (license license:expat))) - -(define-public rust-rkyv-derive-0.6 - (package - (inherit rust-rkyv-derive-0.7) - (name "rust-rkyv-derive") - (version "0.6.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "rkyv_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1mc7rnps41gdywahsffqlypsp9jqmp0r6hlh2nxm31bddfgli3xs")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-ryu-1 (package (name "rust-ryu") @@ -70392,79 +67676,6 @@ quickly convert floating point numbers to decimal strings.") "This package is a s3 handler for S3 Rich Support client (S3RS).") (license license:expat))) -(define-public rust-salsa-macros-0.17 - (package - (name "rust-salsa-macros") - (version "0.17.0-pre.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "salsa-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xrgb38l5fhv3lqx2lwnqc3s2zrgxmj63cd7kl0vyl7m5lsjwv5c")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-heck" ,rust-heck-0.3) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/salsa-rs/salsa") - (synopsis - "Procedural macros for the salsa crate") - (description - "This package provides a procedural macros for the salsa crate.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-salsa-0.17 - (package - (name "rust-salsa") - (version "0.17.0-pre.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "salsa" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ypiig0p9969nkb7k0ydxm5bnc3jva815dfh8hqpackcnk63s8lv")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-crossbeam-utils" - ,rust-crossbeam-utils-0.8) - ("rust-indexmap" ,rust-indexmap-1.7) - ("rust-lock-api" ,rust-lock-api-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-oorandom" ,rust-oorandom-11) - ("rust-parking-lot" ,rust-parking-lot-0.11) - ("rust-rustc-hash" ,rust-rustc-hash-1) - ("rust-salsa-macros" ,rust-salsa-macros-0.17) - ("rust-smallvec" ,rust-smallvec-1)) - #:cargo-development-inputs - (("rust-diff" ,rust-diff-0.1) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-linked-hash-map" - ,rust-linked-hash-map-0.5) - ("rust-rand" ,rust-rand-0.7) - ("rust-rand-distr" ,rust-rand-distr-0.2)))) - (home-page "https://github.com/salsa-rs/salsa") - (synopsis - "Generic framework for on-demand, incrementalized computation -(experimental)") - (description - "This package provides a generic framework for on-demand, incrementalized -computation (experimental)") - (license (list license:asl2.0 license:expat)))) - (define-public rust-safe-arch-0.7 (package (name "rust-safe-arch") @@ -70517,6 +67728,25 @@ computation (experimental)") #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)))))) +(define-public rust-safe-lock-0.1 + (package + (name "rust-safe-lock") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "safe-lock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p661vi35v8rb79w0vz532vm1yi2817cslxplny9cwap1bnl367j")))) + (build-system cargo-build-system) + (home-page "https://gitlab.com/leonhard-llc/ops") + (synopsis "Lock struct for Rust") + (description + "This package provides a lock struct with a @code{const fn} constructor +and no @code{unsafe}.") + (license license:asl2.0))) + (define-public rust-safemem-0.3 (package (name "rust-safemem") @@ -70767,33 +67997,44 @@ paths point to the same file.") ("rust-once-cell" ,rust-once-cell-1) ("rust-sample-test" ,rust-sample-test-0.1)))))) -(define-public rust-sanakirja-0.10 +(define-public rust-sanakirja-1 (package (name "rust-sanakirja") - (version "0.10.3") + (version "1.4.3") (source (origin (method url-fetch) (uri (crate-uri "sanakirja" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1fhn5lb6jn0pimnk0nbf5h4xvp28xdkdh33d57gq1ixy8b2y091y")))) + (base32 "04bdmhs3y35w3ip265mm4yiyf2493vcizl04kwh248af0q6zgal1")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; tests::test_del_medium_fork fails - #:cargo-inputs - (("rust-fs2" ,rust-fs2-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-memmap" ,rust-memmap-0.7) - ("rust-rand" ,rust-rand-0.6) - ("rust-uuid" ,rust-uuid-0.7)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.6) - ("rust-hex" ,rust-hex-0.3) - ("rust-tempdir" ,rust-tempdir-0.3)))) - (home-page "https://nest.pijul.com/pijul_org/sanakirja") + `(#:cargo-test-flags + '("--" + ;; Some of the tests seem to get stuck in a loop + "--skip=tests::put_growth" + "--skip=tests::random_scenario_sized_fork" + ;; expected `u64`, found `NonZero<u64>` + "--skip=src/lib.rs - (line 18)") + #:cargo-inputs (("rust-crc32fast" ,rust-crc32fast-1) + ("rust-fs2" ,rust-fs2-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-sanakirja-core" ,rust-sanakirja-core-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-lmdb-rs" ,rust-lmdb-rs-0.7) + ("rust-rand" ,rust-rand-0.8) + ("rust-sled" ,rust-sled-0.34) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-uuid" ,rust-uuid-0.8)))) + (inputs (list lmdb)) + (home-page "https://nest.pijul.com/pijul/sanakirja") (synopsis "Key-value dictionary, using copy-on-write and B-trees") (description "This package provides a key-value dictionary, using copy-on-write and B @@ -70807,6 +68048,30 @@ motivation for writing this library. @end itemize") (license (list license:asl2.0 license:expat)))) +(define-public rust-sanakirja-core-1 + (package + (name "rust-sanakirja-core") + (version "1.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sanakirja-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xcb4d9gaxp61na4dyz9iiq3n1shhiivqs0iv5xnxb1ymqsdnxl3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-crc32fast" ,rust-crc32fast-1) + ("rust-ed25519-zebra" ,rust-ed25519-zebra-2) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-uuid" ,rust-uuid-1)))) + (home-page "https://nest.pijul.com/pijul/sanakirja") + (synopsis "Copy-on-write datastructures with a stable format") + (description + "This package provides copy-on-write datastructures, storable on disk +(or elsewhere) with a stable format.") + (license (list license:expat license:asl2.0)))) + (define-public rust-sc-0.2 (package (name "rust-sc") @@ -71213,30 +68478,29 @@ with one of the implemented strategies.") (description "This create is for logging runtime of arbitrary scope.") (license license:expat))) -(define-public rust-scraper-0.12 +(define-public rust-scraper-0.18 (package (name "rust-scraper") - (version "0.12.0") + (version "0.18.1") (source (origin (method url-fetch) (uri (crate-uri "scraper" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04icx88wdrlz1qv0dz1zc0inlfq34ajwdpih854jw368j2kjmq28")))) + (base32 "1qf3vfj8xrggq9cwrr6yq88807sckjfirnvklmw1nccvf7iq0m2q")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cssparser" ,rust-cssparser-0.27) - ("rust-ego-tree" ,rust-ego-tree-0.6) - ("rust-getopts" ,rust-getopts-0.2) - ("rust-html5ever" ,rust-html5ever-0.25) - ("rust-matches" ,rust-matches-0.1) - ("rust-selectors" ,rust-selectors-0.22) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-tendril" ,rust-tendril-0.4)))) - (home-page "https://github.com/programble/scraper") + `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) + ("rust-cssparser" ,rust-cssparser-0.31) + ("rust-ego-tree" ,rust-ego-tree-0.6) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-html5ever" ,rust-html5ever-0.26) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-selectors" ,rust-selectors-0.25) + ("rust-tendril" ,rust-tendril-0.4)))) + (home-page "https://github.com/causal-agent/scraper") (synopsis "HTML parsing and querying with CSS selectors") (description "Scraper provides an interface to Servo's html5ever and selectors crates, @@ -71626,19 +68890,6 @@ Pwrite traits from the scroll crate.") 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-sdd-3 (package (name "rust-sdd") @@ -71746,25 +68997,23 @@ statistical guarantees.") format (struct) containing years, days, hours, minutes and seconds.") (license license:expat))) -(define-public rust-secrecy-0.8 +(define-public rust-secrecy-0.10 (package (name "rust-secrecy") - (version "0.8.0") + (version "0.10.3") (source (origin (method url-fetch) (uri (crate-uri "secrecy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07p9h2bpkkg61f1fzzdqqbf74kwv1gg095r1cdmjzzbcl17cblcv")))) + (base32 "0nmfsf9qm8921v2jliz08bj8zrryqar4gj3d6irqfc3kaj2az4g8")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) - ("rust-serde" ,rust-serde-1) + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) ("rust-zeroize" ,rust-zeroize-1)))) (home-page "https://github.com/iqlusioninc/crates/") - (synopsis - "Wrapper types and traits for secret management") + (synopsis "Wrapper types and traits for secret management") (description "This package provides wrapper types and traits for secret management which help ensure they aren't accidentally copied, logged, or otherwise exposed (as @@ -71772,6 +69021,23 @@ much as possible), and also ensure secrets are securely wiped from memory when dropped.") (license (list license:asl2.0 license:expat)))) +(define-public rust-secrecy-0.8 + (package + (inherit rust-secrecy-0.10) + (name "rust-secrecy") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "secrecy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07p9h2bpkkg61f1fzzdqqbf74kwv1gg095r1cdmjzzbcl17cblcv")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-serde" ,rust-serde-1) + ("rust-zeroize" ,rust-zeroize-1)))))) + (define-public rust-secret-service-3 (package (name "rust-secret-service") @@ -71943,14 +69209,14 @@ dropped.") (define-public rust-self-cell-1 (package (name "rust-self-cell") - (version "1.0.1") + (version "1.1.0") (source (origin (method url-fetch) - (uri (crate-uri "self-cell" version)) + (uri (crate-uri "self_cell" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1djgfccbfhj2zv7xmqc2nxwn41g1swyrxg1d488pirj3am8rwc2c")) + "1gmxk5bvnnimcif7v1jk8ai2azfvh9djki545nd86vsnphjgrzf2")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -72025,14 +69291,14 @@ Mandatory Access Control for Linux.") (define-public rust-semver-1 (package (name "rust-semver") - (version "1.0.23") + (version "1.0.24") (source (origin (method url-fetch) (uri (crate-uri "semver" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12wqpxfflclbq4dv8sa6gchdh92ahhwn4ci1ls22wlby3h57wsb1")))) + (base32 "1fmvjjkd3f64y5fqr1nakkq371mnwzv09fbz5mbmdxril63ypdiw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -72218,6 +69484,28 @@ thread. If any of these constraints is violated, a panic occurs.") (base32 "1l7s28vfnwdbjyrrk3lx81jy4f0dcrv4iwyah2wj6vndxhqxaf7n")))) (arguments `(#:skip-build? #t)))) +(define-public rust-sensors-0.2 + (package + (name "rust-sensors") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sensors" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l6nvmbbbbl9mdkd9806mmls68d6hvqb2nl0nm14chva5xwz8fks")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-libsensors-sys" ,rust-libsensors-sys-0.2)))) + (inputs (list (list lm-sensors "lib"))) + (home-page "https://github.com/nyantec/sensors") + (synopsis "Rust-friendly interface to lm-sensors") + (description + "This package provides a Rust-friendly interface to lm-sensors.") + (license license:miros))) + (define-public rust-seq-io-0.3 (package (name "rust-seq-io") @@ -72284,7 +69572,7 @@ formats: (define-public rust-serde-1 (package (name "rust-serde") - (version "1.0.215") + (version "1.0.216") (source (origin (method url-fetch) @@ -72292,7 +69580,7 @@ formats: (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13xqkw93cw9rnbkm0zy1apnilzq7l2xf1qw8m1nkga8i1fnw24v5")))) + "13ikqs0cvd220530x4rj1m9ab5wcflrwkw7cpvl9fnlkdq0q35qb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -72314,20 +69602,14 @@ formats: (origin (method url-fetch) (uri (crate-uri "serde" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1bsla8l5xr9pp5sirkal6mngxcq6q961km88jvf339j5ff8j7dil")))) + (base32 "1bsla8l5xr9pp5sirkal6mngxcq6q961km88jvf339j5ff8j7dil")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))) - #:cargo-inputs + `(#:cargo-inputs (("rust-serde-derive" ,rust-serde-derive-0.9)) #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-0.9)))))) @@ -72347,7 +69629,7 @@ formats: "1j4ajipn0sf4ya0crgcb94s848qp7mfc35n6d0q2rf8rk5skzbcx")))) (arguments `(#:cargo-development-inputs - (("rust-clippy" ,rust-clippy-0.0)) + (("rust-clippy" ,rust-clippy-0.0.302)) #:tests? #f)))) (define-public rust-serde-aux-4 @@ -72376,6 +69658,30 @@ formats: (description "This package provides a serde crate's auxiliary library.") (license license:expat))) +(define-public rust-serde-bencode-0.2 + (package + (name "rust-serde-bencode") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_bencode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gj17p1w5hyi69fngv55dai4nb4fmdij76gqwyb9if9qfixzq3d7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11)) + #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-test" ,rust-serde-test-1)))) + (home-page "https://github.com/toby/serde-bencode") + (synopsis "Serde backed Bencode encoding/decoding library for Rust.") + (description + "This package provides a Serde backed Bencode encoding/decoding library +for Rust.") + (license license:expat))) + (define-public rust-serde-big-array-0.5 (package (name "rust-serde-big-array") @@ -72587,140 +69893,10 @@ formats: "Unstable AST representation used by Serde codegen.") (license (list license:expat license:asl2.0)))) -(define-public rust-serde-fmt-1 - (package - (name "rust-serde-fmt") - (version "1.0.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde_fmt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "195sp3zxbdgrnaqxwn9z3pij04fd7yyihnm4fpfc261r5fdacqr9")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/KodrAus/serde_fmt.git") - (synopsis "Write any @code{serde::Serialize} using standard formatting APIs") - (description - "This package allows one to Write any @code{serde::Serialize} using the -standard formatting APIs.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-serde-html-form-0.2 - (package - (name "rust-serde-html-form") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde_html_form" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "133ycw4zdw4jymnw38n4vnjnvhxf5im3hh6g4akr4rps3ip0dq90")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-form-urlencoded" ,rust-form-urlencoded-1) - ("rust-indexmap" ,rust-indexmap-2) - ("rust-itoa" ,rust-itoa-1) - ("rust-ryu" ,rust-ryu-1) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs (("rust-assert-matches2" ,rust-assert-matches2-0.1) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/jplatte/serde_html_form") - (synopsis - "(De-)serialization support for the `application/x-www-form-urlencoded` format") - (description - "This package provies (de-)serialization support for the -`application/x-www-form-urlencoded` format.") - (license license:expat))) - -(define-public rust-serde-indextree-0.2 - (package - (name "rust-serde-indextree") - (version "0.2.0") - (source (origin - (method url-fetch) - (uri (crate-uri "serde_indextree" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0kzp3dk6smfy0509fd1sih9ai4a31kgpb1rshsxb0m2l01c7s3m7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-indextree" ,rust-indextree-4) - ("rust-serde" ,rust-serde-1)))) - (home-page "https://github.com/PoiScript/serde_indextree") - (synopsis "Serializing indextree structure") - (description "Serializing indextree structure.") - (license license:expat))) - -(define-public rust-serde-hjson-0.9 - (package - (name "rust-serde-hjson") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "serde-hjson" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1y3lzs8556bxqa9jfdyg38pd5jjffblczikckwh571d8m074wfka")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-linked-hash-map" ,rust-linked-hash-map-0.3) - ("rust-num-traits" ,rust-num-traits-0.1) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-0.8)))) - (home-page "https://github.com/hjson/hjson-rust") - (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-serdeconv-0.4 - (package - (name "rust-serdeconv") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "serdeconv" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cal6qkzps92g7csycqij4ik1df3ccxn5sxnjvfvm473phnwbvbi")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rmp-serde" ,rust-rmp-serde-0.15) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-trackable" ,rust-trackable-1)) - #:cargo-development-inputs - (("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/sile/serdeconv") - (synopsis - "Convert between TOML/JSON/MessagePack strings and serializable values") - (description - "This crate provides traits and functions for converting between -TOML/JSON/MessagePack strings and serializable values.") - (license license:expat))) - (define-public rust-serde-derive-1 (package (name "rust-serde-derive") - (version "1.0.215") + (version "1.0.216") (source (origin (method url-fetch) @@ -72728,7 +69904,7 @@ TOML/JSON/MessagePack strings and serializable values.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1h2nswy0rmzblil38h12wxsgni1ik63rk22wy19g48v9hrpqc7md")))) + "0pm5bm4354n40ir12bbs829arlqwjrw0wmzd4xk5r1kkpzdmky26")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -72753,20 +69929,14 @@ TOML/JSON/MessagePack strings and serializable values.") (origin (method url-fetch) (uri (crate-uri "serde_derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1fkldf0lnl6pwxs00qpyp79m30qmfpi3bk0wm22211ylyikdi3wp")))) + (base32 "1fkldf0lnl6pwxs00qpyp79m30qmfpi3bk0wm22211ylyikdi3wp")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))) - #:cargo-inputs + `(#:cargo-inputs (("rust-quote" ,rust-quote-0.3) ("rust-serde-codegen-internals" ,rust-serde-codegen-internals-0.14) ("rust-syn" ,rust-syn-0.11)))))) @@ -72830,6 +70000,86 @@ derive macros.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) +(define-public rust-serde-fmt-1 + (package + (name "rust-serde-fmt") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_fmt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "195sp3zxbdgrnaqxwn9z3pij04fd7yyihnm4fpfc261r5fdacqr9")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/KodrAus/serde_fmt.git") + (synopsis "Write any @code{serde::Serialize} using standard formatting APIs") + (description + "This package allows one to Write any @code{serde::Serialize} using the +standard formatting APIs.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-serde-hjson-0.9 + (package + (name "rust-serde-hjson") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-hjson" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y3lzs8556bxqa9jfdyg38pd5jjffblczikckwh571d8m074wfka")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-clippy" ,rust-clippy-0.0.302) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-linked-hash-map" ,rust-linked-hash-map-0.3) + ("rust-num-traits" ,rust-num-traits-0.1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-0.8)))) + (home-page "https://github.com/hjson/hjson-rust") + (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-serde-html-form-0.2 + (package + (name "rust-serde-html-form") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde_html_form" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "133ycw4zdw4jymnw38n4vnjnvhxf5im3hh6g4akr4rps3ip0dq90")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-assert-matches2" ,rust-assert-matches2-0.1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/jplatte/serde_html_form") + (synopsis + "(De-)serialization support for the `application/x-www-form-urlencoded` format") + (description + "This package provides (de-)serialization support for the +`application/x-www-form-urlencoded` format.") + (license license:expat))) + (define-public rust-serde-ignored-0.1 (package (name "rust-serde-ignored") @@ -72855,17 +70105,37 @@ data. This crate provides a wrapper that works with any existing Serde @code{Deserializer} and invokes a callback on every ignored field.") (license (list license:expat license:asl2.0)))) +(define-public rust-serde-indextree-0.2 + (package + (name "rust-serde-indextree") + (version "0.2.0") + (source (origin + (method url-fetch) + (uri (crate-uri "serde_indextree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0kzp3dk6smfy0509fd1sih9ai4a31kgpb1rshsxb0m2l01c7s3m7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-indextree" ,rust-indextree-4) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/PoiScript/serde_indextree") + (synopsis "Serializing indextree structure") + (description "Serializing indextree structure.") + (license license:expat))) + (define-public rust-serde-json-1 (package (name "rust-serde-json") - (version "1.0.128") + (version "1.0.134") (source (origin (method url-fetch) (uri (crate-uri "serde_json" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n43nia50ybpcfmh3gcw4lcc627qsg9nyakzwgkk9pm10xklbxbg")))) + (base32 "0z8wk61rzpqjmnwhv6k9zikhsfmsb6lr6qbg84aqpr1fqisl23yh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -72918,14 +70188,14 @@ data. This crate provides a wrapper that works with any existing Serde (define-public rust-serde-json-core-0.5 (package (name "rust-serde-json-core") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "serde-json-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1w2g6ylmxbj9fbz4f86i0nnyk2mbv7qbksx0mbimxx17wj7krv2q")))) + "0cxv1cp244f7mahw3snmdq91s44py3jwf3lj6i643g606fsim7iw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -72987,14 +70257,14 @@ programs in rust.") (define-public rust-serde-path-to-error-0.1 (package (name "rust-serde-path-to-error") - (version "0.1.14") + (version "0.1.16") (source (origin (method url-fetch) (uri (crate-uri "serde_path_to_error" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0dc31z4bg0jwn69gcqsczbmcy5y4w6r0vdcc4c38vma9x2ycivjb")))) + (base32 "19hlz2359l37ifirskpcds7sxg0gzpqvfilibs7whdys0128i6dg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -73214,20 +70484,14 @@ by dynamically growing the stack.") (origin (method url-fetch) (uri (crate-uri "serde_test" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "193mf0qkhvjywd06x6hhmkixlqcyfbpfwfmr75dp2b8xwzpsvxwf")))) + (base32 "193mf0qkhvjywd06x6hhmkixlqcyfbpfwfmr75dp2b8xwzpsvxwf")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path =.*}") "}"))))) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path =.*}") "}")) - #t))) - #:cargo-inputs (("rust-serde" ,rust-serde-0.9)))))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-0.9)))))) (define-public rust-serde-test-0.8 (package @@ -73240,17 +70504,12 @@ by dynamically growing the stack.") (uri (crate-uri "serde_test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1m939j7cgs7i58r6vxf0ffp3nbr8advr8p9dqa9w8zk0z2yks2qi")))) + (base32 "1m939j7cgs7i58r6vxf0ffp3nbr8advr8p9dqa9w8zk0z2yks2qi")) + (modules '((guix build utils))) + (snippet #~(substitute* "Cargo.toml" + ((", path = \"../serde\"") ""))))) (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-0.8)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-Cargo-toml - (lambda _ - (substitute* "Cargo.toml" - ((", path = \"../serde\"") "")) - #t))))))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-0.8)))))) (define-public rust-serde-transcode-1 (package @@ -73372,6 +70631,35 @@ the application/x-www-form-urlencoded format.") for later processing.") (license license:expat))) +(define-public rust-serde-wasm-bindgen-0.3 + (package + (name "rust-serde-wasm-bindgen") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "serde-wasm-bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xzh1a3rhapirlca4rbvh6bycphxg5yjmdwjsqij3hl6wpl6b0v1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fnv" ,rust-fnv-1) + ("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-maplit" ,rust-maplit-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + (home-page "https://github.com/cloudflare/serde-wasm-bindgen") + (synopsis "Native Serde adapter for wasm-bindgen") + (description "Native Serde adapter for wasm-bindgen.") + (license license:expat))) + (define-public rust-serde-with-3 (package (name "rust-serde-with") @@ -73636,7 +70924,7 @@ Rust's serde.") ("rust-simple-logger" ,rust-simple-logger-2)))) (home-page "https://github.com/RReverser/serde-xml-rs") (synopsis "xml-rs based deserializer for Serde") - (description "This package provies a xml-rs based deserializer for Serde + (description "This package provides a xml-rs based deserializer for Serde (compatible with 0.9+).") (license license:expat))) @@ -73739,68 +71027,117 @@ Rust's serde.") ("rust-indoc" ,rust-indoc-1) ("rust-serde-derive" ,rust-serde-derive-1)))))) -(define-public rust-serde-bencode-0.2 +(define-public rust-serde-yaml-ng-0.10 (package - (name "rust-serde-bencode") - (version "0.2.4") + (name "rust-serde-yaml-ng") + (version "0.10.0") (source (origin (method url-fetch) - (uri (crate-uri "serde_bencode" version)) + (uri (crate-uri "serde_yaml_ng" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gj17p1w5hyi69fngv55dai4nb4fmdij76gqwyb9if9qfixzq3d7")))) + (base32 "07ylpzx9xykdj4fqfa0vb6xz4c1pazrqqibv78hd8dlbp4kvckbv")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-serde" ,rust-serde-1) - ("rust-serde-bytes" ,rust-serde-bytes-0.11)))) - (home-page "https://github.com/toby/serde-bencode") - (synopsis "Serde backed Bencode encoding/decoding library for Rust.") - (description - "This package provides a Serde backed Bencode encoding/decoding library for Rust.") + `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) + ("rust-itoa" ,rust-itoa-1) + ("rust-ryu" ,rust-ryu-1) + ("rust-serde" ,rust-serde-1) + ("rust-unsafe-libyaml" ,rust-unsafe-libyaml-0.2)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-indoc" ,rust-indoc-2) + ("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/acatton/serde-yaml-ng") + (synopsis "YAML data format for Serde") + (description "This package provides YAML data format for Serde.") (license license:expat))) -(define-public rust-serde-wasm-bindgen-0.3 +(define-public rust-serdeconv-0.4 (package - (name "rust-serde-wasm-bindgen") - (version "0.3.1") + (name "rust-serdeconv") + (version "0.4.1") (source (origin (method url-fetch) - (uri (crate-uri "serde-wasm-bindgen" version)) + (uri (crate-uri "serdeconv" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xzh1a3rhapirlca4rbvh6bycphxg5yjmdwjsqij3hl6wpl6b0v1")))) + (base32 "08bjyh38pr9ssg9vivk66r461j3piq78w5jb55afa98xxxnnk5w8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-fnv" ,rust-fnv-1) - ("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-maplit" ,rust-maplit-1) + (("rust-rmp-serde" ,rust-rmp-serde-1) ("rust-serde" ,rust-serde-1) - ("rust-serde-bytes" ,rust-serde-bytes-0.11) ("rust-serde-json" ,rust-serde-json-1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (home-page "https://github.com/cloudflare/serde-wasm-bindgen") - (synopsis "Native Serde adapter for wasm-bindgen") - (description "Native Serde adapter for wasm-bindgen.") + ("rust-toml" ,rust-toml-0.7) + ("rust-trackable" ,rust-trackable-1)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/sile/serdeconv") + (synopsis + "Convert between TOML/JSON/MessagePack strings and serializable values") + (description + "This crate provides traits and functions for converting between +TOML/JSON/MessagePack strings and serializable values.") + (license license:expat))) + +(define-public rust-serial-0.4 + (package + (name "rust-serial") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11iyvc1z123hn7zl6bk5xpf6xdlsb33qh6xa7g0pghqgayb7l8x1")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ((", path = \".*\"") "")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serial-core" ,rust-serial-core-0.4) + ("rust-serial-unix" ,rust-serial-unix-0.4) + ("rust-serial-windows" ,rust-serial-windows-0.4)))) + (home-page "https://github.com/dcuddeback/serial-rs") + (synopsis "Rust library for accessing serial ports") + (description + "This package provides Rust library for accessing serial ports.") + (license license:expat))) + +(define-public rust-serial-core-0.4 + (package + (name "rust-serial-core") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10a5lvllz3ljva66bqakrn8cxb3pkaqyapqjw9x760al6jdj0iiz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://github.com/dcuddeback/serial-rs") + (synopsis "Rust abstractions for serial ports") + (description "This package provides Rust abstractions for serial ports.") (license license:expat))) (define-public rust-serial-test-3 (package (name "rust-serial-test") - (version "3.1.1") + (version "3.2.0") (source (origin (method url-fetch) (uri (crate-uri "serial_test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zfpzr8jl7dpf4m8dk8fr9w1wfwhnjrccmyg46h41wmcw9zlhjsb")))) + (base32 "1a8zg87gi28952hzj363ykwd8p1ssrakl1gi3f4xdqa4y84q298v")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) @@ -73812,8 +71149,7 @@ Rust's serde.") ("rust-parking-lot" ,rust-parking-lot-0.12) ("rust-scc" ,rust-scc-2) ("rust-serial-test-derive" ,rust-serial-test-derive-3)) - #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10) - ("rust-tokio" ,rust-tokio-1)))) + #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10)))) (home-page "https://github.com/palfrey/serial_test") (synopsis "Allows for the creation of serialised Rust tests") (description @@ -73872,6 +71208,30 @@ Rust's serde.") (("rust-itertools" ,rust-itertools-0.10) ("rust-tokio" ,rust-tokio-1)))))) +(define-public rust-serial-test-0.10 + (package + (inherit rust-serial-test-3) + (name "rust-serial-test") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial_test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wh6jl0wddnyra9f57c3y64lha6n1ipg8p20l8id11s6gz49wy0w")))) + (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-0.10)) + #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.10) + ("rust-tokio" ,rust-tokio-1)))))) + (define-public rust-serial-test-0.7 (package (inherit rust-serial-test-2) @@ -73933,6 +71293,31 @@ Rust's serde.") ("rust-parking-lot" ,rust-parking-lot-0.11) ("rust-serial-test-derive" ,rust-serial-test-derive-0.5)))))) +(define-public rust-serial-test-0.4 + (package + (name "rust-serial-test") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial_test" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mkz246ax07nar0bmh3m98kl27lacja98vywi9cjqbsb8g3zgxgy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-lazy-static" ,rust-lazy-static-1) +("rust-parking-lot" ,rust-parking-lot-0.10) +("rust-serial-test-derive" ,rust-serial-test-derive-0.4)))) + (home-page + "https://github.com/palfrey/serial_test/") + (synopsis "Serialising Rust tests") + (description "Serialising Rust tests") + (license license:expat))) + (define-public rust-serial-test-0.1 (package (inherit rust-serial-test-0.5) @@ -73954,14 +71339,14 @@ Rust's serde.") (define-public rust-serial-test-derive-3 (package (name "rust-serial-test-derive") - (version "3.1.1") + (version "3.2.0") (source (origin (method url-fetch) (uri (crate-uri "serial_test_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0rrx13r2kdahbgs9qfvbx63zgzafrjjpiq42vsy1zvxw4nrrvzl2")))) + (base32 "1vwyz2k5kiy5jmba0fvp6ph8ia707801bz918n2ff7bm11d2csax")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -74015,6 +71400,24 @@ Rust's serde.") #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9)))))) +(define-public rust-serial-test-derive-0.10 + (package + (inherit rust-serial-test-derive-3) + (name "rust-serial-test-derive") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial_test_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qvz5vwzhxs2j2dsripyrxqn08brw3p0rbcafys8hz793i9rwkxn")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9)))))) + (define-public rust-serial-test-derive-0.7 (package (inherit rust-serial-test-derive-2) @@ -74079,6 +71482,32 @@ Rust's serde.") #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.7)))))) +(define-public rust-serial-test-derive-0.4 + (package + (name "rust-serial-test-derive") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial_test_derive" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "05b5xr36zi8damfg3bmbh1kwdxc3k1y2r8b8pmi7q8jb0bc3i0yh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page + "https://github.com/palfrey/serial_test_derive/") + (synopsis "Serialising Rust tests") + (description "Serialising Rust tests") + (license license:expat))) + (define-public rust-serial-test-derive-0.1 (package (inherit rust-serial-test-derive-0.5) @@ -74098,6 +71527,54 @@ Rust's serde.") (("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-serial-unix-0.4 + (package + (name "rust-serial-unix") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial-unix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1dyaaca8g4q5qzc2l01yirzs6igmhc9agg4w8m5f4rnqr6jbqgzh")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + ((", path = \".*\"") "")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ioctl-rs" ,rust-ioctl-rs-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-serial-core" ,rust-serial-core-0.4) + ("rust-termios" ,rust-termios-0.2)))) + (home-page "https://github.com/dcuddeback/serial-rs") + (synopsis "Serial port implementation for Unix") + (description "This package provides Serial port implementation for Unix.") + (license license:expat))) + +(define-public rust-serial-windows-0.4 + (package + (name "rust-serial-windows") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "serial-windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ql1vjy57g2jf218bhmgr98i41faq0v5vzdx3g9payi6fsvx7ihm")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; could not find `windows` in `os` + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-serial-core" ,rust-serial-core-0.4)))) + (home-page "https://github.com/dcuddeback/serial-rs") + (synopsis "Serial port implementation for Windows") + (description + "This package provides Serial port implementation for Windows.") + (license license:expat))) + (define-public rust-servo-arc-0.3 (package (name "rust-servo-arc") @@ -74158,57 +71635,6 @@ functionality and without weak references.") ("rust-serde" ,rust-serde-1) ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))))) -(define-public rust-serial-test-derive-0.4 - (package - (name "rust-serial-test-derive") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "serial_test_derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "05b5xr36zi8damfg3bmbh1kwdxc3k1y2r8b8pmi7q8jb0bc3i0yh")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-env-logger" ,rust-env-logger-0.7) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page - "https://github.com/palfrey/serial_test_derive/") - (synopsis "Serialising Rust tests") - (description "Serialising Rust tests") - (license license:expat))) - -(define-public rust-serial-test-0.4 - (package - (name "rust-serial-test") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "serial_test" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1mkz246ax07nar0bmh3m98kl27lacja98vywi9cjqbsb8g3zgxgy")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) -("rust-parking-lot" ,rust-parking-lot-0.10) -("rust-serial-test-derive" ,rust-serial-test-derive-0.4)))) - (home-page - "https://github.com/palfrey/serial_test/") - (synopsis "Serialising Rust tests") - (description "Serialising Rust tests") - (license license:expat))) - (define-public rust-servo-fontconfig-0.5 (package (name "rust-servo-fontconfig") @@ -74259,121 +71685,87 @@ functionality and without weak references.") "This package provides a Rust wrapper around Fontxonfig.") (license license:expat))) -(define-public rust-sensors-0.2 - (package - (name "rust-sensors") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sensors" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1l6nvmbbbbl9mdkd9806mmls68d6hvqb2nl0nm14chva5xwz8fks")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-libsensors-sys" ,rust-libsensors-sys-0.2)))) - (inputs (list (list lm-sensors "lib"))) - (home-page "https://github.com/nyantec/sensors") - (synopsis "Rust-friendly interface to lm-sensors") - (description - "This package provides a Rust-friendly interface to lm-sensors.") - (license license:miros))) - -(define-public rust-sevenz-rust-0.5 +(define-public rust-shadow-rs-0.37 (package - (name "rust-sevenz-rust") - (version "0.5.4") + (name "rust-shadow-rs") + (version "0.37.0") (source (origin (method url-fetch) - (uri (crate-uri "sevenz-rust" version)) + (uri (crate-uri "shadow-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0na67bs0ff01vicwwlc26sbh9jh4wpqn7988k31cixn5s231wfi3")) - (snippet - #~(begin (delete-file "tests/resources/decompress_x86.exe"))))) + (base32 "047ndbnhf2cxf98f0n4br0z0pdm53gfr89zhq25mia325hibhklp")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" - ;; Not all files included. - "--skip=decompress_lzma2_bcj_x86_file") - #:cargo-inputs (("rust-aes" ,rust-aes-0.8) - ("rust-bit-set" ,rust-bit-set-0.5) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-bzip2" ,rust-bzip2-0.4) - ("rust-cbc" ,rust-cbc-0.1) - ("rust-crc" ,rust-crc-3) - ("rust-filetime-creation" ,rust-filetime-creation-0.1) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-lzma-rust" ,rust-lzma-rust-0.1) - ("rust-nt-time" ,rust-nt-time-0.6) - ("rust-rand" ,rust-rand-0.8) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-zstd" ,rust-zstd-0.13)) - #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/dyz1990/sevenz-rust") - (synopsis "7z decompressor/compressor") + `(#:cargo-test-flags '("--" + ;; Skip tests with missing files + "--skip=date_time::tests::test_local_now_human_format" + ;; Broken tests + "--skip=git::tests::test_command_last_tag" + "--skip=git::tests::test_current_branch" + "--skip=git::tests::test_git") + #:cargo-inputs (("rust-cargo-metadata" ,rust-cargo-metadata-0.18) + ("rust-const-format" ,rust-const-format-0.2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-git2" ,rust-git2-0.19) + ("rust-is-debug" ,rust-is-debug-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-time" ,rust-time-0.3) + ("rust-tzdb" ,rust-tzdb-0.6)) + #:cargo-development-inputs (("rust-winnow" ,rust-winnow-0.6)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.8 zlib)) + (home-page "https://github.com/baoyachi/shadow-rs") + (synopsis "Store build-time information in your rust project") (description - "This package provides a 7z decompressor/compressor written in pure rust.") - (license license:asl2.0))) + "@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.26 +(define-public rust-shadow-rs-0.36 (package + (inherit rust-shadow-rs-0.37) (name "rust-shadow-rs") - (version "0.26.1") + (version "0.36.0") (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) + (base32 "064srz17klcgxqjzsj29pqn238y4pkn3l1h20mw9yyj98c3cvksq")))) (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) + `(#:cargo-test-flags '("--release" "--" + ;; Skip tests with missing files + "--skip=date_time::tests::test_local_now_human_format" + ;; Broken tests + "--skip=git::tests::test_command_last_tag" + "--skip=git::tests::test_current_branch" + "--skip=git::tests::test_git") + #:cargo-inputs (("rust-cargo-metadata" ,rust-cargo-metadata-0.18) + ("rust-const-format" ,rust-const-format-0.2) ("rust-document-features" ,rust-document-features-0.2) - ("rust-git2" ,rust-git2-0.18) + ("rust-git2" ,rust-git2-0.19) ("rust-is-debug" ,rust-is-debug-1) + ("rust-serde-json" ,rust-serde-json-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)))) + #:cargo-development-inputs (("rust-winnow" ,rust-winnow-0.6)))))) -(define-public rust-shadow-rs-0.8 +(define-public rust-shadow-rs-0.35 (package - (inherit rust-shadow-rs-0.26) + (inherit rust-shadow-rs-0.36) (name "rust-shadow-rs") - (version "0.8.1") + (version "0.35.2") (source (origin (method url-fetch) (uri (crate-uri "shadow-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0iy4f6yzag52qr93hjhm2l8crxhjblr91nffbdd8zzw0xchfjdc9")))) - (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)))))) + (base32 "11w6677ymsb69fy716adf51zjbzwgkkyf5arz41563gcnf7k5cpi")))))) (define-public rust-shannon-0.2 (package @@ -74423,29 +71815,26 @@ shared secret key.") (description "This package provides a lock-free concurrent slab.") (license license:expat))) -(define-public rust-shared-child-0.3 +(define-public rust-shared-child-1 (package (name "rust-shared-child") - (version "0.3.4") + (version "1.0.1") (source (origin (method url-fetch) (uri (crate-uri "shared_child" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1lmjmr7931dr9cpalw2n7ss4i9mnl7285j2dygxflk9y80xczswc")))) + (base32 "035679h89ppqcfkjzgz9bb2hdlkw5wjv598l310xz8frmqw97yh9")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)))) + `(#:cargo-test-flags '("--" "--skip=src/lib.rs - (line 35)") + #:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) (home-page "https://github.com/oconnor663/shared_child.rs") (synopsis "Use child processes from multiple threads") - (description - "A library for using child processes from multiple threads.") + (description "This package provides a library for using child processes from +multiple threads.") (license license:expat))) (define-public rust-shared-library-0.1 @@ -74493,6 +71882,30 @@ shared secret key.") "Escape characters that may have a special meaning in a shell.") (license (list license:asl2.0 license:expat)))) +(define-public rust-shell-quote-0.7 + (package + (name "rust-shell-quote") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "shell-quote" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0znflgk3wlbahip3yblqmlnd8c5cslabjh99asds9vhirjyn6k5f")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-semver" ,rust-semver-1) + ("rust-test-case" ,rust-test-case-3)))) + (home-page "https://github.com/allenap/shell-quote") + (synopsis "Rust library for shell-quoting strings") + (description + "This package provides a Rust library for shell-quoting strings, e.g. for +interpolating into a Bash script.") + (license license:asl2.0))) + (define-public rust-shell-words-1 (package (name "rust-shell-words") @@ -74657,24 +72070,26 @@ words, like Python's shlex.") (define-public rust-signal-hook-mio-0.2 (package (name "rust-signal-hook-mio") - (version "0.2.3") + (version "0.2.4") (source (origin (method url-fetch) (uri (crate-uri "signal-hook-mio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bwrrbd0lhwzlf63708vyzlh20693s5bg5s0ak6adjbyycajxb99")))) + (base32 "1k8pl9aafiadr4czsg8zal9b4jdk6kq5985p90i19jc5sh31mnrl")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-mio" ,rust-mio-1) ("rust-mio" ,rust-mio-0.8) ("rust-mio" ,rust-mio-0.7) ("rust-mio" ,rust-mio-0.6) ("rust-mio-uds" ,rust-mio-uds-0.6) - ("rust-signal-hook" ,rust-signal-hook-0.3)))) + ("rust-signal-hook" ,rust-signal-hook-0.3)) + #:cargo-development-inputs (("rust-mio" ,rust-mio-0.7) + ("rust-serial-test" ,rust-serial-test-0.5)))) (home-page "https://github.com/vorner/signal-hook") (synopsis "MIO support for signal-hook") (description "This crate provides MIO support for signal-hook.") @@ -75071,7 +72486,7 @@ extensions.") (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-0.2) + (("rust-bstr" ,rust-bstr-1) ("rust-serde" ,rust-serde-1) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)) #:cargo-development-inputs @@ -75083,29 +72498,6 @@ extensions.") (description "This package provides a diff library for Rust.") (license license:asl2.0))) -(define-public rust-similar-1 - (package - (name "rust-similar") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "similar" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1v4ara277c2s8gcv821b9392ki5zzw95brfs8vy3bcjpln4d9l8s")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bstr" ,rust-bstr-0.2) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) - (home-page - "https://github.com/mitsuhiko/similar") - (synopsis "Diff library for Rust") - (description "This package provides a diff library for Rust.") - (license license:asl2.0))) - (define-public rust-similar-asserts-1 (package (name "rust-similar-asserts") @@ -75132,55 +72524,6 @@ extensions.") diff output.") (license license:asl2.0))) -(define-public rust-simplelog-0.12 - (package - (name "rust-simplelog") - (version "0.12.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "simplelog" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0sa3hjdifxhcb9lnlg549fr2cc7vz89nygwbih2dbqsx3h20ivmc")) - (snippet - #~(begin (use-modules (guix build utils)) - (substitute* "Cargo.toml" - (("1\\.1\\.\\*") "1.1")))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-log" ,rust-log-0.4) - ("rust-paris" ,rust-paris-1) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-time" ,rust-time-0.3)))) - (home-page "https://github.com/drakulix/simplelog.rs") - (synopsis "Simple and easy-to-use logging facility for Rust's log crate") - (description - "This package provides a simple and easy-to-use logging facility for Rust's -@code{log} crate. It aims to be a maintainable, easy to integrate facility for -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") @@ -75266,31 +72609,54 @@ a readable output format.") (description "This package provides a simple logger for the log facade.") (license license:bsd-3))) -(define-public rust-simple-mutex-1 +(define-public rust-simplelog-0.12 (package - (name "rust-simple-mutex") - (version "1.1.5") + (name "rust-simplelog") + (version "0.12.2") (source (origin (method url-fetch) - (uri (crate-uri "simple-mutex" version)) + (uri (crate-uri "simplelog" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mnwlgjajqmxjfgsdcr9imf23yg1zblny95zrvcflvbgzbmbpaiq")))) + (base32 "1h59cp84gwdmbxiljq6qmqq1x3lv9ikc1gb32f5ya7pgzbdpl98n")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("1\\.1\\.\\*") "1.1")))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-event-listener" ,rust-event-listener-2)) - #:cargo-development-inputs - (("rust-parking-lot" ,rust-parking-lot-0.10)))) - (home-page "https://github.com/stjepang/simple-mutex") - (synopsis - "Mutex more efficient than @code{std} and simpler than -@code{parking_lot}") + `(#:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-log" ,rust-log-0.4) + ("rust-paris" ,rust-paris-1) + ("rust-termcolor" ,rust-termcolor-1) + ("rust-time" ,rust-time-0.3)))) + (home-page "https://github.com/drakulix/simplelog.rs") + (synopsis "Simple and easy-to-use logging facility for Rust's log crate") (description - "This package provides a mutex more efficient than @code{std} and -simpler than @code{parking_lot}.") - (license (list license:asl2.0 license:expat)))) + "This package provides a simple and easy-to-use logging facility for Rust's +@code{log} crate. It aims to be a maintainable, easy to integrate facility for +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-siphasher-0.3 (package @@ -75505,7 +72871,7 @@ designed for @code{immutable.rs}.") (define-public rust-slab-0.4 (package (name "rust-slab") - (version "0.4.8") + (version "0.4.9") (source (origin (method url-fetch) @@ -75513,158 +72879,21 @@ designed for @code{immutable.rs}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0bgwxig8gkqp6gz8rvrpdj6qwa10karnsxwx7wsj5ay8kcf3aa35")))) + "0rxvsgir0qw5lkycrqgb1cxsvxzjv9bmx73bk5y42svnzfba94lg")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs + `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-rustversion" ,rust-rustversion-1) ("rust-serde" ,rust-serde-1) - ("rust-serde-test" ,rust-serde-test-1)) - #:cargo-inputs (("rust-autocfg" ,rust-autocfg-1) - ("rust-serde" ,rust-serde-1)))) - (native-inputs - (list rust-autocfg-1)) + ("rust-serde-test" ,rust-serde-test-1)))) (home-page "https://github.com/carllerche/slab") (synopsis "Pre-allocated storage for a uniform data type") (description "This create provides a pre-allocated storage for a uniform data type.") (license license:expat))) -(define-public rust-pathfinder-geometry-0.5 - (package - (name "rust-pathfinder-geometry") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pathfinder_geometry" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lssir0s1cmrpzzrk49jm31nkssh2j715gryww6700x79rxpwyqb")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-pathfinder-simd" ,rust-pathfinder-simd-0.5)))) - (home-page "https://github.com/servo/pathfinder") - (synopsis "Basic SIMD-accelerated geometry/linear algebra") - (description "This package provides basic SIMD-accelerated geometry/linear -algebra.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-pathfinder-simd-0.5 - (package - (name "rust-pathfinder-simd") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pathfinder_simd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zx6yjch2zwlnbrsq3ljnkwzs9jdf4cbh5wwjkjradahqnn4dzir")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rustc-version" ,rust-rustc-version-0.3)))) - (home-page "https://github.com/servo/pathfinder") - (synopsis "Simple SIMD Rust library") - (description "This package provides a simple SIMD Rust library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-paw-1 - (package - (name "rust-paw") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "paw" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sc481y42rb08hmww525m4539ppl8k0w14kwxp13vg2dasdzrh09")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; `async_await` has been stable since `1.39.0` - #:cargo-inputs - (("rust-paw-attributes" ,rust-paw-attributes-1) - ("rust-paw-raw" ,rust-paw-raw-1)) - #:cargo-development-inputs - (("rust-paw-structopt" ,rust-paw-structopt-1) - ("rust-runtime" ,rust-runtime-0.3) - ("rust-structopt" ,rust-structopt-0.2)))) - (home-page "https://github.com/rust-cli/paw") - (synopsis "CLI argument parser") - (description "This package provides a CLI argument parser.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-paw-attributes-1 - (package - (name "rust-paw-attributes") - (version "1.0.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "paw-attributes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fda1v7y5pfmg8d2v7m0pyvif6c44qjz914jjn718pdyclrmhd8g")))) - (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/rust-cli/paw") - (synopsis "Proc Macro attributes for the Paw crate") - (description "This package provides Proc Macro attributes for the Paw -crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-paw-raw-1 - (package - (name "rust-paw-raw") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "paw-raw" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wk76ipp34gjh42vivmgdkb2rgr26gwhn34gk7z5l378ixk5j2vz")))) - (build-system cargo-build-system) - (home-page "https://github.com/rust-cli/paw") - (synopsis "Traits to implement custom Paw implementations") - (description "This package provides traits to implement custom Paw -implementations.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-paw-structopt-1 - (package - (name "rust-paw-structopt") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "paw-structopt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iwg83xqjpfgpy8wrq173cy7zgkyxfryd230sh34f5qsjdx7zap4")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; use of undeclared crate or module `paw` - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-0.4) - ("rust-quote" ,rust-quote-0.6) - ("rust-structopt" ,rust-structopt-0.2) - ("rust-syn" ,rust-syn-0.15)))) - (home-page "https://github.com/rust-cli/paw") - (synopsis "Structopt support for the Paw crate") - (description "This package provides Structopt support for the Paw crate.") - (license (list license:expat license:asl2.0)))) - ;; TODO: Unbundle sleef. (define-public rust-sleef-sys-0.1 (package @@ -75780,6 +73009,28 @@ implementations.") "This package provides iterators over groups in slices and strs.") (license license:expat))) +(define-public rust-slice-ring-buffer-0.3 + (package + (name "rust-slice-ring-buffer") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "slice-ring-buffer" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mi7iigijbcp0c9m2sslfny5q2savysgv1grg67kdch9v8mk3bl4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-mach2" ,rust-mach2-0.4) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/liquidityc/slice_ring_buffer") + (synopsis "Double-ended queue that deref's into a slice") + (description + "This package provides a double-ended queue that deref's into a slice.") + (license (list license:expat license:asl2.0)))) + (define-public rust-slog-2 (package (name "rust-slog") @@ -75832,6 +73083,30 @@ implementations.") logging library.") (license (list license:mpl2.0 license:expat license:asl2.0)))) +(define-public rust-slog-json-2 + (package + (name "rust-slog-json") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "slog-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06gjy1n7ivrcy7rr8dyndmfza24hwbgakw7faawciqzi3bv567iy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-erased-serde" ,rust-erased-serde-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-slog" ,rust-slog-2) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-slog-async" ,rust-slog-async-2)))) + (home-page "https://github.com/slog-rs/slog") + (synopsis "JSON drain for slog-rs") + (description "This package provides JSON drain for slog-rs.") + (license (list license:mpl2.0 license:expat license:asl2.0)))) + (define-public rust-slog-kvfilter-0.7 (package (name "rust-slog-kvfilter") @@ -75943,54 +73218,56 @@ crate.") "This package provides the Unix terminal drain and formatter for slog.") (license (list license:mpl2.0 license:expat license:asl2.0)))) -(define-public rust-sloggers-1 +(define-public rust-sloggers-2 (package (name "rust-sloggers") - (version "1.0.1") + (version "2.2.0") (source (origin (method url-fetch) (uri (crate-uri "sloggers" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sbdflswmivykx5sx1f2hip905lvcgi733d0ry879wx6g983f7gh")))) + (base32 "16yvn2v8vs7bsg11vnma03ml6grrwfm3qqikwrdd8b5q70kjq1km")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-libflate" ,rust-libflate-1) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-slog" ,rust-slog-2) - ("rust-slog-async" ,rust-slog-async-2) - ("rust-slog-kvfilter" ,rust-slog-kvfilter-0.7) - ("rust-slog-scope" ,rust-slog-scope-4) - ("rust-slog-stdlog" ,rust-slog-stdlog-4) - ("rust-slog-term" ,rust-slog-term-2) - ("rust-trackable" ,rust-trackable-1)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-serdeconv" ,rust-serdeconv-0.4) - ("rust-tempfile" ,rust-tempfile-3)))) + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-libflate" ,rust-libflate-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-slog" ,rust-slog-2) + ("rust-slog-async" ,rust-slog-async-2) + ("rust-slog-json" ,rust-slog-json-2) + ("rust-slog-kvfilter" ,rust-slog-kvfilter-0.7) + ("rust-slog-scope" ,rust-slog-scope-4) + ("rust-slog-stdlog" ,rust-slog-stdlog-4) + ("rust-slog-term" ,rust-slog-term-2) + ("rust-trackable" ,rust-trackable-1) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-windows-acl" ,rust-windows-acl-0.3)) + #:cargo-development-inputs (("rust-clap" ,rust-clap-4) + ("rust-log" ,rust-log-0.4) + ("rust-serdeconv" ,rust-serdeconv-0.4) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://github.com/sile/sloggers") (synopsis "Frequently used slog loggers and convenient functions") (description - "This library provides frequently used slog loggers and convenient -functions.") + "This library provides frequently used slog loggers and convenient functions.") (license license:expat))) (define-public rust-slotmap-1 (package (name "rust-slotmap") - (version "1.0.6") + (version "1.0.7") (source (origin (method url-fetch) (uri (crate-uri "slotmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0hhkvsc3x79c7fh97b3padjhssd19hzdyyiv291mr3qf3lk8xq71")))) + "0amqb2fn9lcy1ri0risblkcp88dl0rnfmynw7lx0nqwza77lmzyv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -76101,17 +73378,38 @@ I/O programming.") inline storage.") (license (list license:expat license:asl2.0)))) +(define-public rust-smallstring-0.1 + (package + (name "rust-smallstring") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "smallstring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zq8xgxcfg908x8k59kylx7vcfd5cknmdbl1w6h5d3xknnyhm59h")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-smallvec" ,rust-smallvec-0.3)))) + (home-page "https://github.com/jFransham/smallstring") + (synopsis "Store small strings on the stack using smallvec") + (description + "This package provides Small string optimization: store small strings on +the stack using smallvec.") + (license license:expat))) + (define-public rust-smallvec-1 (package (name "rust-smallvec") - (version "1.13.1") + (version "1.13.2") (source (origin (method url-fetch) (uri (crate-uri "smallvec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mzk9j117pn3k1gabys0b7nz8cdjsx5xc6q7fwnm8r0an62d7v76")))) + (base32 "0rsw5samawl3wsw6glrsb127rx6sh89a8wyikicw6dkdcjd1lpiw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -76132,16 +73430,14 @@ stack.") (package (inherit rust-smallvec-1) (name "rust-smallvec") - (version "0.6.13") + (version "0.6.14") (source (origin (method url-fetch) (uri (crate-uri "smallvec" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1dl219vnfkmsfx28lm3f83lyw24zap6fdsli6rg8nnp1aa67bc7p")))) + (base32 "1q4hz0ssnv24s6fq5kfp2wzrrprrrjiwc42a0h7s7nwym3mwlzxr")))) (arguments `(#:cargo-inputs (("rust-maybe-uninit" ,rust-maybe-uninit-2) @@ -76149,6 +73445,22 @@ stack.") #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)))))) +(define-public rust-smallvec-0.3 + (package + (inherit rust-smallvec-1) + (name "rust-smallvec") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "smallvec" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "121d6ab60b2yi67gn82p9yw9ir9qa7g98qrkr0iwx3nc27pawhz1")))) + (arguments + `(#:cargo-test-flags '("--" "--skip=tests::test_truncate") + #:cargo-inputs (("rust-heapsize" ,rust-heapsize-0.3)))))) + (define-public rust-smart-default-0.7 (package (name "rust-smart-default") @@ -76173,25 +73485,6 @@ stack.") control on the fields.") (license license:expat))) -(define-public rust-smart-default-0.6 - (package - (inherit rust-smart-default-0.7) - (name "rust-smart-default") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "smart-default" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xnvxz9wilj4d5b8kg4wbs0yk48wm41fnwkmn3p6wi9rafhmjdhk")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-smartstring-1 (package (name "rust-smartstring") @@ -76297,14 +73590,14 @@ monotone matrix.") (package (inherit rust-smol-2) (name "rust-smol") - (version "1.2.5") + (version "1.3.0") (source (origin (method url-fetch) (uri (crate-uri "smol" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r45zng0hymqx1kb2dmxkapbin7f9rhgrdcssz0q7rzka59kpkw5")))) + (base32 "18c7d7n9dl5h0isf81cs0g3ly3zp54lmj76z1zgghiw4rm4bbwhk")))) (arguments `(#:skip-build? #t #:cargo-inputs @@ -76316,8 +73609,7 @@ monotone matrix.") ("rust-async-net" ,rust-async-net-1) ("rust-async-process" ,rust-async-process-1) ("rust-blocking" ,rust-blocking-1) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-once-cell" ,rust-once-cell-1)))))) + ("rust-futures-lite" ,rust-futures-lite-1)))))) (define-public rust-smol-0.1 (package @@ -76355,6 +73647,49 @@ monotone matrix.") ("rust-piper" ,rust-piper-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-smol-potat-1 + (package + (name "rust-smol-potat") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "smol-potat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13nqzzqjscav3flc9jhwiabw8vnb22mv2accgilsn3swmxhzlkw9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-io" ,rust-async-io-1) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-smol-potat-macro" ,rust-smol-potat-macro-0.6)) + #:cargo-development-inputs (("rust-smol" ,rust-smol-1)))) + (home-page "https://github.com/wusyong/smol-potat") + (synopsis "Proc macro for smol runtime") + (description "This package provides a proc macro for smol runtime.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-smol-potat-macro-0.6 + (package + (name "rust-smol-potat-macro") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "smol-potat-macro" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cirpy1309cr3n6zbmia66miyidih88sinpanj2r61hqk89dhz3b")))) + (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/wusyong/smol-potat") + (synopsis "Proc macro for smol runtime") + (description "This package provides a proc macro for smol runtime.") + (license (list license:expat license:asl2.0)))) + (define-public rust-smol-str-0.2 (package (name "rust-smol-str") @@ -76405,66 +73740,6 @@ clone.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-snafu-derive-0.8 - (package - (name "rust-snafu-derive") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "snafu-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1837y976zh0cn137srwfmdiwz59raj5xs7gnsqaszc9n2jbl8308")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) - (home-page "https://github.com/shepmaster/snafu") - (synopsis "Ergonomic error handling library") - (description "Snafu aims to be an ergonomic error handling library. This -package provides derive macros.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-snafu-derive-0.7 - (package - (inherit rust-snafu-derive-0.8) - (name "rust-snafu-derive") - (version "0.7.5") - (source (origin - (method url-fetch) - (uri (crate-uri "snafu-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1gzy9rzggs090zf7hfvgp4lm1glrmg9qzh796686jnq7bxk7j04r")))) - (arguments - `(#:cargo-inputs - (("rust-heck" ,rust-heck-0.4) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - -(define-public rust-snafu-derive-0.6 - (package - (inherit rust-snafu-derive-0.7) - (name "rust-snafu-derive") - (version "0.6.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "snafu-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0nri7ma06g5kimpcdcm8359a55nmps5f3kcngy0j6bin7jhfy20m")))) - (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) - (define-public rust-snafu-0.8 (package (name "rust-snafu") @@ -76516,6 +73791,48 @@ package provides derive macros.") ("rust-pin-project" ,rust-pin-project-1) ("rust-snafu-derive" ,rust-snafu-derive-0.7)))))) +(define-public rust-snafu-derive-0.8 + (package + (name "rust-snafu-derive") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "snafu-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1837y976zh0cn137srwfmdiwz59raj5xs7gnsqaszc9n2jbl8308")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/shepmaster/snafu") + (synopsis "Ergonomic error handling library") + (description "Snafu aims to be an ergonomic error handling library. This +package provides derive macros.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-snafu-derive-0.7 + (package + (inherit rust-snafu-derive-0.8) + (name "rust-snafu-derive") + (version "0.7.5") + (source (origin + (method url-fetch) + (uri (crate-uri "snafu-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gzy9rzggs090zf7hfvgp4lm1glrmg9qzh796686jnq7bxk7j04r")))) + (arguments + `(#:cargo-inputs + (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-snap-1 (package (name "rust-snap") @@ -76557,48 +73874,6 @@ algorithm. Includes streaming compression and decompression.") ("rust-lazy-static" ,rust-lazy-static-1) ("rust-snappy-cpp" ,rust-snappy-cpp-0.1)))))) -(define-public rust-snapbox-macros-0.3 - (package - (name "rust-snapbox-macros") - (version "0.3.10") - (source (origin - (method url-fetch) - (uri (crate-uri "snapbox-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bv4lq1kw1vrd9lk7yk79a0z8q8nma2502ifysv1p913r99rymhn")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)))) - (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-macros-0.2 - (package - (inherit rust-snapbox-macros-0.3) - (name "rust-snapbox-macros") - (version "0.2.1") - (source (origin - (method url-fetch) - (uri (crate-uri "snapbox-macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0c79lnjcs9yp62y665swv5y5y6088qc256bfr3s7xcnb0izfl7f0")))))) - (define-public rust-snapbox-0.6 (package (name "rust-snapbox") @@ -76754,6 +74029,48 @@ It is also flexible enough to build your own test harness like @code{trycmd}.") ("rust-walkdir" ,rust-walkdir-2) ("rust-yansi" ,rust-yansi-0.5)))))) +(define-public rust-snapbox-macros-0.3 + (package + (name "rust-snapbox-macros") + (version "0.3.10") + (source (origin + (method url-fetch) + (uri (crate-uri "snapbox-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1bv4lq1kw1vrd9lk7yk79a0z8q8nma2502ifysv1p913r99rymhn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anstream" ,rust-anstream-0.6)))) + (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-macros-0.2 + (package + (inherit rust-snapbox-macros-0.3) + (name "rust-snapbox-macros") + (version "0.2.1") + (source (origin + (method url-fetch) + (uri (crate-uri "snapbox-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c79lnjcs9yp62y665swv5y5y6088qc256bfr3s7xcnb0izfl7f0")))))) + (define-public rust-snappy-cpp-0.1 (package (name "rust-snappy-cpp") @@ -76781,19 +74098,19 @@ benchmarking.") (define-public rust-socket2-0.5 (package (name "rust-socket2") - (version "0.5.5") + (version "0.5.8") (source (origin (method url-fetch) (uri (crate-uri "socket2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1sgq315f1njky114ip7wcy83qlphv9qclprfjwvxcpfblmcsqpvv")))) + (base32 "1s7vjmb5gzp3iaqi94rh9r63k9cj00kjgbfn7gn60kmnk6fjcw69")))) (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)))) (home-page "https://github.com/rust-lang/socket2") (synopsis "Networking sockets in Rust") (description @@ -76974,8 +74291,33 @@ maximal amount of configuration possible intended.") "An RSpec inspired minimal testing framework for Rust.") (license license:expat))) +(define-public rust-speedate-0.14 + (package + (name "rust-speedate") + (version "0.14.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "speedate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mx5gx74gh2wwvq4vyn1fshj3yjvxqn0y8gkn3q97inlvf0098h8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-strum" ,rust-strum-0.26) + ("rust-strum-macros" ,rust-strum-macros-0.26)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-iso8601" ,rust-iso8601-0.6) + ("rust-paste" ,rust-paste-1)))) + (home-page "https://github.com/pydantic/speedate/") + (synopsis "Fast and simple datetime, date, time and duration parsing") + (description "This package provides fast and simple datetime, date, time and +duration parsing.") + (license license:expat))) + (define-public rust-speedate-0.13 (package + (inherit rust-speedate-0.14) (name "rust-speedate") (version "0.13.0") (source @@ -76985,17 +74327,12 @@ maximal amount of configuration possible intended.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "16xi4d98ab3ag7rkba2fv37kk3d0fgg0l287hq4vz36i1z2pcbr4")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-strum" ,rust-strum-0.25) ("rust-strum-macros" ,rust-strum-macros-0.25)) #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) ("rust-iso8601" ,rust-iso8601-0.4) - ("rust-paste" ,rust-paste-1)))) - (home-page "https://github.com/pydantic/speedate/") - (synopsis "Fast and simple datetime, date, time and duration parsing") - (description "Fast and simple datetime, date, time and duration parsing.") - (license license:expat))) + ("rust-paste" ,rust-paste-1)))))) (define-public rust-speedy-0.8 (package @@ -77190,23 +74527,31 @@ section to guarantee accuracy.") provided by @code{lock_api}.") (license (list license:expat license:asl2.0)))) -(define-public rust-spirv-types-0.4 +(define-public rust-spirv-std-0.4 (package - (name "rust-spirv-types") - (version "0.4.0-alpha.12") + (name "rust-spirv-std") + ;; We use a slightly older version here, because of problems building glam + ;; 0.13.1 with more recent versions. + (version "0.4.0-alpha.7") (source (origin (method url-fetch) - (uri (crate-uri "spirv-types" version)) + (uri (crate-uri "spirv-std" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sxcic2n04xzywww3c7mj9ah8iwr20vz3d6xvsgla1y7gs7lpk3i")))) + (base32 "14npd838bqnw09iab0zq94xs4yl69m6c0cdfzxa9fal0zxqlqv3j")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-spirv-std-macros" ,rust-spirv-std-macros-0.4) + ("rust-spirv-types" ,rust-spirv-types-0.4)))) (home-page "https://github.com/EmbarkStudios/rust-gpu") - (synopsis "SPIR-V types shared between spirv-std and spirv-std-macros") - (description "This package provides SPIR-V types shared between spirv-std -and spirv-std-macros.") + (synopsis "Standard functions and types for SPIR-V") + (description "This package provides standard functions and types for +SPIR-V.") (license (list license:expat license:asl2.0)))) (define-public rust-spirv-std-macros-0.4 @@ -77234,31 +74579,23 @@ and spirv-std-macros.") (description "This package provides macros for spirv-std.") (license (list license:expat license:asl2.0)))) -(define-public rust-spirv-std-0.4 +(define-public rust-spirv-types-0.4 (package - (name "rust-spirv-std") - ;; We use a slightly older version here, because of problems building glam - ;; 0.13.1 with more recent versions. - (version "0.4.0-alpha.7") + (name "rust-spirv-types") + (version "0.4.0-alpha.12") (source (origin (method url-fetch) - (uri (crate-uri "spirv-std" version)) + (uri (crate-uri "spirv-types" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14npd838bqnw09iab0zq94xs4yl69m6c0cdfzxa9fal0zxqlqv3j")))) + (base32 "0sxcic2n04xzywww3c7mj9ah8iwr20vz3d6xvsgla1y7gs7lpk3i")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-num-traits" ,rust-num-traits-0.2) - ("rust-spirv-std-macros" ,rust-spirv-std-macros-0.4) - ("rust-spirv-types" ,rust-spirv-types-0.4)))) + (arguments `(#:skip-build? #t)) (home-page "https://github.com/EmbarkStudios/rust-gpu") - (synopsis "Standard functions and types for SPIR-V") - (description "This package provides standard functions and types for -SPIR-V.") + (synopsis "SPIR-V types shared between spirv-std and spirv-std-macros") + (description "This package provides SPIR-V types shared between spirv-std +and spirv-std-macros.") (license (list license:expat license:asl2.0)))) (define-public rust-spmc-0.3 @@ -77346,29 +74683,6 @@ SPIR-V.") ("rust-bincode" ,rust-bincode-1) ("rust-tobj" ,rust-tobj-2)))))) -(define-public rust-spsc-buffer-0.1 - (package - (name "rust-spsc-buffer") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "spsc-buffer" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0fsv5zpxkax2n46flxhyajq1yblgh8f33la39gp86hksqcwkyv5y")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.2)))) - (home-page "https://github.com/davidhewitt/spsc-buffer") - (synopsis "Single-producer single-consumer lock-free buffer") - (description - "This package provides a single-producer single-consumer lock-free buffer.") - (license license:expat))) - (define-public rust-sptr-0.3 (package (name "rust-sptr") @@ -77385,343 +74699,6 @@ SPIR-V.") (description "This package provides sptr, The Strict Provenance Polyfill.") (license (list license:expat license:asl2.0)))) -(define-public rust-sqlite-0.30 - (package - (name "rust-sqlite") - (version "0.30.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lbfa0gjkqlhcmj4jy72kzfgd6a57z8gs1y7g34cbp4msvm4rk3f")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.15)) - #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))) - (inputs (list sqlite)) - (home-page "https://github.com/stainless-steel/sqlite") - (synopsis "Interface to SQLite") - (description "The package provides an interface to SQLite.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-sqlite-0.27 - (package - (inherit rust-sqlite-0.30) - (name "rust-sqlite") - (version "0.27.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "11f1fw5gffni7mqr6mrliacr86v0yg9zmgvj3lhfdv1iz54vjv76")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.14)) - #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))))) - -(define-public rust-sqlite-0.26 - (package - (inherit rust-sqlite-0.30) - (name "rust-sqlite") - (version "0.26.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0snvg09bs0n8skcxkx52lcymdn0l130a2m8fpvxpdhkyq0sabc9z")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13)))))) - -(define-public rust-sqlite3-parser-0.13 - (package - (name "rust-sqlite3-parser") - (version "0.13.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite3-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02sjybc8r2nwpgi54bcp2vjmzyaczxbdxvxxx067716bsvd0flzb")))) - (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-uncased" ,rust-uncased-0.9) - ("rust-uncased" ,rust-uncased-0.9)) - #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11)))) - (home-page "https://github.com/gwenn/lemon-rs") - (synopsis "SQL parser (as understood by SQLite)") - (description "This package provides an SQL parser (as understood by SQLite).") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-sqlite3-parser-0.12 - (package - (inherit rust-sqlite3-parser-0.13) - (name "rust-sqlite3-parser") - (version "0.12.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite3-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dx8j16ki2fsrwn1p36wnf079pvcs17549rin29x99vhkcpjbpcs")))) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) - ("rust-cc" ,rust-cc-1) - ("rust-fallible-iterator" ,rust-fallible-iterator-0.3) - ("rust-indexmap" ,rust-indexmap-2) - ("rust-log" ,rust-log-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-phf" ,rust-phf-0.11) - ("rust-phf-codegen" ,rust-phf-codegen-0.11) - ("rust-phf-shared" ,rust-phf-shared-0.11) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-uncased" ,rust-uncased-0.9) - ("rust-uncased" ,rust-uncased-0.9)) - #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10)))))) - -(define-public rust-sqlite3-src-0.5 - (package - (name "rust-sqlite3-src") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite3-src" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0m74wrkpify3z0xvrw4i2yssn9m9sjwqa5ipk6aq6f7fl58mmjdz")) - (snippet - #~(begin (use-modules (guix build utils)) - ;; Only allow for linking to system sqlite3. - (delete-file-recursively "source") - (delete-file "build.rs") - (with-output-to-file "build.rs" - (lambda _ - (format #t "fn main (){~@ - println!(\"cargo:rustc-link-lib=sqlite3\");~@ - }~%"))))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))) - (inputs (list sqlite)) - (home-page "https://github.com/stainless-steel/sqlite3-src") - (synopsis "Provider of SQLite") - (description "The package provides SQLite.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-sqlite3-src-0.4 - (package - (inherit rust-sqlite3-src-0.5) - (name "rust-sqlite3-src") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite3-src" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14ancc9jafw5ql9carg27icjxcfrdz5izxk4bj7fp5n909x5m0fi")) - (snippet - #~(begin (use-modules (guix build utils)) - ;; Only allow for linking to system sqlite3. - (delete-file-recursively "source") - (delete-file "build.rs") - (with-output-to-file "build.rs" - (lambda _ - (format #t "fn main (){~@ - println!(\"cargo:rustc-link-lib=sqlite3\");~@ - }~%"))))))) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - -(define-public rust-sqlite3-src-0.3 - (package - (inherit rust-sqlite3-src-0.5) - (name "rust-sqlite3-src") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite3-src" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18ygmfcpkccs8s9m5s9q31rrx1mrdps387w9yp3481jswxyb0q52")))) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - -(define-public rust-sqlite3-sys-0.15 - (package - (name "rust-sqlite3-sys") - (version "0.15.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite3-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0fq6m21dnd5yqrzknsmnl2565nahdwa29s7x12xhxr1kjik2qxgj")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-sqlite3-src" ,rust-sqlite3-src-0.5)) - #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))) - (inputs (list sqlite)) - (home-page "https://github.com/stainless-steel/sqlite3-sys") - (synopsis "Bindings to SQLite") - (description "The package provides bindings to SQLite.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-sqlite3-sys-0.14 - (package - (inherit rust-sqlite3-sys-0.15) - (name "rust-sqlite3-sys") - (version "0.14.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite3-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1vmrzgchmbqk9jk1dq1jp1lq6id0p3h8vwna02x60ly59y19jz6l")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-sqlite3-src" ,rust-sqlite3-src-0.4)) - #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6)))))) - -(define-public rust-sqlite3-sys-0.13 - (package - (inherit rust-sqlite3-sys-0.15) - (name "rust-sqlite3-sys") - (version "0.13.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sqlite3-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0m1f5r4xg5i3r6795q8vwqfdcq3gh1qlfjwkywnka57bz8lg1lh4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("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") @@ -77744,26 +74721,43 @@ SPIR-V.") (description "This package provides a runtime for a stack-alocated map.") (license license:expat))) -(define-public rust-stability-0.1 +(define-public rust-stability-0.2 (package (name "rust-stability") - (version "0.1.1") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "stability" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kn3vcicmpg8bnyalp15i2j0dbv6c0wc62022bcs58jdi5vv3lgb")))) + (base32 "1b7w6qknq0w5y7s358j62pzi9kbh6g73lal3jx9aydpikl0ff16r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/sagebind/stability") (synopsis "Rust API stability attributes") - (description "Rust API stability attributes for the rest of us.") + (description + "This package provides Rust API stability attributes for the rest of us.") (license license:expat))) +(define-public rust-stability-0.1 + (package + (inherit rust-stability-0.2) + (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")))) + (arguments + `(#:cargo-inputs (("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))))) + (define-public rust-stable-deref-trait-1 (package (name "rust-stable-deref-trait") @@ -77858,6 +74852,83 @@ deeply recursive algorithms that may accidentally blow the stack.") (description "New standard library, old compiler.") (license (list license:expat license:asl2.0)))) +(define-public rust-starship-battery-0.10 + (package + (name "rust-starship-battery") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "starship-battery" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1llfi5gvgrwf08rm49lqr60lkzga167w59vzh20dpwwwhwvsj5wh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Missing test files + "--skip=src/types/manager.rs - types::manager::Manager (line 15)" + "--skip=src/units.rs - units (line 9)" + "--skip=src/units.rs - units (line 23)" + "--skip=src/units.rs - units (line 39)" + "--skip=src/units.rs - units (line 53)") + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-core-foundation" ,rust-core-foundation-0.10) + ("rust-lazycell" ,rust-lazycell-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-mach2" ,rust-mach2-0.4) + ("rust-nix" ,rust-nix-0.29) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-plist" ,rust-plist-1) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-uom" ,rust-uom-0.36) + ("rust-windows-sys" ,rust-windows-sys-0.59)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/starship/rust-battery") + (synopsis "Cross-platform information about the notebook batteries") + (description + "This package provides Cross-platform information about the notebook batteries.") + (license license:isc))) + +(define-public rust-starship-battery-0.9 + (package + (inherit rust-starship-battery-0.10) + (name "rust-starship-battery") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "starship-battery" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gzldhpfhqh12wgrahfdl2vma3qmrv434c4xcj7qndclcxs1ayfs")))) + (arguments + `(#:cargo-test-flags + '("--" + ;; Missing test files + "--skip=src/types/manager.rs - types::manager::Manager (line 15)" + "--skip=src/units.rs - units (line 9)" + "--skip=src/units.rs - units (line 23)" + "--skip=src/units.rs - units (line 39)" + "--skip=src/units.rs - units (line 53)") + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-lazycell" ,rust-lazycell-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-mach2" ,rust-mach2-0.4) + ("rust-nix" ,rust-nix-0.29) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-plist" ,rust-plist-1) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-uom" ,rust-uom-0.36) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-state-0.6 (package (name "rust-state") @@ -78220,40 +75291,6 @@ codebase.") on verbosity specified.") (license (list license:expat license:asl2.0)))) -(define-public rust-stderrlog-0.4 - (package - (inherit rust-stderrlog-0.5) - (name "rust-stderrlog") - (version "0.4.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "stderrlog" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09bzvmx2lzyycr1xfcvfwnvqsjg9kb4w22hb19bjqid5j2dyxr9j")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("version = \"~([[:digit:]]+(\\.[[:digit:]]+)*)\"" _ version) - (string-append "version = \"^" version "\"")) - (("version = \"\\^([[:digit:]]+\\.[[:digit:]]+), <.*\"" _ version) - (string-append "version = \"^" version "\""))))))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-termcolor" ,rust-termcolor-1) - ("rust-thread-local" ,rust-thread-local-0.3)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-2) - ("rust-docopt" ,rust-docopt-0.6) - ("rust-libc" ,rust-libc-0.2) - ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-structopt" ,rust-structopt-0.2)))))) - (define-public rust-stfu8-0.2 (package (name "rust-stfu8") @@ -78441,17 +75478,21 @@ iterated over only by reference rather than by value.") (define-public rust-strength-reduce-0.2 (package (name "rust-strength-reduce") - (version "0.2.3") + (version "0.2.4") (source (origin (method url-fetch) (uri (crate-uri "strength_reduce" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0m12phq654mfxpmh2h5akqkag5ha6nlhjc2bp9jwarr5r1qjzzx3")))) + (base32 "10jdq9dijjdkb20wg1dmwg447rnj37jbq0mwvbadvqi2gys5x2gy")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "http://github.com/ejmahler/strength_reduce") + (arguments + `(#:cargo-development-inputs + (("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/ejmahler/strength_reduce") (synopsis "Faster integer division and modulus operations") (description "Strength_reduce implements integer division and modulo via @dfn{arithmetic strength reduction}. Modern processors can do multiplication @@ -78826,16 +75867,16 @@ framework in pure Rust.") (define-public rust-strsim-0.11 (package (name "rust-strsim") - (version "0.11.0") + (version "0.11.1") (source (origin (method url-fetch) (uri (crate-uri "strsim" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00gsdp2x1gkkxsbjxgrjyil2hsbdg49bwv8q2y1f406dwk4p7q2y")))) + (base32 "0kzvqlw8hxqb7y598w1s0hxlnmi84sg5vsipp3yg5na5d1rvba3x")))) (build-system cargo-build-system) - (home-page "https://github.com/dguo/strsim-rs") + (home-page "https://github.com/rapidfuzz/strsim-rs") (synopsis "Rust implementations of string similarity metrics") (description "This crate includes implementations of string similarity metrics. It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro, @@ -79182,20 +76223,20 @@ struct.") (define-public rust-strum-0.26 (package (name "rust-strum") - (version "0.26.1") + (version "0.26.3") (source (origin (method url-fetch) (uri (crate-uri "strum" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0przl5xmy1gzf4rlp8ff7wla43slsyk1vlg2xdjsk6nzmpl96fvj")))) + (base32 "01lgl6jvrf4j28v5kmx9bp480ygf1nhvac8b4p7rcj9hxw50zv4g")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" "--skip=EnumMessage" "--skip=EnumProperty" - "--skip=EnumIterator") + "--skip=IntoEnumIterator") #: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)))) @@ -79315,20 +76356,20 @@ easier in Rust.") (define-public rust-strum-macros-0.26 (package (name "rust-strum-macros") - (version "0.26.1") + (version "0.26.4") (source (origin (method url-fetch) (uri (crate-uri "strum_macros" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "066dsk2f1psyyjllr1yc50251jvpjyh585m0fkcl0rypjgy1fd3s")))) + (base32 "1gl1wmq24b8md527cpyd5bw9rkbqldd7k1h38kf5ajd2ln2ywssc")))) (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) + #:cargo-inputs (("rust-heck" ,rust-heck-0.5) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-rustversion" ,rust-rustversion-1) @@ -79464,49 +76505,43 @@ easier in Rust.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-subplot-0.7 +(define-public rust-subplot-0.12 (package (name "rust-subplot") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "subplot" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1la2vsjlxarld2w7farzlbmiy2hvascmd8bhi29ssm816m571jc8")))) + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "subplot" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "008cibbnfh1g5mnhz01pxw8kqgrw05r2kzfh7d4sr695bg69ifay")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - (list "--release" "--" - ;; These rely on java - "--skip=diagrams::PlantumlMarkup" - "--skip=diagrams::DotMarkup") - #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-base64" ,rust-base64-0.21) - ("rust-clap" ,rust-clap-4) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-file-diff" ,rust-file-diff-1) - ("rust-git-testament" ,rust-git-testament-0.2) - ("rust-html-escape" ,rust-html-escape-0.2) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-line-col" ,rust-line-col-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-pikchr" ,rust-pikchr-0.1) - ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9) - ("rust-regex" ,rust-regex-1) - ("rust-roadmap" ,rust-roadmap-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-serde-aux" ,rust-serde-aux-4) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.9) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-tempfile-fast" ,rust-tempfile-fast-0.3) - ("rust-tera" ,rust-tera-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.3) - ("rust-walkdir" ,rust-walkdir-2)))) + `(#:cargo-test-flags '("--" + ;; Requires graphviz, java. + "--skip=diagrams::DotMarkup" + "--skip=diagrams::PlantumlMarkup") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-base64" ,rust-base64-0.22) + ("rust-clap" ,rust-clap-4) + ("rust-descape" ,rust-descape-2) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-html-escape" ,rust-html-escape-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-line-col" ,rust-line-col-0.2) + ("rust-marked-yaml" ,rust-marked-yaml-0.7) + ("rust-pikchr" ,rust-pikchr-0.1) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.12) + ("rust-regex" ,rust-regex-1) + ("rust-roadmap" ,rust-roadmap-0.7) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-slug" ,rust-slug-0.1) + ("rust-tera" ,rust-tera-1) + ("rust-thiserror" ,rust-thiserror-2) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-walkdir" ,rust-walkdir-2)))) (home-page "https://subplot.tech/") (synopsis "Tools for automated acceptance tests") (description @@ -79514,23 +76549,22 @@ easier in Rust.") automated acceptance tests for systems and software.") (license license:expat-0))) -(define-public rust-subplot-build-0.7 +(define-public rust-subplot-build-0.12 (package (name "rust-subplot-build") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "subplot-build" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1p38kq7fmg6gpwqmkymn68f2qiaw7k35s7i4k0ifs6g5c0d70xfw")))) + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "subplot-build" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1grmmy2gmpygxcx09dsrh9mm9pqpf5qvy44k6q062lj26jlk32q0")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-subplot" ,rust-subplot-0.7) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-tracing" ,rust-tracing-0.1)))) + `(#:cargo-inputs (("rust-subplot" ,rust-subplot-0.12) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tracing" ,rust-tracing-0.1)))) (home-page "https://subplot.tech/") (synopsis "Library for using Subplot code generation") (description @@ -79538,38 +76572,32 @@ automated acceptance tests for systems and software.") another project's @code{build.rs} module.") (license license:expat-0))) -(define-public rust-subplotlib-0.7 +(define-public rust-subplotlib-0.12 (package (name "rust-subplotlib") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "subplotlib" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cbsrsk9pkyhs3fqzmxgf19x2bhr22pic5wqwvphv3sk4nc1ysiw")))) + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "subplotlib" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08k4j32mxymhl2fj91vmj8f6c7lwmxxnym4b09vjzxjf3n68kpvd")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-base64" ,rust-base64-0.21) - ("rust-fehler" ,rust-fehler-1) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-fs2" ,rust-fs2-0.4) - ("rust-glob" ,rust-glob-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-regex" ,rust-regex-1) - ("rust-remove-dir-all" ,rust-remove-dir-all-0.8) - ("rust-shell-words" ,rust-shell-words-1) - ("rust-state" ,rust-state-0.5) - ("rust-subplot-build" ,rust-subplot-build-0.7) - ("rust-subplotlib-derive" ,rust-subplotlib-derive-0.7) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-time" ,rust-time-0.3) - ("rust-unescape" ,rust-unescape-0.1)) - #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))) + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.22) + ("rust-culpa" ,rust-culpa-1) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-fs2" ,rust-fs2-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-remove-dir-all" ,rust-remove-dir-all-1) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-state" ,rust-state-0.6) + ("rust-subplotlib-derive" ,rust-subplotlib-derive-0.12) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://subplot.tech/") (synopsis "Utility functions and types for @code{subplot codegen}") (description @@ -79577,24 +76605,24 @@ another project's @code{build.rs} module.") based test suites. Relies on @code{subplotlib-derive} for associated macros.") (license license:expat-0))) -(define-public rust-subplotlib-derive-0.7 +(define-public rust-subplotlib-derive-0.12 (package (name "rust-subplotlib-derive") - (version "0.7.1") - (source (origin - (method url-fetch) - (uri (crate-uri "subplotlib-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "11x93kzj6x5x44irkbiz1vyns9ivr7skixyd318sxa021xas16ci")))) + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "subplotlib-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yrfjxh8z7dbsh01p4lrq73nci1qql2z9lphlnr2xmydip09nz7k")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-fehler" ,rust-fehler-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-2)))) + `(#:cargo-inputs (("rust-culpa" ,rust-culpa-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-subplot" ,rust-subplot-0.12) + ("rust-syn" ,rust-syn-2)))) (home-page "https://subplot.tech/") (synopsis "Macros for constructing subplotlib based test suites") (description @@ -79629,25 +76657,6 @@ suites, typically generated by @code{subplot codegen}.") inspired by Python's subprocess module, with Rust-specific extensions.") (license (list license:asl2.0 license:expat)))) -(define-public rust-supercow-0.1 - (package - (name "rust-supercow") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "supercow" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qxxk2z4pa7ni17bdhix9syhax0nnnpbjjpsinkhd8vsnknmh5qp")))) - (build-system cargo-build-system) - (home-page "https://github.com/altsysrq/supercow") - (synopsis "Generic way to accept general reference-like values") - (description - "This package provides a generic way to accept general reference-like -values without proliferating generics.") - (license (list license:expat license:asl2.0)))) - (define-public rust-superluminal-perf-0.1 (package (name "rust-superluminal-perf") @@ -79694,38 +76703,38 @@ values without proliferating generics.") (define-public rust-supports-color-3 (package (name "rust-supports-color") - (version "3.0.0") + (version "3.0.2") (source (origin (method url-fetch) (uri (crate-uri "supports-color" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kw5miaai8sarcikzdvsf2ys6rkakngyf2g4yifmgz0xc8ab6acq")))) + (base32 "1mk7r2j6l7zmqk3pg7av0l6viq413lmk1vz4bjnf9lnq5liwfky6")))) (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.") + "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") + (version "2.1.0") (source (origin (method url-fetch) (uri (crate-uri "supports-color" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0m5kayz225f23k5jyjin82sfkrqhfdq3j72ianafkazz9cbyfl29")))) + "12csf7chawxinaapm9rh718nha9hggk6ra86fdaw9hxdagg8qffn")))) (arguments - `(#:tests? #f ; panicked at 'assertion failed: `(left == right)` - #:cargo-inputs + `(#:cargo-inputs (("rust-is-terminal" ,rust-is-terminal-0.4) ("rust-is-ci" ,rust-is-ci-1)))))) @@ -80079,35 +77088,53 @@ references") (description "Utilities for testing sval::Value implementations.") (license (list license:asl2.0 license:expat)))) -(define-public rust-svd-parser-0.10 +(define-public rust-svd-parser-0.14 (package (name "rust-svd-parser") - (version "0.10.2") + (version "0.14.7") (source (origin (method url-fetch) (uri (crate-uri "svd-parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1fbr4m9cla6xvmrib7pad9hv29sn2d5hjbc77pz12lwzmm2pczk9")))) + (base32 "0azfqnzbsvwkf2jm685ynv8r3fwi6q20mqai00c3mvlhlaw87fir")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-regex" ,rust-regex-1) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-xmltree" ,rust-xmltree-0.8)) - #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))) + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-roxmltree" ,rust-roxmltree-0.20) + ("rust-svd-rs" ,rust-svd-rs-0.14) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.8) + ("rust-svd-rs" ,rust-svd-rs-0.14)))) (home-page "https://github.com/rust-embedded/svd") (synopsis "CMSIS-SVD file parser") (description "This package provides a CMSIS-SVD file parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-svd-rs-0.14 + (package + (name "rust-svd-rs") + (version "0.14.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "svd-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fwkw26rc9p9bqcf09lwrx6d97rl1yq427g8hwbdh0sd7h7sjj9y")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/rust-embedded/svd") + (synopsis "CMSIS-SVD base structures") + (description "This package provides a CMSIS-SVD base structures.") + (license (list license:expat license:asl2.0)))) + (define-public rust-svgtypes-0.5 (package (name "rust-svgtypes") @@ -80130,51 +77157,6 @@ references") (description "This package provides SVG types parser.") (license (list license:expat license:asl2.0)))) -(define-public rust-sxd-document-0.3 - (package - (name "rust-sxd-document") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sxd-document" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0y10shqmy9xb73g403rg1108wsagny9d8jrcm081pbwzpqvjzn4l")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-peresil" ,rust-peresil-0.3) - ("rust-typed-arena" ,rust-typed-arena-1)))) - (home-page "https://github.com/shepmaster/sxd-document") - (synopsis "Rust XML DOM library") - (description "This package provides a Rust XML DOM library.") - (license license:expat))) - -(define-public rust-sxd-xpath-0.4 - (package - (name "rust-sxd-xpath") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "sxd-xpath" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sin3g8lzans065gjcwrpm7gdpwdpdg4rpi91rlvb1q8sfjrvqrn")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-peresil" ,rust-peresil-0.3) - ("rust-quick-error" ,rust-quick-error-1) - ("rust-sxd-document" ,rust-sxd-document-0.3)))) - (home-page "https://github.com/shepmaster/sxd-xpath") - (synopsis "Rust XML XPath library") - (description "This package provides a Rust XML XPath library.") - (license (list license:expat license:asl2.0)))) - (define-public rust-swaybar-types-3 (package (name "rust-swaybar-types") @@ -80306,10 +77288,55 @@ executed by swayipc.") (home-page "https://github.com/jaycefayne/swayipc-rs") (synopsis "Type definitions from sway's IPC interface") (description - "This package provides a library containing type defintions from + "This package provides a library containing type definitions from sway's IPC interface.") (license license:expat))) +(define-public rust-sxd-document-0.3 + (package + (name "rust-sxd-document") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sxd-document" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y10shqmy9xb73g403rg1108wsagny9d8jrcm081pbwzpqvjzn4l")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-peresil" ,rust-peresil-0.3) + ("rust-typed-arena" ,rust-typed-arena-1)))) + (home-page "https://github.com/shepmaster/sxd-document") + (synopsis "Rust XML DOM library") + (description "This package provides a Rust XML DOM library.") + (license license:expat))) + +(define-public rust-sxd-xpath-0.4 + (package + (name "rust-sxd-xpath") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sxd-xpath" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sin3g8lzans065gjcwrpm7gdpwdpdg4rpi91rlvb1q8sfjrvqrn")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-peresil" ,rust-peresil-0.3) + ("rust-quick-error" ,rust-quick-error-1) + ("rust-sxd-document" ,rust-sxd-document-0.3)))) + (home-page "https://github.com/shepmaster/sxd-xpath") + (synopsis "Rust XML XPath library") + (description "This package provides a Rust XML XPath library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-symbolic-common-12 (package (name "rust-symbolic-common") @@ -80409,338 +77436,22 @@ languages and compilers.") #:cargo-development-inputs (("rust-similar-asserts" ,rust-similar-asserts-1)))))) -(define-public rust-symlink-0.1 - (package - (name "rust-symlink") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symlink" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "02h1i0b81mxb4vns4xrvrfibpcvs7jqqav8p3yilwik8cv73r5x7")))) - (build-system cargo-build-system) - (home-page "https://gitlab.com/chris-morgan/symlink") - (synopsis "Create symlinks in a cross-platform manner") - (description "Create symlinks in a cross-platform manner.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-symphonia-0.4 - (package - (name "rust-symphonia") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dx4v5libbksi4rd6b9290nci3h8xqyakymhxd72yybyl25g7rd7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-symphonia-bundle-flac" ,rust-symphonia-bundle-flac-0.4) - ("rust-symphonia-bundle-mp3" ,rust-symphonia-bundle-mp3-0.4) - ("rust-symphonia-codec-aac" ,rust-symphonia-codec-aac-0.4) - ("rust-symphonia-codec-pcm" ,rust-symphonia-codec-pcm-0.4) - ("rust-symphonia-codec-vorbis" ,rust-symphonia-codec-vorbis-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4) - ("rust-symphonia-format-isomp4" ,rust-symphonia-format-isomp4-0.4) - ("rust-symphonia-format-ogg" ,rust-symphonia-format-ogg-0.4) - ("rust-symphonia-format-wav" ,rust-symphonia-format-wav-0.4) - ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis - "Symphonia is a pure Rust media container and audio decoding library") - (description - "Symphonia is a pure Rust media container and audio decoding library -that supports a wide range of audio formats.") - (license license:mpl2.0))) - -(define-public rust-symphonia-bundle-flac-0.4 - (package - (name "rust-symphonia-bundle-flac") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-bundle-flac" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "00jxn9izfg1g07srhgglpqgadmzwsr88sqnnxw3mskpvyl958vhi")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-log" ,rust-log-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4) - ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4) - ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "FLAC demuxer and decoder for the Symphonia library") - (description - "Symphonia is a pure Rust audio decoding and media demuxing library -supporting a wide range of audio formats. This package contains a FLAC demuxer -and decoder.") - (license license:mpl2.0))) - -(define-public rust-symphonia-core-0.4 - (package - (name "rust-symphonia-core") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1j84q4a9p9qa23976spxap9s6ns3fm6fzrfz65n6cjhgpsbmw4zs")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bytemuck" ,rust-bytemuck-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "Shared elements for Symphonia a Rust audio library") - (description - "Symphonia is a pure Rust audio decoding and media demuxing -library supporting a wide range of audio formats. This package contains -shared structs, traits, and features.") - (license license:mpl2.0))) - -(define-public rust-symphonia-metadata-0.4 - (package - (name "rust-symphonia-metadata") - (version "0.4.0") - (source (origin - (method url-fetch) - (uri (crate-uri "symphonia-metadata" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06lvwy24kirc84r6d23ncad544525fsb6gna0plqz3d1mffmjq2j")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "Multimedia tag and metadata readers for the Symphonia library") - (description "Symphonia is a pure Rust audio decoding and media demuxing -library supporting a wide range of audio formats. This package contains -multimedia tag and metadata readers.") - (license license:mpl2.0))) - -(define-public rust-symphonia-bundle-mp3-0.4 - (package - (name "rust-symphonia-bundle-mp3") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-bundle-mp3" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "14074njhgrcgh2p5iryrd68mgdzcxf9v7p8xfm8ldkhylv29fkgc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4) - ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "MP1, MP2, and MP3 demuxers and decoders written in pure Rust") - (description - "Symphonia is a pure Rust audio decoding and media demuxing library -supporting a wide range of aduio formats. This package contains support for -MP1, MP2 and MP3.") - (license license:mpl2.0))) - -(define-public rust-symphonia-codec-aac-0.4 - (package - (name "rust-symphonia-codec-aac") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-codec-aac" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13smaxgb1jadl4jyay7hixqgwaiqrjvsvmzdvlbdzdxrgsrplgdx")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "Pure Rust AAC decoder from Symphonia") - (description - "Symphonia is a pure Rust audio decoding and media demuxing library -that supports a wide range of audio formats. This package contains an AAC -decoder.") - (license license:mpl2.0))) - -(define-public rust-symphonia-codec-pcm-0.4 - (package - (name "rust-symphonia-codec-pcm") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-codec-pcm" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1is49qjnfy541zpgzz498hnpz0nsq7i4nfky2133b6aqhxrm87ds")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-log" ,rust-log-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "Pure Rust PCM audio decoder, part of Symphonia") - (description - "Symphonia is a pure Rust audio decoding and media demuxing library -that supports a wide range of audio formats. This package contains a -@acronym{PCM, Pulse-Code Modulation} audio decoder.") - (license license:mpl2.0))) - -(define-public rust-symphonia-codec-vorbis-0.4 - (package - (name "rust-symphonia-codec-vorbis") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-codec-vorbis" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1yj1si92fnnzdfkw27cq324h6y1s958s8r2hl0szpvvqh1sdd7m2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-log" ,rust-log-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4) - ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "Pure Rust Vorbis decoder, part of the Symphonia project") - (description - "Symphonia is a pure Rust audio decoding and media demuxing library -that supports a wide range of audio formats. This package is a Vorbis -decoder.") - (license license:mpl2.0))) - -(define-public rust-symphonia-format-isomp4-0.4 - (package - (name "rust-symphonia-format-isomp4") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-format-isomp4" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1dap5yh286j74sybjsam378v1jxkpdl3hvvm81sipv7725vkmvpy")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-log" ,rust-log-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4) - ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "Rust ISO/MP4 demuxer from the Symphonia project") - (description - "Symphonia is a pure Rust audio decoding and media demuxing library -that supports a wide range of audio formats. This package contains an -ISO/MP4 demuxer.") - (license license:mpl2.0))) - -(define-public rust-symphonia-format-ogg-0.4 - (package - (name "rust-symphonia-format-ogg") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-format-ogg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06d5327m4yk8a6yq7zzyiv2sbkwnjq28dz9cagndz6m7i1r3bcnp")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-log" ,rust-log-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4) - ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4) - ("rust-symphonia-utils-xiph" ,rust-symphonia-utils-xiph-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "Pure Rust OGG demuxer, part of Symphonia") - (description - "Symphonia is a pure Rust decoding and media demuxing library that -supports a wide range of audio formats. This package is an OGG demuxer.") - (license license:mpl2.0))) - -(define-public rust-symphonia-format-wav-0.4 - (package - (name "rust-symphonia-format-wav") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-format-wav" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1b8x213s44xis4pb1ibnqr1a20hsxf3phm527dvadpi0nkjsb7vd")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-log" ,rust-log-0.4) - ("rust-symphonia-core" ,rust-symphonia-core-0.4) - ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "Rust WAV demuxer from the Symphonia project") - (description - "Symphonia is a pure Rust decoding and media demuxing library that -supports a wide range of audio formats. This package is a WAV demuxer.") - (license license:mpl2.0))) - -(define-public rust-symphonia-utils-xiph-0.4 - (package - (name "rust-symphonia-utils-xiph") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "symphonia-utils-xiph" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sg1y7s607rk1akrrzyhdsqimiwwaw440jzr1cp89zs8d5n04dva")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-symphonia-core" ,rust-symphonia-core-0.4) - ("rust-symphonia-metadata" ,rust-symphonia-metadata-0.4)))) - (home-page "https://github.com/pdeljanov/Symphonia") - (synopsis "Xiph codecs and formats for Rust's Symphonia") - (description - "Symphonia is a pure Rust audio decoding and media demuxing -library that supports a wide range of audio formats. This package contains Xiph -codecs and formats.") - (license license:mpl2.0))) - ;; WARNING: This package is a dependency of mesa. (define-public rust-syn-2 (package (name "rust-syn") - (version "2.0.87") + (version "2.0.90") (source (origin (method url-fetch) (uri (crate-uri "syn" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bd3mfcswvn4jkrp7ich5kk58kmpph8412yxd36nsfnh8vilrai5")))) + (base32 "0cfg5dsr1x0hl6b9hz08jp1197mx0rq3xydqmqaws36xlms3p7ci")))) (build-system cargo-build-system) (arguments ;; Tests fail to compile - ;; error[E0432]: unresolved imports `syn::Item`, `syn::Pat` - `(#:tests? #false + ;; error[E0463]: can't find crate for `rustc_ast` (among other errors). + `(#:tests? #f #:phases (modify-phases %standard-phases ;; The syn-test-suite crate is empty. @@ -80853,8 +77564,7 @@ a syntax tree of Rust source code.") ("rust-ref-cast" ,rust-ref-cast-0.2) ("rust-regex" ,rust-regex-1) ("rust-termcolor" ,rust-termcolor-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (properties '()))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-syn-0.14 (package @@ -80881,30 +77591,6 @@ a syntax tree of Rust source code.") (("rust-rayon" ,rust-rayon-1) ("rust-walkdir" ,rust-walkdir-2)))))) -(define-public rust-syn-0.13 - (package - (inherit rust-syn-0.14) - (name "rust-syn") - (version "0.13.11") - (source - (origin - (method url-fetch) - (uri (crate-uri "syn" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16qvx8qyb5v4vjbg9rk8848bw6x4i6vzs8v7f4n1v9pkj9ibzy8l")))) - (arguments - `(#:tests? #f - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-0.3) - ("rust-quote" ,rust-quote-0.5) - ("rust-unicode-xid" ,rust-unicode-xid-0.1)) - #:cargo-development-inputs - (("rust-rayon" ,rust-rayon-1) - ("rust-walkdir" ,rust-walkdir-2)))))) - (define-public rust-syn-0.11 (package (inherit rust-syn-0.15) @@ -80930,7 +77616,7 @@ a syntax tree of Rust source code.") #:cargo-inputs (("rust-quote" ,rust-quote-0.3) ("rust-synom" ,rust-synom-0.11) - ("rust-unicode-xid" ,rust-unicode-xid-0.0)) + ("rust-unicode-xid" ,rust-unicode-xid-0.0.4)) #:cargo-development-inputs (("rust-syntex-pos" ,rust-syntex-pos-0.58) ("rust-syntex-syntax" ,rust-syntex-syntax-0.58) @@ -80977,39 +77663,17 @@ a syntax tree of Rust source code.") (description "Test suite of the syn crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-synchronoise-1 - (package - (name "rust-synchronoise") - (version "1.0.1") - (source (origin - (method url-fetch) - (uri (crate-uri "synchronoise" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wnylkdf84520ks7a70fnwds2wibxmnkgqzz3j6ww9n61wwh3g1x")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3)))) - (home-page "https://github.com/QuietMisdreavus/synchronoise") - (synopsis "Synchronization primitives") - (description - "This package provides synchronization primitives that build upon the -standard library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-sync-wrapper-0.1 +(define-public rust-sync-wrapper-1 (package (name "rust-sync-wrapper") - (version "0.1.2") + (version "1.0.2") (source (origin (method url-fetch) (uri (crate-uri "sync_wrapper" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0q01lyj0gr9a93n10nxsn8lwbzq97jqd6b768x17c8f7v7gccir0")))) + (base32 "0qvjyasd6w18mjg5xlaq5jgy84jsjfsvmnn12c13gypxbv75dwhb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)) @@ -81024,6 +77688,46 @@ standard library.") the absence of concurrency.") (license license:asl2.0))) +(define-public rust-sync-wrapper-0.1 + (package + (inherit rust-sync-wrapper-1) + (name "rust-sync-wrapper") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "sync_wrapper" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q01lyj0gr9a93n10nxsn8lwbzq97jqd6b768x17c8f7v7gccir0")))) + (arguments + `(#:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3)) + #:cargo-development-inputs + (("rust-futures" ,rust-futures-0.3) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)))))) + +(define-public rust-synchronoise-1 + (package + (name "rust-synchronoise") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "synchronoise" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1wnylkdf84520ks7a70fnwds2wibxmnkgqzz3j6ww9n61wwh3g1x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-crossbeam-queue" ,rust-crossbeam-queue-0.3)))) + (home-page "https://github.com/QuietMisdreavus/synchronoise") + (synopsis "Synchronization primitives") + (description + "This package provides synchronization primitives that build upon the +standard library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-synom-0.11 (package (name "rust-synom") @@ -81048,7 +77752,7 @@ the absence of concurrency.") (("^path =.*") "")) #t))) #:cargo-inputs - (("rust-unicode-xid" ,rust-unicode-xid-0.0)) + (("rust-unicode-xid" ,rust-unicode-xid-0.0.4)) #:cargo-development-inputs (("rust-syn" ,rust-syn-0.11)))) (home-page "https://github.com/dtolnay/syn") @@ -81090,11 +77794,13 @@ the absence of concurrency.") (origin (method url-fetch) (uri (crate-uri "synstructure" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk")))) + (base32 "03r1lydbf3japnlpc4wka7y90pmz1i0danaj3f9a7b431akdlszk")) + (modules '((guix build utils))) + (snippet #~(substitute* "src/lib.rs" + (("non_upper_case_globals )") + "non_upper_case_globals)"))))) (arguments `(#:skip-build? #t #:cargo-inputs @@ -81103,14 +77809,8 @@ the absence of concurrency.") ("rust-syn" ,rust-syn-1) ("rust-quote" ,rust-quote-1)) #:cargo-development-inputs - (("rust-synstructure-test-traits" ,rust-synstructure-test-traits-0.1)) - #:phases - (modify-phases %standard-phases - ;; https://github.com/mystor/synstructure/issues/51 - (add-after 'unpack 'fix-test - (lambda _ - (substitute* "src/lib.rs" - (("non_upper_case_globals )") "non_upper_case_globals)"))))))))) + (("rust-synstructure-test-traits" + ,rust-synstructure-test-traits-0.1)))))) (define-public rust-synstructure-test-traits-0.1 (package @@ -81237,7 +77937,7 @@ intelligence using Sublime Text's grammars.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-syntex-pos" ,rust-syntex-pos-0.58) ("rust-term" ,rust-term-0.4) - ("rust-unicode-xid" ,rust-unicode-xid-0.0)))) + ("rust-unicode-xid" ,rust-unicode-xid-0.0.4)))) (home-page "https://github.com/serde-rs/syntex") (synopsis "Backport of librustc_errors") (description "This package provides a backport of @code{librustc_errors}.") @@ -81289,7 +77989,7 @@ intelligence using Sublime Text's grammars.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-syntex-errors" ,rust-syntex-errors-0.58) ("rust-syntex-pos" ,rust-syntex-pos-0.58) - ("rust-unicode-xid" ,rust-unicode-xid-0.0)))) + ("rust-unicode-xid" ,rust-unicode-xid-0.0.4)))) (home-page "https://github.com/serde-rs/syntex") (synopsis "Backport of libsyntax") (description "This package provides a backport of libsyntax.") @@ -81348,26 +78048,6 @@ 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 - (origin - (method url-fetch) - (uri (crate-uri "sys-locale" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1pv3hl604vnbk7fi5s47zmb555znjj7ddhmgbzvd8c7sb6xrxy4i")))) - (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)))))) - (define-public rust-syscallz-0.17 (package (name "rust-syscallz") @@ -81393,31 +78073,38 @@ no_std compatible by default, only relying on alloc.") (description "Simple seccomp library for rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-syscallz-0.16 +(define-public rust-sysctl-0.6 (package - (inherit rust-syscallz-0.17) - (name "rust-syscallz") - (version "0.16.2") + (name "rust-sysctl") + (version "0.6.0") (source (origin (method url-fetch) - (uri (crate-uri "syscallz" version)) + (uri (crate-uri "sysctl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1bd6k8v52fwvzspz6g8rrlrc0wffcbx022xvi62bb0z5czrgf3qi")))) + (base32 "1z0x1lim5929fs60wjxnvd31z59d120p1v16d0mwcdxjxcnql681")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-seccomp-sys" ,rust-seccomp-sys-0.1) - ("rust-strum" ,rust-strum-0.21) - ("rust-strum-macros" ,rust-strum-macros-0.21)) - #:cargo-development-inputs - (("rust-libc" ,rust-libc-0.2)))))) + `(#:cargo-test-flags + '("--" + "--skip=ctl_value::tests_linux::ctl_value_string" + "--skip=sys::ctl_iter::tests::ctl_iter_below_compare_outputs") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-enum-as-inner" ,rust-enum-as-inner-0.6) + ("rust-libc" ,rust-libc-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/johalun/sysctl-rs") + (synopsis "Simplified interface to libc::sysctl") + (description "This crate provides a safe interface for reading and writing +information to the kernel using the sysctl interface.") + (license license:expat))) (define-public rust-sysctl-0.5 (package + (inherit rust-sysctl-0.6) (name "rust-sysctl") (version "0.5.5") (source @@ -81427,7 +78114,6 @@ no_std compatible by default, only relying on alloc.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1sly34bm4w2vcfqgn7f6255pxwa2wa4vkzdrz2x0drgyy32xszgc")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -81438,12 +78124,7 @@ no_std compatible by default, only relying on alloc.") ("rust-enum-as-inner" ,rust-enum-as-inner-0.6) ("rust-libc" ,rust-libc-0.2) ("rust-thiserror" ,rust-thiserror-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/johalun/sysctl-rs") - (synopsis "Simplified interface to libc::sysctl") - (description "This crate provides a safe interface for reading and writing -information to the kernel using the sysctl interface.") - (license license:expat))) + ("rust-walkdir" ,rust-walkdir-2)))))) (define-public rust-sysctl-0.4 (package @@ -81488,8 +78169,48 @@ information to the kernel using the sysctl interface.") ("rust-errno" ,rust-errno-0.2) ("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-sysinfo-0.32 + (package + (name "rust-sysinfo") + (version "0.32.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sysinfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bzlj3afjz4ibdsfchjk1f4md6djffw668f3npiykwph38jcscsc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + "--skip=common::network::tests::check_ip_networks" + "--skip=common::system::test::check_system_info" + "--skip=test::check_uid_gid" + "--skip=test_components" + "--skip=test_networks" + "--skip=test_process_disk_usage" + "--skip=test_wait_non_child") + #:cargo-inputs (("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-memchr" ,rust-memchr-2) + ("rust-ntapi" ,rust-ntapi-0.4) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-windows" ,rust-windows-0.57)) + #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/GuillaumeGomez/sysinfo") + (synopsis "System handler to interact with processes") + (description + "This package is a library to get system information such as processes, +processors, disks, components and networks.") + (license license:expat))) + (define-public rust-sysinfo-0.31 (package + (inherit rust-sysinfo-0.32) (name "rust-sysinfo") (version "0.31.4") (source @@ -81499,7 +78220,6 @@ information to the kernel using the sysctl interface.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1gm1d4pxwnx4gmh6kwawchv8v8djb7y0a3qvbsq09cwrhx7vwp9m")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags (list "--release" "--" ;; These files aren't available in the build environment. @@ -81522,32 +78242,27 @@ information to the kernel using the sysctl interface.") ("rust-windows" ,rust-windows-0.57)) #:cargo-development-inputs (("rust-bstr" ,rust-bstr-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/GuillaumeGomez/sysinfo") - (synopsis "System handler to interact with processes") - (description - "This package is a library to get system information such as processes, -processors, disks, components and networks.") - (license license:expat))) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-sysinfo-0.30 (package (inherit rust-sysinfo-0.31) (name "rust-sysinfo") - (version "0.30.7") + (version "0.30.13") (source (origin (method url-fetch) (uri (crate-uri "sysinfo" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "064d267hiqnj2jd9rmkki3fra9yjza6gr6i02qm8a2iqxy45hf0c")))) + (base32 "1csbkx1hdlacgzw5ynjyfvgc1xg58w3h1rgh5gm2pysmxvd4snqa")))) (arguments `(#:cargo-test-flags - (list "--release" "--" + (list "--" ;; These files aren't available in the build environment. "--skip=test::check_system_info" "--skip=test::check_uid_gid" + "--skip=test_components" "--skip=test_networks" "--skip=test_wait_non_child" "--skip=test_process_disk_usage") @@ -81835,7 +78550,7 @@ well.") ("rust-strum-macros" ,rust-strum-macros-0.21) ("rust-thiserror" ,rust-thiserror-1) ("rust-toml" ,rust-toml-0.5) - ("rust-version-compare" ,rust-version-compare-0.0)) + ("rust-version-compare" ,rust-version-compare-0.0.11)) #:cargo-development-inputs (("rust-assert-matches" ,rust-assert-matches-1) ("rust-itertools" ,rust-itertools-0.10) @@ -81871,27 +78586,61 @@ well.") #:cargo-development-inputs (("rust-itertools" ,rust-itertools-0.9)))))) -(define-public rust-tabled-0.15 +(define-public rust-systemstat-0.2 + (package + (name "rust-systemstat") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "systemstat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lhbbgywmhfdb2vjaxzl9g3dbbz2nyfyzqr8kacq6b1im4jfqjm2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + ;; Missing file + "--skip=platform::tests::test_on_ac_power") + #:cargo-inputs (("rust-bytesize" ,rust-bytesize-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nom" ,rust-nom-7) + ("rust-serde" ,rust-serde-1) + ("rust-time" ,rust-time-0.3) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/valpackett/systemstat") + (synopsis "Get system information/statistics in a cross-platform way") + (description + "This package provides a way to get system information/statistics in a +cross-platform way.") + (license license:unlicense))) + +(define-public rust-tabled-0.16 (package (name "rust-tabled") - (version "0.15.0") + (version "0.16.0") (source (origin (method url-fetch) (uri (crate-uri "tabled" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03h5j83pp5pp0hbf6dh1fvh8pwhzj3qvmaj8d8cra54jic68p6ac")))) + (base32 "06ybawqbcf1qk4laxff9cwxa26viwfda4bh14bvyv6qbwqz31jbp")) + (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 `testing_table` - #:cargo-inputs - (("rust-ansi-str" ,rust-ansi-str-0.8) - ("rust-ansitok" ,rust-ansitok-0.2) - ("rust-papergrid" ,rust-papergrid-0.11) - ("rust-tabled-derive" ,rust-tabled-derive-0.7) - ("rust-unicode-width" ,rust-unicode-width-0.1)) - #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))) + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) + ("rust-ansitok" ,rust-ansitok-0.2) + ("rust-papergrid" ,rust-papergrid-0.12) + ("rust-tabled-derive" ,rust-tabled-derive-0.8)) + #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3) + ("rust-testing-table" ,rust-testing-table-0.1)))) (home-page "https://github.com/zhiburt/tabled") (synopsis "Library for pretty printing tables of Rust `struct`s and `enum`s") @@ -81899,43 +78648,42 @@ well.") Rust @code{struct}s and @code{enum}s.") (license license:expat))) -(define-public rust-tabled-0.14 +(define-public rust-tabled-0.15 (package - (inherit rust-tabled-0.15) + (inherit rust-tabled-0.16) (name "rust-tabled") - (version "0.14.0") + (version "0.15.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) + (base32 "03h5j83pp5pp0hbf6dh1fvh8pwhzj3qvmaj8d8cra54jic68p6ac")))) (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)) + `(#:tests? #f ; use of undeclared crate or module `testing_table` + #:cargo-inputs + (("rust-ansi-str" ,rust-ansi-str-0.8) + ("rust-ansitok" ,rust-ansitok-0.2) + ("rust-papergrid" ,rust-papergrid-0.11) + ("rust-tabled-derive" ,rust-tabled-derive-0.7) + ("rust-unicode-width" ,rust-unicode-width-0.1)) #:cargo-development-inputs (("rust-owo-colors" ,rust-owo-colors-3)))))) -(define-public rust-tabled-derive-0.7 +(define-public rust-tabled-derive-0.8 (package (name "rust-tabled-derive") - (version "0.7.0") + (version "0.8.0") (source (origin (method url-fetch) (uri (crate-uri "tabled_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05sbyjc8warywzldz1bn8v4cyd2nc5ix5nhw6wx6apby6ycqy4sc")))) + (base32 "0sbh8x67frl69j8ns0z3jyp67ywkfivncjp2ak0qd5vhvjzvh3xz")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #f - #:cargo-inputs (("rust-heck" ,rust-heck-0.4) + `(#: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) @@ -81943,22 +78691,21 @@ Rust @code{struct}s and @code{enum}s.") (home-page "https://github.com/zhiburt/tabled") (synopsis "Derive macros which are used by the Tabled crate") (description - "Provides Derive macros which are used by Tabled crate.") + "This package provides derive macros which is used by Tabled crate.") (license license:expat))) -(define-public rust-tabled-derive-0.6 +(define-public rust-tabled-derive-0.7 (package - (inherit rust-tabled-derive-0.7) + (inherit rust-tabled-derive-0.8) (name "rust-tabled-derive") - (version "0.6.0") + (version "0.7.0") (source (origin (method url-fetch) (uri (crate-uri "tabled_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r1z7qj37h1x4nyqbxq9jvbd713qvgpjlf1w18pz1x2lifh8ixlr")))) - (build-system cargo-build-system) + (base32 "05sbyjc8warywzldz1bn8v4cyd2nc5ix5nhw6wx6apby6ycqy4sc")))) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) ("rust-proc-macro-error" ,rust-proc-macro-error-1) @@ -82063,6 +78810,55 @@ that exposes the same functionality at the command line.") (base32 "0hvd6vk4ksgg2y99498jw52ric4lxm0i6ygpzqm95gdrhvsxyynp")))))) +(define-public rust-tame-index-0.13 + (package + (name "rust-tame-index") + (version "0.13.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tame-index" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15rgvi2pw852g3bydsv9i0ljlbg24f2zcw3fp778qd760c87nbnj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=krate_name::test::rejects_reserved" + "--skip=parses_current_cargo_cache" + "--skip=serializes_current_cargo_cache" + "--skip=can_take_shared_lock" + "--skip=wait_lock_times_out" + "--skip=waits_lock") + #:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-camino" ,rust-camino-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-gix" ,rust-gix-0.64) + ("rust-home" ,rust-home-0.5) + ("rust-http" ,rust-http-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memchr" ,rust-memchr-2) + ("rust-rayon" ,rust-rayon-1) + ("rust-reqwest" ,rust-reqwest-0.12) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-smol-str" ,rust-smol-str-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-toml-span" ,rust-toml-span-0.3) + ("rust-twox-hash" ,rust-twox-hash-1)) + #:cargo-development-inputs (("rust-cargo-metadata" ,rust-cargo-metadata-0.18) + ("rust-rayon" ,rust-rayon-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tiny-bench" ,rust-tiny-bench-0.3)))) + (home-page "https://github.com/EmbarkStudios/tame-index") + (synopsis "Provides access to local and remote cargo registry indices") + (description + "This package provides access to local and remote cargo registry indices.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-tap-1 (package (name "rust-tap") @@ -82081,38 +78877,6 @@ that exposes the same functionality at the command line.") "This package provides generic extensions for tapping values in Rust.") (license license:expat))) -(define-public rust-tar-0.4 - (package - (name "rust-tar") - (version "0.4.43") - (source - (origin - (method url-fetch) - (uri (crate-uri "tar" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xm1l6gg180wq9xrq9vhyyxxpr4kvyh933yjagax05wf7wqrhnf6")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Test tarballs not included in crate. - #:cargo-inputs - (("rust-filetime" ,rust-filetime-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-xattr" ,rust-xattr-1)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/alexcrichton/tar-rs") - (synopsis "Tar file reading/writing for Rust") - (description - "This package provides a Rust implementation of a TAR file reader and -writer. This library does not currently handle compression, but it is abstract -over all I/O readers and writers. Additionally, great lengths are taken to -ensure that the entire contents are never required to be entirely resident in -memory all at once.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-tardar-0.1 (package (name "rust-tardar") @@ -82172,17 +78936,17 @@ with `miette`.") (description "This package contains a Rust compiler target feature database.") (license (list license:expat license:asl2.0)))) -(define-public rust-target-lexicon-0.12 +(define-public rust-target-lexicon-0.13 (package (name "rust-target-lexicon") - (version "0.12.16") + (version "0.13.1") (source (origin (method url-fetch) (uri (crate-uri "target-lexicon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cg3bnx1gdkdr5hac1hzxy64fhw4g7dqkd0n3dxy5lfngpr1mi31")))) + (base32 "0xrab0br65gd3ws2hgkma0sbf205scpzfdbi1cg3k7cv3jd964nw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) @@ -82194,690 +78958,73 @@ with `miette`.") tools.") (license license:asl2.0))) -(define-public rust-target-lexicon-0.11 +(define-public rust-target-lexicon-0.12 (package - (inherit rust-target-lexicon-0.12) + (inherit rust-target-lexicon-0.13) (name "rust-target-lexicon") - (version "0.11.2") + (version "0.12.16") (source (origin (method url-fetch) (uri (crate-uri "target-lexicon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15gax4765vm2inh45m7cvaf4mgd2mb2mn0i87np0i1d95qhla822")))) - (arguments '()))) - -(define-public rust-tectonic-bridge-core-0.4 - (package - (name "rust-tectonic-bridge-core") - (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 "1j730zbzi19z45pp995483g1dcax50j4n67aymyhvyscypibv87c")))) - (build-system cargo-build-system) - (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.3) - ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2)))) - (inputs (list zlib)) - (native-inputs (list pkg-config)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Expose core backend APIs to the Tectonic C/C++ code") - (description - "This crate is part of the Tectonic project. It provides a C API to core -I/O services provided by the Tectonic Rust code. This API is then consumed by -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") - (version "0.1.7") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_bridge_flate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hz274rzlx528a8szlrpjxlv35sqw558wzybm2y63yy1s317z316")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-flate2" ,rust-flate2-1) - ("rust-libc" ,rust-libc-0.2)))) - (inputs (list zlib)) - (native-inputs (list pkg-config)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Expose flate compression to the Tectonic C code") - (description - "This crate is part of the Tectonic project. It provides a limited C API -to the @code{flate2} crate. This API is consumed by other Tectonic crates -that include C code that require flate2 functionality.") - (license license:expat))) - -(define-public rust-tectonic-bridge-freetype2-0.2 - (package - (name "rust-tectonic-bridge-freetype2") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_bridge_freetype2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1vnn6c4cp1qaqnr74bi9mzh25l6dxi8h753lqrfkqz5wb57fv29b")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-tectonic-dep-support" ,rust-tectonic-dep-support-0.1)))) - (inputs (list freetype)) - (native-inputs (list pkg-config)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Expose the FreeType2 library C APIs to Rust/Cargo") - (description - "This crate is part of the Tectonic project. It exposes the C API of the -FreeType font rendering engine within the Rust/Cargo build framework, with no -Rust bindings.") - (license license:expat))) - -(define-public rust-tectonic-bridge-graphite2-0.2 - (package - (name "rust-tectonic-bridge-graphite2") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_bridge_graphite2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0r0bi0qs0393vnh7q3yh71niwvqlm5qdzi0yq13z5v4przqi7lpc")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-tectonic-dep-support" ,rust-tectonic-dep-support-0.1)))) - (native-inputs - (list pkg-config)) - (inputs - (list graphite2)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Expose the graphite2 library to Rust/Cargo") - (description - "This crate is part of the Tectonic project. It exposes the C API of the -@code{graphite2} ``smart font`` system within the Rust/Cargo build framework, -with no Rust bindings.") - (license license:expat))) - -(define-public rust-tectonic-bridge-harfbuzz-0.2 - (package - (name "rust-tectonic-bridge-harfbuzz") - (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 "17mj3qks5nv0cc65h7h27j1kz3l5lib0krcai1mwdng72igmrypp")) - (snippet - #~(begin (use-modules (guix build utils)) - (delete-file-recursively "harfbuzz") - (substitute* "Cargo.toml" - (("external-harfbuzz") - (string-append "default = ['external-harfbuzz']\n" - "external-harfbuzz"))))))) - (build-system cargo-build-system) - (arguments - `(#: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)))) - (inputs (list freetype graphite2 harfbuzz icu4c)) - (native-inputs (list pkg-config)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Expose the Harfbuzz C/C++ APIs to Rust/Cargo") - (description - "This crate is part of the Tectonic project. It exposes the C API of the -Harfbuzz text shaping library the Rust/Cargo build framework, with no Rust -bindings.") - (license license:expat))) - -(define-public rust-tectonic-bridge-icu-0.2 - (package - (name "rust-tectonic-bridge-icu") - (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 "0zhvqbysn58ja5f4ki7ip6asdqbii45f5l79g90g50q293pfc12d")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-tectonic-dep-support" ,rust-tectonic-dep-support-0.1)))) - (inputs (list icu4c)) - (native-inputs (list pkg-config)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Expose a subset of the ICU Unicode APIs to Rust/Cargo") - (description - "This crate is part of the Tectonic project. It exposes the C API of the -@code{ICU4C} Unicode library the Rust/Cargo build framework, with no Rust -bindings.") - (license license:expat))) - -(define-public rust-tectonic-bundles-0.3 - (package - (name "rust-tectonic-bundles") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_bundles" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qgprq4p7pgmgzrzq3zjghh0b045i66nmk8kwxwlp5qx8nx4myah")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-flate2" ,rust-flate2-1) - ("rust-fs2" ,rust-fs2-0.4) - ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) - ("rust-tectonic-geturl" ,rust-tectonic-geturl-0.3) - ("rust-tectonic-io-base" ,rust-tectonic-io-base-0.4) - ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2) - ("rust-zip" ,rust-zip-0.6)))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl zlib)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Tectonic ``bundle'' (support file collection) implementations") - (description - "This crate is part of the Tectonic project. It implements various -Tectonic ``bundles`` that provide access to collections of TeX support -files.") - (license license:expat))) - -(define-public rust-tectonic-cfg-support-0.1 - (package - (name "rust-tectonic-cfg-support") - (version "0.1.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_cfg_support" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "07pd5fpqshxa7x8iky3hg4dznsx6xxf51s4336ynbvfw82ycis12")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1)))) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Support crate for @code{CARGO_CFG_TARGET_*} variables") - (description - "This package provides a build.rs support crate that helps deal -with @code{CARGO_CFG_TARGET_*} variables.") - (license license:expat))) - -(define-public rust-tectonic-dep-support-0.1 - (package - (name "rust-tectonic-dep-support") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_dep_support" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sr9yvxar239qmhhzb9ql7j79iqlma11r83shalv9h82nzcky2cv")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-pkg-config" ,rust-pkg-config-0.3) - ("rust-vcpkg" ,rust-vcpkg-0.2)))) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Find third-party libraries using either pkg-config or vcpkg") - (description - "This crate is part of the Tectonic project. It provides build-time -utilities for finding external library dependencies, allowing either -@code{pkg-config} or @code{vcpkg} to be used as the dep-finding backend, and -providing whatever fiddly features are needed to enable the Tectonic build -process.") - (license license:expat))) - -(define-public rust-tectonic-docmodel-0.2 - (package - (name "rust-tectonic-docmodel") - (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 "1dn539wm8lcb34zqwybcwdnhj4yd44adk2wky0frx7s2lr5hfaas")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) - ("rust-toml" ,rust-toml-0.7)))) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Tectonic document model") - (description - "This crate is part of the Tectonic project. It implements the Tectonic -document model, including the @file{Tectonic.toml} file.") - (license license:expat))) - -(define-public rust-tectonic-engine-bibtex-0.1 - (package - (name "rust-tectonic-engine-bibtex") - (version "0.1.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_engine_bibtex" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1h6q7wba6i92rfhyp98dy6v3sv6ccjdkc8wwl202vc26pllw1cn9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-tectonic-bridge-core" ,rust-tectonic-bridge-core-0.3) - ("rust-tectonic-errors" ,rust-tectonic-errors-0.2)))) - (inputs (list zlib)) - (native-inputs (list pkg-config)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "@code{bibtex} program as a reusable crate") - (description - "This crate is part of the Tectonic project. It provides the -@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 - (origin - (method url-fetch) - (uri (crate-uri "tectonic_engine_spx2html" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15nxgx20x3ii9ksdj2w9jis1qm1rd451kw3jh87ydvwqnzg88f3m")))) - (arguments - `(#:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pinot" ,rust-pinot-0.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)))))) - -(define-public rust-tectonic-engine-xetex-0.4 - (package - (name "rust-tectonic-engine-xetex") - (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 "11if3zyzp8149gf1j4fhwk8kbbs2agxkk5la1lhmq4icrj6szwrf")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-tectonic-bridge-core" ,rust-tectonic-bridge-core-0.3) - ("rust-tectonic-bridge-flate" ,rust-tectonic-bridge-flate-0.1) - ("rust-tectonic-bridge-graphite2" ,rust-tectonic-bridge-graphite2-0.2) - ("rust-tectonic-bridge-harfbuzz" ,rust-tectonic-bridge-harfbuzz-0.2) - ("rust-tectonic-cfg-support" ,rust-tectonic-cfg-support-0.1) - ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) - ("rust-tectonic-pdf-io" ,rust-tectonic-pdf-io-0.4) - ("rust-tectonic-xetex-layout" ,rust-tectonic-xetex-layout-0.2)))) - (native-inputs - (list pkg-config)) - (inputs - (list fontconfig - freetype - graphite2 - harfbuzz - icu4c - zlib)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "XeTeX engine as a reusable crate") - (description - "This crate is part of the Tectonic project. It provides the XeTeX -engine as a reusable crate.") - (license license:expat))) - -(define-public rust-tectonic-engine-xdvipdfmx-0.4 - (package - (name "rust-tectonic-engine-xdvipdfmx") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_engine_xdvipdfmx" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1h8lslv1h6g8971787sa818g6yhpqr00g13sw6ij14m6k9bi1dq7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-tectonic-bridge-core" ,rust-tectonic-bridge-core-0.3) - ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) - ("rust-tectonic-pdf-io" ,rust-tectonic-pdf-io-0.4)))) - (native-inputs - (list pkg-config)) - (inputs - (list libpng zlib)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "@code{xdvipdfmx} program as a reusable crate") - (description - "This crate is part of the Tectonic project. It provides XeTeX’s -@code{xdvipdfmx} program as a reusable crate.") - (license license:expat))) - -(define-public rust-tectonic-errors-0.2 - (package - (name "rust-tectonic-errors") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_errors" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xa10hy6llyhvn5yxnzdkhp94qfnidnwfrd858k86jp74f9c0wwf")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1)))) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Boxed error type for Tectonic, with supporting utilities") - (description - "This crate is part of the Tectonic project. It provides a basic boxed -error type and utilities.") - (license license:expat))) - -(define-public rust-tectonic-geturl-0.3 - (package - (name "rust-tectonic-geturl") - (version "0.3.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_geturl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "19rr4072na5h9sh9fpyzs1n9k3zrwj1gw4l9344alcsznn5fyryz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-curl" ,rust-curl-0.4) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) - ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2)))) - (inputs (list openssl)) - (native-inputs (list pkg-config)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Interface for HTTP GETs and byte-range requests") - (description - "This crate is part of the Tectonic project. It provides an -interface for fetching URLs using one of several HTTP backends.") - (license license:expat))) - -(define-public rust-tectonic-io-base-0.4 - (package - (name "rust-tectonic-io-base") - (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 "13vqkvxn2r6y827ghj84ndmx991m26sdd4zxpgb7fll00bqwcr6v")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-app-dirs2" ,rust-app-dirs2-2) - ("rust-flate2" ,rust-flate2-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-sha2" ,rust-sha2-0.10) - ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) - ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2) - ("rust-thiserror" ,rust-thiserror-1)))) - (inputs (list zlib)) - (native-inputs (list pkg-config)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Basic types for Tectonic's pluggable I/O backend system") - (description - "This crate is part of the Tectonic project. It provides basic -types for Tectonic's pluggable I/O backend system, with -implementations for @code{std} I/O types as well as @code{flate2} gzip -streams.") - (license license:expat))) - -(define-public rust-tectonic-io-base-0.3 - (package - (inherit rust-tectonic-io-base-0.4) - (name "rust-tectonic-io-base") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_io_base" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0i74dlahsrz2yzdlirpwhpnfqpyidh5bz1z1iqnqv9ds9krw6yvb")))) - (arguments - `(#:cargo-inputs - (("rust-app-dirs2" ,rust-app-dirs2-2) - ("rust-flate2" ,rust-flate2-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) - ("rust-tectonic-status-base" ,rust-tectonic-status-base-0.2) - ("rust-thiserror" ,rust-thiserror-1)))))) - -(define-public rust-tectonic-pdf-io-0.4 - (package - (name "rust-tectonic-pdf-io") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_pdf_io" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0d3pj1q1hyn0kkh6fyw9b2z5ppwz6bck4s5236wx3a1kpp1k5irr")))) - (build-system cargo-build-system) + (base32 "1cg3bnx1gdkdr5hac1hzxy64fhw4g7dqkd0n3dxy5lfngpr1mi31")))) (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-tectonic-bridge-core" ,rust-tectonic-bridge-core-0.3) - ("rust-tectonic-bridge-flate" ,rust-tectonic-bridge-flate-0.1) - ("rust-tectonic-cfg-support" ,rust-tectonic-cfg-support-0.1) - ("rust-tectonic-dep-support" ,rust-tectonic-dep-support-0.1)))) - (native-inputs - (list pkg-config)) - (inputs - (list libpng)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Xdvipdfmx's PDF, XDV, and image I/O APIs in C, as a Rust crate") - (description - "This crate is part of the Tectonic project. It provides the PDF, XDV, -and image I/O capabilities of XeTeX’s xdvipdfmx as a crate, currently -providing only a C API.") - (license license:expat))) + `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-tectonic-status-base-0.2 +(define-public rust-target-lexicon-0.11 (package - (name "rust-tectonic-status-base") - (version "0.2.1") + (inherit rust-target-lexicon-0.12) + (name "rust-target-lexicon") + (version "0.11.2") (source (origin (method url-fetch) - (uri (crate-uri "tectonic_status_base" version)) + (uri (crate-uri "target-lexicon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11v0ds5jwkg4jm18n0a0qxhlrfh27inls0kyjsi42arrmqm0mcwk")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-tectonic-errors" ,rust-tectonic-errors-0.2)))) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Basic types for reporting status messages to a user") - (description - "This crate is part of the Tectonic project. It provides a basic -types for reporting status messages to a user.") - (license license:expat))) + (base32 "15gax4765vm2inh45m7cvaf4mgd2mb2mn0i87np0i1d95qhla822")))) + (arguments '()))) -(define-public rust-tectonic-xdv-0.2 +(define-public rust-target-triple-0.1 (package - (name "rust-tectonic-xdv") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "tectonic_xdv" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0dc9hs4nyxligv53nbn20mpqysfv5awrw24bm3bgzawiv7vf17gm")))) + (name "rust-target-triple") + (version "0.1.3") + (source (origin + (method url-fetch) + (uri (crate-uri "target-triple" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0y1hq4v4k1706rr3rdmw92as4kchchdxj7qkr2plb025vc6db922")))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)) - #:cargo-development-inputs (("rust-clap" ,rust-clap-2)))) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "Decoder for the XDV and SPX file formats") - (description - "This package provides a decoder for the XDV and SPX file formats -used by XeTeX and Tectonic.") - (license license:expat))) + (home-page "https://github.com/dtolnay/target-triple") + (synopsis "TARGET and HOST triples") + (description "Access the $TARGET and $HOST rustc target triples that Cargo +supplies to build scripts.") + (license (list license:expat license:asl2.0)))) -(define-public rust-tectonic-xetex-layout-0.2 +(define-public rust-temp-dir-0.1 (package - (name "rust-tectonic-xetex-layout") - (version "0.2.4") + (name "rust-temp-dir") + (version "0.1.14") (source (origin (method url-fetch) - (uri (crate-uri "tectonic_xetex_layout" version)) + (uri (crate-uri "temp-dir" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sbh8wnyrkfvzjlzyk3p9zbzp277p1qhmz0davz2sgnzzgp8ffsn")))) + (base32 "0wiwpkkxln7ykj44029bmc86cariqq2mjwllrdjzf4jgygpfc7mw")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-tectonic-bridge-core" ,rust-tectonic-bridge-core-0.3) - ("rust-tectonic-bridge-freetype2" ,rust-tectonic-bridge-freetype2-0.2) - ("rust-tectonic-bridge-graphite2" ,rust-tectonic-bridge-graphite2-0.2) - ("rust-tectonic-bridge-harfbuzz" ,rust-tectonic-bridge-harfbuzz-0.2) - ("rust-tectonic-bridge-icu" ,rust-tectonic-bridge-icu-0.2) - ("rust-tectonic-cfg-support" ,rust-tectonic-cfg-support-0.1) - ("rust-tectonic-dep-support" ,rust-tectonic-dep-support-0.1)))) - (native-inputs - (list pkg-config)) - (inputs - (list fontconfig - freetype - graphite2 - harfbuzz - icu4c - zlib)) - (home-page "https://tectonic-typesetting.github.io/") - (synopsis "XeTeX's font loading and layout interface encapsulation") + `(#:cargo-development-inputs (("rust-safe-lock" ,rust-safe-lock-0.1)))) + (home-page "https://gitlab.com/leonhard-llc/ops") + (synopsis "Simple temporary directory with cleanup") (description - "This crate is part of the Tectonic project. It provides the font -loading and layout routines of XeTeX as a crate, currently providing only -a C API.") - (license license:expat))) + "This package provides a simple temporary directory with cleanup.") + (license license:asl2.0))) (define-public rust-temp-env-0.3 (package @@ -82988,29 +79135,6 @@ directories.") (license (list license:asl2.0 license:expat)))) -(define-public rust-tempfile-fast-0.3 - (package - (name "rust-tempfile-fast") - (version "0.3.4") - (source (origin - (method url-fetch) - (uri (crate-uri "tempfile-fast" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1xksx1l1019k9q0az9mhqsgb14w0vm88yax30iq6178s3d9yhjx7")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-rand" ,rust-rand-0.8) - ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/FauxFaux/tempfile-fast-rs") - (synopsis "Support for Linux-specific tempfile extensions") - (description - "This package provides support for Linux-specific tempfile extensions.") - (license license:expat))) - (define-public rust-temporary-0.6 (package (name "rust-temporary") @@ -83086,14 +79210,14 @@ directories.") (define-public rust-tera-1 (package (name "rust-tera") - (version "1.18.1") + (version "1.20.0") (source (origin (method url-fetch) (uri (crate-uri "tera" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h3hgixby1vsfgk83ww09aq25p74jhqf48b7ql1jmwh22dsnb9lm")) + (base32 "1vnj9imw2h9szkd1izsrhwrc9jvazvdsp84x65wg2rg88ldqb7db")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -83102,16 +79226,18 @@ directories.") (build-system cargo-build-system) (arguments `(#:cargo-test-flags - (list "--release" "--" + (list "--" ;; Not all files included. "--skip=tera::tests::full_reload_with_glob" "--skip=tera::tests::full_reload_with_glob_after_extending" + "--skip=tera::tests::test_can_only_parse_templates" "--skip=tera::tests::can_load_from_glob_with_patterns" - "--skip=tera::tests::can_load_from_glob") + "--skip=tera::tests::can_load_from_glob" + "--skip=tera::Tera::add_template_file") #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) - ("rust-chrono-tz" ,rust-chrono-tz-0.6) - ("rust-globwalk" ,rust-globwalk-0.8) + ("rust-chrono-tz" ,rust-chrono-tz-0.9) + ("rust-globwalk" ,rust-globwalk-0.9) ("rust-humansize" ,rust-humansize-2) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-percent-encoding" ,rust-percent-encoding-2) @@ -83127,15 +79253,36 @@ directories.") (("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-serde-derive" ,rust-serde-derive-1) ("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://tera.netlify.com/") + (home-page "https://keats.github.io/tera/") (synopsis "Template engine based on Jinja2/Django templates") (description "Tera is a template engine inspired by Jinja2 and the Django template language.") (license license:expat))) +(define-public rust-term-1 + (package + (name "rust-term") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h8s95mpfbvhada0pgvdsk59x5nsnnvzi1q94qi83affmw0n1fx3")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-home" ,rust-home-0.5) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) + (home-page "https://github.com/Stebalien/term") + (synopsis "Terminal formatting library") + (description "This package provides a terminal formatting library.") + (license (list license:expat license:asl2.0)))) + (define-public rust-term-0.7 (package + (inherit rust-term-1) (name "rust-term") (version "0.7.0") (source @@ -83145,18 +79292,12 @@ template language.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "07xzxmg7dbhlirpyfq09v7cfb9gxn0077sqqvszgjvyrjnngi7f5")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-dirs-next" ,rust-dirs-next-2) ("rust-rustversion" ,rust-rustversion-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/Stebalien/term") - (synopsis "Terminal formatting library") - (description - "This package provides a terminal formatting library.") - (license (list license:expat license:asl2.0)))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-term-0.6 (package @@ -83269,7 +79410,7 @@ template language.") (arguments `(#:skip-build? #t #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) + (("rust-clippy" ,rust-clippy-0.0.302) ("rust-kernel32-sys" ,rust-kernel32-sys-0.2) ("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))) @@ -83298,49 +79439,32 @@ template language.") (("rust-libc" ,rust-libc-0.2) ("rust-winapi" ,rust-winapi-0.3)))))) -(define-public rust-termbg-0.5 +(define-public rust-termbg-0.6 (package (name "rust-termbg") - (version "0.5.0") + (version "0.6.1") (source (origin (method url-fetch) (uri (crate-uri "termbg" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1pidjkz38z13iz8xchrz1nidxny5zjmxvbl1fs4arilvpzhfc4ic")))) + (base32 "1lavrj3dbs4p8dcd7cxrbzyy5rwg66nwb2g3ahrk3skd6cb6lhh3")))) (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)))) + `(#:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.28) + ("rust-log" ,rust-log-0.4) + ("rust-mockall" ,rust-mockall-0.13) + ("rust-scopeguard" ,rust-scopeguard-1) + ("rust-simplelog" ,rust-simplelog-0.12) + ("rust-thiserror" ,rust-thiserror-2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-either" ,rust-either-1)))) (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") - (version "0.2.12") - (source - (origin - (method url-fetch) - (uri (crate-uri "termbox-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qbydvrck1vvzk48ck9vy70m58ksisl9dj24imjq04lp4kmh0l32")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/gchp/termbox-sys") - (synopsis "Low level bindings for the @code{termbox} library") - (description - "This package provides low level bindings for the @code{termbox} -library.") - (license license:expat))) - (define-public rust-termcolor-1 (package (name "rust-termcolor") @@ -83363,23 +79487,6 @@ writing colored text to a terminal.") (license (list license:unlicense license:expat)))) -(define-public rust-termcolor-0.3 - (package - (inherit rust-termcolor-1) - (name "rust-termcolor") - (version "0.3.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "termcolor" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10sg0w2xhwz5zn84xnqrba5mc1jcc9dfa0xg25ph3gs1mmz5ii5d")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-wincolor" ,rust-wincolor-0.1)))))) - (define-public rust-termimad-0.25 (package (name "rust-termimad") @@ -83461,6 +79568,28 @@ writing colored text to a terminal.") color of the terminal.") (license (list license:expat license:asl2.0)))) +(define-public rust-terminal-size-0.4 + (package + (name "rust-terminal-size") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "terminal_size" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1sd4nq55h9sjirkx0138zx711ddxq1k1a45lc77ninhzj9zl8ljk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;tests require /dev/stderr + #:cargo-inputs (("rust-rustix" ,rust-rustix-0.38) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) + (home-page "https://github.com/eminence/terminal-size") + (synopsis "Gets the size of your Linux or Windows terminal") + (description + "This package provides Gets the size of your Linux or Windows terminal.") + (license (list license:expat license:asl2.0)))) + (define-public rust-terminal-size-0.3 (package (name "rust-terminal-size") @@ -83590,23 +79719,43 @@ color of the terminal.") ("rust-phf" ,rust-phf-0.8) ("rust-phf-codegen" ,rust-phf-codegen-0.8)))))) -(define-public rust-termion-3 +(define-public rust-termini-1 + (package + (name "rust-termini") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "termini" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n8dvbwkp2k673xqwivb01iqg5ir91zgpwhwngpcb2yrgpc43m1a")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-home" ,rust-home-0.5)))) + (home-page "https://github.com/pascalkuthe/termini") + (synopsis "Minimal terminfo library") + (description "This package provides a minimal terminfo library.") + (license license:expat))) + +(define-public rust-termion-4 (package (name "rust-termion") - (version "3.0.0") + (version "4.0.3") (source (origin (method url-fetch) (uri (crate-uri "termion" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19f7q542ih13j13jp5lr750z5yav7v035pmz46zznkahb9ki6y21")))) + (base32 "19r3r56cfhl2qvlphw1vrwga37la16rdi15q1d7wz8ji1rb9iaky")))) (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-libredox" ,rust-libredox-0.1) + ("rust-numtoa" ,rust-numtoa-0.2) ("rust-redox-termios" ,rust-redox-termios-0.1) ("rust-serde" ,rust-serde-1)))) (home-page "https://gitlab.redox-os.org/redox-os/termion") @@ -83615,6 +79764,26 @@ color of the terminal.") "This package provides a bindless library for manipulating terminals.") (license license:expat))) +(define-public rust-termion-3 + (package + (inherit rust-termion-4) + (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")))) + (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)))))) + (define-public rust-termion-2 (package (inherit rust-termion-3) @@ -83662,13 +79831,13 @@ color of the terminal.") (name "rust-termios") (version "0.3.3") (source - (origin - (method url-fetch) - (uri (crate-uri "termios" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sxcs0g00538jqh5xbdqakkzijadr8nj7zmip0c7jz3k83vmn721")))) + (origin + (method url-fetch) + (uri (crate-uri "termios" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sxcs0g00538jqh5xbdqakkzijadr8nj7zmip0c7jz3k83vmn721")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -83682,23 +79851,54 @@ bindings are a small wrapper around the raw C functions, which converts integer return values to @code{std::io::Result} to indicate success or failure.") (license license:expat))) -(define-public rust-termtree-0.4 +(define-public rust-termios-0.2 + (package + (inherit rust-termios-0.3) + (name "rust-termios") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "termios" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fk8nl0rmk43jrh6hjz6c6d83ri7l6fikag6lh0ffz3di9cwznfm")))) + (arguments + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) + +(define-public rust-termtree-0.5 (package (name "rust-termtree") - (version "0.4.1") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "termtree" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xkal5l2r3r9p9j90x35qy4npbdwxz4gskvbijs6msymaangas9k")))) + (base32 "10s610ax6nb70yi7xfmwcb6d3wi9sj5isd0m63gy2pizr2zgwl4g")))) (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-snapbox" ,rust-snapbox-0.6)))) (home-page "https://github.com/rust-cli/termtree") (synopsis "Visualize tree-like data on the command-line") (description "Visualize tree-like data on the command-line.") (license license:expat))) +(define-public rust-termtree-0.4 + (package + (inherit rust-termtree-0.5) + (name "rust-termtree") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "termtree" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xkal5l2r3r9p9j90x35qy4npbdwxz4gskvbijs6msymaangas9k")))) + (arguments `()))) + (define-public rust-termwiz-0.22 (package (name "rust-termwiz") @@ -83818,6 +80018,51 @@ return values to @code{std::io::Result} to indicate success or failure.") ("rust-k9" ,rust-k9-0.11) ("rust-varbincode" ,rust-varbincode-0.1)))))) +(define-public rust-termwiz-0.15 + (package + (inherit rust-termwiz-0.20) + (name "rust-termwiz") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "termwiz" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ig83sldqnbmy95kb4ixhrjn63qym7dssxy3p2rsjj03rj96ivri")))) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-filedescriptor" ,rust-filedescriptor-0.8) + ("rust-fnv" ,rust-fnv-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-image" ,rust-image-0.23) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-memmem" ,rust-memmem-0.1) + ("rust-num-derive" ,rust-num-derive-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-ordered-float" ,rust-ordered-float-2) + ("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-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-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-varbincode" ,rust-varbincode-0.1)))))) + (define-public rust-test-assembler-0.1 (package (name "rust-test-assembler") @@ -84005,23 +80250,23 @@ generating parametrized test cases easily.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1)))))) -(define-public rust-test-cert-gen-0.7 +(define-public rust-test-cert-gen-0.9 (package (name "rust-test-cert-gen") - (version "0.7.0") - (source (origin - (method url-fetch) - (uri (crate-uri "test-cert-gen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06gl7zqvrsl4fqm6d3i21q459gcv9nf258kb5ynd8dip5spd021j")))) + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "test-cert-gen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "02nmsm23660525igrxii7l3f4h3w7x4wb652mg6hg5f5ravr4prl")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-pem" ,rust-pem-0.8) - ("rust-tempdir" ,rust-tempdir-0.3)))) + #:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-pem" ,rust-pem-0.8) + ("rust-tempfile" ,rust-tempfile-3)))) (home-page "https://crates.io/crates/test-cert-gen") (synopsis "Generate certificates for tests") (description @@ -84240,28 +80485,6 @@ unstable language features.") ("rust-libc" ,rust-libc-0.2) ("rust-term" ,rust-term-0.6)))))) -(define-public rust-tester-0.5 - (package - (inherit rust-tester-0.9) - (name "rust-tester") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tester" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1az6brh39ai1jcc6yy7xglwq8m65samkb31zr7lr18swrd2103fd")))) - (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=tests::parse_ignored_flag" - "--skip=tests::parse_include_ignored_flag") - #:cargo-inputs - (("rust-getopts" ,rust-getopts-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-term" ,rust-term-0.6)))))) - (define-public rust-testing-logger-0.1 (package (name "rust-testing-logger") @@ -84281,6 +80504,33 @@ unstable language features.") (description "Supports writing tests to verify `log` crate calls.") (license license:bsd-3))) +(define-public rust-testing-table-0.1 + (package + (name "rust-testing-table") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "testing_table" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wl7i9q1hyaabcajh8pf8pflazazgpb60s61xjl9fv1xdvgbzd9y")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansitok" ,rust-ansitok-0.2) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/zhiburt/tabled") + (synopsis "Library for pretty print tables of Rust `struct`s and `enum`s") + (description + "This package provides an easy to use library for pretty print tables of +Rust @code{struct}s and @code{enum}s.") + (license license:expat))) + (define-public rust-text-block-macros-0.1 (package (name "rust-text-block-macros") @@ -84351,25 +80601,25 @@ unstable language features.") (define-public rust-textwrap-0.16 (package (name "rust-textwrap") - (version "0.16.0") + (version "0.16.1") (source (origin (method url-fetch) (uri (crate-uri "textwrap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gbwkjf15l6p3x2rkr75fa4cpcs1ly4c8pmlfx5bl6zybcm24ai2")))) + (base32 "1fgqn3mg9gdbjxwfxl76fg0qiq53w3mk4hdh1x40jylnz39k9m13")))) (build-system cargo-build-system) (arguments - (list #:skip-build? #t - #:cargo-inputs + (list #:cargo-inputs `(("rust-hyphenation" ,rust-hyphenation-0.8) ("rust-smawk" ,rust-smawk-0.3) ("rust-terminal-size" ,rust-terminal-size-0.2) - ("rust-termion" ,rust-termion-2) - ("rust-unic-emoji-char" ,rust-unic-emoji-char-0.9) ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1) - ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + `(("rust-termion" ,rust-termion-2) + ("rust-unic-emoji-char" ,rust-unic-emoji-char-0.9) ("rust-version-sync" ,rust-version-sync-0.9)))) (home-page "https://github.com/mgeisler/textwrap") (synopsis "Library for word wrapping, indenting, and dedenting strings") @@ -84510,31 +80760,49 @@ handle Unicode characters correctly.") "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 +(define-public rust-thiserror-2 (package (name "rust-thiserror") - (version "1.0.64") + (version "2.0.9") (source (origin (method url-fetch) (uri (crate-uri "thiserror" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "114s8lmssxl0c2480s671am88vzlasbaikxbvfv8pyqrq6mzh2nm")))) + (base32 "1k5j0ri0kjrnlblv5ikaglbkg1sxxwh0qrxbidxgc38rs0zn8wph")))) (build-system cargo-build-system) (arguments + `(#:cargo-inputs (("rust-thiserror-impl" ,rust-thiserror-impl-2)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-ref-cast" ,rust-ref-cast-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/dtolnay/thiserror") + (synopsis "derive(Error)") + (description "This package provides @code{derive(Error)} in Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-thiserror-1 + (package + (inherit rust-thiserror-2) + (name "rust-thiserror") + (version "1.0.69") + (source + (origin + (method url-fetch) + (uri (crate-uri "thiserror" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lizjay08agcr5hs9yfzzj6axs53a2rgx070a1dsi3jpkcrzbamn")))) + (arguments `(#:cargo-inputs (("rust-thiserror-impl" ,rust-thiserror-impl-1)) #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-ref-cast" ,rust-ref-cast-1) ("rust-rustversion" ,rust-rustversion-1) - ("rust-trybuild" ,rust-trybuild-1)))) - (home-page "https://github.com/dtolnay/thiserror") - (synopsis "Provides @code{derive(Error)}") - (description "This package provides @code{derive(Error)} in Rust.") - (license (list license:expat license:asl2.0)))) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-thiserror-core-1 (package @@ -84581,30 +80849,46 @@ handle Unicode characters correctly.") (description "Implementation detail of the @code{thiserror} crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-thiserror-impl-1 +(define-public rust-thiserror-impl-2 (package (name "rust-thiserror-impl") - (version "1.0.64") + (version "2.0.9") (source (origin (method url-fetch) (uri (crate-uri "thiserror-impl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1hvzmjx9iamln854l74qyhs0jl2pg3hhqzpqm9p8gszmf9v4x408")))) + (base32 "1m77z5vb4w7xn7y12zxnbwncva4bwbi45y45xvkf5aki20kzll3v")))) (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-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/dtolnay/thiserror") (synopsis "Implementation detail of the thiserror crate") (description "This package provides an implementation detail of the @code{thiserror} crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-thiserror-impl-1 + (package + (inherit rust-thiserror-impl-2) + (name "rust-thiserror-impl") + (version "1.0.69") + (source + (origin + (method url-fetch) + (uri (crate-uri "thiserror-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1h84fmn2nai41cxbhk6pqf46bxqq1b344v8yz089w1chzi76rvjg")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-thousands-0.2 (package (name "rust-thousands") @@ -84745,29 +81029,33 @@ different for every thread.") `(#:cargo-inputs (("rust-thread-id" ,rust-thread-id-2)))))) -(define-public rust-thread-priority-0.10 +(define-public rust-thread-priority-1 (package (name "rust-thread-priority") - (version "0.10.0") + (version "1.2.0") (source (origin (method url-fetch) (uri (crate-uri "thread-priority" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0w9vrpkdlig1mrdxlz14815bgad3nm5dm22bjqpkb4b89jp1k1cp")))) + (base32 "1x9byxzv6n6qplkdfkw40xi6wfwisjklx8qkajn63bix0pbpbq6g")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; TODO: Figure out why many tests fail. - #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-libc" ,rust-libc-0.2) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) + ("rust-rustversion" ,rust-rustversion-1) ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs (("rust-rstest" ,rust-rstest-0.13)))) - (home-page "https://github.com/vityafx/thread-priority") + #:cargo-development-inputs (("rust-rstest" ,rust-rstest-0.19)))) + (home-page "https://github.com/iddm/thread-priority") (synopsis "Library for managing threads priority and schedule policies") (description - "Library for managing threads priority and schedule policies.") + "This package provides a library for managing threads priority and +schedule policies.") (license license:expat))) (define-public rust-thread-tree-0.3 @@ -84865,6 +81153,275 @@ system.") ("rust-ordered-float" ,rust-ordered-float-1) ("rust-threadpool" ,rust-threadpool-1)))))) +(define-public rust-thrussh-0.34 + (package + (name "rust-thrussh") + (version "0.34.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0k128v3dn6wv0ywmk8bjp2xx11niafp9q49xps5fwjy8dy0s4y3v")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=test_compress::compress_local_test" + "--skip=src/lib.rs - (line 152)") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-cryptovec" ,rust-cryptovec-0.6) + ("rust-digest" ,rust-digest-0.9) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-thrussh-keys" ,rust-thrussh-keys-0.22) + ("rust-thrussh-libsodium" ,rust-thrussh-libsodium-0.3) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list libsodium)) + (home-page "https://pijul.org/thrussh") + (synopsis "SSH library in Rust") + (description "This package provides a client and server SSH library.") + (license license:asl2.0))) + +(define-public rust-thrussh-0.33 + (package + (inherit rust-thrussh-0.34) + (name "rust-thrussh") + (version "0.33.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y1nhpg9l8jwjv59am9kmf9gib2j58c1qm36dvgq7pwsi8il0rcf")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; README.md not included in the release tarball. + (substitute* "Cargo.toml" + (("\\.\\./README\\.md") "Cargo.toml")))))) + (arguments + `(#:cargo-test-flags '("--" + "--skip=test_compress::compress_local_test" + "--skip=src/lib.rs - (line 152)") + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-cryptovec" ,rust-cryptovec-0.6) + ("rust-digest" ,rust-digest-0.9) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-thrussh-keys" ,rust-thrussh-keys-0.21) + ("rust-thrussh-libsodium" ,rust-thrussh-libsodium-0.2) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-tokio" ,rust-tokio-1)))))) + +(define-public rust-thrussh-config-0.6 + (package + (name "rust-thrussh-config") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08k6r947q5xx73y29s24snwlzym5x7v2drdl5y794957i6mlm5zs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dirs-next" ,rust-dirs-next-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-whoami" ,rust-whoami-1)))) + (home-page "https://nest.pijul.com/pijul/thrussh") + (synopsis "Utilities to parse .ssh/config files") + (description + "This package provides utilities to parse .ssh/config files, including +helpers to implement @code{ProxyCommand} in Thrussh.") + (license license:asl2.0))) + +(define-public rust-thrussh-config-0.5 + (package + (inherit rust-thrussh-config-0.6) + (name "rust-thrussh-config") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ygm5vdy180gslgmbd0v722ap451pw8cwaba0g0dzx5gg3cl9h37")))) + (arguments + `(#:cargo-inputs (("rust-dirs-next" ,rust-dirs-next-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-whoami" ,rust-whoami-1)))))) + +(define-public rust-thrussh-keys-0.22 + (package + (name "rust-thrussh-keys") + (version "0.22.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-keys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fsr8ank8vciyfdr27b56gnwasjrvadxkklv6w7dn22c7sqmjgf4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=test::test_client_agent_ed25519") + #:cargo-inputs (("rust-aes" ,rust-aes-0.7) + ("rust-bcrypt-pbkdf" ,rust-bcrypt-pbkdf-0.10) + ("rust-bit-vec" ,rust-bit-vec-0.6) + ("rust-block-modes" ,rust-block-modes-0.8) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-cryptovec" ,rust-cryptovec-0.6) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-dirs" ,rust-dirs-3) + ("rust-futures" ,rust-futures-0.3) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-log" ,rust-log-0.4) + ("rust-md5" ,rust-md5-0.7) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-p256" ,rust-p256-0.13) + ("rust-pbkdf2" ,rust-pbkdf2-0.8) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-thrussh-libsodium" ,rust-thrussh-libsodium-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-yasna" ,rust-yasna-0.4)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-tempdir" ,rust-tempdir-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list libsodium)) + (home-page "https://pijul.org/thrussh") + (synopsis "Deal with SSH keys from Rust") + (description + "This package helps deal with SSH keys: loading them, decrypting them, +calling an SSH agent.") + (license license:asl2.0))) + +(define-public rust-thrussh-keys-0.21 + (package + (inherit rust-thrussh-keys-0.22) + (name "rust-thrussh-keys") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-keys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1azmv32m5jpxsflj4dq62i84mv2cavc354r8yy98vc9j54dcab57")))) + (arguments + `(#:cargo-test-flags '("--" + "--skip=test::test_client_agent_ed25519" + "--skip=src/lib.rs - (line 13)" + "--skip=src/lib.rs - load_public_key (line 146)") + #:cargo-inputs (("rust-aes" ,rust-aes-0.7) + ("rust-bcrypt-pbkdf" ,rust-bcrypt-pbkdf-0.6) + ("rust-bit-vec" ,rust-bit-vec-0.6) + ("rust-block-modes" ,rust-block-modes-0.8) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-cryptovec" ,rust-cryptovec-0.6) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-dirs" ,rust-dirs-3) + ("rust-futures" ,rust-futures-0.3) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-log" ,rust-log-0.4) + ("rust-md5" ,rust-md5-0.7) + ("rust-num-bigint" ,rust-num-bigint-0.4) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-pbkdf2" ,rust-pbkdf2-0.8) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-thrussh-libsodium" ,rust-thrussh-libsodium-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-yasna" ,rust-yasna-0.4)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-tempdir" ,rust-tempdir-0.3)))))) + +(define-public rust-thrussh-libsodium-0.3 + (package + (name "rust-thrussh-libsodium") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-libsodium" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18vf8zpvyhbcdkn3cl6rdc2s57676jj6j4m2ykszc3fyi2xh1vaq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libsodium-sys" ,rust-libsodium-sys-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))) + (native-inputs (list pkg-config)) + (inputs (list libsodium)) + (home-page "https://nest.pijul.com/pijul/thrussh") + (synopsis "Straightforward bindings to libsodium") + (description + "This package provides straightforward bindings to libsodium.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-thrussh-libsodium-0.2 + (package + (inherit rust-thrussh-libsodium-0.3) + (name "rust-thrussh-libsodium") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "thrussh-libsodium" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07lscwsfrh02hqnjw62wyknwmydiqwq4jz1gg1g25xygnh79qksz")))) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-libsodium-sys" ,rust-libsodium-sys-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-vcpkg" ,rust-vcpkg-0.2)))))) + (define-public rust-tikv-jemalloc-sys-0.6 (package (name "rust-tikv-jemalloc-sys") @@ -84899,29 +81456,6 @@ system.") (description "This package provides a Rust FFI bindings to jemalloc.") (license (list license:expat license:asl2.0)))) -(define-public rust-tikv-jemalloc-sys-0.4 - (package - (inherit rust-tikv-jemalloc-sys-0.6) - (name "rust-tikv-jemalloc-sys") - (version "0.4.1+5.2.1-patched") - (source - (origin - (method url-fetch) - (uri (crate-uri "tikv-jemalloc-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1lw6gy9gzk7g7h71nm8a5ybrilhqgr583mn80nslr78p0ldk69la")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "jemalloc"))))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-cc" ,rust-cc-1) - ("rust-fs-extra" ,rust-fs-extra-1) - ("rust-libc" ,rust-libc-0.2)))))) - (define-public rust-tikv-jemallocator-0.6 (package (name "rust-tikv-jemallocator") @@ -84955,58 +81489,6 @@ system.") (description "This package provides a Rust allocator backed by jemalloc.") (license (list license:expat license:asl2.0)))) -(define-public rust-tikv-jemallocator-0.4 - (package - (inherit rust-tikv-jemallocator-0.6) - (name "rust-tikv-jemallocator") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tikv-jemallocator" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pyc94yx74s3vxnr22gnpj0b2f87s0vql0c5ayy1b1zb0jkaa51w")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-tikv-jemalloc-sys" ,rust-tikv-jemalloc-sys-0.4)))))) - -(define-public rust-tikv-jemalloc-ctl-0.4 - (package - (name "rust-tikv-jemalloc-ctl") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "tikv-jemalloc-ctl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1pqs08dgnnrgbib8syldxmm8cjgyz80scs9i8jgn6mw86gj8137j")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-paste" ,rust-paste-0.1) - ("rust-tikv-jemalloc-sys" - ,rust-tikv-jemalloc-sys-0.4)) - #:cargo-development-inputs - (("rust-tikv-jemallocator" - ,rust-tikv-jemallocator-0.4)))) - (home-page - "https://github.com/tikv/jemallocator") - (synopsis - "Safe wrapper over jemalloc's control and introspection APIs") - (description - "This package provides a safe wrapper over jemalloc's control and -introspection APIs.") - (license (list license:expat license:asl2.0)))) - (define-public rust-time-0.3 (package (name "rust-time") @@ -85126,28 +81608,6 @@ in Rust.") (license (list license:asl2.0 license:expat)))) -(define-public rust-timeago-0.4 - (package - (name "rust-timeago") - (version "0.4.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "timeago" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1rnh92sh1l4jbjvz4g7xvcvmfh7nk5k7mm2w56pnm9z0kmc0wwd1")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) - ("rust-isolang" ,rust-isolang-2)))) - (home-page "https://github.com/vi/timeago") - (synopsis "Time formatting library in Rust") - (description - "This package provides a time formatting library in Rust that converts -durations into strings. For example, \"1 hour ago\" or \"01hou\".") - (license (list license:expat license:asl2.0)))) - (define-public rust-time-core-0.1 (package (name "rust-time-core") @@ -85230,6 +81690,28 @@ crate.") crate.") (license (list license:expat license:asl2.0)))) +(define-public rust-timeago-0.4 + (package + (name "rust-timeago") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "timeago" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rnh92sh1l4jbjvz4g7xvcvmfh7nk5k7mm2w56pnm9z0kmc0wwd1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-isolang" ,rust-isolang-2)))) + (home-page "https://github.com/vi/timeago") + (synopsis "Time formatting library in Rust") + (description + "This package provides a time formatting library in Rust that converts +durations into strings. For example, \"1 hour ago\" or \"01hou\".") + (license (list license:expat license:asl2.0)))) + (define-public rust-timebomb-0.1 (package (name "rust-timebomb") @@ -85345,14 +81827,14 @@ specified in FIPS-202, SP800-185 and KangarooTwelve.") (define-public rust-tiny-skia-0.11 (package (name "rust-tiny-skia") - (version "0.11.3") + (version "0.11.4") (source (origin (method url-fetch) (uri (crate-uri "tiny-skia" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03g8qyv5bdi0dbgbmkz68z46kzshb0lcym52wvy96s2716w6g85n")))) + (base32 "1aq9gd4qh4418g8v08qzakqqggx8hl66qcianl3k5bjdsja37lc3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3) @@ -85412,14 +81894,14 @@ specified in FIPS-202, SP800-185 and KangarooTwelve.") (define-public rust-tiny-skia-path-0.11 (package (name "rust-tiny-skia-path") - (version "0.11.3") + (version "0.11.4") (source (origin (method url-fetch) (uri (crate-uri "tiny-skia-path" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hg5a0i7f505l3ix5a9ywjhjbsgqq856hwgic6pslaq5j255xqsx")))) + (base32 "14ywbdfakvacl6rxxmzbnycplaxpc6i2linh2yqk0sp8qb07z7lw")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arrayref" ,rust-arrayref-0.3) @@ -85491,6 +81973,36 @@ specified in FIPS-202, SP800-185 and KangarooTwelve.") C library.") (license license:zlib))) +(define-public rust-tinystr-0.7 + (package + (name "rust-tinystr") + (version "0.7.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "tinystr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bxqaw7z8r2kzngxlzlgvld1r6jbnwyylyvyjbv1q71rvgaga5wi")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `rand::rngs::SmallRng` + #:cargo-inputs (("rust-databake" ,rust-databake-0.1) + ("rust-displaydoc" ,rust-displaydoc-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-zerovec" ,rust-zerovec-0.10)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-postcard" ,rust-postcard-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis "ASCII-only bounded length string representation") + (description + "This package provides a small ASCII-only bounded length string +representation.") + (license license:unicode))) + (define-public rust-tinytemplate-1 (package (name "rust-tinytemplate") @@ -85557,22 +82069,21 @@ C library.") containers.") (license (list license:expat license:asl2.0 license:zlib)))) -(define-public rust-titlecase-2 +(define-public rust-titlecase-3 (package (name "rust-titlecase") - (version "2.2.1") + (version "3.3.0") (source (origin (method url-fetch) (uri (crate-uri "titlecase" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hi0hkh2x78rvq7rhdgdzsgwcnlpvvb59hgnifsgwz01vf67lf9q")))) + (base32 "0hlixjjrz9xsjj1xlv1c2p5vn923yszgzwv8l4zr3hdy9xs0xqp0")))) (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)))) + `(#:cargo-inputs (("rust-regex" ,rust-regex-1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) (home-page "https://github.com/wezm/titlecase") (synopsis "Tool and Rust crate for transforming text into title case") (description @@ -85581,21 +82092,21 @@ to a style defined by John Gruber for post titles on his website ``Daring Fireball''.") (license license:expat))) -(define-public rust-titlecase-1 +(define-public rust-titlecase-2 (package - (inherit rust-titlecase-2) + (inherit rust-titlecase-3) (name "rust-titlecase") - (version "1.1.0") + (version "2.2.1") (source (origin (method url-fetch) (uri (crate-uri "titlecase" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05qizspxihjhmzsd9y6kfxzrss4jl4y042wni4m2yk62rw8f8rgm")))) + (base32 "0hi0hkh2x78rvq7rhdgdzsgwcnlpvvb59hgnifsgwz01vf67lf9q")))) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + `(#:cargo-inputs (("rust-joinery" ,rust-joinery-2) + ("rust-lazy-static" ,rust-lazy-static-1) ("rust-regex" ,rust-regex-1)))))) (define-public rust-to-method-1 @@ -85698,14 +82209,14 @@ tinyobjloader.") (define-public rust-tokio-1 (package (name "rust-tokio") - (version "1.40.0") + (version "1.42.0") (source (origin (method url-fetch) (uri (crate-uri "tokio" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "166rllhfkyqp0fs7sxn6crv74iizi4wzd3cvxkcpmlk52qip1c72")))) + (base32 "0lbmf21h16iibdy7m63ck66grkwa7b1x8yy9gwvp60j5n0hrpv2w")))) (build-system cargo-build-system) (arguments (list #:cargo-test-flags @@ -85732,6 +82243,7 @@ tinyobjloader.") ("rust-mio-aio" ,rust-mio-aio-0.9) ("rust-mockall" ,rust-mockall-0.11) ("rust-nix" ,rust-nix-0.29) + ("rust-proptest" ,rust-proptest-1) ("rust-rand" ,rust-rand-0.8) ("rust-socket2" ,rust-socket2-0.5) ("rust-tempfile" ,rust-tempfile-3) @@ -86625,37 +83137,61 @@ futures.") "Event loop that drives Tokio I/O resources.") (license license:expat))) -(define-public rust-tokio-rustls-0.25 +(define-public rust-tokio-rustls-0.26 (package (name "rust-tokio-rustls") - (version "0.25.0") + (version "0.26.0") (source (origin (method url-fetch) (uri (crate-uri "tokio-rustls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "03w6d5aqqf084rmcmrsyq5grhydl53blaiqcl0i2yfnv187hqpkp")))) + (base32 "1m00czrmk8x7pdjnz10a3da3i1d0sdf9j9vfp5dnk5ss1q6w8yqc")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Issue with the certificate test dates. - #:cargo-inputs (("rust-rustls" ,rust-rustls-0.22) + #:cargo-inputs (("rust-rustls" ,rust-rustls-0.23) ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) ("rust-tokio" ,rust-tokio-1)) #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) - ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) ("rust-tokio" ,rust-tokio-1) ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) - (home-page "https://github.com/tokio-rs/tls") - (synopsis "Asynchronous TLS/SSL streams for Tokio") + (home-page "https://github.com/rustls/tokio-rustls") + (synopsis "Asynchronous TLS/SSL streams for Tokio using Rustls") (description "This package provides asynchronous TLS/SSL streams for Tokio using Rustls.") (license (list license:expat license:asl2.0)))) +(define-public rust-tokio-rustls-0.25 + (package + (inherit rust-tokio-rustls-0.26) + (name "rust-tokio-rustls") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "03w6d5aqqf084rmcmrsyq5grhydl53blaiqcl0i2yfnv187hqpkp")))) + (arguments + `(#:tests? #f ; Issue with the certificate test dates. + #:cargo-inputs (("rust-rustls" ,rust-rustls-0.22) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-tokio" ,rust-tokio-1) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))))) + (define-public rust-tokio-rustls-0.24 (package (inherit rust-tokio-rustls-0.25) @@ -86876,21 +83412,33 @@ futures.") (define-public rust-tokio-socks-0.5 (package (name "rust-tokio-socks") - (version "0.5.1") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "tokio-socks" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1h6qixh17yjf98bjyw4q8i36pf2lyfbcr9hkjjb6aalx0bx5s5ji")))) + (base32 "0gq40sgggz21wfpshiq8pryh062vp7m36rrz3c8c2wj60aw70iqd")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--" + ;; This will skip the various tests dependant on network + ;; or on missing files. + "--skip=auth" + "--skip=user") #:cargo-inputs (("rust-either" ,rust-either-1) + ("rust-futures-io" ,rust-futures-io-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs + (("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-smol" ,rust-smol-2) ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/sticnarf/tokio-socks") (synopsis "Asynchronous SOCKS proxy support for Rust") @@ -86899,47 +83447,21 @@ futures.") Rust.") (license license:expat))) -(define-public rust-tokio-socks-0.3 - (package - (inherit rust-tokio-socks-0.5) - (name "rust-tokio-socks") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tokio-socks" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0f95zcvllb5byz4acwbnlsk9a2rdql4x78x0a8nkfwhq4ifzs4fn")))) - (arguments - `(#:tests? #false ;"tor_resolve_with_socket" not found - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-either" ,rust-either-1) - ("rust-futures" ,rust-futures-0.3) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-0.2)) - #:cargo-development-inputs - (("rust-hyper" ,rust-hyper-0.13) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-tokio" ,rust-tokio-0.2)))))) - (define-public rust-tokio-stream-0.1 (package (name "rust-tokio-stream") - (version "0.1.14") + (version "0.1.17") (source (origin (method url-fetch) (uri (crate-uri "tokio-stream" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hi8hcwavh5sdi1ivc9qc4yvyr32f153c212dpd7sb366y6rhz1r")))) + (base32 "0ix0770hfp4x5rh5bl7vsnr3d4iz4ms43i522xw70xaap9xqv9gc")))) (build-system cargo-build-system) (arguments - `(#:tests? #false ; unresolved import `tokio_test` - #:cargo-inputs - (("rust-async-stream" ,rust-async-stream-0.3) + `(#:cargo-inputs + (("rust-futures-core" ,rust-futures-core-0.3) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-util" ,rust-tokio-util-0.7)) @@ -86947,7 +83469,8 @@ Rust.") (("rust-async-stream" ,rust-async-stream-0.3) ("rust-futures" ,rust-futures-0.3) ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-tokio" ,rust-tokio-1)))) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-test" ,rust-tokio-test-0.4)))) (home-page "https://tokio.rs") (synopsis "Utilities to work with @code{Stream} and @code{tokio}") (description @@ -87003,6 +83526,37 @@ Rust.") ("rust-tokio" ,rust-tokio-0.1) ("rust-tokio-mock-task" ,rust-tokio-mock-task-0.1)))))) +(define-public rust-tokio-tcp-0.1 + (package + (name "rust-tokio-tcp") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-tcp" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06a15vg8bcd33ng3h9ldzlq7wl4jsw0p9qpy7v22ls5yah3b250x")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytes" ,rust-bytes-0.4) + ("rust-futures" ,rust-futures-0.1) + ("rust-iovec" ,rust-iovec-0.1) + ("rust-mio" ,rust-mio-0.6) + ("rust-tokio-io" ,rust-tokio-io-0.1) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6) + ("rust-tokio" ,rust-tokio-0.1)))) + (home-page "https://tokio.rs") + (synopsis "TCP bindings for tokio") + (description "TCP bindings for tokio.") + (license license:expat))) + (define-public rust-tokio-test-0.4 (package (name "rust-tokio-test") @@ -87074,37 +83628,6 @@ futures-based code.") (("rust-futures-util" ,rust-futures-util-0.3) ("rust-tokio" ,rust-tokio-0.2)))))) -(define-public rust-tokio-tcp-0.1 - (package - (name "rust-tokio-tcp") - (version "0.1.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "tokio-tcp" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06a15vg8bcd33ng3h9ldzlq7wl4jsw0p9qpy7v22ls5yah3b250x")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-futures" ,rust-futures-0.1) - ("rust-iovec" ,rust-iovec-0.1) - ("rust-mio" ,rust-mio-0.6) - ("rust-tokio-io" ,rust-tokio-io-0.1) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1)) - #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.6) - ("rust-tokio" ,rust-tokio-0.1)))) - (home-page "https://tokio.rs") - (synopsis "TCP bindings for tokio") - (description "TCP bindings for tokio.") - (license license:expat))) - (define-public rust-tokio-threadpool-0.1 (package (name "rust-tokio-threadpool") @@ -87233,8 +83756,79 @@ implementation of TLS for nonblocking I/O streams.") ("rust-security-framework" ,rust-security-framework-0.2) ("rust-tokio" ,rust-tokio-0.1)))))) +(define-public rust-tokio-tungstenite-0.24 + (package + (name "rust-tokio-tungstenite") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nfw1i6yy120a14h1xagd4f31k3g1mz4rdxpvgh77jcd4i7ggigd")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs (list rust-futures-util-0.3 + rust-log-0.4 + rust-native-tls-0.2 + rust-rustls-0.23 + rust-rustls-native-certs-0.8 + rust-rustls-pki-types-1 + rust-tokio-1 + rust-tokio-native-tls-0.3 + rust-tokio-rustls-0.26 + rust-tungstenite-0.24 + rust-webpki-roots-0.26) + #:cargo-development-inputs (list rust-env-logger-0.10 + rust-futures-channel-0.3 + rust-http-body-util-0.1 + rust-hyper-1 + rust-hyper-util-0.1 + rust-tokio-1))) + (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.23 + (package + (inherit rust-tokio-tungstenite-0.24) + (name "rust-tokio-tungstenite") + (version "0.23.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k9ijv208hsps5qhq2ii2cl8lwik7lpasssfy6m9016irr09b666")))) + (arguments + (list #:cargo-inputs + (list rust-futures-util-0.3 + rust-log-0.4 + rust-native-tls-0.2 + rust-rustls-0.23 + rust-rustls-native-certs-0.7 + rust-rustls-pki-types-1 + rust-tokio-1 + rust-tokio-native-tls-0.3 + rust-tokio-rustls-0.26 + rust-tungstenite-0.23 + rust-webpki-roots-0.26) + #:cargo-development-inputs + (list rust-env-logger-0.10 + rust-futures-channel-0.3 + rust-http-body-util-0.1 + rust-hyper-1 + rust-hyper-util-0.1 + rust-tokio-1))))) + (define-public rust-tokio-tungstenite-0.21 (package + (inherit rust-tokio-tungstenite-0.24) (name "rust-tokio-tungstenite") (version "0.21.0") (source @@ -87244,7 +83838,6 @@ implementation of TLS for nonblocking I/O streams.") (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) @@ -87261,13 +83854,7 @@ implementation of TLS for nonblocking I/O streams.") ("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.20 (package @@ -87453,8 +84040,42 @@ stream-based WebSocket implementation.") (description "Unix Domain sockets for Tokio.") (license license:expat))) +(define-public rust-tokio-uring-0.5 + (package + (name "rust-tokio-uring") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-uring" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rvrs9nwm0vyi3x4zak8v6qqr3h6sn51c457ci3a711mw7iq513l")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f ; IO Safety violation: owned file descriptor already closed + #:cargo-inputs (list rust-bytes-1 + rust-futures-util-0.3 + rust-io-uring-0.6 + rust-libc-0.2 + rust-slab-0.4 + rust-socket2-0.4 + rust-tokio-1) + #:cargo-development-inputs (list rust-criterion-0.4 + rust-iai-0.1 + rust-nix-0.26 + rust-tempfile-3 + rust-tokio-1 + rust-tokio-test-0.4))) + (home-page "https://tokio.rs") + (synopsis "Tokio asynchronous runtime io-uring support") + (description + "This package provides io-uring support for the Tokio asynchronous runtime.") + (license license:expat))) + (define-public rust-tokio-uring-0.4 (package + (inherit rust-tokio-uring-0.5) (name "rust-tokio-uring") (version "0.4.0") (source @@ -87464,11 +84085,9 @@ stream-based WebSocket implementation.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1vsmw482n01lj33dr7rnjxmdcdhq5yys6rbwahx0n0vy2fxh4phd")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags - (list "--release" "--" - "--skip=vectored_write") + (list "--release" "--" "--skip=vectored_write") #:cargo-inputs (("rust-bytes" ,rust-bytes-1) ("rust-io-uring" ,rust-io-uring-0.5) ("rust-libc" ,rust-libc-0.2) @@ -87481,12 +84100,7 @@ stream-based WebSocket implementation.") ("rust-iai" ,rust-iai-0.1) ("rust-tempfile" ,rust-tempfile-3) ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-test" ,rust-tokio-test-0.4)))) - (home-page "https://tokio.rs") - (synopsis "Tokio asynchronous runtime io-uring support") - (description - "This package provides io-uring support for the Tokio asynchronous runtime.") - (license license:expat))) + ("rust-tokio-test" ,rust-tokio-test-0.4)))))) (define-public rust-tokio-util-0.7 (package @@ -87837,35 +84451,6 @@ serializing Rust structures.") (("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1)))))) -(define-public rust-toml-0.2 - (package - (name "rust-toml") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "toml" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1d1cz43bxrx4fd6j2p6myckf81f72bp47akg36y3flxjkhj60svk")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) - ("rust-serde" ,rust-serde-0.8)))) - (home-page "https://github.com/alexcrichton/toml-rs") - (synopsis "Rust encoder and decoder of TOML-formatted files and streams") - (description - "This package provides a native Rust encoder and decoder of TOML-formatted -files and streams. Provides implementations of the standard -Serialize/Deserialize traits for TOML data to facilitate deserializing and -serializing Rust structures.") - (license (list license:asl2.0 - license:expat)))) - (define-public rust-toml-datetime-0.6 (package (name "rust-toml-datetime") @@ -87904,14 +84489,14 @@ serializing Rust structures.") (define-public rust-toml-edit-0.22 (package (name "rust-toml-edit") - (version "0.22.21") + (version "0.22.22") (source (origin (method url-fetch) (uri (crate-uri "toml_edit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1ky5dncf4g4l8hpqizws2ccp37rsvvc2pwynzwvacjf4fgp2q1rv")))) + (base32 "1xf7sxfzmnc45f75x302qrn5aph52vc8w226v59yhrm211i8vr2a")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-indexmap" ,rust-indexmap-2) @@ -88093,6 +84678,29 @@ parser.") ("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-snapbox" ,rust-snapbox-0.2)))))) +(define-public rust-toml-span-0.3 + (package + (name "rust-toml-span") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "toml-span" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01n13cw88rrph0n01hab9v4wzbxplf0w0xw038yz76rvkvj1n3nf")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-codespan-reporting" ,rust-codespan-reporting-0.11) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://github.com/EmbarkStudios/toml-span") + (synopsis "Toml parser and deserializer that preserves span information") + (description + "This package provides a toml parser and deserializer that preserves +span information.") + (license (list license:expat license:asl2.0)))) + (define-public rust-toml-test-1 (package (name "rust-toml-test") @@ -88116,25 +84724,6 @@ parser.") (description "This package can be used to verify Rust TOML parsers.") (license (list license:expat license:asl2.0)))) -(define-public rust-toml-test-0.3 - (package - (inherit rust-toml-test-1) - (name "rust-toml-test") - (version "0.3.5") - (source (origin - (method url-fetch) - (uri (crate-uri "toml-test" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "042dgaqjk1v715my4rziqdadylsad31ny4y6askx878xvbw0r3s8")))) - (arguments - `(#:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1)) - #:cargo-development-inputs - (("rust-toml-test-data" ,rust-toml-test-data-1)))))) - (define-public rust-toml-test-data-1 (package (name "rust-toml-test-data") @@ -88199,14 +84788,14 @@ Rust.") (define-public rust-tracing-0.1 (package (name "rust-tracing") - (version "0.1.40") + (version "0.1.41") (source (origin (method url-fetch) (uri (crate-uri "tracing" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1vv48dac9zgj9650pg2b4d0j3w6f3x9gbggf43scq5hrlysklln3")))) + (base32 "1l5xrzyjfyayrwhvhldfnwdyligi1mpqm8mzbi2m1d6y6p2hlkkq")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `tracing_mock` @@ -88226,10 +84815,38 @@ Rust.") programs to collect structured, event-based diagnostic information.") (license license:expat))) +(define-public rust-tracing-appender-0.2 + (package + (name "rust-tracing-appender") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-appender" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kq69qyjvb4dxch5c9zgii6cqhy9nkk81z0r4pj3y2nc537fhrim")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://tokio.rs") + (synopsis "Utilities for file appenders and making non-blocking writers") + (description + "This package provides utilities for file appenders and making non-blocking +writers.") + (license license:expat))) + (define-public rust-tracing-attributes-0.1 (package (name "rust-tracing-attributes") - (version "0.1.27") + (version "0.1.28") (source (origin (method url-fetch) @@ -88237,7 +84854,7 @@ programs to collect structured, event-based diagnostic information.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1rvb5dn9z6d0xdj14r403z0af0bbaqhg02hq4jc97g5wds6lqw1l")))) + "0v92l9cxs42rdm4m5hsa8z7ln1xsiw1zc2iil8c6k7lzq0jf2nir")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `tracing_mock` @@ -88287,7 +84904,7 @@ Chrome-style traces.") (define-public rust-tracing-core-0.1 (package (name "rust-tracing-core") - (version "0.1.32") + (version "0.1.33") (source (origin (method url-fetch) @@ -88295,7 +84912,7 @@ Chrome-style traces.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0m5aglin3cdwxpvbg6kz0r9r0k31j48n0kcfwsp6l49z26k3svf0")))) + "170gc7cxyjx824r9kr17zc9gvzx89ypqfdzq259pr56gg5bwjwp6")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -88311,25 +84928,42 @@ Chrome-style traces.") (define-public rust-tracing-error-0.2 (package (name "rust-tracing-error") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "tracing-error" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vi0rns7r8iny2milg0kikz1mhgcl9wz5clpy1vi4jrq1wffr1nn")))) + (base32 "1nzk6qcvhmxxy3lw1nj71anmfmvxlnk78l5lym1389vs1l1825cb")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" + `(#:cargo-test-flags '("--" "--skip=backtrace::SpanTrace::capture") #:cargo-inputs (("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) (home-page "https://tokio.rs") (synopsis "Utilities for enriching errors with `tracing`") - (description "Utilities for enriching errors with `tracing`.") + (description "This package provides utilities for enriching errors with +@code{tracing}.") (license license:expat))) +(define-public rust-tracing-error-0.1 + (package + (inherit rust-tracing-error-0.2) + (name "rust-tracing-error") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-error" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "092y3357af6058mdw7nmr7sysqdka8b4cyaqz940fl2a7nwc1mxl")))) + (arguments + `(#:cargo-inputs (("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2)))))) + (define-public rust-tracing-forest-0.1 (package (name "rust-tracing-forest") @@ -88367,22 +85001,22 @@ concurrent tasks.") (define-public rust-tracing-futures-0.2 (package (name "rust-tracing-futures") - (version "0.2.4") + (version "0.2.5") (source (origin (method url-fetch) (uri (crate-uri "tracing-futures" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0k4vd3jyqz9cx8rbwbp0p93qfp1w6rfk7sc6c1jh1ai18zqvcyxb")))) + (base32 "1wimg0iwa2ldq7xv98lvivvf3q9ykfminig8r1bs0ig22np9bl4p")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs - (("rust-futures" ,rust-futures-0.3) + (("rust-futures" ,rust-futures-0.1) + ("rust-futures" ,rust-futures-0.3) ("rust-futures-task" ,rust-futures-task-0.3) - ("rust-pin-project" ,rust-pin-project-0.4) + ("rust-pin-project" ,rust-pin-project-1) ("rust-tokio" ,rust-tokio-0.1) ("rust-tokio-executor" ,rust-tokio-executor-0.1) ("rust-tracing" ,rust-tracing-0.1)) @@ -88440,26 +85074,52 @@ with tracing (optional, enabled by the env-logger feature). (package (inherit rust-tracing-log-0.2) (name "rust-tracing-log") - (version "0.1.3") + (version "0.1.4") (source (origin (method url-fetch) (uri (crate-uri "tracing-log" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08prnkxq8yas6jvvjnvyx5v3hwblas5527wxxgbiw2yis8rsvpbq")))) + (base32 "1wmxawaz94sk52i4vs2wg5d5clyks972rqskrvc93rxl14ki2lgp")))) (arguments `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-env-logger" ,rust-env-logger-0.8) ("rust-log" ,rust-log-0.4) ("rust-lru" ,rust-lru-0.7) + ("rust-once-cell" ,rust-once-cell-1) ("rust-tracing-core" ,rust-tracing-core-0.1)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) ("rust-tracing" ,rust-tracing-0.1)))))) +(define-public rust-tracing-serde-0.2 + (package + (name "rust-tracing-serde") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tracing-serde" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wbgzi364vzfswfkvy48a3p0z5xmv98sx342r57sil70ggmiljvh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-tracing-core" ,rust-tracing-core-0.1) + ("rust-valuable" ,rust-valuable-0.1) + ("rust-valuable-serde" ,rust-valuable-serde-0.1)) + #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://tokio.rs") + (synopsis "Compatibility layer for serializing trace data with @code{serde}") + (description + "This package provides a compatibility layer for serializing trace data +with @code{serde}.") + (license license:expat))) + (define-public rust-tracing-serde-0.1 (package + (inherit rust-tracing-serde-0.2) (name "rust-tracing-serde") (version "0.1.3") (source @@ -88469,7 +85129,6 @@ with tracing (optional, enabled by the env-logger feature). (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1qfr0va69djvxqvjrx4vqq7p6myy414lx4w1f6amcn0hfwqj2sxw")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) @@ -88477,26 +85136,19 @@ with tracing (optional, enabled by the env-logger feature). ("rust-valuable" ,rust-valuable-0.1) ("rust-valuable-serde" ,rust-valuable-serde-0.1)) #:cargo-development-inputs - (("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://tokio.rs") - (synopsis "Compatibility layer for serializing trace data with -@code{serde}") - (description - "This package provides a compatibility layer for serializing trace data -with @code{serde}.") - (license license:expat))) + (("rust-serde-json" ,rust-serde-json-1)))))) (define-public rust-tracing-subscriber-0.3 (package (name "rust-tracing-subscriber") - (version "0.3.18") + (version "0.3.19") (source - (origin - (method url-fetch) - (uri (crate-uri "tracing-subscriber" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12vs1bwk4kig1l2qqjbbn2nm5amwiqmkcmnznylzmnfvjy6083xd")))) + (origin + (method url-fetch) + (uri (crate-uri "tracing-subscriber" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0220rignck8072i89jjsh140vmh14ydwpdwnifyaf3xcnpn9s678")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `tracing_mock` @@ -88516,7 +85168,7 @@ with @code{serde}.") ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-core" ,rust-tracing-core-0.1) ("rust-tracing-log" ,rust-tracing-log-0.2) - ("rust-tracing-serde" ,rust-tracing-serde-0.1) + ("rust-tracing-serde" ,rust-tracing-serde-0.2) ("rust-valuable" ,rust-valuable-0.1) ("rust-valuable-serde" ,rust-valuable-serde-0.1)) #:cargo-development-inputs @@ -88527,7 +85179,7 @@ with @code{serde}.") ("rust-tokio" ,rust-tokio-1) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-futures" ,rust-tracing-futures-0.2) - ("rust-tracing-log" ,rust-tracing-log-0.1)))) + ("rust-tracing-log" ,rust-tracing-log-0.2)))) (home-page "https://tokio.rs") (synopsis "Implement and compose tracing subscribers") (description @@ -88548,14 +85200,14 @@ application authors using tracing to instrument their applications.") (package (inherit rust-tracing-subscriber-0.3) (name "rust-tracing-subscriber") - (version "0.2.15") + (version "0.2.25") (source (origin (method url-fetch) (uri (crate-uri "tracing-subscriber" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "009lxq14kmakv16sh6r7fy0264xbvs81kg6yr57lwnaciw68zym1")))) + (base32 "0wcc3sqckjsxaahd9jnc4cwa13m623lhk8fg8way9hn3k6m2w38f")))) (build-system cargo-build-system) (arguments `(#:tests? #false ;missing test files @@ -88563,7 +85215,7 @@ application authors using tracing to instrument their applications.") (("rust-ansi-term" ,rust-ansi-term-0.12) ("rust-chrono" ,rust-chrono-0.4) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-matchers" ,rust-matchers-0.0) + ("rust-matchers" ,rust-matchers-0.0.1) ("rust-parking-lot" ,rust-parking-lot-0.11) ("rust-regex" ,rust-regex-1) ("rust-serde" ,rust-serde-1) @@ -88814,29 +85466,54 @@ be used directly. See @code{rust-trackable} for more information.") (license (list license:asl2.0 license:expat)))) -(define-public rust-trash-3 +(define-public rust-transpose-0.2 + (package + (name "rust-transpose") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "transpose" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zp74v7jrjg4jr654dncdj6hqvacicsywyhc62jawgxwhvnimmhs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-num-integer" ,rust-num-integer-0.1) + ("rust-strength-reduce" ,rust-strength-reduce-0.2)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/ejmahler/transpose") + (synopsis "Utility for transposing multi-dimensional data") + (description + "This package provides utilities for transposing multi-dimensional data.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-trash-5 (package (name "rust-trash") - (version "3.3.1") + (version "5.2.1") (source (origin (method url-fetch) (uri (crate-uri "trash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mssqp3qyv2jwihkkmc5zga51bbrhn6xikdmld9s3mfr8s6lan66")))) + (base32 "0bzxzyjywb6sdyfshr9fp3fbpjf7gfhznh9ybrlb8rh3q9icmrd8")))) (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-objc2" ,rust-objc2-0.5) + ("rust-objc2-foundation" ,rust-objc2-foundation-0.2) ("rust-once-cell" ,rust-once-cell-1) ("rust-once-cell" ,rust-once-cell-1) + ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-scopeguard" ,rust-scopeguard-1) - ("rust-url" ,rust-url-2) - ("rust-windows" ,rust-windows-0.44)) + ("rust-urlencoding" ,rust-urlencoding-2) + ("rust-windows" ,rust-windows-0.56)) #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-defer" ,rust-defer-0.2) ("rust-env-logger" ,rust-env-logger-0.10) ("rust-once-cell" ,rust-once-cell-1) ("rust-rand" ,rust-rand-0.8) @@ -88849,6 +85526,35 @@ be used directly. See @code{rust-trackable} for more information.") recycle bin.") (license license:expat))) +(define-public rust-trash-3 + (package + (inherit rust-trash-5) + (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")))) + (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)))))) + (define-public rust-trash-2 (package (inherit rust-trash-3) @@ -88879,6 +85585,38 @@ recycle bin.") ("rust-rand" ,rust-rand-0.8) ("rust-serial-test" ,rust-serial-test-0.6)))))) +(define-public rust-tree-magic-0.2 + (package + (name "rust-tree-magic") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tree_magic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0adndj775gjcvkf7yxdfj3pl39fcdiibswwgff23lm9yrrkr7ndi")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-clap" ,rust-clap-2) + ("rust-fnv" ,rust-fnv-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-nom" ,rust-nom-3) + ("rust-num-cpus" ,rust-num-cpus-1) + ("rust-parking-lot" ,rust-parking-lot-0.10) + ("rust-petgraph" ,rust-petgraph-0.5) + ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) + ("rust-tabwriter" ,rust-tabwriter-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/aahancoc/tree_magic/") + (synopsis "Determines the MIME type") + (description "This package determines the MIME type of a file by +traversing a filetype tree.") + (license license:expat))) + (define-public rust-tree-magic-db-3 (package (name "rust-tree-magic-db") @@ -88927,36 +85665,28 @@ tree_magic_mini.") "Determines the MIME type of a file by traversing a filetype tree.") (license license:expat))) -(define-public rust-tree-magic-0.2 +;; The rust-tree-sitter packages are rust dependencies and are separate +;; from the tree-sitter and tree-sitter-cli package. +(define-public rust-tree-sitter-0.20 (package - (name "rust-tree-magic") - (version "0.2.3") + (name "rust-tree-sitter") + (version "0.20.10") (source - (origin - (method url-fetch) - (uri (crate-uri "tree_magic" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0adndj775gjcvkf7yxdfj3pl39fcdiibswwgff23lm9yrrkr7ndi")))) + (origin + (method url-fetch) + (uri (crate-uri "tree-sitter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g9xd1nadhb2ikhxkj0z7kg9f50h97hzmha8llwyscdrnzwv2iz7")))) (build-system cargo-build-system) (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-clap" ,rust-clap-2) - ("rust-fnv" ,rust-fnv-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-nom" ,rust-nom-3) - ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-parking-lot" ,rust-parking-lot-0.10) - ("rust-petgraph" ,rust-petgraph-0.5) - ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) - ("rust-tabwriter" ,rust-tabwriter-1) - ("rust-walkdir" ,rust-walkdir-2)))) - (home-page "https://github.com/aahancoc/tree_magic/") - (synopsis "Determines the MIME type") - (description "This package determines the MIME type of a file by -traversing a filetype tree.") + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://tree-sitter.github.io/tree-sitter") + (synopsis "Rust bindings to the Tree-sitter parsing library") + (description + "This package provides Rust bindings to the Tree-sitter parsing library.") (license license:expat))) (define-public rust-treeline-0.1 @@ -88979,17 +85709,36 @@ traversing a filetype tree.") "This package provides a library for visualizing tree structured data.") (license license:expat))) +(define-public rust-trim-in-place-0.1 + (package + (name "rust-trim-in-place") + (version "0.1.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "trim-in-place" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z04g79xkrpf3h4g3cc8wax72dn6h6v9l4m39zg8rg39qrpr4gil")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://magiclen.org/trim-in-place") + (synopsis "In-place trimming strings") + (description "This package provides In-place trimming strings.") + (license license:expat))) + (define-public rust-triomphe-0.1 (package (name "rust-triomphe") - (version "0.1.11") + (version "0.1.14") (source (origin (method url-fetch) (uri (crate-uri "triomphe" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1crf71hndy3fc68x8v4aikkdjynp4n5sdhq28sck8x7frx8bd7l5")))) + (base32 "11fciha522hrz6pkafy3xlq20w405w9dqvy9ln7ba1s8v8k7g3zg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) @@ -89038,28 +85787,6 @@ etc. distance calculations and string search.") (sha256 (base32 "0v795l496crk3h6yff9zh1cjyrh5s9v23fbgccc4dpz25z70jav2")))))) -(define-public rust-tryfn-0.2 - (package - (name "rust-tryfn") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "tryfn" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15n34ga7a1qyhfz45kph0yqx2gjlx10cb9bkmg4wwsk4kvp45qjz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-ignore" ,rust-ignore-0.4) - ("rust-libtest-mimic" ,rust-libtest-mimic-0.7) - ("rust-snapbox" ,rust-snapbox-0.6)))) - (home-page "https://github.com/assert-rs/trycmd") - (synopsis "File-driven snapshot testing for a function") - (description - "This package provides file-driven snapshot testing for a function.") - (license (list license:expat license:asl2.0)))) - (define-public rust-try-lock-0.2 (package (name "rust-try-lock") @@ -89082,30 +85809,28 @@ etc. distance calculations and string search.") (define-public rust-trybuild-1 (package (name "rust-trybuild") - (version "1.0.99") + (version "1.0.101") (source (origin (method url-fetch) (uri (crate-uri "trybuild" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1s4i2hpyb66676xkg6b6fxm2qdsawj5lfad8ds68vgn46q6sayi0")))) + (base32 "1m6yv898m8qbig2kjhn0c2b513nrgcmkszsbw7qjdh4nahm37kcd")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("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-toml" ,rust-toml-0.8)) + `(#:cargo-inputs (("rust-dissimilar" ,rust-dissimilar-1) + ("rust-glob" ,rust-glob-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-target-triple" ,rust-target-triple-0.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") - (description - "Test harness for ui tests of compiler diagnostics.") + (description "Test harness for ui tests of compiler diagnostics.") (license (list license:expat license:asl2.0)))) (define-public rust-trybuild2-1 @@ -89224,6 +85949,28 @@ and run them to verify the results, taking inspiration from @code{trybuild} and ("rust-snapbox" ,rust-snapbox-0.4) ("rust-toml-edit" ,rust-toml-edit-0.14)))))) +(define-public rust-tryfn-0.2 + (package + (name "rust-tryfn") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tryfn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15n34ga7a1qyhfz45kph0yqx2gjlx10cb9bkmg4wwsk4kvp45qjz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ignore" ,rust-ignore-0.4) + ("rust-libtest-mimic" ,rust-libtest-mimic-0.7) + ("rust-snapbox" ,rust-snapbox-0.6)))) + (home-page "https://github.com/assert-rs/trycmd") + (synopsis "File-driven snapshot testing for a function") + (description + "This package provides file-driven snapshot testing for a function.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tss-esapi-7 (package (name "rust-tss-esapi") @@ -89332,8 +86079,36 @@ and run them to verify the results, taking inspiration from @code{trybuild} and (description "Implementation detail of tstr.") (license license:zlib))) +(define-public rust-ttf-parser-0.25 + (package + (name "rust-ttf-parser") + (version "0.25.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ttf-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cbgqglcwwjg3hirwq6xlza54w04mb5x02kf7zx4hrw50xmr1pyj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--release" "--" + "--skip=font_collection_num_fonts_overflow_2") + #:cargo-inputs (("rust-core-maths" ,rust-core-maths-0.1)) + #:cargo-development-inputs (("rust-base64" ,rust-base64-0.22) + ("rust-pico-args" ,rust-pico-args-0.5) + ("rust-tiny-skia-path" ,rust-tiny-skia-path-0.11) + ("rust-xmlwriter" ,rust-xmlwriter-0.1)))) + (home-page "https://github.com/harfbuzz/ttf-parser") + (synopsis "High-level, safe, zero-allocation TrueType font parser") + (description + "This package provides a high-level, safe, zero-allocation font parser for +@code{TrueType}, @code{OpenType}, and AAT.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ttf-parser-0.19 (package + (inherit rust-ttf-parser-0.25) (name "rust-ttf-parser") (version "0.19.0") (source (origin @@ -89343,15 +86118,8 @@ and run them to verify the results, taking inspiration from @code{trybuild} and (sha256 (base32 "0iipdkmj1zyg2gl7rsyigj9c7gmsqllg2v8d80jwscivmq1g1p24")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? #t)) ; Cut the dependency graph. - (home-page "https://github.com/RazrFalcon/ttf-parser") - (synopsis "High-level, safe, zero-allocation TrueType font parser") - (description - "This package provides a high-level, safe, zero-allocation TrueType font -parser.") - (license (list license:expat license:asl2.0)))) + `(#:skip-build? #t)))) ; Cut the dependency graph. (define-public rust-ttf-parser-0.17 (package @@ -89429,64 +86197,6 @@ parser.") or dashboards.") (license license:expat))) -(define-public rust-tui-0.16 - (package - (inherit rust-tui-0.19) - (name "rust-tui") - (version "0.16.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tui" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r")))) - (arguments - `(#:cargo-test-flags `("--" - "--skip=buffer::tests::index_of_panics_on_out_of_bounds" - "--skip=buffer::tests::pos_of_panics_on_out_of_bounds") - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-cassowary" ,rust-cassowary-0.3) - ("rust-crossterm" ,rust-crossterm-0.20) - ("rust-easycurses" ,rust-easycurses-0.12) - ("rust-pancurses" ,rust-pancurses-0.16) - ("rust-rustbox" ,rust-rustbox-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-termion" ,rust-termion-1) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)) - #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) - ("rust-rand" ,rust-rand-0.8)))))) - -(define-public rust-tui-0.15 - (package - (inherit rust-tui-0.16) - (name "rust-tui") - (version "0.15.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "tui" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0w9azg9zj1nnwcwbra9pxrwy47ab0m2bhanbkchydv8lscx8y7c6")))) - (arguments - `(#:cargo-test-flags `("--" - "--skip=buffer::tests::index_of_panics_on_out_of_bounds" - "--skip=buffer::tests::pos_of_panics_on_out_of_bounds") - #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-cassowary" ,rust-cassowary-0.3) - ("rust-crossterm" ,rust-crossterm-0.19) - ("rust-easycurses" ,rust-easycurses-0.12) - ("rust-pancurses" ,rust-pancurses-0.16) - ("rust-rustbox" ,rust-rustbox-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-termion" ,rust-termion-1) - ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-unicode-width" ,rust-unicode-width-0.1)) - #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) - ("rust-rand" ,rust-rand-0.8)))))) - (define-public rust-tui-react-0.23 (package (name "rust-tui-react") @@ -89692,6 +86402,31 @@ multi-line text editor can be easily put as part of your TUI application.") (description "This package provides a TUN/TAP interface wrapper.") (license (list license:asl2.0 license:expat)))) +(define-public rust-two-face-0.4 + (package + (name "rust-two-face") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "two-face" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s225f05v590wk13qnkkky5asyv5x40awv61x6gn0703x91lik8c")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-syntect" ,rust-syntect-5)) + #:cargo-development-inputs (("rust-insta" ,rust-insta-1) + ("rust-strum" ,rust-strum-0.25) + ("rust-syntect" ,rust-syntect-5)))) + (home-page "https://github.com/CosmicHorrorDev/two-face") + (synopsis "Extra syntax and theme definitions for syntect") + (description + "This package provides extra syntax and theme definitions for syntect.") + (license (list license:expat license:asl2.0)))) + (define-public rust-twoway-0.2 (package (name "rust-twoway") @@ -89729,8 +86464,7 @@ strings.") (uri (crate-uri "twoway" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "1lbf64snscr3vz71jbl6i2c8zr2ndsiqbk6316z39fj1a8mipcar")))))) + (base32 "1lbf64snscr3vz71jbl6i2c8zr2ndsiqbk6316z39fj1a8mipcar")))))) (define-public rust-twox-hash-1 (package @@ -89910,6 +86644,31 @@ and XXH3 algorithms.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))))) +(define-public rust-typed-json-0.1 + (package + (name "rust-typed-json") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "typed-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1vcyqhji9mldhhh2dkg19yfcy4i0m6d6wdl9n7vb602l0b8ah930")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs (list rust-serde-1 + rust-serde-json-1) + #:cargo-development-inputs (list rust-divan-0.1 + rust-serde-1 + rust-serde-json-core-0.5 + rust-serde-json-1 + rust-serde-test-1))) + (home-page "https://github.com/conradludgate/typed-json") + (synopsis "JSON serialization file format") + (description "This package provides a JSON serialization file format.") + (license (list license:expat license:asl2.0)))) + (define-public rust-typeid-1 (package (name "rust-typeid") @@ -90646,18 +87405,17 @@ arithmetic.") (define-public rust-uncased-0.9 (package (name "rust-uncased") - (version "0.9.6") + (version "0.9.10") (source (origin (method url-fetch) (uri (crate-uri "uncased" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1l3flz044hfdnsddahj08dflqprfydszkm4vkf458l724xryvbjv")))) + (base32 "15q6r6g4fszr8c2lzg9z9k9g52h8g29h24awda3d72cyw37qzf71")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) ("rust-version-check" ,rust-version-check-0.9)))) (home-page "https://github.com/SergioBenitez/uncased") @@ -90688,24 +87446,6 @@ arithmetic.") "Unchecked indexing wrapper using regular index syntax.") (license (list license:asl2.0 license:expat)))) -(define-public rust-unescape-0.1 - (package - (name "rust-unescape") - (version "0.1.0") - (source (origin - (method url-fetch) - (uri (crate-uri "unescape" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vlgws15n4kz8xq4igzr1f80nbiyr838k687hn6ly8a36an7vffc")))) - (build-system cargo-build-system) - (home-page "https://github.com/saghm/unescape-rs") - (synopsis "Unescapes strings") - (description - "Unescapes strings with escape sequences written out as literal characters.") - (license license:expat))) - (define-public rust-ungrammar-1 (package (name "rust-ungrammar") @@ -90724,24 +87464,6 @@ arithmetic.") "This package provides a DSL for describing concrete syntax trees.") (license (list license:expat license:asl2.0)))) -(define-public rust-unidecode-0.3 - (package - (name "rust-unidecode") - (version "0.3.0") - (source (origin - (method url-fetch) - (uri (crate-uri "unidecode" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1p0sm8j9223kw3iincv60s746s88k09xcaqf8nkx3w83isfv2as0")))) - (build-system cargo-build-system) - (home-page "https://github.com/chowdhurya/rust-unidecode/") - (synopsis "Provides pure ASCII transliterations of Unicode strings") - (description - "This package provides pure ASCII transliterations of Unicode strings.") - (license license:bsd-3))) - (define-public rust-unic-char-property-0.9 (package (name "rust-unic-char-property") @@ -90871,7 +87593,7 @@ in Rust.") #:cargo-inputs (("rust-unic-ucd-segment" ,rust-unic-ucd-segment-0.9)))) (home-page "https://github.com/open-i18n/rust-unic/") - (synopsis "Text segmentation algorithmes for UNIC") + (synopsis "Text segmentation algorithms for UNIC") (description "This UNIC component implements algorithms from Unicode Standard Annex #29 - Unicode Text Segmentation, used for detecting boundaries @@ -90901,6 +87623,31 @@ grapheme clusters), words, and sentences.") (description "UNIC Unicode Character Database General Category.") (license (list license:expat license:asl2.0)))) +(define-public rust-unic-ucd-common-0.9 + (package + (name "rust-unic-ucd-common") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unic-ucd-common" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bglvzn6rs01v0d29898vg2y3v3cgj3h1gsrbjp1mypa1f8qpdz9")))) + (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-version" ,rust-unic-ucd-version-0.9)) + #:cargo-development-inputs + ;; This was dropped by the importer for some reason. + (("rust-unic-ucd-category" ,rust-unic-ucd-category-0.9)))) + (home-page "https://github.com/open-i18n/rust-unic/") + (synopsis "UNIC Unicode Character Database Common Properties") + (description + "This package provides UNIC Unicode Character Database Common Properties.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unic-ucd-hangul-0.9 (package (name "rust-unic-ucd-hangul") @@ -91002,7 +87749,7 @@ Unicode and Internationalization Crates (UNIC) project.") (define-public rust-unicase-2 (package (name "rust-unicase") - (version "2.7.0") + (version "2.8.1") (source (origin (method url-fetch) @@ -91010,11 +87757,8 @@ Unicode and Internationalization Crates (UNIC) project.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "12gd74j79f94k4clxpf06l99wiv4p30wjr0qm04ihqk9zgdd9lpp")))) + "0fd5ddbhpva7wrln2iah054ar2pc1drqjcll0f493vj3fv8l9f3m")))) (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-version-check" ,rust-version-check-0.9)))) (home-page "https://github.com/seanmonstar/unicase") (synopsis "Case-insensitive wrapper around strings") (description @@ -91044,23 +87788,21 @@ Unicode and Internationalization Crates (UNIC) project.") (define-public rust-unicode-bidi-0.3 (package (name "rust-unicode-bidi") - (version "0.3.13") + (version "0.3.18") (source (origin (method url-fetch) (uri (crate-uri "unicode-bidi" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0q0l7rdkiq54pan7a4ama39dgynaf1mnjj1nddrq1w1zayjqp24j")))) + (base32 "1xcxwbsqa24b8vfchhzyyzgj0l6bn51ib5v8j6krha0m77dva72w")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs + `(#:cargo-inputs (("rust-flame" ,rust-flame-0.2) ("rust-flamer" ,rust-flamer-0.4) - ("rust-serde" ,rust-serde-1)) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1)) #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))) (home-page "https://github.com/servo/unicode-bidi") @@ -91072,14 +87814,14 @@ Unicode and Internationalization Crates (UNIC) project.") (define-public rust-unicode-bom-2 (package (name "rust-unicode-bom") - (version "2.0.2") + (version "2.0.3") (source (origin (method url-fetch) (uri (crate-uri "unicode-bom" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lh5ckmw59v908mddgfgv19vv6yb0sm08z8adppd3m7hr5q0rscq")))) + (base32 "05s2sqyjanqrbds3fxam35f92npp5ci2wz9zg7v690r0448mvv3y")))) (build-system cargo-build-system) (home-page "https://gitlab.com/philbooth/unicode-bom") (synopsis "Unicode byte-order mark detection for files and byte arrays") @@ -91106,20 +87848,63 @@ Unicode and Internationalization Crates (UNIC) project.") membership for characters in Rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-unicode-ellipsis-0.2 + (package + (name "rust-unicode-ellipsis") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-ellipsis" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zsdzmy6x1p8s35rgfmc7nx1qcs6j4bcfbfyiimrdngyqfwbajlj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + "--skip=tests::test_truncate_hindi" + "--skip=tests::test_truncate_hindi_leading") + #:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)))) + (home-page "https://github.com/ClementTsang/unicode-ellipsis") + (synopsis + "Truncate Unicode strings to a certain width, adding an ellipsis if too long") + (description + "This package provides a crate to truncate Unicode strings to a certain width, +automatically adding an ellipsis if the string is too long.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-unicode-general-category-0.6 + (package + (name "rust-unicode-general-category") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-general-category" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1rv9715c94gfl0hzy4f2a9lw7i499756bq2968vqwhr1sb0wi092")))) + (build-system cargo-build-system) + (home-page "https://github.com/yeslogic/unicode-general-category") + (synopsis "Fast lookup of the Unicode General Category property for char") + (description "This package provides Fast lookup of the Unicode General +Category property for char.") + (license license:asl2.0))) + (define-public rust-unicode-id-0.3 (package (name "rust-unicode-id") - (version "0.3.4") + (version "0.3.5") (source (origin (method url-fetch) (uri (crate-uri "unicode-id" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gq8mvi7cf4a13r9djb6xcf16jm58kic30kv36856s99cgwdxdmi")))) + (base32 "0qdmwsyi72c17v64h1is28f0gc2d3bvhjz264i998c270ibkq40h")))) (build-system cargo-build-system) - (arguments - `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) (home-page "https://github.com/Boshen/unicode-id") (synopsis "Determine whether characters have the ID_Start or ID_Continue properties") @@ -91132,14 +87917,14 @@ according to Unicode Standard Annex #31.") (define-public rust-unicode-ident-1 (package (name "rust-unicode-ident") - (version "1.0.12") + (version "1.0.14") (source (origin (method url-fetch) (uri (crate-uri "unicode-ident" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jzf1znfpb2gx8nr8mvmyqs1crnv79l57nxnbiszc7xf7ynbjm1k")))) + "10ywa1pg0glgkr4l3dppjxizr9r2b7im0ycbfa0137l69z5fdfdd")))) (build-system cargo-build-system) ;; Most development inputs are competing implementations ;; for benchmarks. @@ -91160,19 +87945,15 @@ Standard Annex #31.") (define-public rust-unicode-linebreak-0.1 (package (name "rust-unicode-linebreak") - (version "0.1.4") + (version "0.1.5") (source (origin (method url-fetch) (uri (crate-uri "unicode-linebreak" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0drixqb16bzmabd5d8ldvar5760rxy6nxzszhlsqnasl3bisvyn5")))) + (base32 "07spj2hh3daajg335m4wdav6nfkl0f6c0q72lc37blr97hych29v")))) (build-system cargo-build-system) - (arguments - (list #:cargo-inputs - `(("rust-hashbrown" ,rust-hashbrown-0.12) - ("rust-regex" ,rust-regex-1)))) (home-page "https://github.com/axelf4/unicode-linebreak") (synopsis "Implementation of the Unicode line breaking algorithm") (description @@ -91183,22 +87964,20 @@ breaking algorithm in Rust.") (define-public rust-unicode-normalization-0.1 (package (name "rust-unicode-normalization") - (version "0.1.22") + (version "0.1.24") (source (origin (method url-fetch) (uri (crate-uri "unicode-normalization" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "08d95g7b1irc578b2iyhzv4xhsa4pfvwsqxcl9lbcpabzkq16msw")))) + (base32 "0mnrk809z3ix1wspcqy97ld5wxdb31f3xz6nsvg5qcv289ycjcsh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-tinyvec" ,rust-tinyvec-1)))) (home-page "https://github.com/unicode-rs/unicode-normalization") - (synopsis - "This crate provides functions for normalization of Unicode strings") + (synopsis "Functions for normalization of Unicode strings") (description "This crate provides functions for normalization of Unicode strings, including Canonical and Compatible Decomposition and Recomposition, as @@ -91208,14 +87987,14 @@ described in Unicode Standard Annex #15.") (define-public rust-unicode-reverse-1 (package (name "rust-unicode-reverse") - (version "1.0.8") + (version "1.0.9") (source (origin (method url-fetch) (uri (crate-uri "unicode-reverse" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0b4n480vd897pm4klmmz07w8p45kb5ds0037kakd1lmhxfn5vshb")))) + (base32 "0xhcybbgy0l8s8n7sfd6hxi854f8znlxqkspzfnr8c62xf44hvsb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-unicode-segmentation" ,rust-unicode-segmentation-1)) @@ -91228,41 +88007,46 @@ described in Unicode Standard Annex #15.") (define-public rust-unicode-segmentation-1 (package (name "rust-unicode-segmentation") - (version "1.11.0") + (version "1.12.0") (source (origin (method url-fetch) (uri (crate-uri "unicode-segmentation" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00kjpwp1g8fqm45drmwivlacn3y9jx73bvs09n6s3x73nqi7vj6l")))) + (base32 "14qla2jfx74yyb9ds3d2mpwpa4l4lzb9z57c6d2ba511458z5k7n")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.3) - ("rust-quickcheck" ,rust-quickcheck-0.7)))) + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-quickcheck" ,rust-quickcheck-0.7)))) (home-page "https://github.com/unicode-rs/unicode-segmentation") (synopsis "Grapheme Cluster, Word and Sentence boundaries") - (description - "This crate provides Grapheme Cluster, Word and Sentence + (description "This crate provides Grapheme Cluster, Word and Sentence boundaries according to Unicode Standard Annex #29 rules.") (license (list license:expat license:asl2.0)))) -(define-public rust-unicode-truncate-0.2 +(define-public rust-unicode-truncate-1 (package (name "rust-unicode-truncate") - (version "0.2.0") + (version "1.1.0") (source (origin (method url-fetch) (uri (crate-uri "unicode-truncate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hlf6k1d7s1qqdvhxwh4xl8wd1wvqm0vr0pazxq74jksbz5fajx0")))) + (base32 "1gr7arjjhrhy8dww7hj8qqlws97xf9d276svr4hs6pxgllklcr5k")))) (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)))) + `(#:cargo-test-flags + '("--release" "--" + "--skip=tests::truncate_centered::family_stays_together" + "--skip=tests::truncate_end::family_stays_together" + "--skip=tests::truncate_start::family_stays_together") + #:cargo-inputs (("rust-itertools" ,rust-itertools-0.13) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) (home-page "https://github.com/Aetf/unicode-truncate") (synopsis "Unicode-aware `str` truncate") (description @@ -91270,42 +88054,74 @@ boundaries according to Unicode Standard Annex #29 rules.") in terms of displayed width.") (license (list license:expat license:asl2.0)))) -(define-public rust-unicode-width-0.1 +(define-public rust-unicode-truncate-0.2 + (package + (inherit rust-unicode-truncate-1) + (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")))) + (arguments + `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) + +(define-public rust-unicode-width-0.2 (package (name "rust-unicode-width") - (version "0.1.13") + (version "0.2.0") (source - (origin - (method url-fetch) - (uri (crate-uri "unicode-width" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0p92vl8n7qc8mxz45xn6qbgi0259z96n32a158l6vj5bywwdadh3")))) + (origin + (method url-fetch) + (uri (crate-uri "unicode-width" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zd0r5vs52ifxn25rs06gxrgz8cmh4xpra922k0xlmrchib1kj0z")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) - ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) - ("rust-rustc-std-workspace-std" ,rust-rustc-std-workspace-std-1)))) + `(#:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-rustc-std-workspace-std" ,rust-rustc-std-workspace-std-1)))) (home-page "https://github.com/unicode-rs/unicode-width") (synopsis "Determine displayed width according to Unicode rules") - (description "This crate allows you to determine displayed width of + (description + "This crate allows you to determine displayed width of @code{char} and @code{str} types according to Unicode Standard Annex #11 rules.") - (license (list license:asl2.0 - license:expat)))) + (license (list license:expat license:asl2.0)))) + +(define-public rust-unicode-width-0.1 + (package + (inherit rust-unicode-width-0.2) + (name "rust-unicode-width") + (version "0.1.14") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-width" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bzn2zv0gp8xxbxbhifw778a7fc93pa6a1kj24jgg9msj07f7mkx")))) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1) + ("rust-rustc-std-workspace-std" ,rust-rustc-std-workspace-std-1)))))) (define-public rust-unicode-xid-0.2 (package (name "rust-unicode-xid") - (version "0.2.4") + (version "0.2.6") (source (origin (method url-fetch) (uri (crate-uri "unicode-xid" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "131dfzf7d8fsr1ivch34x42c2d1ik5ig3g78brxncnn0r1sdyqpr")))) + (base32 "0lzqaky89fq0bcrh6jj6bhlz37scfd8c7dsj5dq7y32if56c1hgb")))) (build-system cargo-build-system) (arguments (list #:cargo-development-inputs @@ -91333,7 +88149,7 @@ to Unicode Standard Annex #31.") (base32 "1z57lqh4s18rr4x0j4fw4fmp9hf9346h0kmdgqsqx0fhjr3k0wpw")))))) -(define-public rust-unicode-xid-0.0 +(define-public rust-unicode-xid-0.0.4 (package (inherit rust-unicode-xid-0.2) (name "rust-unicode-xid") @@ -91348,6 +88164,24 @@ to Unicode Standard Annex #31.") (base32 "1p5l9h3n3i53cp95fb65p8q3vbwib79ryd9z5z5h5kr9gl6qc7wc")))))) +(define-public rust-unidecode-0.3 + (package + (name "rust-unidecode") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (crate-uri "unidecode" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1p0sm8j9223kw3iincv60s746s88k09xcaqf8nkx3w83isfv2as0")))) + (build-system cargo-build-system) + (home-page "https://github.com/chowdhurya/rust-unidecode/") + (synopsis "Provides pure ASCII transliterations of Unicode strings") + (description + "This package provides pure ASCII transliterations of Unicode strings.") + (license license:bsd-3))) + (define-public rust-unindent-0.2 (package (name "rust-unindent") @@ -91422,52 +88256,6 @@ clear display in the output.") (description "This package provides unix domain socket bindings.") (license (list license:expat license:asl2.0)))) -(define-public rust-unrar-0.5 - (package - (name "rust-unrar") - (version "0.5.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "unrar" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0a8cd2l2hgmc7h5vjkvsl71vas5l7xqjwmx4kh8z48m26mvnm7f9")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-regex" ,rust-regex-1) - ("rust-unrar-sys" ,rust-unrar-sys-0.5) - ("rust-widestring" ,rust-widestring-1)) - #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/muja/unrar.rs") - (synopsis "List and extract RAR archives") - (description - "This package provides functionality to list and extract RAR archives.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-unrar-sys-0.5 - (package - (name "rust-unrar-sys") - (version "0.5.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "unrar_sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1npkjbqx77rsls2f2nhi6x83ass4cw9d27xl647gmzvr6h82b0rz")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/muja/unrar.rs") - (synopsis "FFI bindings to unrar") - (description - "This package provides FFI bindings to unrar (with minimal abstractions).") - (license license:expat))) - (define-public rust-unreachable-1 (package (name "rust-unreachable") @@ -91572,6 +88360,23 @@ with changes and updated applied to it.") "This crate enables unchecked unwrapping on Option and Result types.") (license (list license:expat license:asl2.0)))) +(define-public rust-unscanny-0.1 + (package + (name "rust-unscanny") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unscanny" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ivbipc1rnq15fhzgna41p1h01ncq4shycii72f3x5d7czq2mpz9")))) + (build-system cargo-build-system) + (home-page "https://github.com/typst/unscanny") + (synopsis "Painless string scanning") + (description "This package provides painless string scanning.") + (license (list license:expat license:asl2.0)))) + (define-public rust-unsize-1 (package (name "rust-unsize") @@ -91638,8 +88443,43 @@ untrusted inputs in Rust.") (sha256 (base32 "0byf88b7ca1kb5aap8f6npp6xncvg95dnma8ipmnmd4n9r5izkam")))))) +(define-public rust-uom-0.36 + (package + (name "rust-uom") + (version "0.36.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "uom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "176dszv02ki1a49hvv2nkszjcn4m8ccfjgh5hhji2pd6a19nxlzz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-num-bigint" ,rust-num-bigint-0.4) + ("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-serde" ,rust-serde-1) + ("rust-typenum" ,rust-typenum-1)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5) + ("rust-quickcheck" ,rust-quickcheck-1) + ("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:asl2.0 license:expat)))) + (define-public rust-uom-0.34 (package + (inherit rust-uom-0.36) (name "rust-uom") (version "0.34.0") (source (origin @@ -91649,7 +88489,6 @@ untrusted inputs in Rust.") (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) @@ -91660,17 +88499,7 @@ untrusted inputs in Rust.") #: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)))) + ("rust-static-assertions" ,rust-static-assertions-1)))))) (define-public rust-uom-0.30 (package @@ -91699,96 +88528,52 @@ mile, ...).") (define-public rust-ureq-2 (package (name "rust-ureq") - (version "2.9.1") + (version "2.12.1") (source (origin (method url-fetch) (uri (crate-uri "ureq" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "15rz5g61fqbxh5w77mbinz4jhljfh58i9s2dzqlh284y6dfd5kgq")))) + "07f0qdn6459k4rmdnkivkz0y7j28vxh5c8q8sr0gcxgdfxiadl82")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - (list "--release" "--" - ;; These tests want network access. - "--skip=test::range::read_range_rustls" - "--skip=tests::connect_http_google" - "--skip=tests::connect_https_google_rustls") + `(#:tests? #f ; Many network test failures. #:cargo-inputs - (("rust-base64" ,rust-base64-0.21) - ("rust-brotli-decompressor" ,rust-brotli-decompressor-2) - ("rust-cookie" ,rust-cookie-0.17) - ("rust-cookie-store" ,rust-cookie-store-0.20) + (("rust-base64" ,rust-base64-0.22) + ("rust-brotli-decompressor" ,rust-brotli-decompressor-4) + ("rust-cookie" ,rust-cookie-0.18) + ("rust-cookie-store" ,rust-cookie-store-0.21) ("rust-encoding-rs" ,rust-encoding-rs-0.8) ("rust-flate2" ,rust-flate2-1) - ("rust-http" ,rust-http-0.2) + ("rust-hootbin" ,rust-hootbin-0.1) ("rust-http" ,rust-http-1) + ("rust-http" ,rust-http-0.2) ("rust-log" ,rust-log-0.4) ("rust-native-tls" ,rust-native-tls-0.2) ("rust-once-cell" ,rust-once-cell-1) - ("rust-rustls" ,rust-rustls-0.21) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.6) - ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-socks" ,rust-socks-0.3) ("rust-url" ,rust-url-2) - ("rust-webpki-roots" ,rust-webpki-roots-0.25)) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)) #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.10) - ("rust-rustls" ,rust-rustls-0.21) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) ("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/algesten/ureq") (synopsis "Simple, safe HTTP client") (description "This package provides minimal request library in Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-urid-0.1 - (package - (name "rust-urid") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "urid" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "195672gs136vczn1r4hkjg5vfa7vdzr26bzv6lwhk0z7cvbvaa38")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-urid-derive" ,rust-urid-derive-0.1)))) - (home-page "https://github.com/RustAudio/rust-lv2") - (synopsis "Library for idiomatic URID support") - (description "This package provides Library for idiomatic URID support.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-urid-derive-0.1 - (package - (name "rust-urid-derive") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "urid-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0i1nf0sgq4ai051h17s9msaavl3jfzdmdlsy8455pr88y0pfx7l1")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/RustAudio/rust-lv2") - (synopsis "Procedural macros for urid") - (description "This package provides procedural macros for urid.") - (license (list license:expat license:asl2.0)))) - (define-public rust-url-2 (package (name "rust-url") - (version "2.5.2") + (version "2.5.4") (source (origin (method url-fetch) @@ -91796,12 +88581,12 @@ mile, ...).") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0v2dx50mx7xzl9454cl5qmpjnhkbahmn59gd3apyipbgyyylsy12")))) + "0q6sgznyy2n4l5lm16zahkisvc9nip9aa5q1pps7656xra3bdy1j")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-form-urlencoded" ,rust-form-urlencoded-1) - ("rust-idna" ,rust-idna-0.5) + ("rust-idna" ,rust-idna-1) ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-serde" ,rust-serde-1)) #:cargo-development-inputs @@ -91982,6 +88767,44 @@ Unix users and groups.") "Incremental, zero-copy UTF-8 decoding with error handling.") (license (list license:expat license:asl2.0)))) +(define-public rust-utf16-iter-1 + (package + (name "rust-utf16-iter") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "utf16_iter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ik2krdr73hfgsdzw0218fn35fa09dg2hvbi1xp3bmdfrp9js8y8")))) + (build-system cargo-build-system) + (home-page "https://docs.rs/utf16_iter/") + (synopsis "Iterator by char over potentially-invalid UTF-16 in &[u16]") + (description + "This package provides an iterator by char over potentially-invalid +UTF-16 in &[u16].") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-utf8-iter-1 + (package + (name "rust-utf8-iter") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "utf8_iter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gmna9flnj8dbyd8ba17zigrp9c4c3zclngf5lnb5yvz1ri41hdn")))) + (build-system cargo-build-system) + (home-page "https://docs.rs/utf8_iter/") + (synopsis "Iterator by char over potentially-invalid UTF-8 in &[u8]") + (description + "This package provides an iterator by char over potentially-invalid +UTF-8 in &[u8].") + (license (list license:asl2.0 license:expat)))) + (define-public rust-utf8-ranges-1 (package (name "rust-utf8-ranges") @@ -92081,27 +88904,27 @@ first byte.") (base32 "0zamsj2986shm4x9zncjf2m5qy9scaw7qnxw4f89b2afpg6a8wl7")))))) -(define-public rust-uu-cp-0.0.23 +(define-public rust-uu-cp-0.0.28 (package (name "rust-uu-cp") - (version "0.0.23") + (version "0.0.28") (source (origin (method url-fetch) (uri (crate-uri "uu_cp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1snwk4fh6fvvvvqc1y660dr8lw95in9hazi49licnlgszh60k3jc")))) + (base32 "047485nv8n0621li7ghp2g9lmc9axhy9zhdgr64bpxmcbsgzgvz0")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-4) - ("rust-exacl" ,rust-exacl-0.11) + ("rust-exacl" ,rust-exacl-0.12) ("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-uucore" ,rust-uucore-0.0.28) ("rust-walkdir" ,rust-walkdir-2) ("rust-xattr" ,rust-xattr-1)))) (home-page "https://github.com/uutils/coreutils") @@ -92109,104 +88932,151 @@ first byte.") (description "This package provides the @code{cp} command from uutils.") (license license:expat))) -(define-public rust-uu-mkdir-0.0.23 +(define-public rust-uu-mkdir-0.0.28 (package (name "rust-uu-mkdir") - (version "0.0.23") + (version "0.0.28") (source (origin (method url-fetch) (uri (crate-uri "uu_mkdir" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lf84gxjw1ii53xmlr4rnlgpqci5zw8scqf1qpmid3bkkry6bgyw")))) + (base32 "0fhdg1vqbdq679j42m2gykjh0fmb66hai9f5n53bgjzffpw7rfpy")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-clap" ,rust-clap-4) - ("rust-uucore" ,rust-uucore-0.0.25)))) + ("rust-uucore" ,rust-uucore-0.0.28)))) (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 +(define-public rust-uu-mktemp-0.0.28 (package (name "rust-uu-mktemp") - (version "0.0.23") + (version "0.0.28") (source (origin (method url-fetch) (uri (crate-uri "uu_mktemp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1jrik3nawxcxxqbhlzjl9sb8xwwxmmb5lm7rkdi61hcyilh32i8m")))) + (base32 "13vw6021xfbssz3q4q6p23ksgb8bsnmbwnb6xv2ngrk0kwwgv70s")))) (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)))) + ("rust-uucore" ,rust-uucore-0.0.28)))) (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 +(define-public rust-uu-mv-0.0.28 (package (name "rust-uu-mv") - (version "0.0.23") + (version "0.0.28") (source (origin (method url-fetch) (uri (crate-uri "uu_mv" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1z2cdcnf1q6zgzycimlbg0xyqh43v8x49vsr0sx1sbjdsdhpwc2y")))) + (base32 "086swwxq6lc26n51nwsxhaslkzmc2z7b1fj3akvhiwfdzhqj54xz")))) (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)))) + ("rust-uucore" ,rust-uucore-0.0.28)))) (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 +(define-public rust-uu-touch-0.0.28 + (package + (name "rust-uu-touch") + (version "0.0.28") + (source + (origin + (method url-fetch) + (uri (crate-uri "uu_touch" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0z2c28apr1v5siz6rmn5bzbf0n2hd17yk8ikh9bhrdym27n6nism")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-parse-datetime" ,rust-parse-datetime-0.6) + ("rust-uucore" ,rust-uucore-0.0.28) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) + (home-page "https://github.com/uutils/coreutils") + (synopsis "touch ~ (uutils) change FILE timestamps") + (description + "This package provides touch ~ (uutils) change FILE timestamps.") + (license license:expat))) + +(define-public rust-uu-uname-0.0.28 + (package + (name "rust-uu-uname") + (version "0.0.28") + (source + (origin + (method url-fetch) + (uri (crate-uri "uu_uname" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0439n012in9wkqymhda7gd9cg7afqw2zzcf1pf62ixz6l9ql0aqq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-platform-info" ,rust-platform-info-2) + ("rust-uucore" ,rust-uucore-0.0.28)))) + (home-page "https://github.com/uutils/coreutils") + (synopsis "uname ~ (uutils) display system information") + (description + "This package provides uname ~ (uutils) display system information.") + (license license:expat))) + +(define-public rust-uu-whoami-0.0.28 (package (name "rust-uu-whoami") - (version "0.0.23") + (version "0.0.28") (source (origin (method url-fetch) (uri (crate-uri "uu_whoami" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0k9p305ph1nx29gr02alasj3y8xczhh8yaxj3zzcnd0znk1rsn3h")))) + (base32 "1xa4z5bxygfrb6cybgvn0gl4mxw4zhk1478bbpwnb3222h2205ax")))) (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)))) + ("rust-uucore" ,rust-uucore-0.0.28) + ("rust-windows-sys" ,rust-windows-sys-0.59)))) (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 +(define-public rust-uucore-0.0.28 (package (name "rust-uucore") - (version "0.0.25") + (version "0.0.28") (source (origin (method url-fetch) (uri (crate-uri "uucore" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1d59qc3d2z9dkf89y22c5kj7l5izfb4p3qkpd32xnhyb59r4m693")))) + (base32 "04k4rbrxw37i7a081jiz03afhaam2gs82laccmsjb4a61h2l7sh4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-blake2b-simd" ,rust-blake2b-simd-1) @@ -92219,24 +89089,26 @@ first byte.") ("rust-dunce" ,rust-dunce-1) ("rust-glob" ,rust-glob-0.3) ("rust-hex" ,rust-hex-0.4) - ("rust-itertools" ,rust-itertools-0.12) + ("rust-itertools" ,rust-itertools-0.13) ("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-nix" ,rust-nix-0.29) + ("rust-number-prefix" ,rust-number-prefix-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-os-display" ,rust-os-display-0.1) + ("rust-regex" ,rust-regex-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-uucore-procs" ,rust-uucore-procs-0.0.28) ("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-windows-sys" ,rust-windows-sys-0.59) ("rust-xattr" ,rust-xattr-1) ("rust-z85" ,rust-z85-3)) #:cargo-development-inputs (("rust-clap" ,rust-clap-4) @@ -92244,41 +89116,41 @@ first byte.") ("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.") + (description "This package provides the core uutils code library.") (license license:expat))) -(define-public rust-uucore-procs-0.0.25 +(define-public rust-uucore-procs-0.0.28 (package (name "rust-uucore-procs") - (version "0.0.25") + (version "0.0.28") (source (origin (method url-fetch) (uri (crate-uri "uucore_procs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02bkjwh4fp1cc8cmp6jqda8f48kpav9iqss424cb2lrfhfa1bxgp")))) + (base32 "0485141khwfy7gdxfvhq93g0nwsvz3fbkc0y7qvxjx92z665j7fr")))) (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)))) + ("rust-uuhelp-parser" ,rust-uuhelp-parser-0.0.28)))) (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 +(define-public rust-uuhelp-parser-0.0.28 (package (name "rust-uuhelp-parser") - (version "0.0.25") + (version "0.0.28") (source (origin (method url-fetch) (uri (crate-uri "uuhelp_parser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gsfy0dkwzlyyq4abwf0c7gks7m1qm0yzl58sl265n5dllr6hymc")))) + (base32 "173fzyid13yfzp2gvwd73h6sydifhh6qv5d29r5js9fcj74xid46")))) (build-system cargo-build-system) (home-page "https://github.com/uutils/coreutils") (synopsis @@ -92461,21 +89333,6 @@ of help files.") 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 - (origin - (method url-fetch) - (uri (crate-uri "uutils_term_grid" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ixvj893jrcvv76m7cgr99fc25la6xl2101qva6ni646aqm4b2dk")))) - (arguments - `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1)))))) - (define-public rust-uzers-0.12 (package (name "rust-uzers") @@ -92520,26 +89377,26 @@ and groups. A more maintained fork of the @code{rust-users} crate.") (define-public rust-v-frame-0.3 (package (name "rust-v-frame") - (version "0.3.7") + (version "0.3.8") (source (origin (method url-fetch) (uri (crate-uri "v_frame" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1c26k38sf405s07bi0wqndh8b52qn8hn1nkgp1gpjafizbkf8wn3")))) + (base32 "0az9nd6qi1gyikh9yb3lhm453kf7d5isd6xai3j13kds4jm2mwyn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-noop-proc-macro" ,rust-noop-proc-macro-0.3) - ("rust-num-derive" ,rust-num-derive-0.4) + (("rust-aligned-vec" ,rust-aligned-vec-0.5) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-profiling" ,rust-profiling-1) ("rust-serde" ,rust-serde-1) ("rust-tracing" ,rust-tracing-0.1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) - #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) (home-page "https://github.com/xiph/rav1e") (synopsis "Video Frame data structures, part of rav1e") (description "This package provides @code{Video Frame} data structures, as @@ -92570,28 +89427,84 @@ a part of rav1e.") (description "This package provides simd optimized HTML escaping code.") (license (list license:expat license:asl2.0)))) -(define-public rust-valuable-derive-0.1 +(define-public rust-validator-0.15 (package - (name "rust-valuable-derive") - (version "0.1.0") - (source (origin - (method url-fetch) - (uri (crate-uri "valuable-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0cjvqljzsj891cjzlwv0ihrv4m0n5211a6pr6b7cz42ich66ji4x")))) + (name "rust-validator") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "validator" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mgfpwry40fcsfabx7vziy0a7j9kxn6b49mvbv1hy770j09hlyzh")))) (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/tokio-rs/valuable") - (synopsis "Macros for the valuable crate") - (description "This package provides macros for the @code{valuable} -crate.") + `(#:cargo-inputs (("rust-card-validate" ,rust-card-validate-2) + ("rust-idna" ,rust-idna-0.2) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-phonenumber" ,rust-phonenumber-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-unic-ucd-common" ,rust-unic-ucd-common-0.9) + ("rust-url" ,rust-url-2) + ("rust-validator-derive" ,rust-validator-derive-0.15)))) + (home-page "https://github.com/Keats/validator") + (synopsis "Common validation functions and trait") + (description + "This package provides common validation functions (email, url, length, +...) and trait.") + (license license:expat))) + +(define-public rust-validator-derive-0.15 + (package + (name "rust-validator-derive") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "validator_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08vr07anpvgc9i18hyxi4y9si22kl8fqbkn4lrjdssrbrzldazpa")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-if-chain" ,rust-if-chain-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-1) + ("rust-validator-types" ,rust-validator-types-0.15)))) + (home-page "https://github.com/Keats/validator") + (synopsis "Macros 1.1 implementation of #[derive(Validate)]") + (description + "This package provides a macros 1.1 implementation of #[derive(Validate)].") + (license license:expat))) + +(define-public rust-validator-types-0.15 + (package + (name "rust-validator-types") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "validator_types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ad3ilkwdx1vcwi7vbapkz8kqp9gdrfb34qlzjmlfs19jd1g7pfj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/Keats/validator") + (synopsis "Basic type for validator and validator_derive") + (description + "This package provides a basic type for validator and validator_derive.") (license license:expat))) (define-public rust-valuable-0.1 @@ -92617,6 +89530,30 @@ crate.") un-typed structured data across trait-object boundaries.") (license license:expat))) +(define-public rust-valuable-derive-0.1 + (package + (name "rust-valuable-derive") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "valuable-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cjvqljzsj891cjzlwv0ihrv4m0n5211a6pr6b7cz42ich66ji4x")))) + (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/tokio-rs/valuable") + (synopsis "Macros for the valuable crate") + (description "This package provides macros for the @code{valuable} +crate.") + (license license:expat))) + (define-public rust-valuable-serde-0.1 (package (name "rust-valuable-serde") @@ -92647,14 +89584,14 @@ for @code{Valuable} types.") (define-public rust-value-bag-1 (package (name "rust-value-bag") - (version "1.9.0") + (version "1.10.0") (source (origin (method url-fetch) (uri (crate-uri "value-bag" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00aij8p1n7vcggkb9nxpwx9g5nqzclrf7prd1wpi9c3sscvw312s")))) + (base32 "1lnsixdpi1ldms1adxyafyx7lyrqxhhskgwrjckmml6majmc9x1y")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -92671,14 +89608,14 @@ for @code{Valuable} types.") (define-public rust-value-bag-serde1-1 (package (name "rust-value-bag-serde1") - (version "1.9.0") + (version "1.10.0") (source (origin (method url-fetch) (uri (crate-uri "value-bag-serde1" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12rjnrh2g3ijvjgfh78y7x1ilk3mw2svri93nymsjxxhbh6gbb6c")))) + (base32 "02sv7k5q2gf9ga91fj3k2rj3hrlw9m2r8v1kdv5cfngx6syp7dsb")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -92696,14 +89633,14 @@ for @code{Valuable} types.") (define-public rust-value-bag-sval2-1 (package (name "rust-value-bag-sval2") - (version "1.9.0") + (version "1.10.0") (source (origin (method url-fetch) (uri (crate-uri "value-bag-sval2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nr8453w1357xc70ilbvwcg4qa6bgll44pci0fbznb82hvjbm18p")))) + (base32 "0fm8lkzbf18x8hch9dqlrmxncxcp8iynb5scd643mi6a0akidaak")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -92768,6 +89705,178 @@ for @code{Valuable} types.") integer encoding implementation in Rust.") (license license:expat))) +(define-public rust-varisat-0.2 + (package + (name "rust-varisat") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "varisat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1bvwh2bk80a5nci3sd3p205200c6pmbgd5f299krd48y3n2hkrpb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-itoa" ,rust-itoa-0.4) + ("rust-leb128" ,rust-leb128-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-ordered-float" ,rust-ordered-float-2) + ("rust-partial-ref" ,rust-partial-ref-0.3) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-varisat-checker" ,rust-varisat-checker-0.2) + ("rust-varisat-dimacs" ,rust-varisat-dimacs-0.2) + ("rust-varisat-formula" ,rust-varisat-formula-0.2) + ("rust-varisat-internal-macros" ,rust-varisat-internal-macros-0.2) + ("rust-varisat-internal-proof" ,rust-varisat-internal-proof-0.2) + ("rust-vec-mut-scan" ,rust-vec-mut-scan-0.3)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-proptest" ,rust-proptest-0.10) + ("rust-rand" ,rust-rand-0.7) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-varisat-formula" ,rust-varisat-formula-0.2)))) + (home-page "https://jix.one/project/varisat/") + (synopsis "CDCL based SAT solver (library)") + (description "This package provides a CDCL based SAT solver (library).") + (license (list license:expat license:asl2.0)))) + +(define-public rust-varisat-checker-0.2 + (package + (name "rust-varisat-checker") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "varisat-checker" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fvndkgd2ypgr9rygnj0glxk0492696qw6xqysc6xv8kb5y9fp0k")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-log" ,rust-log-0.4) + ("rust-partial-ref" ,rust-partial-ref-0.3) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-varisat-dimacs" ,rust-varisat-dimacs-0.2) + ("rust-varisat-formula" ,rust-varisat-formula-0.2) + ("rust-varisat-internal-proof" ,rust-varisat-internal-proof-0.2)) + #:cargo-development-inputs + (("rust-proptest" ,rust-proptest-0.10) + ("rust-varisat-formula" ,rust-varisat-formula-0.2)))) + (home-page "https://jix.one/project/varisat/") + (synopsis "Proof checker for proofs generate by the Varisat SAT solver") + (description + "This package provides a proof checker for proofs generate by the +Varisat SAT solver.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-varisat-dimacs-0.2 + (package + (name "rust-varisat-dimacs") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "varisat-dimacs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0di68140imf7nfhhipkqllrp5m6f1iqsxxrrm70087xy457fw79x")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-itoa" ,rust-itoa-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-varisat-formula" ,rust-varisat-formula-0.2)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-proptest" ,rust-proptest-0.10) + ("rust-rand" ,rust-rand-0.7) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-varisat-formula" ,rust-varisat-formula-0.2)))) + (home-page "https://jix.one/project/varisat/") + (synopsis "DIMCAS CNF parser and writer for the Varisat SAT solver") + (description + "This package provides DIMCAS CNF parser and writer for the Varisat SAT solver.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-varisat-formula-0.2 + (package + (name "rust-varisat-formula") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "varisat-formula" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08256rfjdmvfxjjw162r6l5ipfd46in9vx1sdmnhgndzp51map1r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proptest" ,rust-proptest-0.10) + ("rust-rand" ,rust-rand-0.7)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-0.10) + ("rust-rand" ,rust-rand-0.7)))) + (home-page "https://jix.one/project/varisat/") + (synopsis "Basic formula data types used by the Varisat SAT solver") + (description + "This package provides Basic formula data types used by the Varisat SAT solver.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-varisat-internal-macros-0.2 + (package + (name "rust-varisat-internal-macros") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "varisat-internal-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13a0297kq3qhk6wa59sd44zjlhn0qs358ia8g2m6dl236mvwwbk0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-1) + ("rust-synstructure" ,rust-synstructure-0.12)))) + (home-page "https://jix.one/project/varisat/") + (synopsis "Internal macros for the Varisat SAT solver") + (description + "This package provides Internal macros for the Varisat SAT solver.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-varisat-internal-proof-0.2 + (package + (name "rust-varisat-internal-proof") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "varisat-internal-proof" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01yj4zalzp6x6wa0yr3xl8v1q51xh1vgjr3dnxvz12h1r5xvnqv1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-varisat-formula" ,rust-varisat-formula-0.2)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-0.10)))) + (home-page "https://jix.one/project/varisat/") + (synopsis "Internal proof format for the Varisat SAT solver") + (description + "This package provides Internal proof format for the Varisat SAT solver.") + (license (list license:expat license:asl2.0)))) + (define-public rust-vcpkg-0.2 (package (name "rust-vcpkg") @@ -92826,17 +89935,36 @@ integer encoding implementation in Rust.") (license (list license:asl2.0 license:expat)))) +(define-public rust-vec-mut-scan-0.3 + (package + (name "rust-vec-mut-scan") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "vec_mut_scan" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lkz66l8z13lvjll69s23vrca12inpyyh00kwg0djqsyil563vb8")))) + (build-system cargo-build-system) + (home-page "https://github.com/jix/vec_mut_scan") + (synopsis "Forward scan over a vector with mutation and item removal") + (description + "This package provides forward scan over a vector with mutation and +item removal.") + (license license:bsd-0))) + (define-public rust-vec1-1 (package (name "rust-vec1") - (version "1.12.0") + (version "1.12.1") (source (origin (method url-fetch) (uri (crate-uri "vec1" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0dk9qlly3n6b5g71p9rxnnfyx7v1d31364x8wbabz2f1zz7hvdpz")))) + (base32 "08k370srixpnqgvyxqjqvkzig4j9c5kapqzvzsqfys8ghib8pdpa")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1) @@ -92879,47 +90007,75 @@ at least 1 element.") engines, with SIMD support and focus on convenience.") (license (list license:expat license:asl2.0)))) -(define-public rust-vergen-7 +(define-public rust-vergen-9 (package (name "rust-vergen") - (version "7.5.1") + (version "9.0.2") (source (origin (method url-fetch) (uri (crate-uri "vergen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jap8dksn4i8pf2d10w64pz79rz13wyg073j6nbwwvk3sqf8h6zj")))) + (base32 "0f86dz7mm0blfw17lggkkwm548mdjgq8f7llqxaz8pghz345zwii")))) (build-system cargo-build-system) (arguments - `(#:tests? #f + `(#:tests? #f ; unresolved import `test_util` #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-enum-iterator" ,rust-enum-iterator-1) - ("rust-getset" ,rust-getset-0.1) - ("rust-git2" ,rust-git2-0.16) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.19) + ("rust-derive-builder" ,rust-derive-builder-0.20) + ("rust-regex" ,rust-regex-1) ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-rustversion" ,rust-rustversion-1) - ("rust-sysinfo" ,rust-sysinfo-0.27) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.3)) + ("rust-sysinfo" ,rust-sysinfo-0.32) + ("rust-time" ,rust-time-0.3) + ("rust-vergen-lib" ,rust-vergen-lib-0.1)) #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) ("rust-regex" ,rust-regex-1) - ("rust-serial-test" ,rust-serial-test-1) - ("rust-tempfile" ,rust-tempfile-3)))) - (native-inputs (list pkg-config)) - (inputs (list libgit2 zlib)) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-temp-env" ,rust-temp-env-0.3)))) (home-page "https://github.com/rustyhorde/vergen") (synopsis - "Generate @code{cargo:rustc-env} instructions via @code{build.rs} for use -in your code via the @code{env!} macro") + "Generate @code{cargo:rustc-env} instructions via @code{build.rs}") (description "This package provides version generation for use in your Rust code.") (license (list license:expat license:asl2.0)))) +(define-public rust-vergen-8 + (package + (inherit rust-vergen-9) + (name "rust-vergen") + (version "8.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "vergen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ri5n4k1g4z6gnllkjx9zny3vaa2bjma84zlrjh6w9k7b7mdk419")))) + (arguments + `(#:tests? #f + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.18) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-git2" ,rust-git2-0.19) + ("rust-gix" ,rust-gix-0.63) + ("rust-regex" ,rust-regex-1) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-time" ,rust-time-0.3)) + #:cargo-development-inputs (("rust-gix" ,rust-gix-0.63) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-temp-env" ,rust-temp-env-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.8 zlib)))) + (define-public rust-vergen-3 (package - (inherit rust-vergen-7) + (inherit rust-vergen-8) (name "rust-vergen") (version "3.2.0") (source @@ -92939,17 +90095,76 @@ in your code via the @code{env!} macro") #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) ("rust-regex" ,rust-regex-1)))))) +(define-public rust-vergen-git2-1 + (package + (name "rust-vergen-git2") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "vergen-git2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mri3bffr6578cigqrpcn8b0bfcgkvbskdxswg8ym7vlv1ly0qsy")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `test_util` + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-derive-builder" ,rust-derive-builder-0.20) + ("rust-git2" ,rust-git2-0.19) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-time" ,rust-time-0.3) + ("rust-vergen" ,rust-vergen-9) + ("rust-vergen-lib" ,rust-vergen-lib-0.1)) + #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-regex" ,rust-regex-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-temp-env" ,rust-temp-env-0.3)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.8)) + (home-page "https://github.com/rustyhorde/vergen") + (synopsis "Generate @code{cargo:rustc-env} instructions via @code{build.rs}") + (description + "This package provides @code{cargo:rustc-env} instructions via +@code{build.rs} for use in your code via the @code{env!} macro.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-vergen-lib-0.1 + (package + (name "rust-vergen-lib") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "vergen-lib" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ix19k2kvn4hzhhl6nld9h7fh1qh5z7j51z5rn2zq28wfpk6giy0")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `test_util` + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-derive-builder" ,rust-derive-builder-0.20) + ("rust-rustversion" ,rust-rustversion-1)) + #:cargo-development-inputs (("rust-serial-test" ,rust-serial-test-3) + ("rust-temp-env" ,rust-temp-env-0.3)))) + (home-page "https://github.com/rustyhorde/vergen") + (synopsis "Common code used to support the vergen libraries") + (description + "This package provides common code used to support the vergen libraries.") + (license (list license:expat license:asl2.0)))) + (define-public rust-version-check-0.9 (package (name "rust-version-check") - (version "0.9.4") + (version "0.9.5") (source (origin (method url-fetch) (uri (crate-uri "version_check" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gs8grwdlgh0xq660d7wr80x14vxbizmd8dbp29p2pdncx8lp1s9")))) + (base32 "0nhhi4i5x89gm911azqbn7avs9mdacw2i3vcz3cnmz3mv4rqz4hb")))) (build-system cargo-build-system) (home-page "https://github.com/SergioBenitez/version_check") (synopsis "Check that the installed rustc meets some version requirements") @@ -92999,14 +90214,14 @@ and test them against various comparison operators.") (package (inherit rust-version-compare-0.2) (name "rust-version-compare") - (version "0.1.0") + (version "0.1.1") (source (origin (method url-fetch) (uri (crate-uri "version-compare" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0wyasmnqqngvm54x0gsxbwpxznvn747jkp0dx1nnppy1j9xj927y")))))) + "0acg4pmjdbmclg0m7yhijn979mdy66z3k8qrcnvn634f1gy456jp")))))) (define-public rust-version-compare-0.0.11 (package @@ -93022,28 +90237,26 @@ and test them against various comparison operators.") (sha256 (base32 "06v688jg6gd00zvm3cp7qh2h3mz8cs2ngr09bnwxhyddxrcwh60w")))))) -(define-public rust-version-compare-0.0 rust-version-compare-0.0.11) - (define-public rust-version-sync-0.9 (package (name "rust-version-sync") - (version "0.9.4") + (version "0.9.5") (source (origin (method url-fetch) (uri (crate-uri "version-sync" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1w0v20p6k13yhfmgmcwhgy3371znyqcn83lhrf47swq7xhf81l4r")))) + (base32 "12b0z8p2hhj361g1jn5yzdkqk48zmhm671srvwykgskk07d6jlc3")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9) ("rust-regex" ,rust-regex-1) ("rust-semver" ,rust-semver-1) - ("rust-syn" ,rust-syn-1) - ("rust-toml" ,rust-toml-0.5) + ("rust-syn" ,rust-syn-2) + ("rust-toml" ,rust-toml-0.7) ("rust-url" ,rust-url-2)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) @@ -93111,6 +90324,54 @@ updated when the crate version changes.") ("rust-toml" ,rust-toml-0.4) ("rust-url" ,rust-url-1)))))) +(define-public rust-version-track-0.1 + (package + (name "rust-version-track") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "version-track" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bz1b96iqh4z4r90xc0ya5gmywps072g5w6q1vrv2qsfdgnzz6kd")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; `pointer_structural_match` converted into hard error + #:cargo-inputs (("rust-uuid" ,rust-uuid-1)))) + (home-page "https://github.com/MitMaro/version-track") + (synopsis "Library used to track changes to complex data") + (description + "This package provides a library used to track changes to complex data, +when direct comparison or hashing is too expensive.") + (license license:isc))) + +(define-public rust-versions-6 + (package + (name "rust-versions") + (version "6.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "versions" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ff12avdiqhiv6nanikkjl1x3s2y7amkj3r5nivb7zficf5ljpgj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-itertools" ,rust-itertools-0.13) + ("rust-nom" ,rust-nom-7) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-semver" ,rust-semver-1) + ("rust-semver-parser" ,rust-semver-parser-0.10) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/fosskers/rs-versions") + (synopsis "Library for parsing and comparing software version numbers") + (description + "This package provides a library for parsing and comparing software version +numbers.") + (license license:expat))) + (define-public rust-vlq-0.5 (package (name "rust-vlq") @@ -93170,7 +90431,7 @@ updated when the crate version changes.") ("rust-sha2" ,rust-sha2-0.10)))) (home-page "https://github.com/rust-vsock/vsock-rs") (synopsis "Virtio socket support for Rust") - (description "This package provdies virtio socket support for Rust.") + (description "This package provides virtio socket support for Rust.") (license license:asl2.0))) (define-public rust-vsock-0.3 @@ -93259,21 +90520,18 @@ updated when the crate version changes.") (define-public rust-vswhom-sys-0.1 (package (name "rust-vswhom-sys") - (version "0.1.0") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "vswhom-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0clm4dx4amwlhg5lkh52fmvvwq6c7s7b9xqljw39mryhsc158bzw")))) + (base32 "065s8kx9sbrgjpmzxgiczyhb90xzxq9d95nd0s2v58n8yvhpmcfk")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-cc" ,rust-cc-1)))) + `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) + ("rust-cc" ,rust-cc-1)))) (home-page "https://github.com/nabijaczleweli/vswhom-sys.rs") (synopsis "Pure FFI to Jon Blow's VS discovery script") (description @@ -93415,20 +90673,18 @@ updated when the crate version changes.") (define-public rust-vte-generate-state-changes-0.1 (package (name "rust-vte-generate-state-changes") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "vte_generate_state_changes" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zs5q766q7jmc80c5c80gpzy4qpg5lnydf94mgdzrpy7h5q82myj")))) + (base32 "0biwgpcji3w4llz7h4bi8c2rwqchm9gmyr7dnjki1m853gp9ndif")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1)))) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1)))) (home-page "https://github.com/jwilm/vte") (synopsis "Proc macro for generating VTE state changes") (description @@ -93482,15 +90738,17 @@ specified across Unix and Windows platforms.") (define-public rust-waker-fn-1 (package (name "rust-waker-fn") - (version "1.1.1") + (version "1.2.0") (source (origin (method url-fetch) (uri (crate-uri "waker-fn" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "142n74wlmpwcazfb5v7vhnzj3lb3r97qy8mzpjdpg345aizm3i7k")))) + (base32 "1dvk0qsv88kiq22x8w0qz0k9nyrxxm5a9a9czdwdvvhcvjh12wii")))) (build-system cargo-build-system) + (arguments + (list #:cargo-inputs (list rust-portable-atomic-util-0.2))) (home-page "https://github.com/smol-rs/waker-fn") (synopsis "Convert closures into wakers") (description @@ -93651,17 +90909,34 @@ result.") (base32 "06g5v3vrdapfzvfq662cij7v8a1flwr2my45nnncdv2galrdzkfc")))))) +(define-public rust-wasite-0.1 + (package + (name "rust-wasite") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wasite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nw5h9nmcl4fyf4j5d4mfdjfgvwi1cakpi349wc4zrr59wxxinmq")))) + (build-system cargo-build-system) + (home-page "https://github.com/ardaku/wasite/blob/stable/CHANGELOG.md") + (synopsis "WASI Terminal Environment API") + (description "This package provides WASI Terminal Environment API.") + (license (list license:asl2.0 license:boost1.0 license:expat)))) + (define-public rust-wasm-bindgen-0.2 (package (name "rust-wasm-bindgen") - (version "0.2.91") + (version "0.2.99") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0zwbb07ln4m5hh6axamc701nnj090nd66syxbf6bagzf189j9qf1")) + (base32 "15k3rzb3kjrxyqnh0916gq99mrpwhwy62smawxxc2w0x3llgcx54")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -93671,18 +90946,13 @@ result.") (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-once-cell" ,rust-once-cell-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-wasm-bindgen-macro" ,rust-wasm-bindgen-macro-0.2)) #:cargo-development-inputs - (("rust-js-sys" ,rust-js-sys-0.3) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) - ("rust-wasm-bindgen-test-crate-a" - ,rust-wasm-bindgen-test-crate-a-0.1) - ("rust-wasm-bindgen-test-crate-b" - ,rust-wasm-bindgen-test-crate-b-0.1)))) + (("rust-paste" ,rust-paste-1) + ("rust-serde-derive" ,rust-serde-derive-1)))) (home-page "https://rustwasm.github.io/") (synopsis "Easy support for interacting between JS and Rust") (description @@ -93692,20 +90962,19 @@ result.") (define-public rust-wasm-bindgen-backend-0.2 (package (name "rust-wasm-bindgen-backend") - (version "0.2.91") + (version "0.2.99") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-backend" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "02zpi9sjzhd8kfv1yj9m1bs4a41ik9ii5bc8hjf60arm1j8f3ry9")))) + (base32 "0ycwa4c68j34687k513djgyy2asn3fw3yp4g9rkq2kvbchwbp2az")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bumpalo" ,rust-bumpalo-3) ("rust-log" ,rust-log-0.4) - ("rust-once-cell" ,rust-once-cell-1) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2) @@ -93719,26 +90988,31 @@ result.") (define-public rust-wasm-bindgen-futures-0.4 (package (name "rust-wasm-bindgen-futures") - (version "0.4.41") + (version "0.4.49") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-futures" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15zd36y0jpzvh18x963hd905rlpk2cxp918r6db0xsnfc4zrqyw7")))) + (base32 "18pc937q8kg549czxk3ah57h9vb7q56c62zz9qcfk17a8jdns5rq")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-once-cell" ,rust-once-cell-1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) ("rust-web-sys" ,rust-web-sys-0.3)) #:cargo-development-inputs (("rust-futures-channel-preview" ,rust-futures-channel-preview-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + ("rust-futures-lite" ,rust-futures-lite-1)))) (home-page "https://rustwasm.github.io/wasm-bindgen/") (synopsis "Bridging the gap between Rust Futures and JavaScript Promises") @@ -93775,26 +91049,22 @@ result.") (define-public rust-wasm-bindgen-macro-0.2 (package (name "rust-wasm-bindgen-macro") - (version "0.2.91") + (version "0.2.99") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1va6dilw9kcnvsg5043h5b9mwc5sgq0lyhj9fif2n62qsgigj2mk")))) + (base32 "1znlcrk5bvisr3vscwlqkdby959n3sb367zgdzpjwjd7v4giiiic")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; 'Async blocks are unstable' + `(#:tests? #f ; use of undeclared crate or module `web_sys` #:cargo-inputs (("rust-quote" ,rust-quote-1) - ("rust-wasm-bindgen-macro-support" - ,rust-wasm-bindgen-macro-support-0.2)) + ("rust-wasm-bindgen-macro-support" ,rust-wasm-bindgen-macro-support-0.2)) #:cargo-development-inputs - (("rust-trybuild" ,rust-trybuild-1) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) - ("rust-web-sys" ,rust-web-sys-0.3)))) + (("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://rustwasm.github.io/wasm-bindgen/") (synopsis "Definition of the @code{#[wasm_bindgen]} attribute") (description @@ -93805,14 +91075,14 @@ dependency.") (define-public rust-wasm-bindgen-macro-support-0.2 (package (name "rust-wasm-bindgen-macro-support") - (version "0.2.91") + (version "0.2.99") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-macro-support" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0rlyl3yzwbcnc691mvx78m1wbqf1qs52mlc3g88bh7ihwrdk4bv4")))) + (base32 "1hihsgyg0kf46kjhgfv8x5g9x0q1d0aizj6n7s84ag1xfrdskmrh")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -93831,14 +91101,14 @@ attribute that is not in the shared backend crate.") (define-public rust-wasm-bindgen-shared-0.2 (package (name "rust-wasm-bindgen-shared") - (version "0.2.91") + (version "0.2.99") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-shared" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0f4qmjv57ppwi4xpdxgcd77vz9vmvlrnybg8dj430hzhvk96n62g")))) + (base32 "19h61snrhh1qhb5gz6zyb89l7fbj1fhmxcvi09p9l0mav8zsnfll")))) (build-system cargo-build-system) (home-page "https://rustwasm.github.io/wasm-bindgen/") (synopsis "Shared support between wasm-bindgen and wasm-bindgen cli") @@ -93850,14 +91120,14 @@ attribute that is not in the shared backend crate.") (define-public rust-wasm-bindgen-test-0.3 (package (name "rust-wasm-bindgen-test") - (version "0.3.41") + (version "0.3.49") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-test" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qgbv1fh8bsvs1vqvlpja877pz4bw638jq9f4l6yvqikz2sdwg8l")) + (base32 "0pb24jpwsvvp7l0si2n7za89qpmdqxb2cxzjfx2r7ss66rb487f6")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -93866,9 +91136,9 @@ attribute that is not in the shared backend crate.") (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-console-error-panic-hook" ,rust-console-error-panic-hook-0.1) - ("rust-gg-alloc" ,rust-gg-alloc-1) + (("rust-gg-alloc" ,rust-gg-alloc-1) ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-minicov" ,rust-minicov-0.3) ("rust-scoped-tls" ,rust-scoped-tls-1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) @@ -93904,74 +91174,26 @@ attribute that is not in the shared backend crate.") ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.3) ("rust-wasm-bindgen-test-macro" ,rust-wasm-bindgen-test-macro-0.2)))))) -(define-public rust-wasm-bindgen-test-crate-a-0.1 - (package - (name "rust-wasm-bindgen-test-crate-a") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "wasm-bindgen-test-crate-a" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "06l9rcxykg2vnp706a6axchjp6lh9ym1awwyyxzmbkv410kqwvsp")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) - (home-page "https://github.com/rustwasm/wasm-bindgen") - (synopsis "Internal test crate for wasm-bindgen") - (description - "Internal test crate for wasm-bindgen.") - (license license:expat))) - -(define-public rust-wasm-bindgen-test-crate-b-0.1 - (package - (name "rust-wasm-bindgen-test-crate-b") - (version "0.1.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "wasm-bindgen-test-crate-b" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "16p3gx9vhngdf236zxx2qijqx5sq0lid25j8wy6j522ybxs4vbh8")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))) - (home-page "https://github.com/rustwasm/wasm-bindgen") - (synopsis "Internal test crate for wasm-bindgen") - (description - "Internal test crate for wasm-bindgen.") - (license (list license:expat license:asl2.0)))) - (define-public rust-wasm-bindgen-test-macro-0.3 (package (name "rust-wasm-bindgen-test-macro") - (version "0.3.41") + (version "0.3.49") (source (origin (method url-fetch) (uri (crate-uri "wasm-bindgen-test-macro" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "12bgbvygyi04d1gcrgl7w7m94mn7is59f7ds5cqmfs30a1sin8d5")))) + (base32 "0cd0wjqfb4l35s0h90k7rphwxgj2nlycqlbv6yf0pakkrqb185sl")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; could not find `wasm_bindgen_test` - #:cargo-inputs + `(#: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)))) + (("rust-tokio" ,rust-tokio-1) + ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://github.com/rustwasm/wasm-bindgen") (synopsis "Internal testing macro for wasm-bindgen") (description @@ -94024,14 +91246,14 @@ attribute that is not in the shared backend crate.") (define-public rust-wasm-streams-0.4 (package (name "rust-wasm-streams") - (version "0.4.0") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "wasm-streams" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ad17c59xb8fffsnbrqbyqz93hb66nzxhizpii31icb31g4w8pdn")))) + (base32 "0rddn007hp6k2cm91mm9y33n79b0jxv0c3znzszcvv67hn6ks18m")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -94041,7 +91263,8 @@ attribute that is not in the shared backend crate.") ("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-gloo-timers" ,rust-gloo-timers-0.3) + ("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)))) @@ -94074,30 +91297,6 @@ attribute that is not in the shared backend crate.") ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3) ("rust-web-sys" ,rust-web-sys-0.3)))))) -(define-public rust-wasm-streams-0.2 - (package - (inherit rust-wasm-streams-0.3) - (name "rust-wasm-streams") - (version "0.2.3") - (source (origin - (method url-fetch) - (uri (crate-uri "wasm-streams" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0y60yy64p07h684h49159hhws50q6zdnffyirjnjqcq87hvf7fkb")))) - (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)))))) - (define-public rust-wasm-sync-0.1 (package (name "rust-wasm-sync") @@ -94120,20 +91319,23 @@ attribute that is not in the shared backend crate.") and native running processes.") (license (list license:expat license:asl2.0)))) -(define-public rust-wasmparser-0.216 +(define-public rust-wasmparser-0.218 (package (name "rust-wasmparser") - (version "0.216.0") + (version "0.218.0") (source (origin (method url-fetch) (uri (crate-uri "wasmparser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qr8j1c15r208d9nsjw01x3w71m9i4g756djnhgk37b1lfzfdpmw")))) + (base32 "1p65jvj1i6bh180hd656z8yzkn3zx8vs3a6i5lmsgspczk3ld7mh")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; failed to resolve: use of undeclared crate or module `wat` + ;; The test suite fails with error "failed to resolve: use of undeclared + ;; crate or module `wat`" (see: + ;; https://github.com/bytecodealliance/wasm-tools/issues/1947). + `(#:tests? #f #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) ("rust-bitflags" ,rust-bitflags-2) ("rust-hashbrown" ,rust-hashbrown-0.14) @@ -94156,7 +91358,7 @@ and native running processes.") (define-public rust-wasmparser-0.118 (package - (inherit rust-wasmparser-0.216) + (inherit rust-wasmparser-0.218) (name "rust-wasmparser") (version "0.118.2") (source @@ -94430,124 +91632,23 @@ modifications.") 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 - (origin - (method url-fetch) - (uri (crate-uri "wl-clipboard-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1n8sg981h3d08hnnlrsgs81w2qz3n8a5ml0jcsgnapdpzcyk06lq")))) - (arguments - `(#:tests? #f ; Failed to create a server socket. - #:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.5) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.24) - ("rust-os-pipe" ,rust-os-pipe-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tree-magic-mini" ,rust-tree-magic-mini-3) - ("rust-wayland-client" ,rust-wayland-client-0.29) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)) - #:cargo-development-inputs - (("rust-wayland-protocols" ,rust-wayland-protocols-0.29) - ("rust-wayland-server" ,rust-wayland-server-0.29)))))) - -(define-public rust-wl-clipboard-rs-0.4 - (package - (inherit rust-wl-clipboard-rs-0.7) - (name "rust-wl-clipboard-rs") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "wl-clipboard-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (patches (search-patches "rust-wl-clipboard-rs-newer-wl.patch")) - (sha256 - (base32 "1252cm67pkrr6ik5ys2cdyfr2zzw6ds7v351i1cmyi94yiv01l13")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-derive-new" ,rust-derive-new-0.5) - ("rust-derive-more" ,rust-derive-more-0.99) - ("rust-exitfailure" ,rust-exitfailure-0.5) - ("rust-failure" ,rust-failure-0.1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-nix" ,rust-nix-0.18) - ("rust-os-pipe" ,rust-os-pipe-0.9) - ("rust-stderrlog" ,rust-stderrlog-0.4) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-tree-magic" ,rust-tree-magic-0.2) - ("rust-wayland-client" ,rust-wayland-client-0.28) - ("rust-wayland-commons" ,rust-wayland-commons-0.28) - ("rust-wayland-protocols" ,rust-wayland-protocols-0.28)))))) - (define-public rust-web-sys-0.3 (package (name "rust-web-sys") - (version "0.3.68") + (version "0.3.76") (source (origin (method url-fetch) (uri (crate-uri "web-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0il4nbsf782l5y1jb7s75vc7214a19vh7z65bfrwwykzd03mjmln")))) + (base32 "1g0j3kii20mh7hqmdajz2r4c21zynb9h9h026wymalkx88ip5p84")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-js-sys" ,rust-js-sys-0.3) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) - #:cargo-development-inputs - (("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) + #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)))) (home-page "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html") (synopsis "Bindings for all Web APIs, a procedurally generated crate from WebIDL") @@ -94618,25 +91719,44 @@ for Wasm in browsers.") (define-public rust-webbrowser-0.8 (package (name "rust-webbrowser") - (version "0.8.8") + (version "0.8.15") (source (origin (method url-fetch) (uri (crate-uri "webbrowser" version)) (file-name (string-append name "-" version ".tar.gz")) - ;; Explicitely remove dependencies for unsupported operating systems, - ;; to avoid pulling many dependencies and causing rust world rebuilds. - (patches (search-patches "rust-webbrowser-remove-unsupported-os.patch")) - (patch-flags '("-p0")) (sha256 - (base32 "0zk1qidyksspa8pgvq8bh2lyqmmrs0fr5r1qsyhbzrawpn2w972p")))) + (base32 "12zw844al9kf32p5llv6dbqzaky9fa3ng497i3sk8mj0m5sswryv")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-dirs" ,rust-dirs-4) + `(#:cargo-test-flags '("--" + "--skip=os::tests_xdg::test_xdg_open_local_file" + "--skip=tests::test_existence_default" + "--skip=tests::test_local_file_abs_path" + "--skip=tests::test_local_file_rel_path" + "--skip=tests::test_local_file_uri" + "--skip=tests::test_open_default") + #:cargo-inputs (("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-home" ,rust-home-0.5) + ("rust-jni" ,rust-jni-0.21) ("rust-log" ,rust-log-0.4) + ("rust-ndk-context" ,rust-ndk-context-0.1) + ("rust-objc" ,rust-objc-0.2) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5) ("rust-url" ,rust-url-2) - ("rust-web-sys" ,rust-web-sys-0.3)))) + ("rust-web-sys" ,rust-web-sys-0.3)) + #:cargo-development-inputs + (("rust-actix-files" ,rust-actix-files-0.6) + ("rust-actix-web" ,rust-actix-web-4) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-ndk-glue" ,rust-ndk-glue-0.5) + ("rust-rand" ,rust-rand-0.8) + ("rust-serial-test" ,rust-serial-test-0.10) + ("rust-tokio" ,rust-tokio-1) + ("rust-urlencoding" ,rust-urlencoding-2)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) (home-page "https://github.com/amodm/webbrowser-rs") (synopsis "Open URLs in web browsers available on a platform") (description @@ -94644,26 +91764,6 @@ for Wasm in browsers.") available on a platform.") (license (list license:expat license:asl2.0)))) -(define-public rust-webbrowser-0.5 - (package - (inherit rust-webbrowser-0.8) - (name "rust-webbrowser") - (version "0.5.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "webbrowser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "12hmi768mnpssfh9w61ys75v706jj3pcy4fliqq21dnnj1j1bbgc")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-web-sys" ,rust-web-sys-0.3) - ("rust-widestring" ,rust-widestring-0.4) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-wee-alloc-0.4 (package (name "rust-wee-alloc") @@ -94921,29 +92021,28 @@ json-like data values.") (description "Input types for wezterm.") (license license:expat))) -(define-public rust-which-6 +(define-public rust-which-7 (package (name "rust-which") - (version "6.0.0") + (version "7.0.1") (source (origin (method url-fetch) (uri (crate-uri "which" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "070hbvl3hjxywychmz7nj5gbsprdm38rir3kqnm48zzp1g0y19bz")))) + (base32 "0a2hvxcyx7c0gijny8l9w9462piqnchnxqxh88bdqfc3chrrwjpv")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=it_works") + `(#:cargo-test-flags '("--" "--skip=it_works") #:cargo-inputs (("rust-either" ,rust-either-1) - ("rust-home" ,rust-home-0.5) - ("rust-once-cell" ,rust-once-cell-1) + ("rust-env-home" ,rust-env-home-0.1) ("rust-regex" ,rust-regex-1) ("rust-rustix" ,rust-rustix-0.38) - ("rust-windows-sys" ,rust-windows-sys-0.52)) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-winsafe" ,rust-winsafe-0.0.19)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))) - (home-page "https://github.com/harryfei/which-rs.git") + (home-page "https://github.com/harryfei/which-rs") (synopsis "Rust equivalent of @command{which}") (description "This package provides a cross-platform Rust equivalent of the @@ -94951,6 +92050,29 @@ Unix @command{which} command. It returns the full path of an installed executable.") (license license:expat))) +(define-public rust-which-6 + (package + (inherit rust-which-7) + (name "rust-which") + (version "6.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "which" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07yg74dsq644hq5a35546c9mja6rsjdsg92rykr9hkflxf7r5vml")))) + (arguments + `(#:cargo-test-flags '("--release" "--" "--skip=it_works") ; Missing file + #: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) + ("rust-winsafe" ,rust-winsafe-0.0.19)) + #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-which-5 (package (inherit rust-which-6) @@ -94985,21 +92107,23 @@ executable.") (package (inherit rust-which-5) (name "rust-which") - (version "4.3.0") + (version "4.4.2") (source (origin (method url-fetch) (uri (crate-uri "which" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0yybp94wikf21vkcl8b6w6l5pnd95nl4fxryz669l4lyxsxiz0qw")))) + (base32 "1ixzmx3svsv5hbdvd8vdhd3qwvf6ns8jdpif1wmwsy10k90j9fl7")))) (arguments - (list #:skip-build? #t + (list #:cargo-test-flags '(list "--" "--skip=it_works") #:cargo-inputs `(("rust-either" ,rust-either-1) - ("rust-libc" ,rust-libc-0.2) + ("rust-home" ,rust-home-0.5) ("rust-once-cell" ,rust-once-cell-1) - ("rust-regex" ,rust-regex-1)))))) + ("rust-regex" ,rust-regex-1) + ("rust-rustix" ,rust-rustix-0.38)) + #:cargo-development-inputs `(("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-which-3 (package @@ -95062,18 +92186,19 @@ executable.") (define-public rust-whoami-1 (package (name "rust-whoami") - (version "1.4.1") + (version "1.5.2") (source (origin (method url-fetch) (uri (crate-uri "whoami" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0l6ca9pl92wmngsn1dh9ih716v216nmn2zvcn94k04x9p1b3gz12")))) + "0vdvm6sga4v9515l6glqqfnmzp246nq66dd09cw5ri4fyn3mnb9p")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-wasite" ,rust-wasite-0.1) ("rust-web-sys" ,rust-web-sys-0.3)))) (home-page "https://github.com/ardaku/whoami/blob/stable/CHANGELOG.md") (synopsis "Retrieve the current user and environment") @@ -95098,20 +92223,20 @@ environment.") (define-public rust-wide-0.7 (package (name "rust-wide") - (version "0.7.15") + (version "0.7.30") (source (origin (method url-fetch) (uri (crate-uri "wide" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "071cl37d9ni0a4r8y1hjyr5vq0w0w3wf742lqagnfvi49xafrgl9")))) + (base32 "06ahrc48f3zpxglrym3hsvbnyacxqvwsbsbrb597ignjf0kdprjq")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) - ("rust-safe-arch" ,rust-safe-arch-0.7)))) + ("rust-safe-arch" ,rust-safe-arch-0.7) + ("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/Lokathor/wide") (synopsis "Rust for wide blocks") (description "This crate has data types for blocks of primitives packed @@ -95161,17 +92286,20 @@ terms of allowing LLVM's auto-vectorizer to do its job.") (define-public rust-widestring-1 (package (name "rust-widestring") - (version "1.0.2") + (version "1.1.0") (source (origin (method url-fetch) (uri (crate-uri "widestring" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1a11qxmqf8jhh0vbyb6cc614d9qdqsh01r5bqnivn5pc74gi8gv5")))) + "048kxd6iykzi5la9nikpc5hvpp77hmjf1sw43sl3z2dcdrmx66bj")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs (("rust-winapi" ,rust-winapi-0.3)))) + `(#:cargo-development-inputs + (("rust-debugger-test" ,rust-debugger-test-0.1) + ("rust-debugger-test-parser" ,rust-debugger-test-parser-0.1) + ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/starkat99/widestring-rs") (synopsis "Wide string Rust FFI library") (description @@ -95201,15 +92329,14 @@ UTF-32 types are provided, including support for malformed encoding.") (package (inherit rust-widestring-0.5) (name "rust-widestring") - (version "0.4.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "widestring" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "13565qy4jhpg4x0xw8mwxzzsh0p8c93p5208lh6kpwp0q01y6qx7")))) + (base32 "0z3ba8qrxb62vpfgk7n2xs2grm9kdaj1cz4q8s0gs8fx8h0r8s61")))) (arguments `(#:cargo-development-inputs (("rust-winapi" ,rust-winapi-0.3)))))) @@ -95239,14 +92366,14 @@ command-line, uniformly on all platforms") (define-public rust-wildmatch-2 (package (name "rust-wildmatch") - (version "2.3.3") + (version "2.4.0") (source (origin (method url-fetch) (uri (crate-uri "wildmatch" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "09dhkskicsyi74abcav57mschy7g16r9ibfsgwsl45bkpk0mk7lk")))) + (base32 "1zbi3q4djhlli496mg45sfacy1g5c6f5h3rmw7mma9n6z2qimkk8")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-serde" ,rust-serde-1)) @@ -95309,59 +92436,189 @@ combinators library.") ("rust-memchr" ,rust-memchr-2) ("rust-terminal-size" ,rust-terminal-size-0.2)))))) -(define-public rust-winnow-0.4 +(define-public rust-wl-clipboard-rs-0.8 (package - (inherit rust-winnow-0.5) - (name "rust-winnow") - (version "0.4.11") - (source (origin - (method url-fetch) - (uri (crate-uri "winnow" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0jzbp2dkiiz51qzql7y9xja4946ih54p6q4x2z41xyyb5fr56sb5")))) + (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 - `(#:skip-build? #t ; Cut the dependency graph. - #:cargo-inputs (("rust-anstyle" ,rust-anstyle-0.3) - ("rust-anstyle-stream" ,rust-anstyle-stream-0.2) - ("rust-is-terminal" ,rust-is-terminal-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-terminal-size" ,rust-terminal-size-0.2)))))) + `(#: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-wmidi-3 +(define-public rust-wl-clipboard-rs-0.7 (package - (name "rust-wmidi") - (version "3.1.0") + (inherit rust-wl-clipboard-rs-0.8) + (name "rust-wl-clipboard-rs") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wl-clipboard-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1n8sg981h3d08hnnlrsgs81w2qz3n8a5ml0jcsgnapdpzcyk06lq")))) + (arguments + `(#:tests? #f ; Failed to create a server socket. + #:cargo-inputs (("rust-derive-new" ,rust-derive-new-0.5) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.24) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tree-magic-mini" ,rust-tree-magic-mini-3) + ("rust-wayland-client" ,rust-wayland-client-0.29) + ("rust-wayland-protocols" ,rust-wayland-protocols-0.29)) + #:cargo-development-inputs + (("rust-wayland-protocols" ,rust-wayland-protocols-0.29) + ("rust-wayland-server" ,rust-wayland-server-0.29)))))) + +(define-public rust-wl-nl80211-0.2 + (package + (name "rust-wl-nl80211") + (version "0.2.0") (source (origin (method url-fetch) - (uri (crate-uri "wmidi" version)) + (uri (crate-uri "wl-nl80211" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1kxnbs18nmpzm2hfwaaa5h2s77cmk5w53srzxqmrqlkdpdcrjafa")))) + (base32 "12cp8ar0wa0kvxz756dxnfvz357jqyznh9z2g5vlcf6a3lgczzsw")))) (build-system cargo-build-system) - (home-page "https://github.com/RustAudio/wmidi") - (synopsis "Midi parsing library") - (description "This package provides a Midi parsing library.") + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-futures" ,rust-futures-0.3) + ("rust-genetlink" ,rust-genetlink-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) + ("rust-netlink-packet-generic" ,rust-netlink-packet-generic-0.3) + ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) + ("rust-netlink-proto" ,rust-netlink-proto-0.11) + ("rust-netlink-sys" ,rust-netlink-sys-0.8) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/rust-netlink/wl-nl80211") + (synopsis "Linux kernel wireless(802.11) netlink Library") + (description + "This package provides Linux kernel wireless(802.11) netlink Library.") (license license:expat))) +(define-public rust-wrapcenum-derive-0.4 + (package + (name "rust-wrapcenum-derive") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "wrapcenum-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vi67wxkpw40cch5jx010wvwf0rjc5f13yxfzd60acimadcz4vx7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-darling" ,rust-darling-0.20) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/Cldfire/wrapcenum-derive") + (synopsis "Derive macro for nvml-wrapper, not for general use") + (description + "This package provides a derive macro for nvml-wrapper, not for general use.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-write16-1 + (package + (name "rust-write16") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "write16" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dnryvrrbrnl7vvf5vb1zkmwldhjkf2n5znliviam7bm4900z2fi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-smallvec" ,rust-smallvec-1)))) + (home-page "https://docs.rs/write16/") + (synopsis "UTF-16 analog of the Write trait") + (description "This package provides a UTF-16 analog of the Write trait.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-writeable-0.5 + (package + (name "rust-writeable") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "writeable" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lawr6y0bwqfyayf3z8zmqlhpnzhdx0ahs54isacbhyjwa7g778y")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `icu_benchmark_macros` + #:cargo-inputs (("rust-either" ,rust-either-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis "Efficient alternative to fmt::Display") + (description + "This package provides a more efficient alternative to fmt::Display.") + (license license:unicode))) + (define-public rust-wycheproof-0.5 (package (name "rust-wycheproof") - (version "0.5.0") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "wycheproof" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "072rq77c9jp4ida3ag55hd4fn30q8zvi1k5adzvgf6cwyqcggbnc")))) + "0fn5y8g6irzr620m9jizhg6hxssrsbr0lh6dzfrsijwlibxrl0vi")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.13) - ("rust-hex" ,rust-hex-0.4) + (("rust-data-encoding" ,rust-data-encoding-2) ("rust-num-bigint" ,rust-num-bigint-0.4) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))) @@ -95550,26 +92807,27 @@ extended attributes.") (define-public rust-xcb-1 (package (name "rust-xcb") - (version "1.2.0") + (version "1.5.0") (source (origin (method url-fetch) (uri (crate-uri "xcb" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ifnchjzf9xlwy6pfa90mwa6j43bx2bi5xl40m5gykymwbbv9bhg")))) + "1gjj1481pf08b5fhpdncaphyv0k5ka11n1f8ma6cv4hspc9g5qpi")))) (build-system cargo-build-system) (arguments `(#:cargo-build-flags '("--all-features") #:cargo-test-flags '("--all-features") + #:cargo-inputs + (("rust-as-raw-xcb-connection" ,rust-as-raw-xcb-connection-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-quick-xml" ,rust-quick-xml-0.30) + ("rust-x11" ,rust-x11-2)) #:cargo-development-inputs (("rust-gl" ,rust-gl-0.14) ("rust-png" ,rust-png-0.17) - ("rust-x11" ,rust-x11-2)) - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-quick-xml" ,rust-quick-xml-0.22) ("rust-x11" ,rust-x11-2)))) (inputs (list mesa)) ;required by rust-x11-2 @@ -95584,19 +92842,15 @@ extended attributes.") (define-public rust-xcursor-0.3 (package (name "rust-xcursor") - (version "0.3.3") + (version "0.3.8") (source (origin (method url-fetch) (uri (crate-uri "xcursor" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "022x7jm71dyqrxwsjkqfgj8bx57y7g8yyz318qb80y5ffhaj76is")))) + (base32 "0qazsl7h8nrbbzx84qrv39w8m2qc27g0mvrszgdls2v6n6k3vwqf")))) (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-nom" ,rust-nom-6)))) (home-page "https://crates.io/crates/xcursor") (synopsis "Library for loading XCursor themes") (description @@ -95656,33 +92910,6 @@ to XDG Base Directory specification.") (description "The user's home directory as per the XDG Specification.") (license license:expat))) -(define-public rust-xflags-macros-0.2 - (package - (name "rust-xflags-macros") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "xflags-macros" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jb2bq76kzzmq5rdyi3hzkq6x41l11fr1yn00f5ib5j9l4y7s0y8")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1)) - #:cargo-development-inputs - (("rust-expect-test" ,rust-expect-test-1)))) - (home-page "https://github.com/matklad/xflags") - (synopsis - "Private implementation details of xflags") - (description - "This package provides a private implementation details of xflags.") - (license (list license:expat license:asl2.0)))) - (define-public rust-xi-unicode-0.3 (package (name "rust-xi-unicode") @@ -95707,14 +92934,14 @@ including a line breaking iterator.") (define-public rust-xml-rs-0.8 (package (name "rust-xml-rs") - (version "0.8.19") + (version "0.8.24") (source (origin (method url-fetch) (uri (crate-uri "xml-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0nnpvk3fv32hgh7vs9gbg2swmzxx5yz73f4b7rak7q39q2x9rjqg")))) + (base32 "0ck4s3j1dk4bnqam9h06nfmicnzdp69pz7y2hihlj2vrk8f3k2za")))) (build-system cargo-build-system) (home-page "https://lib.rs/crates/xml-rs") (synopsis "XML library in pure Rust") @@ -95744,8 +92971,32 @@ including a line breaking iterator.") (description "An XML library in pure Rust.") (license license:expat))) +(define-public rust-xml5ever-0.18 + (package + (name "rust-xml5ever") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "xml5ever" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sdz92vrcxfwv7yzai28y0wa9gswr6msjnksak0rp4cfbm02dfwv")))) + (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)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page + "https://github.com/servo/html5ever/blob/main/xml5ever/README.md") + (synopsis "Push based streaming parser for xml") + (description "This package provides a push based streaming parser for XML.") + (license (list license:expat license:asl2.0)))) + (define-public rust-xml5ever-0.17 (package + (inherit rust-xml5ever-0.18) (name "rust-xml5ever") (version "0.17.0") (source (origin @@ -95755,7 +93006,6 @@ including a line breaking iterator.") (sha256 (base32 "0l76v0c228c92sskiflpsy19c0bgc8q7flhlfanm32zrbb8f2d20")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) @@ -95763,13 +93013,7 @@ including a line breaking iterator.") ("rust-markup5ever" ,rust-markup5ever-0.11)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3) - ("rust-rustc-test" ,rust-rustc-test-0.3)))) - (home-page - "https://github.com/servo/html5ever/blob/master/xml5ever/README.md") - (synopsis "Push based streaming parser for xml") - (description - "Push based streaming parser for xml.") - (license (list license:expat license:asl2.0)))) + ("rust-rustc-test" ,rust-rustc-test-0.3)))))) (define-public rust-xml5ever-0.16 (package @@ -95798,16 +93042,15 @@ including a line breaking iterator.") (define-public rust-xmlparser-0.13 (package (name "rust-xmlparser") - (version "0.13.3") + (version "0.13.6") (source (origin (method url-fetch) (uri (crate-uri "xmlparser" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1n73ymdxpdq30fgz698095zvh8k5r264rl6pcxnyyrr19nra4jqi")))) + (base32 "1r796g21c70p983ax0j6rmhzmalg4rhx61mvd4farxdhfyvy1zk6")))) (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) (home-page "https://github.com/RazrFalcon/xmlparser") (synopsis "Pull-based, zero-allocation XML parser") (description @@ -95844,23 +93087,22 @@ parser.") file into an in-memory tree structure.") (license license:expat))) -(define-public rust-xmltree-0.8 +(define-public rust-xmlwriter-0.1 (package - (inherit rust-xmltree-0.10) - (name "rust-xmltree") - (version "0.8.0") + (name "rust-xmlwriter") + (version "0.1.0") (source (origin (method url-fetch) - (uri (crate-uri "xmltree" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (uri (crate-uri "xmlwriter" version)) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0w0y0jz7lhxg05ca6ngfj0lj8sbrjh4vaqv13q7qaqkhs7lsx3pz")))) - (arguments - `(#:cargo-inputs - (("rust-indexmap" ,rust-indexmap-1) - ("rust-xml-rs" ,rust-xml-rs-0.7)))))) + (base32 "1fg0ldmkgiis6hnxpi1c9gy7v23y0lpi824bp8yp12fi3r82lypc")))) + (build-system cargo-build-system) + (home-page "https://github.com/RazrFalcon/xmlwriter") + (synopsis "Simple, streaming XML writer") + (description "This package provides a simple, streaming XML writer.") + (license license:expat))) (define-public rust-xoroshiro128-0.3 (package @@ -95882,28 +93124,6 @@ file into an in-memory tree structure.") "This package provides fast pseudo-random number generators.") (license license:expat))) -(define-public rust-xxhash-rust-0.8 - (package - (name "rust-xxhash-rust") - (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 "00zfsfigb6zh0x8aaickkkyd3vyjgnrq36ym04lil7my4lgahzcj")))) - (build-system cargo-build-system) - (arguments - `(#: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") @@ -95924,62 +93144,29 @@ algorithm in Rust.") (description "This package provides bindings to xxhash.") (license license:boost1.0))) -(define-public rust-xz-0.1 - (package - (name "rust-xz") - (version "0.1.0") - (source (origin - (method url-fetch) - (uri (crate-uri "xz" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0d6sq57g1969hjl5k7gzzdbyr60za9hk8qs9iqz26biazy87d21w")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-xz2" ,rust-xz2-0.1)))) - (native-inputs - (list pkg-config xz)) - (home-page "https://github.com/alexcrichton/xz2-rs") - (synopsis "Alias of `xz2` crate") - (description - "Rust bindings to @code{liblzma} providing Read/Write streams as well as -low-level in-memory encoding/decoding. Alias of @code{xz2} crate.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-xz2-0.1 +(define-public rust-xxhash-rust-0.8 (package - (name "rust-xz2") - (version "0.1.7") + (name "rust-xxhash-rust") + (version "0.8.12") (source - (origin - (method url-fetch) - (uri (crate-uri "xz2" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1qk7nzpblizvayyq4xzi4b0zacmmbqr6vb9fc0v1avyp17f4931q")))) + (origin + (method url-fetch) + (uri (crate-uri "xxhash-rust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1139skyp136z8710r916kb1djp7f7flfly31zccqi5800isvyp3a")))) (build-system cargo-build-system) (arguments - `(#: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-1) - ("rust-rand" ,rust-rand-0.8) - ("rust-tokio-core" ,rust-tokio-core-0.1)))) - (native-inputs - (list pkg-config xz)) - (home-page "https://github.com/alexcrichton/xz2-rs") - (synopsis "Rust bindings to liblzma") - (description "This package provides Rust bindings to liblzma providing -Read/Write streams as well as low-level in-memory encoding and decoding.") - (license (list license:expat license:asl2.0)))) + `(#:cargo-test-flags '("--features" "xxh3,const_xxh3" + ;; Not all files included. + "--" "--skip=test_vectors_xxh3") + #: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-yaml-rust-0.4 (package @@ -96018,20 +93205,45 @@ Read/Write streams as well as low-level in-memory encoding and decoding.") "14m9dzwb8fb05f4jjb4nqp49rxd9c5vcmwpv3a04d2y5iphncqz6")))) (arguments `(#:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) + (("rust-clippy" ,rust-clippy-0.0.302) ("rust-linked-hash-map" ,rust-linked-hash-map-0.3)))))) +(define-public rust-yaml-rust2-0.9 + (package + (name "rust-yaml-rust2") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "yaml-rust2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13ay8jdlk1192p6hhb53dx601b139ycizipqpnikhcw2r45iq6ia")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arraydeque" ,rust-arraydeque-0.5) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-hashlink" ,rust-hashlink-0.9)) + #:cargo-development-inputs (("rust-libtest-mimic" ,rust-libtest-mimic-0.4) + ("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/Ethiraric/yaml-rust2") + (synopsis "Fully YAML 1.2 compliant YAML parser") + (description + "This package provides a fully YAML 1.2 compliant YAML parser written in +pure rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-yansi-1 (package (name "rust-yansi") - (version "1.0.0-rc.1") + (version "1.0.1") (source (origin (method url-fetch) (uri (crate-uri "yansi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xr3n41j5v00scfkac2d6vhkxiq9nz3l5j6vw8f3g3bqixdjjrqk")))) + (base32 "0jdh55jyv0dpd38ij4qh60zglbw9aa8wafqai6m0wa7xaxk3mrfg")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-is-terminal" ,rust-is-terminal-0.4)))) @@ -96189,22 +93401,57 @@ for locating fonts.") ("rust-once-cell" ,rust-once-cell-1) ("rust-pkg-config" ,rust-pkg-config-0.3)))))) -(define-public rust-yeslogic-fontconfig-sys-2 +(define-public rust-yoke-0.7 (package - (inherit rust-yeslogic-fontconfig-sys-3) - (name "rust-yeslogic-fontconfig-sys") - (version "2.11.2") - (source (origin - (method url-fetch) - (uri (crate-uri "yeslogic-fontconfig-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "13bzwn12dmxnc8iqd6za6q3j2ililnqjcplnlrfblbca4ia73r1q")))) + (name "rust-yoke") + (version "0.7.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "yoke" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h3znzrdmll0a7sglzf9ji0p5iqml11wrj1dypaf6ad6kbpnl3hj")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-const-cstr" ,rust-const-cstr-0.3) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + `(#:cargo-test-flags '("--" "--skip=convert_cart_into_option_pointer") + #:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) + ("rust-yoke-derive" ,rust-yoke-derive-0.7) + ("rust-zerofrom" ,rust-zerofrom-0.1)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-postcard" ,rust-postcard-1) + ("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis + "Abstraction pairing borrowed data with the backing data it borrows from") + (description + "This package provides an abstraction allowing borrowed data to be carried +along with the backing data it borrows from.") + (license license:unicode))) + +(define-public rust-yoke-derive-0.7 + (package + (name "rust-yoke-derive") + (version "0.7.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "yoke-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m4i4a7gy826bfvnqa9wy6sp90qf0as3wps3wb0smjaamn68g013")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `zerovec` + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-synstructure" ,rust-synstructure-0.13)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis "Custom derive for the yoke crate") + (description "This package provides Custom derive for the yoke crate.") + (license license:unicode))) (define-public rust-z-base-32-0.1 (package @@ -96228,6 +93475,34 @@ for locating fonts.") (description "This package provides human-oriented base-32 encoding.") (license license:expat))) +(define-public rust-zbar-rust-0.0.23 + (package + (name "rust-zbar-rust") + (version "0.0.23") + (source + (origin + (method url-fetch) + (uri (crate-uri "zbar-rust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0m6c9393bvw2sngp36m0db1gzqxyqa9ms5biibz659md68di7k59")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-enum-ordinalize" ,rust-enum-ordinalize-4) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:cargo-development-inputs + (("rust-image" ,rust-image-0.24) + ("rust-qrcode-generator" ,rust-qrcode-generator-4)))) + (native-inputs (list pkg-config)) + (inputs (list zbar)) + (home-page "https://magiclen.org/zbar-rust") + (synopsis "High-level and low-level ZBar bindings") + (description + "This package provides High-level and low-level ZBar bindings for the Rust +language.") + (license license:lgpl2.1))) + (define-public rust-zbase32-0.1 (package (name "rust-zbase32") @@ -96591,14 +93866,14 @@ for locating fonts.") (define-public rust-zerocopy-0.8 (package (name "rust-zerocopy") - (version "0.8.9") + (version "0.8.13") (source (origin (method url-fetch) (uri (crate-uri "zerocopy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "170h9r9cz0cfdfka04v4dl6zsbzl45cqr6k7x2g4lbrmiw7nk7pl")) + (base32 "07g29nsr3hvf2vyh9wk39l3yg144hprjx7aykvkd5gzka6s4m4b7")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -96606,14 +93881,7 @@ for locating fonts.") (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - '("--release" "--" - "--skip=error::tests::alignment_display" - "--skip=error::tests::size_display" - "--skip=error::tests::validity_display" - "--skip=layout::tests::test_validate_cast_and_convert_metadata" - "--skip=util::tests::test_round_down_to_next_multiple_of_alignment_zerocopy_panic_in_const_and_vec_try_reserve") - #:cargo-inputs (("rust-zerocopy-derive" ,rust-zerocopy-derive-0.8)) + `(#:cargo-inputs (("rust-zerocopy-derive" ,rust-zerocopy-derive-0.8)) #:cargo-development-inputs (("rust-elain" ,rust-elain-0.3) ("rust-itertools" ,rust-itertools-0.11) @@ -96662,58 +93930,68 @@ for locating fonts.") (package (inherit rust-zerocopy-0.7) (name "rust-zerocopy") - (version "0.6.1") + (version "0.6.6") (source (origin (method url-fetch) (uri (crate-uri "zerocopy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0dpj4nd9v56wy93ahjkp95znjzj91waqvidqch8gxwdwq661hbrk")))) + "1rpq5g7sp763w2f7bjrc6wi08wxcfjva2rjcl7lrwq9dr2d98kl5")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (arguments - `(#:skip-build? #t + `(#:tests? #f ; Tests depend on exact versions of rust. #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3)))))) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.6)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.6) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-trybuild" ,rust-trybuild-1)))))) (define-public rust-zerocopy-0.3 (package (inherit rust-zerocopy-0.6) (name "rust-zerocopy") - (version "0.3.1") + (version "0.3.2") (source (origin (method url-fetch) (uri (crate-uri "zerocopy" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00nbb6yal8f74bkpn7msjcnhisimw8s5777a63206rfnn3br45zh")))) + (base32 "1wg3crnppc5np7x8fw43va7qzwjnids82nvgqjbv6pfk5fmin2fs")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2)))) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.6)))) (license license:bsd-3))) (define-public rust-zerocopy-derive-0.8 (package (name "rust-zerocopy-derive") - (version "0.8.9") + (version "0.8.13") (source (origin (method url-fetch) (uri (crate-uri "zerocopy-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cd712qs5ccn6diy53ymk8vkprgcmnx1gvg3x3xsdxqxi362ywzs")) + (base32 "0pgjqk2w5wrw752wfsxgf7rwqjlk1r4vq5iky2fjijh38cxdg23r")) (modules '((guix build utils))) - (snippet + (snippet ;relax requirements '(begin (substitute* "Cargo.toml" (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; unresolved import `zerocopy` + `(#:tests? #f ;error[E0432]: unresolved import `zerocopy` #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)) @@ -96757,6 +94035,33 @@ crate.") (("rust-static-assertions" ,rust-static-assertions-1) ("rust-trybuild" ,rust-trybuild-1)))))) +(define-public rust-zerocopy-derive-0.6 + (package + (inherit rust-zerocopy-derive-0.8) + (name "rust-zerocopy-derive") + (version "0.6.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerocopy-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14dx3c7bw8p381j5amnmrilc9nhvsirxvvz275f657bb7zg3jl8j")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:tests? #f ; use of undeclared crate or module `zerocopy` + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-rustversion" ,rust-rustversion-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-trybuild" ,rust-trybuild-1)))))) + (define-public rust-zerocopy-derive-0.3 (package (inherit rust-zerocopy-derive-0.7) @@ -96805,6 +94110,49 @@ crate.") #:cargo-development-inputs (("rust-compiletest-rs" ,rust-compiletest-rs-0.3)))))) +(define-public rust-zerofrom-0.1 + (package + (name "rust-zerofrom") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerofrom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bnd8vjcllzrvr3wvn8x14k2hkrpyy1fm3crkn2y3plmr44fxwyg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-zerofrom-derive" ,rust-zerofrom-derive-0.1)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis "ZeroFrom trait for constructing") + (description + "This package provides @code{ZeroFrom} trait for constructing.") + (license license:unicode))) + +(define-public rust-zerofrom-derive-0.1 + (package + (name "rust-zerofrom-derive") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerofrom-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "022q55phhb44qbrcfbc48k0b741fl8gnazw3hpmmndbx5ycfspjr")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; use of undeclared crate or module `zerovec` + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2) + ("rust-synstructure" ,rust-synstructure-0.13)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis "Custom derive for the zerofrom crate") + (description "This package provides Custom derive for the zerofrom crate.") + (license license:unicode))) + (define-public rust-zeroize-1 (package (name "rust-zeroize") @@ -96834,236 +94182,85 @@ implementation that works everywhere, even WASM!") (define-public rust-zeroize-derive-1 (package (name "rust-zeroize-derive") - (version "1.3.3") + (version "1.4.2") (source (origin (method url-fetch) (uri (crate-uri "zeroize_derive" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0v6kkgkw8sxddx2608in3xx8ijbbyj5xb5b6741j1sjh7v5hggs4")))) + (base32 "0sczjlqjdmrp3wn62g7mw6p438c9j4jgp2f9zamd56991mdycdnf")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-synstructure" ,rust-synstructure-0.12)))) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/iqlusioninc/crates/") (synopsis "Custom derive support for zeroize") (description "This crate provides custom derive support for Zeroize.") (license (list license:asl2.0 license:expat)))) -(define-public rust-zip-2 - (package - (name "rust-zip") - (version "2.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "zip" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "151lrzswjkhwzlr6dkmgbi4s51sa8dr496n6mwiswms0xa444pnw")) - (modules '((guix build utils))) - (snippet - ;; loosen version requirement for rust-clap-4 - '(begin (substitute* "Cargo.toml" - (("version = \"=") "version = \"^")))))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ;;tests missing - #:cargo-inputs - (("rust-aes" ,rust-aes-0.8) - ("rust-arbitrary" ,rust-arbitrary-1) - ("rust-bzip2" ,rust-bzip2-0.4) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-constant-time-eq" ,rust-constant-time-eq-0.3) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-deflate64" ,rust-deflate64-0.1) - ("rust-displaydoc" ,rust-displaydoc-0.2) - ("rust-flate2" ,rust-flate2-1) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-indexmap" ,rust-indexmap-2) - ("rust-lzma-rs" ,rust-lzma-rs-0.3) - ("rust-memchr" ,rust-memchr-2) - ("rust-pbkdf2" ,rust-pbkdf2-0.12) - ("rust-rand" ,rust-rand-0.8) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.3) - ("rust-zeroize" ,rust-zeroize-1) - ("rust-zopfli" ,rust-zopfli-0.8) - ("rust-zstd" ,rust-zstd-0.13)) - #:cargo-development-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-bencher" ,rust-bencher-0.1) - ("rust-clap" ,rust-clap-4) - ("rust-getrandom" ,rust-getrandom-0.2) - ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-time" ,rust-time-0.3) - ("rust-walkdir" ,rust-walkdir-2)))) - (native-inputs (list pkg-config)) - (inputs (list (list zstd "lib"))) - (home-page "https://github.com/zip-rs/zip2") - (synopsis "Library to support reading and writing Zip files") - (description - "Rust library for reading and writing Zip files.") - (license license:expat))) - -(define-public rust-zip-0.6 - (package - (inherit rust-zip-2) - (name "rust-zip") - (version "0.6.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "zip" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qcjbqfvbwxi5g9wbymf2r05cvziic2qqj4xy64q3hp48vi980vn")))) - (arguments - `(#:cargo-inputs - (("rust-aes" ,rust-aes-0.8) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-bzip2" ,rust-bzip2-0.4) - ("rust-constant-time-eq" ,rust-constant-time-eq-0.1) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) - ("rust-flate2" ,rust-flate2-1) - ("rust-hmac" ,rust-hmac-0.12) - ("rust-pbkdf2" ,rust-pbkdf2-0.11) - ("rust-sha1" ,rust-sha1-0.10) - ("rust-time" ,rust-time-0.3) - ("rust-zstd" ,rust-zstd-0.11)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1) - ("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"))))) - -(define-public rust-zip-0.5 +(define-public rust-zerovec-0.10 (package - (inherit rust-zip-0.6) - (name "rust-zip") - (version "0.5.13") - (source - (origin - (method url-fetch) - (uri (crate-uri "zip" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0588z88sj37nj1clis1rf4fh794av0hwaiaihfrin9b19n24iawk")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-byteorder" ,rust-byteorder-1) - ("rust-bzip2" ,rust-bzip2-0.4) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-flate2" ,rust-flate2-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.1)))) - (native-inputs '()) - (inputs '()))) - -(define-public rust-zlib-rs-0.4 - (package - (name "rust-zlib-rs") - (version "0.4.0") + (name "rust-zerovec") + (version "0.10.4") (source (origin (method url-fetch) - (uri (crate-uri "zlib-rs" version)) + (uri (crate-uri "zerovec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rbyn2bd0mi7b60bx7qgxslz90dxfxaxrpk1q5625jb6cpfak91c")))) + (base32 "0yghix7n3fjfdppwghknzvx9v8cf826h2qal5nqvy8yzg4yqjaxa")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-quickcheck" ,rust-quickcheck-1)) - #:cargo-development-inputs (("rust-crc32fast" ,rust-crc32fast-1) - ("rust-quickcheck" ,rust-quickcheck-1)))) - (home-page "https://github.com/trifectatechfoundation/zlib-rs") - (synopsis "Memory-safe zlib implementation written in Rust") + `(#:tests? #f ; use of undeclared crate or module `databake` + #:cargo-inputs (("rust-databake" ,rust-databake-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-twox-hash" ,rust-twox-hash-1) + ("rust-yoke" ,rust-yoke-0.7) + ("rust-zerofrom" ,rust-zerofrom-0.1) + ("rust-zerovec-derive" ,rust-zerovec-derive-0.10)) + #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-iai" ,rust-iai-0.1) + ("rust-postcard" ,rust-postcard-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-distr" ,rust-rand-distr-0.4) + ("rust-rand-pcg" ,rust-rand-pcg-0.3) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/unicode-org/icu4x") + (synopsis "Zero-copy vector backed by a byte array") (description - "This package provides a memory-safe zlib implementation written in Rust.") - (license license:zlib))) + "This package provides zero-copy vector backed by a byte array.") + (license license:unicode))) -(define-public rust-zlib-rs-0.3 +(define-public rust-zerovec-derive-0.10 (package - (inherit rust-zlib-rs-0.4) - (name "rust-zlib-rs") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "zlib-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06kkjpqddvb5n8c24mmd3lmmcsy2yfwfsjyni8dggysayfd7r50b")))) - (arguments - `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-quickcheck" ,rust-quickcheck-1)))))) - -(define-public rust-zlib-rs-0.1 - (package - (inherit rust-zlib-rs-0.3) - (name "rust-zlib-rs") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "zlib-rs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "18a49npwcrpbvsxs3dzk51kizd81qffnaxjqfn4fqq37vki0a8f5")))) - (arguments - `(#:tests? #f ; zlib-ng isn't packaged. - #:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) - ("rust-libz-sys" ,rust-libz-sys-1) - ("rust-quickcheck" ,rust-quickcheck-1)) - #:cargo-development-inputs (("rust-crc32fast" ,rust-crc32fast-1) - ("rust-libloading" ,rust-libloading-0.8) - ("rust-libz-ng-sys" ,rust-libz-ng-sys-1)))))) - -(define-public rust-zopfli-0.8 - (package - (name "rust-zopfli") - (version "0.8.1") + (name "rust-zerovec-derive") + (version "0.10.3") (source (origin (method url-fetch) - (uri (crate-uri "zopfli" version)) + (uri (crate-uri "zerovec-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ip9azz9ldk19m0m1hdppz3n5zcz0cywbg1vx59g4p5c3cwry0g5")))) + (base32 "1ik322dys6wnap5d3gcsn09azmssq466xryn5czfm13mn7gsdbvf")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-bumpalo" ,rust-bumpalo-3) - ("rust-crc32fast" ,rust-crc32fast-1) - ("rust-lockfree-object-pool" ,rust-lockfree-object-pool-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-simd-adler32" ,rust-simd-adler32-0.3)) - #:cargo-development-inputs - (("rust-miniz-oxide" ,rust-miniz-oxide-0.7) - ("rust-proptest" ,rust-proptest-1) - ("rust-proptest-derive", rust-proptest-derive-0.4)))) - (home-page "https://github.com/zopfli-rs/zopfli") - (synopsis - "Rust implementation of the Zopfli compression algorithm") - (description - "This package provides a Rust implementation of the Zopfli compression algorithm.") - (license license:asl2.0))) + `(#:tests? #f ; use of undeclared crate or module `zerovec` + #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #: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/unicode-org/icu4x") + (synopsis "Custom derive for the zerovec crate") + (description "This package provides custom derive for the zerovec crate.") + (license license:unicode))) (define-public rust-zoneinfo-compiled-0.5 (package @@ -97089,234 +94286,6 @@ implementation that works everywhere, even WASM!") "This package provides a library for parsing compiled zoneinfo files.") (license license:expat))) -(define-public rust-zstd-0.13 - (package - (name "rust-zstd") - (version "0.13.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1ygkr6wspm9clbp7ykyl0rv69cfsf9q4lic9wcqiwn34lrwbgwpw")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs (("rust-zstd-safe" ,rust-zstd-safe-7)) - #:cargo-development-inputs (("rust-clap" ,rust-clap-4) - ("rust-humansize" ,rust-humansize-2) - ("rust-partial-io" ,rust-partial-io-0.5) - ("rust-walkdir" ,rust-walkdir-2)))) - (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 - "This package provides a binding to the Zstd compression library.") - (license license:expat))) - -(define-public rust-zstd-0.12 - (package - (inherit rust-zstd-0.13) - (name "rust-zstd") - (version "0.12.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0g654jj8z25rvzli2b1231pcp9y7n6vk44jaqwgifh9n2xg5j9qs")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs (("rust-zstd-safe" ,rust-zstd-safe-6)) - #:cargo-development-inputs (("rust-clap" ,rust-clap-4) - ("rust-humansize" ,rust-humansize-2) - ("rust-partial-io" ,rust-partial-io-0.5) - ("rust-walkdir" ,rust-walkdir-2)))))) - -(define-public rust-zstd-0.11 - (package - (inherit rust-zstd-0.13) - (name "rust-zstd") - (version "0.11.2+zstd.1.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1r7xlmgnifhxbfyid8vkcnd5ip16gx9hf89d1l0lzrpc4q1rdk10")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-zstd-safe" ,rust-zstd-safe-5)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-3) - ("rust-humansize" ,rust-humansize-1) - ("rust-partial-io" ,rust-partial-io-0.5) - ("rust-walkdir" ,rust-walkdir-2)))))) - -(define-public rust-zstd-0.9 - (package - (inherit rust-zstd-0.11) - (name "rust-zstd") - (version "0.9.2+zstd.1.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0m5aik2jy2w1g68i4isa0c3gq9a7avq9abgjfjbc6f60yqdym413")) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "Cargo.toml" - (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) - (string-append "\"^" version))))))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-zstd-safe" ,rust-zstd-safe-4)) - #:cargo-development-inputs - (("rust-clap" ,rust-clap-3) - ("rust-humansize" ,rust-humansize-1) - ("rust-partial-io" ,rust-partial-io-0.5) - ("rust-walkdir" ,rust-walkdir-2)))) - (native-inputs '()) - (inputs '()))) - -(define-public rust-zstd-safe-7 - (package - (name "rust-zstd-safe") - (version "7.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd-safe" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0nch85m5cr493y26yvndm6a8j6sd9mxpr2awrim3dslcnr6sp8sl")))) - (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 - "This package provides safe low-level bindings to the zstd compression -library.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-zstd-safe-6 - (package - (inherit rust-zstd-safe-7) - (name "rust-zstd-safe") - (version "6.0.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd-safe" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10cm0v8sw3jz3pi0wlwx9mbb2l25lm28w638a5n5xscfnk8gz67f")))) - (arguments - `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2) - ("rust-zstd-sys" ,rust-zstd-sys-2)))))) - -(define-public rust-zstd-safe-5 - (package - (inherit rust-zstd-safe-7) - (name "rust-zstd-safe") - (version "5.0.2+zstd.1.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd-safe" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1nzl4q3xl68pq58g9xlym299bvjdii8cl7ix595ym7jgw22maahx")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-zstd-sys" ,rust-zstd-sys-2)))))) - -(define-public rust-zstd-safe-4 - (package - (inherit rust-zstd-safe-5) - (name "rust-zstd-safe") - (version "4.1.6+zstd.1.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd-safe" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1fz97qn7galkwl31n28cil44nxfj81ryd33v2vb041r7pd8irdll")))) - (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-zstd-sys" ,rust-zstd-sys-1)))) - (native-inputs '()) - (inputs '()))) - -(define-public rust-zstd-sys-2 - (package - (name "rust-zstd-sys") - (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")) - (sha256 - (base32 "1ak51pq1ni6q3qgyr58iq1pcz0vyh80f8vn8m27zrfpm9a8s8ly2")) - (snippet #~(begin - (use-modules (guix build utils)) - (delete-file-recursively "zstd"))))) - (build-system cargo-build-system) - (arguments - `(#: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 -compression library.") - (license (list license:expat license:asl2.0)))) - -;; TODO: Unbundle zstd. -(define-public rust-zstd-sys-1 - (package - (inherit rust-zstd-sys-2) - (name "rust-zstd-sys") - (version "1.6.3+zstd.1.5.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "zstd-sys" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1a1f839k3mxh3qhjga1vd2sfxrsi41cqrnpyc5byfd6nr2jsyjgw")))) - (arguments - `(#:install-source? #f ; invalid inclusion of reserved file name - #:cargo-inputs - (("rust-bindgen" ,rust-bindgen-0.59) - ("rust-cc" ,rust-cc-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-pkg-config" ,rust-pkg-config-0.3)))))) - (define-public rust-zune-core-0.4 (package (name "rust-zune-core") @@ -97343,23 +94312,16 @@ family of crates.") (define-public rust-zune-inflate-0.2 (package (name "rust-zune-inflate") - (version "0.2.50") + (version "0.2.54") (source (origin (method url-fetch) (uri (crate-uri "zune-inflate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h3d46jfyraxzl7kcgr2zpqjmisw72lc1p44b4q9r0rhcbglb4jq")))) + (base32 "00kg24jh3zqa3i6rg6yksnb71bch9yi1casqydl00s7nw8pk7avk")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-simd-adler32" ,rust-simd-adler32-0.3)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4) - ("rust-flate2" ,rust-flate2-1) - ("rust-libdeflater" ,rust-libdeflater-0.11)))) - (native-inputs - (list cmake-minimal)) + `(#:cargo-inputs (("rust-simd-adler32" ,rust-simd-adler32-0.3)))) (home-page "https://github.com/etemesi254/zune-image/tree/main/zune-inflate") (synopsis "Deflate decompressor in Pure Rust") (description "This package provides a heavily optimized deflate decompressor @@ -97369,14 +94331,14 @@ in Pure Rust.") (define-public rust-zune-jpeg-0.4 (package (name "rust-zune-jpeg") - (version "0.4.13") + (version "0.4.14") (source (origin (method url-fetch) (uri (crate-uri "zune-jpeg" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0s07igp839yy66hs5f8g6gzvvanywgv3zxr2hq18yk8bc0c9828n")))) + (base32 "0a70sbnxxkgfm777i1xjkhyn8mx07swg5cabbi083pyysywbm9cr")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-zune-core" ,rust-zune-core-0.4)))) diff --git a/gnu/packages/crates-shell.scm b/gnu/packages/crates-shell.scm new file mode 100644 index 00000000000..6132f3a660b --- /dev/null +++ b/gnu/packages/crates-shell.scm @@ -0,0 +1,1152 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020, 2022, 2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org> +;;; Copyright © 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages crates-shell) + #:use-module (gnu packages c) + #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) + #: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 pkg-config) + #:use-module (gnu packages tls) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + + +(define-public rust-nu-ansi-term-0.50 + (package + (name "rust-nu-ansi-term") + (version "0.50.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16a3isvbxx8pa3lk71h3cq2fsx2d17zzq42j4mhpxy81gl2qx8nl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/nushell/nu-ansi-term") + (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 + (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s2svfnircd9jp06wk55qcbb9v5cadkfcjfg99vm21qdjg0x6wy0")))) + (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)))))) + +(define-public rust-nu-ansi-term-0.46 + (package + (inherit rust-nu-ansi-term-0.49) + (name "rust-nu-ansi-term") + (version "0.46.0") + (source (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "115sywxh53p190lyw97alm14nc004qj5jm5lvdj608z84rbida3p")))) + (arguments + `(#:cargo-inputs + (("rust-overload" ,rust-overload-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-serde-json" ,rust-serde-json-1)))))) + +(define-public rust-nu-cli-0.101 + (package + (name "rust-nu-cli") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cli" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nfyfbgjdgkn1vs1qi4xfyc8b7czsprv5bdpn2fvr44ynqw8njiw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=repl::are_session_ids_in_sync" + "--skip=repl::test_auto_cd::auto_cd_tilde" + "--skip=commands" + "--skip=completions") + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-crossterm" ,rust-crossterm-0.28) + ("rust-fancy-regex" ,rust-fancy-regex-0.14) + ("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.101) + ("rust-nu-color-config" ,rust-nu-color-config-0.101) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-plugin-engine" ,rust-nu-plugin-engine-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-reedline" ,rust-reedline-0.38) + ("rust-sysinfo" ,rust-sysinfo-0.32) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-uuid" ,rust-uuid-1) + ("rust-which" ,rust-which-7)) + #:cargo-development-inputs + (("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.101) + ("rust-nu-command" ,rust-nu-command-0.101) + ("rust-nu-test-support" ,rust-nu-test-support-0.101) + ("rust-rstest" ,rust-rstest-0.23) + ("rust-tempfile" ,rust-tempfile-3)))) + (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-cmd-base-0.101 + (package + (name "rust-nu-cmd-base") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-base" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06x1rz652jwkvf2nf2r9q7pawm7nv2sdz17b6ihhlai3l3mjr896")))) + (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.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101)))) + (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-extra-0.101 + (package + (name "rust-nu-cmd-extra") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-extra" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1salamvy8cckv600w8jyr7i47g7hg51dybk5gbjw73bzlwfn1v8m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=commands::bits" + "--skip=commands::bytes") + #:cargo-inputs (("rust-fancy-regex" ,rust-fancy-regex-0.14) + ("rust-heck" ,rust-heck-0.5) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.101) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-json" ,rust-nu-json-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("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.101) + ("rust-nu-command" ,rust-nu-command-0.101) + ("rust-nu-test-support" ,rust-nu-test-support-0.101)))) + (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.101 + (package + (name "rust-nu-cmd-lang") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-lang" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0f1lpk4c93ijw9hfkb2p9izxs1c0zcndbq6iy7ir30p8n8m645k1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-itertools" ,rust-itertools-0.13) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-shadow-rs" ,rust-shadow-rs-0.37)))) + (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-cmd-plugin-0.101 + (package + (name "rust-nu-cmd-plugin") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-cmd-plugin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fy7nl176ms5l7wshad2wky7f0afzz9ay2p15l0dr88g39mm03mh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-itertools" ,rust-itertools-0.13) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-plugin-engine" ,rust-nu-plugin-engine-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-plugin") + (synopsis "Commands for managing Nushell plugins") + (description + "This package provides commands for managing Nushell plugins.") + (license license:expat))) + +(define-public rust-nu-color-config-0.101 + (package + (name "rust-nu-color-config") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-color-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ral2glvvqfrvmhgh8v13bdv3lix017hgc9ka1gsxaf2fnacrg0b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + "--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.101) + ("rust-nu-json" ,rust-nu-json-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-nu-test-support" ,rust-nu-test-support-0.101)))) + (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.101 + (package + (name "rust-nu-command") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-command" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10j6krmkjcj8avylf8yq81ja8dhg9d496nnb345l1nj70m330g63")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-alphanumeric-sort" ,rust-alphanumeric-sort-1) + ("rust-base64" ,rust-base64-0.22) + ("rust-bracoxide" ,rust-bracoxide-0.1) + ("rust-brotli" ,rust-brotli-6) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-calamine" ,rust-calamine-0.26) + ("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.10) + ("rust-crossterm" ,rust-crossterm-0.28) + ("rust-csv" ,rust-csv-1) + ("rust-data-encoding" ,rust-data-encoding-2) + ("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.14) + ("rust-filesize" ,rust-filesize-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-human-date-parser" ,rust-human-date-parser-0.2) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-itertools" ,rust-itertools-0.13) + ("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-multipart-rs" ,rust-multipart-rs-0.1) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-nix" ,rust-nix-0.29) + ("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.101) + ("rust-nu-color-config" ,rust-nu-color-config-0.101) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-glob" ,rust-nu-glob-0.101) + ("rust-nu-json" ,rust-nu-json-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-system" ,rust-nu-system-0.101) + ("rust-nu-table" ,rust-nu-table-0.101) + ("rust-nu-term-grid" ,rust-nu-term-grid-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-nuon" ,rust-nuon-0.101) + ("rust-oem-cp" ,rust-oem-cp-2) + ("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.17) + ("rust-quick-xml" ,rust-quick-xml-0.37) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-rmp" ,rust-rmp-0.8) + ("rust-roxmltree" ,rust-roxmltree-0.20) + ("rust-rusqlite" ,rust-rusqlite-0.31) + ("rust-scopeguard" ,rust-scopeguard-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.32) + ("rust-tabled" ,rust-tabled-0.16) + ("rust-titlecase" ,rust-titlecase-3) + ("rust-toml" ,rust-toml-0.8) + ("rust-trash" ,rust-trash-5) + ("rust-umask" ,rust-umask-2) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.2) + ("rust-ureq" ,rust-ureq-2) + ("rust-url" ,rust-url-2) + ("rust-uu-cp" ,rust-uu-cp-0.0.28) + ("rust-uu-mkdir" ,rust-uu-mkdir-0.0.28) + ("rust-uu-mktemp" ,rust-uu-mktemp-0.0.28) + ("rust-uu-mv" ,rust-uu-mv-0.0.28) + ("rust-uu-touch" ,rust-uu-touch-0.0.28) + ("rust-uu-uname" ,rust-uu-uname-0.0.28) + ("rust-uu-whoami" ,rust-uu-whoami-0.0.28) + ("rust-uucore" ,rust-uucore-0.0.28) + ("rust-uuid" ,rust-uuid-1) + ("rust-v-htmlescape" ,rust-v-htmlescape-0.15) + ("rust-wax" ,rust-wax-0.6) + ("rust-which" ,rust-which-7) + ("rust-windows" ,rust-windows-0.56) + ("rust-winreg" ,rust-winreg-0.52)) + #:cargo-development-inputs + (("rust-dirs" ,rust-dirs-5) + ("rust-mockito" ,rust-mockito-1) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.101) + ("rust-nu-test-support" ,rust-nu-test-support-0.101) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-rand-chacha" ,rust-rand-chacha-0.3) + ("rust-rstest" ,rust-rstest-0.23) + ("rust-tempfile" ,rust-tempfile-3)))) + (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-derive-value-0.101 + (package + (name "rust-nu-derive-value") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-derive-value" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07rd7jl4f8y77nfzinlc7fwmlim8lzacmi7pqrz5d2m8dgnwixvi")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.5) + ("rust-proc-macro-error" ,rust-proc-macro-error-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-derive-value") + (synopsis "Macros implementation of #[derive(FromValue, IntoValue)]") + (description + "This package provides macros with an implementation of +#[derive(@code{FromValue}, @code{IntoValue})].") + (license license:expat))) + +(define-public rust-nu-engine-0.101 + (package + (name "rust-nu-engine") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-engine" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "054vlid5xwv56283nw2fr5q874ga5r9z98x0kq50d0fj7rc1jrjw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-nu-glob" ,rust-nu-glob-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-terminal-size" ,rust-terminal-size-0.4)))) + (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-explore-0.101 + (package + (name "rust-nu-explore") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-explore" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ah81jh3zrcfffjbc0wyncscpvh650nl9sq2aj2jnmngwwir47nc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-ansi-str" ,rust-ansi-str-0.8) + ("rust-anyhow" ,rust-anyhow-1) + ("rust-crossterm" ,rust-crossterm-0.28) + ("rust-log" ,rust-log-0.4) + ("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.101) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-json" ,rust-nu-json-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-pretty-hex" ,rust-nu-pretty-hex-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-table" ,rust-nu-table-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-ratatui" ,rust-ratatui-0.26) + ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.2) + ("rust-unicode-width" ,rust-unicode-width-0.2)))) + (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-glob-0.101 + (package + (name "rust-nu-glob") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-glob" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q3np4fgxp8lgfawn8rqv4cw3jpr668g2phza34csaj1d7zakl5c")))) + (build-system cargo-build-system) + (arguments + `(#: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.101 + (package + (name "rust-nu-json") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-json" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0l0kj7dyg1kpy4qrl5hvmkp0lxm4w206mgg8227z0gsvl2936zd8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" "--skip=test_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) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs + (("rust-fancy-regex" ,rust-fancy-regex-0.14) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-test-support" ,rust-nu-test-support-0.101) + ("rust-serde-json" ,rust-serde-json-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-lsp-0.101 + (package + (name "rust-nu-lsp") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-lsp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c4wp44251qczc0w2dbn55q2i0j0n4xrfjaxh5rzj451vzxjc7yd")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included + #: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.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-reedline" ,rust-reedline-0.38) + ("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.101) + ("rust-nu-command" ,rust-nu-command-0.101) + ("rust-nu-test-support" ,rust-nu-test-support-0.101)))) + (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.101 + (package + (name "rust-nu-parser") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13dmw30vw71zkdbdzf541zbsk0can0ndzkl6azhkpj3vpmv2ip1a")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bytesize" ,rust-bytesize-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-log" ,rust-log-0.4) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-plugin-engine" ,rust-nu-plugin-engine-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-development-inputs (("rust-rstest" ,rust-rstest-0.23)))) + (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.101 + (package + (name "rust-nu-path") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-path" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gsjnp81padgp9k95bnha5kkilfq0yxpm00splc93mvhyfx1pk9w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dirs" ,rust-dirs-5) + ("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.101 + (package + (name "rust-nu-plugin") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-plugin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1g2bpmibd0k125vnicfr10ndpyms3f3rdplk5wjh6a2l3450yq7b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.29) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-plugin-core" ,rust-nu-plugin-core-0.101) + ("rust-nu-plugin-protocol" ,rust-nu-plugin-protocol-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-thiserror" ,rust-thiserror-2)) + #:cargo-development-inputs (("rust-serde" ,rust-serde-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 contains functionality for building Nushell plugins.") + (license license:expat))) + +(define-public rust-nu-plugin-core-0.101 + (package + (name "rust-nu-plugin-core") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-plugin-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0axa72lfpdsci3f0yfd52cf1xdgrz3b0rb219495ifyc3h5xc7xh")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-interprocess" ,rust-interprocess-2) + ("rust-log" ,rust-log-0.4) + ("rust-nu-plugin-protocol" ,rust-nu-plugin-protocol-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-windows" ,rust-windows-0.56)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-core") + (synopsis "Shared internal functionality to support Nushell plugins") + (description + "This package provides shared internal functionality to support +Nushell plugins.") + (license license:expat))) + +(define-public rust-nu-plugin-engine-0.101 + (package + (name "rust-nu-plugin-engine") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-plugin-engine" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14anf95z6fwyajnr0blp7hd1ah05vdjq0ypvrhfvi9qk07f6yxyg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-plugin-core" ,rust-nu-plugin-core-0.101) + ("rust-nu-plugin-protocol" ,rust-nu-plugin-protocol-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-system" ,rust-nu-system-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-serde" ,rust-serde-1) + ("rust-windows" ,rust-windows-0.56)) + #:cargo-development-inputs (("rust-typetag" ,rust-typetag-0.2)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-engine") + (synopsis "Functionality for running Nushell plugins from a Nushell engine") + (description + "This package provides functionality for running Nushell plugins from a +Nushell engine.") + (license license:expat))) + +(define-public rust-nu-plugin-protocol-0.101 + (package + (name "rust-nu-plugin-protocol") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-plugin-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s18gqkjjxc9jq9ivrqrp9cdq9a4kngd6ki87iv5r6bgwg1xbjqz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-typetag" ,rust-typetag-0.2)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-protocol") + (synopsis "Protocol type definitions for Nushell plugins") + (description + "This package provides protocol type definitions for Nushell plugins.") + (license license:expat))) + +(define-public rust-nu-plugin-test-support-0.101 + (package + (name "rust-nu-plugin-test-support") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-plugin-test-support" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17r036lxhscs05hpc4q0bz3prcqq3k5wz9xqmrca44cwyb0wilcm")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.101) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-plugin" ,rust-nu-plugin-0.101) + ("rust-nu-plugin-core" ,rust-nu-plugin-core-0.101) + ("rust-nu-plugin-engine" ,rust-nu-plugin-engine-0.101) + ("rust-nu-plugin-protocol" ,rust-nu-plugin-protocol-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-similar" ,rust-similar-2)) + #:cargo-development-inputs (("rust-serde" ,rust-serde-1) + ("rust-typetag" ,rust-typetag-0.2)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-test-support") + (synopsis "Testing support for Nushell plugins") + (description "This package provides Testing support for Nushell plugins.") + (license license:expat))) + +(define-public rust-nu-pretty-hex-0.101 + (package + (name "rust-nu-pretty-hex") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-pretty-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "00bxf27y31kr5w8hh2v65hrs09b5r53yilwjjwbzxn7hpmpra5fg")))) + (build-system cargo-build-system) + (arguments + `(#: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 package provides pretty hex dump of bytes slice in the common style.") + (license license:expat))) + +(define-public rust-nu-protocol-0.101 + (package + (name "rust-nu-protocol") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-protocol" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fr7jbzapqr68z5v7bvhgxkj697lqy1l3lkgykbk09b3bcwrmx3j")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + ;; 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-brotli" ,rust-brotli-6) + ("rust-byte-unit" ,rust-byte-unit-5) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-chrono-humanize" ,rust-chrono-humanize-0.2) + ("rust-dirs" ,rust-dirs-5) + ("rust-dirs-sys" ,rust-dirs-sys-0.4) + ("rust-fancy-regex" ,rust-fancy-regex-0.14) + ("rust-heck" ,rust-heck-0.5) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-lru" ,rust-lru-0.12) + ("rust-miette" ,rust-miette-7) + ("rust-nix" ,rust-nix-0.29) + ("rust-nu-derive-value" ,rust-nu-derive-value-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-system" ,rust-nu-system-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-rmp-serde" ,rust-rmp-serde-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-2) + ("rust-typetag" ,rust-typetag-0.2) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-nu-test-support" ,rust-nu-test-support-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-os-pipe" ,rust-os-pipe-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.23) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-strum" ,rust-strum-0.26) + ("rust-strum-macros" ,rust-strum-macros-0.26) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-protocol") + (synopsis "Nushell's internal protocols, including its abstract syntax tree") + (description + "This package provides nushell's internal protocols, including its abstract +syntax tree.") + (license license:expat))) + +(define-public rust-nu-std-0.101 + (package + (name "rust-nu-std") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-std" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "078bald5fn2np7hj9vd8xyi02al8z79qiapj6jdfnicaf7jlqzb8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-log" ,rust-log-0.4) + ("rust-miette" ,rust-miette-7) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101)))) + (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-system-0.101 + (package + (name "rust-nu-system") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-system" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xrh2vybh7vhyhcw987mjmnx12g3g07y9n24p1md2pdxciz2y641")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-itertools" ,rust-itertools-0.13) + ("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.29) + ("rust-ntapi" ,rust-ntapi-0.4) + ("rust-procfs" ,rust-procfs-0.17) + ("rust-sysinfo" ,rust-sysinfo-0.32) + ("rust-windows" ,rust-windows-0.56)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-system") + (synopsis "Nushell system querying") + (description "This package provides Nushell system querying.") + (license license:expat))) + +(define-public rust-nu-table-0.101 + (package + (name "rust-nu-table") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-table" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pf6l401inns1w9x8wd3s3c7ymqkd1qrh94b0cp8q5hi431vr7my")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fancy-regex" ,rust-fancy-regex-0.14) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-nu-color-config" ,rust-nu-color-config-0.101) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-tabled" ,rust-tabled-0.16) + ("rust-terminal-size" ,rust-terminal-size-0.4)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nu-table") + (synopsis "Nushell table printing") + (description "This package provides nushell table printing.") + (license license:expat))) + +(define-public rust-nu-term-grid-0.101 + (package + (name "rust-nu-term-grid") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-term-grid" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0q60ginwdpqqd862nb407km3yx7x4ql4lhb8y6ly1ldwzj1x9lbn")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-unicode-width" ,rust-unicode-width-0.2)))) + (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.101 + (package + (name "rust-nu-test-support") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-test-support" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jb0nr252q5pl7jkkvhpzj06j22r059mda5mid9fqm3rhka4dyky")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + ;; 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-nu-glob" ,rust-nu-glob-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-which" ,rust-which-7)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu-test-support") + (synopsis "Support for writing Nushell tests") + (description "This package contains support for writing Nushell tests.") + (license license:expat))) + +(define-public rust-nu-utils-0.101 + (package + (name "rust-nu-utils") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-utils" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0i9png2l28qjbwa0v8yp09sxhdqss7rl82y9affjvqg6m27ldlak")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.28) + ("rust-crossterm-winapi" ,rust-crossterm-winapi-0.9) + ("rust-fancy-regex" ,rust-fancy-regex-0.14) + ("rust-log" ,rust-log-0.4) + ("rust-lscolors" ,rust-lscolors-0.17) + ("rust-nix" ,rust-nix-0.29) + ("rust-num-format" ,rust-num-format-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("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))) + +(define-public rust-nuon-0.101 + (package + (name "rust-nuon") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nuon" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j3pd7nwk150krakqjh5jbyqsnzd4ywsyjm50kgrg0mf9flihz28")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included. + #:cargo-inputs (("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101)) + #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4)))) + (home-page "https://github.com/nushell/nushell/tree/main/crates/nuon") + (synopsis "Support for the NUON format") + (description "This package provides support for the NUON format.") + (license license:expat))) + +(define-public rust-reedline-0.38 + (package + (name "rust-reedline") + (version "0.38.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "reedline" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1wq9j74bs306qyh7bnnj6fj44w1xf0abiayq6v4rdhw4mnq8rylv")))) + (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.28) + ("rust-fd-lock" ,rust-fd-lock-4) + ("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.26) + ("rust-strum-macros" ,rust-strum-macros-0.26) + ("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.23) + ("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-spinners-4 + (package + (name "rust-spinners") + (version "4.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "spinners" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "10jgzdy6x79ipnfhavn46zbg4hlx98mcfr7p4f4j774b6mzr9vx0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-maplit" ,rust-maplit-1) + ("rust-strum" ,rust-strum-0.24)))) + (home-page "https://github.com/fgribreau/spinners") + (synopsis "60+ Elegant terminal spinners for Rust") + (description "This package provides 60+ Elegant terminal spinners for Rust.") + (license license:expat))) diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index ec6c1c0e4c8..40b013d720e 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -34,102 +34,96 @@ #:use-module (gnu packages) #:use-module (gnu packages cmake) #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-web) #:use-module (gnu packages crates-windows) #:use-module (gnu packages crypto) #:use-module (gnu packages golang) - #:use-module (gnu packages jemalloc) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages rust-apps) #:use-module (gnu packages tls) #:use-module (gnu packages valgrind)) -(define-public rust-asn1-0.15 +(define-public rust-asn1-0.20 (package (name "rust-asn1") - (version "0.15.5") + (version "0.20.0") (source (origin (method url-fetch) (uri (crate-uri "asn1" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nzg1gjiyfvpvrf3i7i8j21165snf5livqg6x2sjf9m2i77cngmf")))) + (base32 "0ckg83ingvagwjvmxadjjmkgna5kvlvrfx9arlfvzqhxxas892rd")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-asn1-derive" ,rust-asn1-derive-0.15)) - #:cargo-development-inputs - (("rust-libc" ,rust-libc-0.2)))) + `(#:cargo-inputs (("rust-asn1-derive" ,rust-asn1-derive-0.20) + ("rust-itoa" ,rust-itoa-1)) + #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2)))) (home-page "https://github.com/alex/rust-asn1") - (synopsis "ASN.1 (DER) parser and writer") + (synopsis "ASN.1 (DER) parser and writer for Rust") (description "This is a Rust library for parsing and generating ASN.1 data (DER only).") (license license:bsd-3))) -(define-public rust-asn1-0.13 +(define-public rust-asn1-0.16 (package - (inherit rust-asn1-0.15) + (inherit rust-asn1-0.20) (name "rust-asn1") - (version "0.13.0") - (source (origin - (method url-fetch) - (uri (crate-uri "asn1" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1idxxw14h3dvrj72k4g0hx1aqigd986a00cg0yxfw2gfc9gbmzra")))) + (version "0.16.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ggb140ilik21y4vha7f1p9m795k1aq4mp9adc4n46r8b2hfsb2k")))) (arguments - `(#:cargo-inputs - (("rust-asn1-derive" ,rust-asn1-derive-0.13) - ("rust-chrono" ,rust-chrono-0.4)) - #:cargo-development-inputs - (("rust-libc" ,rust-libc-0.2)))))) + `(#:cargo-inputs (("rust-asn1-derive" ,rust-asn1-derive-0.16)) + #:cargo-development-inputs (("rust-libc" ,rust-libc-0.2)))))) -(define-public rust-asn1-derive-0.15 +(define-public rust-asn1-derive-0.20 (package (name "rust-asn1-derive") - (version "0.15.5") + (version "0.20.0") (source (origin (method url-fetch) (uri (crate-uri "asn1_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1771kfjycjs4g2acqvxpjy3igfcgg8hychczl1lsqq64za4gj6l6")))) + (base32 "1b88xsqmxpxjq4p2mrn1icj7c3k2s041v7wqp8yhnqiq06fq0052")))) (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-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/alex/rust-asn1") (synopsis "#[derive] support for asn1") (description "This package provides #[derive] support for @code{asn1}.") (license license:bsd-3))) -(define-public rust-asn1-derive-0.13 +(define-public rust-asn1-derive-0.16 (package - (inherit rust-asn1-derive-0.15) + (inherit rust-asn1-derive-0.20) (name "rust-asn1-derive") - (version "0.13.0") - (source (origin - (method url-fetch) - (uri (crate-uri "asn1_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bvqriazb23gysygpzng1dhzjgnlv274q2yj5gpmlpl7jp0pkaxz")))) + (version "0.16.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "asn1_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "11y93778dzdfjcl03w07ddg9gq9f18bk2pznn0icq5yc71nhgrjn")))) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))))) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) (define-public rust-asn1-rs-0.6 (package @@ -396,17 +390,18 @@ (define-public rust-aws-lc-fips-sys-0.12 (package (name "rust-aws-lc-fips-sys") - (version "0.12.1") + (version "0.12.15") (source (origin (method url-fetch) (uri (crate-uri "aws-lc-fips-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fv2z5gcm9wm45hbsjhm657p6diqiq1vw5a2rzrzfg8j4vxdzz07")))) + (base32 "1yrvbilhzdisjk3mf3qf9xlbqwkh07ycsa2c7ppm2y1a4678l7nz")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) + ("rust-cc" ,rust-cc-1) ("rust-cmake" ,rust-cmake-0.1) ("rust-dunce" ,rust-dunce-1) ("rust-fs-extra" ,rust-fs-extra-1) @@ -430,14 +425,14 @@ version of AWS-LC.") (define-public rust-aws-lc-rs-1 (package (name "rust-aws-lc-rs") - (version "1.11.0") + (version "1.11.1") (source (origin (method url-fetch) (uri (crate-uri "aws-lc-rs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ifz8z5y4qg94ri9vybyv2pq0hr7ds3da1r6rmd08dk2nr02hz7y")) + (base32 "18z5wvb8ay1183vw3cbp8wpqil3pl2p8bxfcxrkx4sdn2v6bhyzl")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -448,7 +443,6 @@ version of AWS-LC.") `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-aws-lc-fips-sys" ,rust-aws-lc-fips-sys-0.12) ("rust-aws-lc-sys" ,rust-aws-lc-sys-0.23) - ("rust-mirai-annotations" ,rust-mirai-annotations-1) ("rust-paste" ,rust-paste-1) ("rust-untrusted" ,rust-untrusted-0.7) ("rust-zeroize" ,rust-zeroize-1)) @@ -473,14 +467,14 @@ popular Rust library named ring.") (define-public rust-aws-lc-sys-0.23 (package (name "rust-aws-lc-sys") - (version "0.23.0") + (version "0.23.1") (source (origin (method url-fetch) (uri (crate-uri "aws-lc-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15igggl0xvzx212di0z4l1hxcvjhlk5ns67iw5yis7p8knd62fmd")))) + (base32 "1xrzqryr7gj0njcx6s5x495rbirlqmhws10bmambn9rjh7ris452")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) @@ -499,38 +493,17 @@ Cryptography team for AWS and their customers. It is based on code from the Google @code{BoringSSL} project and the @code{OpenSSL} project.") (license (list license:isc license:openssl license:asl2.0)))) -;; TODO: Unbundle aws-lc. -(define-public rust-aws-lc-sys-0.13 - (package - (inherit rust-aws-lc-sys-0.23) - (name "rust-aws-lc-sys") - (version "0.13.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "aws-lc-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05a7z5hg00zpk4gvqggzv7j6bvljplx2c1kw44ifmxjnf5469rdn")))) - (arguments - `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69) - ("rust-cmake" ,rust-cmake-0.1) - ("rust-dunce" ,rust-dunce-1) - ("rust-fs-extra" ,rust-fs-extra-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-paste" ,rust-paste-1)))))) - (define-public rust-der-0.7 (package (name "rust-der") - (version "0.7.8") + (version "0.7.9") (source (origin (method url-fetch) (uri (crate-uri "der" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "070bwiyr80800h31c5zd96ckkgagfjgnrrdmz3dzg2lccsd3dypz")))) + "1h4vzjfa1lczxdf8avfj9qlwh1qianqlxdy1g5rn762qnvkzhnzm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -623,19 +596,18 @@ targets") (define-public rust-der-derive-0.7 (package (name "rust-der-derive") - (version "0.7.2") + (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "der_derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0jg0y3k46bpygwc5cqha07axz5sdnsx5116g3nxf0rwrabj7rs2z")))) + "065d2wy7zd0dank99hh58l5x7lv50hxnr7j6f3sphlb7i4ihjd40")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-proc-macro-error" ,rust-proc-macro-error-1) - ("rust-proc-macro2" ,rust-proc-macro2-1) + (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/RustCrypto/formats/tree/master/der/derive") @@ -841,20 +813,19 @@ targets") (define-public rust-native-tls-0.2 (package (name "rust-native-tls") - (version "0.2.11") + (version "0.2.12") (source (origin (method url-fetch) (uri (crate-uri "native-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bmrlg0fmzxaycjpkgkchi93av07v2yf9k33gc12ca9gqdrn28h7")))) + (base32 "0rkl65z70n7sy4d5w0qa99klg1hr43wx6kcprk4d2n9xr2r4wqd8")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; tests require network access #:cargo-inputs - (("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) + (("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-openssl" ,rust-openssl-0.10) ("rust-openssl-probe" ,rust-openssl-probe-0.1) @@ -865,7 +836,7 @@ targets") ("rust-tempfile" ,rust-tempfile-3)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3) - ("rust-test-cert-gen" ,rust-test-cert-gen-0.7)))) + ("rust-test-cert-gen" ,rust-test-cert-gen-0.9)))) (native-inputs (list pkg-config)) (inputs @@ -896,10 +867,10 @@ implementation.") ("rust-serde-derive" ,rust-serde-derive-1)))) (home-page "https://labs.unnecessary.engineering/oid") (synopsis - "Library for building, parsing, and formating Object Identifiers (OIDs)") + "Library for building, parsing, and formatting Object Identifiers (OIDs)") (description "This package provides a Rust-native library for building, parsing, and -formating Object Identifiers (OIDs).") +formatting Object Identifiers (OIDs).") (license (list license:expat license:asl2.0)))) (define-public rust-oid-registry-0.7 @@ -1073,14 +1044,14 @@ grammars and BER/DER encodings, for example.") (define-public rust-rcgen-0.13 (package (name "rust-rcgen") - (version "0.13.1") + (version "0.13.2") (source (origin (method url-fetch) (uri (crate-uri "rcgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0yb7lg0pd1j66jr0kacs5z8q66fb9izkvsp11ma8hry4f8c7w1sl")) + (base32 "18l0rz228pvnc44bjmvq8cchhh5d2rrkk98y9lqvan9243jnkrkm")) (modules '((guix build utils))) (snippet '(begin @@ -1284,14 +1255,14 @@ grammars and BER/DER encodings, for example.") (define-public rust-rustls-0.23 (package (name "rust-rustls") - (version "0.23.17") + (version "0.23.19") (source (origin (method url-fetch) (uri (crate-uri "rustls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07lg2b56s3gp3acd8a6yaqbpji8vv3xmv3ay8vaacjy525ap86kz")))) + (base32 "1lgqjf1vh09kghyj34a4svn1max18pmhka6bwbxb61mv61240jwk")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -1311,7 +1282,6 @@ grammars and BER/DER encodings, for example.") #:cargo-development-inputs (("rust-base64" ,rust-base64-0.22) ("rust-bencher" ,rust-bencher-0.1) - ("rust-clap" ,rust-clap-4) ("rust-env-logger" ,rust-env-logger-0.10) ("rust-hex" ,rust-hex-0.4) ("rust-log" ,rust-log-0.4) @@ -1319,20 +1289,8 @@ grammars and BER/DER encodings, for example.") ("rust-rcgen" ,rust-rcgen-0.13) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-tikv-jemallocator" ,rust-tikv-jemallocator-0.6) ("rust-time" ,rust-time-0.3) - ("rust-webpki-roots" ,rust-webpki-roots-0.26)) - #:phases - (modify-phases %standard-phases - (add-after 'configure 'override-jemalloc - (lambda* (#:key inputs #:allow-other-keys) - (let ((jemalloc (assoc-ref inputs "jemalloc"))) - ;; This flag is needed when not using the bundled jemalloc. - ;; https://github.com/tikv/jemallocator/issues/19 - (setenv "CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS" "1") - (setenv "JEMALLOC_OVERRIDE" - (string-append jemalloc "/lib/libjemalloc_pic.a")))))))) - (inputs (list jemalloc)) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) (home-page "https://github.com/rustls/rustls") (synopsis "Modern TLS library written in Rust") (description @@ -1343,14 +1301,14 @@ grammars and BER/DER encodings, for example.") (package (inherit rust-rustls-0.23) (name "rust-rustls") - (version "0.22.2") + (version "0.22.4") (source (origin (method url-fetch) (uri (crate-uri "rustls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hcxyhq6ynvws9v5b2h81s1nwmijmya7a3vyyyhsy1wqpmb9jz78")))) + (base32 "0cl4q6w0x1cl5ldjsgbbiiqhkz6qg5vxl5dkn9wwsyxc44vzfkmz")))) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs (("rust-aws-lc-rs" ,rust-aws-lc-rs-1) @@ -1372,14 +1330,14 @@ grammars and BER/DER encodings, for example.") (package (inherit rust-rustls-0.22) (name "rust-rustls") - (version "0.21.10") + (version "0.21.12") (source (origin (method url-fetch) (uri (crate-uri "rustls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1fmpzk3axnhkd99saqkvraifdfms4pkyi56lkihf8n877j0sdmgr")))) + "0gjdg2a9r81sdwkyw3n5yfbkrr6p9gyk3xr2kcsr3cs83x6s2miz")))) (arguments `(#:tests? #f ; Not all files included. #:cargo-inputs @@ -1589,14 +1547,14 @@ grammars and BER/DER encodings, for example.") (define-public rust-rustls-ffi-0.14 (package (name "rust-rustls-ffi") - (version "0.14.0") + (version "0.14.1") (source (origin (method url-fetch) (uri (crate-uri "rustls-ffi" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cdpnx205m3bc7sn6gvaizlsb8ayipf1l061das37mf7n4sw157s")))) + (base32 "1hky8z8xf9l813b1f54b0ir2knzv3kflh41i7q7xwlkyafza65n9")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -1618,68 +1576,67 @@ grammars and BER/DER encodings, for example.") "This package provides Rustls bindings for non-Rust languages.") (license (list license:asl2.0 license:isc license:expat)))) -(define-public rust-rustls-ffi-0.8 +(define-public rust-rustls-native-certs-0.8 (package - (inherit rust-rustls-ffi-0.14) - (name "rust-rustls-ffi") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "rustls-ffi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "06kqrvm1d5ps9pml26zdd2hm8hh20j6svwvqibpnx7m5rh3jg9cx")))) + (name "rust-rustls-native-certs") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-native-certs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ls7laa3748mkn23fmi3g4mlwk131lx6chq2lyc8v2mmabfz5kvz")))) + (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-num-enum" ,rust-num-enum-0.5) - ("rust-rustls" ,rust-rustls-0.20) - ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) - ("rust-sct" ,rust-sct-0.7) - ("rust-webpki" ,rust-webpki-0.22)) - #:cargo-development-inputs - (("rust-cbindgen" ,rust-cbindgen-0.26)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'adjust-cbindgen-requirement - ;; The Cargo.toml in the git repository doesn't specify - ;; a version requirement for cbindgen. - (lambda _ - (substitute* "Cargo.toml" - (("0\\.19\\.0") "*"))))))))) + `(#:cargo-test-flags '("--release" "--" + "--skip=test_contains_most_roots_known_by_mozilla") + #:cargo-inputs (("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) + ("rust-schannel" ,rust-schannel-0.1) + ("rust-security-framework" ,rust-security-framework-3)) + #:cargo-development-inputs (("rust-ring" ,rust-ring-0.17) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-untrusted" ,rust-untrusted-0.9) + ("rust-webpki-roots" ,rust-webpki-roots-0.26) + ("rust-x509-parser" ,rust-x509-parser-0.16)))) + (home-page "https://github.com/rustls/rustls-native-certs") + (synopsis "Use the platform native certificate store with rustls") + (description "@code{rustls-native-certs} allows rustls to use the platform +native certificate store.") + (license (list license:asl2.0 license:isc license:expat)))) (define-public rust-rustls-native-certs-0.7 (package + (inherit rust-rustls-native-certs-0.8) (name "rust-rustls-native-certs") - (version "0.7.0") + (version "0.7.3") (source (origin (method url-fetch) (uri (crate-uri "rustls-native-certs" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "14ip15dcr6fmjzi12lla9cpln7mmkdid4a7wsp344v4kz9gbh7wg")))) - (build-system cargo-build-system) + (base32 "1r9ib5gwkfci2wbqnbh44nigvrfgxs4n1x89js82w97dxsab7gz5")))) (arguments - `(#:tests? #f ; Tests want network access. + `(#:cargo-test-flags '("--release" "--" + "--skip=test_contains_most_roots_known_by_mozilla") #:cargo-inputs (("rust-openssl-probe" ,rust-openssl-probe-0.1) ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) ("rust-rustls-pki-types" ,rust-rustls-pki-types-1) ("rust-schannel" ,rust-schannel-0.1) ("rust-security-framework" ,rust-security-framework-2)) - #:cargo-development-inputs (("rust-ring" ,rust-ring-0.16) - ("rust-rustls" ,rust-rustls-0.22) + #:cargo-development-inputs (("rust-ring" ,rust-ring-0.17) + ("rust-rustls" ,rust-rustls-0.23) ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) - ("rust-serial-test" ,rust-serial-test-2) - ("rust-untrusted" ,rust-untrusted-0.7) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-untrusted" ,rust-untrusted-0.9) ("rust-webpki-roots" ,rust-webpki-roots-0.26) - ("rust-x509-parser" ,rust-x509-parser-0.15)))) - (home-page "https://github.com/ctz/rustls-native-certs") - (synopsis "Use the platform native certificate store with rustls") - (description "@code{rustls-native-certs} allows rustls to use the platform -native certificate store.") - (license (list license:asl2.0 license:isc license:expat)))) + ("rust-x509-parser" ,rust-x509-parser-0.16)))))) (define-public rust-rustls-native-certs-0.6 (package @@ -1729,48 +1686,20 @@ native certificate store.") ("rust-schannel" ,rust-schannel-0.1) ("rust-security-framework" ,rust-security-framework-2)))))) -(define-public rust-rustls-native-certs-0.4 - (package - (inherit rust-rustls-native-certs-0.5) - (name "rust-rustls-native-certs") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "rustls-native-certs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1f2rkvdkz92qcmwryyqiw9phkqkf95g4962ljpfq5nkjfsd477b2")))) - (arguments - `(#:tests? #f ; Tests want network access - #:cargo-inputs - (("rust-openssl-probe" ,rust-openssl-probe-0.1) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-schannel" ,rust-schannel-0.1) - ("rust-security-framework" - ,rust-security-framework-1)) - #:cargo-development-inputs - (("rust-ring" ,rust-ring-0.16) - ("rust-untrusted" ,rust-untrusted-0.7) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.20)))))) - (define-public rust-rustls-pemfile-2 (package (name "rust-rustls-pemfile") - (version "2.0.0") + (version "2.2.0") (source (origin (method url-fetch) (uri (crate-uri "rustls-pemfile" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1x34xidvzn4br2vl8f8xwmhgbjv4lmlb0ggv5whlnk4yl87rir1m")))) + (base32 "0l3f3mrfkgdjrava7ibwzgwc4h3dljw3pdkbsi9rkwz3zvji9qyw")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) - ("rust-rustls-pki-types" ,rust-rustls-pki-types-1)) + `(#:cargo-inputs (("rust-rustls-pki-types" ,rust-rustls-pki-types-1)) #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) (home-page "https://github.com/rustls/pemfile") (synopsis "Basic parser for PEM formatted keys and certificates") @@ -1817,14 +1746,14 @@ PEM-encodings commonly used to store keys and certificates at rest.") (define-public rust-rustls-pki-types-1 (package (name "rust-rustls-pki-types") - (version "1.10.0") + (version "1.10.1") (source (origin (method url-fetch) (uri (crate-uri "rustls-pki-types" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jv78c32pgf1i0bn7rzf4xdr9qh5wsvigp6akc1yhzls7hdj1w8n")) + (base32 "0dqb3d0cbld1yrp084wyzgw6yk3qzzic8l5pbs1b6bcjzzk4ggyj")) (snippet #~(begin (use-modules (guix build utils)) (substitute* "Cargo.toml" @@ -1832,8 +1761,7 @@ PEM-encodings commonly used to store keys and certificates at rest.") (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-web-time" ,rust-web-time-1)) + `(#:cargo-inputs (("rust-web-time" ,rust-web-time-1)) #:cargo-development-inputs (("rust-crabgrind" ,rust-crabgrind-0.1)))) (native-inputs (list valgrind)) (home-page "https://github.com/rustls/pki-types") @@ -1842,8 +1770,106 @@ PEM-encodings commonly used to store keys and certificates at rest.") "This crate provides shared types for the rustls PKI ecosystem.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustls-platform-verifier-0.5 + (package + (name "rust-rustls-platform-verifier") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-platform-verifier" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nlrxbw2i5q7dxz2gnif14hz5ph67b5d8viqr4r06yd18icc84p0")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-test-flags + '(list "--" + "--skip=tests::verification_mock::test_verification_without_mock_root" + "--skip=tests::verification_real_world::tests::_1password_com_valid" + "--skip=tests::verification_real_world::tests::letsencrypt" + "--skip=tests::verification_real_world::tests::my_1password_com_valid" + "--skip=tests::verification_real_world::tests::my_1password_com_valid_no_stapled" + "--skip=tests::verification_real_world::tests::unrelated_chain_not_valid_for_my_1password_com" + "--skip=tests::verification_real_world::tests::unrelated_chain_valid_for_unrelated_domain" + "--skip=tests::verification_real_world::tests::unrelated_domain_invalid") + #:cargo-inputs + (list rust-android-logger-0.13 + rust-base64-0.22 + rust-core-foundation-0.10 + rust-core-foundation-sys-0.8 + rust-jni-0.21 + rust-log-0.4 + rust-once-cell-1 + rust-paste-1 + rust-rustls-0.23 + rust-rustls-native-certs-0.8 + rust-rustls-platform-verifier-android-0.1 + rust-rustls-webpki-0.102 + rust-security-framework-3 + rust-security-framework-sys-2 + rust-webpki-root-certs-0.26 + rust-windows-sys-0.52) + #:cargo-development-inputs + (list rust-paste-1 + rust-rustls-0.23 + rust-webpki-root-certs-0.26))) + (home-page "https://github.com/rustls/rustls-platform-verifier") + (synopsis + "Verify TLS certificates in rustls with the operating system verifier") + (description + "This package provides rustls-platform-verifier a way to support verifying +TLS certificates in rustls with the operating system verifier.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-rustls-platform-verifier-0.4 + (package + (inherit rust-rustls-platform-verifier-0.5) + (name "rust-rustls-platform-verifier") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-platform-verifier" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dnij2d9029i06x4bhyzj5izwv3370233czaqkk1fmgc1wjdrix4")))) + (arguments + (list #:cargo-test-flags + '(list "--" + "--skip=tests::verification_mock::test_verification_without_mock_root" + "--skip=tests::verification_real_world::tests::_1password_com_valid" + "--skip=tests::verification_real_world::tests::letsencrypt" + "--skip=tests::verification_real_world::tests::my_1password_com_valid" + "--skip=tests::verification_real_world::tests::my_1password_com_valid_no_stapled" + "--skip=tests::verification_real_world::tests::unrelated_chain_not_valid_for_my_1password_com" + "--skip=tests::verification_real_world::tests::unrelated_chain_valid_for_unrelated_domain" + "--skip=tests::verification_real_world::tests::unrelated_domain_invalid") + #:cargo-inputs + (list rust-android-logger-0.13 + rust-base64-0.22 + rust-core-foundation-0.9 + rust-core-foundation-sys-0.8 + rust-jni-0.19 + rust-log-0.4 + rust-once-cell-1 + rust-paste-1 + rust-rustls-0.23 + rust-rustls-native-certs-0.7 + rust-rustls-platform-verifier-android-0.1 + rust-rustls-webpki-0.102 + rust-security-framework-2 + rust-security-framework-sys-2 + rust-webpki-root-certs-0.26 + rust-windows-sys-0.52) + #:cargo-development-inputs + (list rust-paste-1 + rust-rustls-0.23 + rust-webpki-root-certs-0.26))))) + (define-public rust-rustls-platform-verifier-0.3 (package + (inherit rust-rustls-platform-verifier-0.5) (name "rust-rustls-platform-verifier") (version "0.3.4") (source @@ -1853,7 +1879,6 @@ PEM-encodings commonly used to store keys and certificates at rest.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "145lhjn9w5khp0fn4lagaa8qqyjyhfqn2dg6llva6qyzvy5qgfxg")))) - (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" @@ -1882,14 +1907,7 @@ PEM-encodings commonly used to store keys and certificates at rest.") ("rust-webpki-roots" ,rust-webpki-roots-0.26) ("rust-winapi" ,rust-winapi-0.3)) #:cargo-development-inputs (("rust-rustls" ,rust-rustls-0.23) - ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) - (home-page "https://github.com/rustls/rustls-platform-verifier") - (synopsis - "Verify TLS certificates in rustls with the operating system verifier") - (description - "This package provides rustls-platform-verifier a way to support verifying -TLS certificates in rustls with the operating system verifier.") - (license (list license:expat license:asl2.0)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))))) (define-public rust-rustls-platform-verifier-android-0.1 (package @@ -1985,8 +2003,39 @@ rustls-platform-verifier crate. You shouldn't depend on this directly.") #:cargo-development-inputs (("rust-base64" ,rust-base64-0.13) ("rust-rcgen" ,rust-rcgen-0.11)))))) +(define-public rust-tls-parser-0.12 + (package + (name "rust-tls-parser") + (version "0.12.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tls-parser" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hf7k9fn1ziy6lmskkz6gcch4lfzv9mhzrr4yaqq8988qr4n5hr2")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ;; requires assets not included in crates.io tarball + #:cargo-inputs (("rust-cookie-factory" ,rust-cookie-factory-0.3) + ("rust-nom" ,rust-nom-7) + ("rust-nom-derive" ,rust-nom-derive-0.10) + ("rust-num-enum" ,rust-num-enum-0.7) + ("rust-phf" ,rust-phf-0.11) + ("rust-phf-codegen" ,rust-phf-codegen-0.11) + ("rust-rusticata-macros" ,rust-rusticata-macros-4)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-4) + ("rust-hex-literal" ,rust-hex-literal-0.4) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/rusticata/tls-parser") + (synopsis "Parser for the TLS protocol") + (description "This package provides a Rust parser for the TLS protocol.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tls-parser-0.11 (package + (inherit rust-tls-parser-0.12) (name "rust-tls-parser") (version "0.11.0") (source @@ -2003,7 +2052,6 @@ rustls-platform-verifier crate. You shouldn't depend on this directly.") ;; Accept newer versions of rust-clap. (substitute* "Cargo.toml" (("~2\\.33") "^2.33")))))) - (build-system cargo-build-system) (arguments `(#:tests? #f ;; requires assets not included in crates.io tarball #:cargo-inputs @@ -2017,11 +2065,7 @@ rustls-platform-verifier crate. You shouldn't depend on this directly.") #:cargo-development-inputs (("rust-clap" ,rust-clap-2) ("rust-hex-literal" ,rust-hex-literal-0.3) - ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))) - (home-page "https://github.com/rusticata/tls-parser") - (synopsis "Parser for the TLS protocol") - (description "This package provides a Rust parser for the TLS protocol.") - (license (list license:expat license:asl2.0)))) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)))))) (define-public rust-x509-cert-0.2 (package @@ -2192,29 +2236,3 @@ Public Key Infrastructure Certificate format as described in RFC 5280.") ("rust-rusticata-macros" ,rust-rusticata-macros-4) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-x509-signature-0.5 - (package - (name "rust-x509-signature") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "x509-signature" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "063mjzgddfam4xb88wr0li3k0q6nzyq3mvkiykajr69dj0mbrclz")))) - (build-system cargo-build-system) - (arguments - `(#:tests? #f ; `const_err` has been removed: converted into hard error - #:cargo-test-flags '("--release" "--" - "--skip=tests::parses_openssl_generated_cert") - #:cargo-inputs (("rust-ring" ,rust-ring-0.16) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-untrusted" ,rust-untrusted-0.7) - ("rust-webpki" ,rust-webpki-0.21)) - #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4)))) - (home-page "https://github.com/paritytech/x509-signature") - (synopsis "Low-level X.509 parsing and signature verification library") - (description "This package provides a low-level X.509 parsing and signature -verification library.") - (license (list license:expat license:asl2.0)))) diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm index 046902a3b04..334661e7043 100644 --- a/gnu/packages/crates-vcs.scm +++ b/gnu/packages/crates-vcs.scm @@ -1,11 +1,12 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019, 2020, 2022-2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2019, 2020, 2022-2025 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu> ;;; Copyright © 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> ;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> ;;; Copyright © 2023 Steve George <steve@futurile.net> +;;; Copyright © 2024 Murilo <murilo@disroot.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,10 +32,13 @@ #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-web) #:use-module (gnu packages crates-windows) + #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages llvm) #:use-module (gnu packages nettle) @@ -44,25 +48,28 @@ #:use-module (gnu packages tls) #:use-module (gnu packages version-control)) -(define-public rust-asyncgit-0.25 +(define-public rust-asyncgit-0.26 (package (name "rust-asyncgit") - (version "0.25.1") + (version "0.26.3") (source (origin (method url-fetch) (uri (crate-uri "asyncgit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "05qlwp63k5zd4yd7n18v6bs32fhbx5qlsc98j203maacy0vlm9h7")))) + (base32 "1zj3mz9g964m4z8zla70k3gicqg6hph801qgbn3fj48j254di4q9")))) (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-test-flags + '("--release" "--" + "--skip=sync::hooks::tests::test_hooks_commit_msg_reject_in_subfolder" + "--skip=sync::hooks::tests::test_post_commit_hook_reject_in_subfolder" + "--skip=sync::hooks::tests::test_pre_commit_workdir" + "--skip=sync::submodules::tests::test_smoke") ; network #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-dirs" ,rust-dirs-5) ("rust-easy-cast" ,rust-easy-cast-0.5) ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) ("rust-git2" ,rust-git2-0.18) @@ -73,8 +80,9 @@ ("rust-rayon-core" ,rust-rayon-core-1) ("rust-scopetime" ,rust-scopetime-0.1) ("rust-serde" ,rust-serde-1) + ("rust-ssh-key" ,rust-ssh-key-0.6) ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-truncate" ,rust-unicode-truncate-0.2) + ("rust-unicode-truncate" ,rust-unicode-truncate-1) ("rust-url" ,rust-url-2)) #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11) @@ -90,17 +98,56 @@ "This package provides for using git2 in an asynchronous context.") (license license:expat))) +(define-public rust-asyncgit-0.25 + (package + (inherit rust-asyncgit-0.26) + (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")))) + (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)))))) + (define-public rust-git-testament-0.2 (package (name "rust-git-testament") - (version "0.2.5") + (version "0.2.6") (source (origin (method url-fetch) (uri (crate-uri "git-testament" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "13pwvfrfgm4s7f80gk4ygzrl0rlqlaks0fx6bcpycilfnv97h33i")))) + "0l9f4d4p21lfvx25640q7xl1i6m749ljx7bsr0czjy8ljaf9jx2s")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; cannot find value `None` in this scope @@ -119,14 +166,14 @@ (define-public rust-git-testament-derive-0.2 (package (name "rust-git-testament-derive") - (version "0.2.0") + (version "0.2.1") (source (origin (method url-fetch) (uri (crate-uri "git-testament-derive" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hk8r71jjr1adxz1gpxl3i1xrj4j3g15jdwlyqq6f6myzd74jccv")))) + (base32 "1h645dqdzzgibgkar3vki1mkpkf73r9cfbvlaqbdrcqywxkwksmv")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-log" ,rust-log-0.4) @@ -141,28 +188,6 @@ "This package provides an inner procedural macro for git-testament.") (license license:bsd-3))) -(define-public rust-git-testament-derive-0.1 - (package - (inherit rust-git-testament-derive-0.2) - (name "rust-git-testament-derive") - (version "0.1.14") - (source (origin - (method url-fetch) - (uri (crate-uri "git-testament-derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rlais0i47mgsmp3r5jcqry2agjfyg5s9paj6mgvfykchssjsy2a")))) - (arguments - `(#:cargo-inputs - (("rust-log" ,rust-log-0.4) - ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1) - ("rust-time" ,rust-time-0.3)) - #:cargo-development-inputs - (("rust-git-testament" ,rust-git-testament-0.2)))))) - (define-public rust-git-version-0.3 (package (name "rust-git-version") @@ -474,62 +499,22 @@ libcurl, which is intended to be used with the @code{git2} crate.") ("rust-log" ,rust-log-0.4) ("rust-url" ,rust-url-2)))))) -(define-public rust-git2-curl-0.18 - (package - (inherit rust-git2-curl-0.19) - (name "rust-git2-curl") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2-curl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "132zzrrfw3cnfh9ffc9pfr94my97agnmk7pnfvzqr4kj5d1vgy7q")))) - (arguments - `(#:skip-build? #t ;need rust-civet and others - #:cargo-inputs - (("rust-curl" ,rust-curl-0.4) - ("rust-git2" ,rust-git2-0.17) - ("rust-log" ,rust-log-0.4) - ("rust-url" ,rust-url-2)))))) - -(define-public rust-git2-curl-0.17 - (package - (inherit rust-git2-curl-0.18) - (name "rust-git2-curl") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "git2-curl" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cydakv91acxkxfj0kazp9sc4mmr8l51649mi06wk9qv6kkg8xvm")))) - (arguments - `(#:skip-build? #t ;need rust-civet and others - #:cargo-inputs - (("rust-curl" ,rust-curl-0.4) - ("rust-git2" ,rust-git2-0.16) - ("rust-log" ,rust-log-0.4) - ("rust-url" ,rust-url-2)))))) - (define-public rust-git2-hooks-0.3 (package (name "rust-git2-hooks") - (version "0.3.1") + (version "0.3.3") (source (origin (method url-fetch) (uri (crate-uri "git2-hooks" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1grq79ggjp2b10yxl205kjkfqcijmmncnf47az3g1g713irpzgwx")))) + (base32 "0gr08zl1g0ll16smanqq8rxmwn8i5fikk7manch2022bh3lhw09y")))) (native-inputs (list pkg-config)) (inputs (list libgit2-1.7 libssh2 openssl zlib)) (build-system cargo-build-system) (arguments - `(#:tests? #f ; missing git2_testing + `(#:tests? #f ; unresolved import `git2_testing` #:cargo-inputs (("rust-git2" ,rust-git2-0.17) ("rust-log" ,rust-log-0.4) ("rust-shellexpand" ,rust-shellexpand-3) @@ -701,6 +686,83 @@ and correct. Interact with Git repositories just like Git would.") ("rust-serial-test" ,rust-serial-test-3) ("rust-walkdir" ,rust-walkdir-2)))))) +(define-public rust-gix-0.63 + (package + (inherit rust-gix-0.66) + (name "rust-gix") + (version "0.63.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "01jbkflpr570inbdjv1xgfsimqf6xfrr0yg6mlv4aypsmlc50k4q")))) + (arguments + `(#:cargo-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.31) + ("rust-gix-archive" ,rust-gix-archive-0.13) + ("rust-gix-attributes" ,rust-gix-attributes-0.22) + ("rust-gix-command" ,rust-gix-command-0.3) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.24) + ("rust-gix-config" ,rust-gix-config-0.37) + ("rust-gix-credentials" ,rust-gix-credentials-0.24) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-diff" ,rust-gix-diff-0.44) + ("rust-gix-dir" ,rust-gix-dir-0.5) + ("rust-gix-discover" ,rust-gix-discover-0.32) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.11) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.5) + ("rust-gix-ignore" ,rust-gix-ignore-0.11) + ("rust-gix-index" ,rust-gix-index-0.33) + ("rust-gix-lock" ,rust-gix-lock-14) + ("rust-gix-macros" ,rust-gix-macros-0.1) + ("rust-gix-mailmap" ,rust-gix-mailmap-0.23) + ("rust-gix-negotiate" ,rust-gix-negotiate-0.13) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-odb" ,rust-gix-odb-0.61) + ("rust-gix-pack" ,rust-gix-pack-0.51) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-prompt" ,rust-gix-prompt-0.8) + ("rust-gix-protocol" ,rust-gix-protocol-0.45) + ("rust-gix-ref" ,rust-gix-ref-0.44) + ("rust-gix-refspec" ,rust-gix-refspec-0.23) + ("rust-gix-revision" ,rust-gix-revision-0.27) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.13) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-gix-status" ,rust-gix-status-0.10) + ("rust-gix-submodule" ,rust-gix-submodule-0.11) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-transport" ,rust-gix-transport-0.42) + ("rust-gix-traverse" ,rust-gix-traverse-0.39) + ("rust-gix-url" ,rust-gix-url-0.27) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-gix-worktree" ,rust-gix-worktree-0.34) + ("rust-gix-worktree-state" ,rust-gix-worktree-state-0.11) + ("rust-gix-worktree-stream" ,rust-gix-worktree-stream-0.13) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-prodash" ,rust-prodash-28) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-std" ,rust-async-std-1) + ("rust-is-ci" ,rust-is-ci-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-walkdir" ,rust-walkdir-2)))))) + (define-public rust-gix-0.57 (package (inherit rust-gix-0.66) @@ -1009,75 +1071,6 @@ and correct. Interact with Git repositories just like Git would.") ("rust-serial-test" ,rust-serial-test-2) ("rust-walkdir" ,rust-walkdir-2)))))) -(define-public rust-gix-0.45 - (package - (inherit rust-gix-0.54) - (name "rust-gix") - (version "0.45.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10ndy5kvczbgfpv7zjqh71hl3w8lin7p3az3pard297fcvn06amz")))) - (arguments - `(#:tests? #f ; Tests aren't included - #:cargo-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.21) - ("rust-gix-attributes" ,rust-gix-attributes-0.13) - ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.16) - ("rust-gix-config" ,rust-gix-config-0.23) - ("rust-gix-credentials" ,rust-gix-credentials-0.15) - ("rust-gix-date" ,rust-gix-date-0.5) - ("rust-gix-diff" ,rust-gix-diff-0.30) - ("rust-gix-discover" ,rust-gix-discover-0.19) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-fs" ,rust-gix-fs-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) - ("rust-gix-ignore" ,rust-gix-ignore-0.3) - ("rust-gix-index" ,rust-gix-index-0.17) - ("rust-gix-lock" ,rust-gix-lock-6) - ("rust-gix-mailmap" ,rust-gix-mailmap-0.13) - ("rust-gix-negotiate" ,rust-gix-negotiate-0.2) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-odb" ,rust-gix-odb-0.46) - ("rust-gix-pack" ,rust-gix-pack-0.36) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-prompt" ,rust-gix-prompt-0.5) - ("rust-gix-protocol" ,rust-gix-protocol-0.33) - ("rust-gix-ref" ,rust-gix-ref-0.30) - ("rust-gix-refspec" ,rust-gix-refspec-0.11) - ("rust-gix-revision" ,rust-gix-revision-0.15) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-gix-tempfile" ,rust-gix-tempfile-6) - ("rust-gix-transport" ,rust-gix-transport-0.32) - ("rust-gix-traverse" ,rust-gix-traverse-0.26) - ("rust-gix-url" ,rust-gix-url-0.19) - ("rust-gix-utils" ,rust-gix-utils-0.1) - ("rust-gix-validate" ,rust-gix-validate-0.7) - ("rust-gix-worktree" ,rust-gix-worktree-0.18) - ("rust-log" ,rust-log-0.4) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-prodash" ,rust-prodash-25) - ("rust-regex" ,rust-regex-1) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-signal-hook" ,rust-signal-hook-0.3) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-normalization" ,rust-unicode-normalization-0.1)) - #:cargo-development-inputs - (("rust-anyhow" ,rust-anyhow-1) - ("rust-async-std" ,rust-async-std-1) - ("rust-is-ci" ,rust-is-ci-1) - ("rust-serial-test" ,rust-serial-test-2) - ("rust-walkdir" ,rust-walkdir-2)))))) - (define-public rust-gix-actor-0.32 (package (name "rust-gix-actor") @@ -1254,8 +1247,7 @@ package provides a way to identify Git actors.") (base32 "02m6n14jpvz61rwf1rg5lbjgz47n7zbcvqiramsqnff1an5c0iwi")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #f - #:cargo-inputs + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) ("rust-flate2" ,rust-flate2-1) @@ -1515,46 +1507,20 @@ package provides a way to identify Git actors.") ("rust-thiserror" ,rust-thiserror-1) ("rust-unicode-bom" ,rust-unicode-bom-2)))))) -(define-public rust-gix-attributes-0.13 - (package - (inherit rust-gix-attributes-0.19) - (name "rust-gix-attributes") - (version "0.13.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-attributes" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cfciacamnqbxl02l5fb7pcfbzn6r9gnyh86gvc80brqmj89bdvq")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-quote" ,rust-gix-quote-0.4) - ("rust-kstring" ,rust-kstring-2) - ("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-bom" ,rust-unicode-bom-2)))))) - (define-public rust-gix-bitmap-0.2 (package (name "rust-gix-bitmap") - (version "0.2.11") + (version "0.2.13") (source (origin (method url-fetch) (uri (crate-uri "gix-bitmap" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1bl7gqqlsdwngvvpgj6cby07cwidf7m0yk6wv473zqflrdkdnwd3")))) + (base32 "0lvbqvxsj12f628rf279gffrf10a6jxmnjjbk7m1m25w9dxqk2yl")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) + `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-2)))) (home-page "https://github.com/Byron/gitoxide") (synopsis "Implement the standard git bitmap format") (description @@ -1565,17 +1531,17 @@ implementing the standard git bitmap format.") (define-public rust-gix-chunk-0.4 (package (name "rust-gix-chunk") - (version "0.4.8") + (version "0.4.10") (source (origin (method url-fetch) (uri (crate-uri "gix-chunk" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lhcmzamr5rlcw8h9bvsjqn9dak1mwj3ng2i1djaf6wnd48pbj25")))) + (base32 "1xxl7rfh5vgcc83qvzmf9hprdyl2iipkl4z47x6bif60lnrvxzy6")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1)))) + `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-2)))) (home-page "https://github.com/Byron/gitoxide") (synopsis "Interact with the git chunk file format") (description @@ -1586,14 +1552,14 @@ commit-graph files.") (define-public rust-gix-command-0.3 (package (name "rust-gix-command") - (version "0.3.9") + (version "0.3.11") (source (origin (method url-fetch) (uri (crate-uri "gix-command" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1rwjxaw0lyiipr8f879i39amdzd3dh006267hs9g1g3bnf9fdwnz")))) + (base32 "0lzyg587s4rcrlvi42ml744ardqy6l5vh7hrx3bkyib47a7nnzbd")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `gix_testtools` @@ -1808,6 +1774,36 @@ Gitoxide project. Gitoxide is a pure Rust implementation of Git.") ("rust-winnow" ,rust-winnow-0.6)) #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))))) +(define-public rust-gix-config-0.37 + (package + (inherit rust-gix-config-0.40) + (name "rust-gix-config") + (version "0.37.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0h680yjj90hqch8x2bgnybx01smff2yvcrja6n7dj4byjm1gxyjk")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-config-value" ,rust-gix-config-value-0.14) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-glob" ,rust-gix-glob-0.16) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.44) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-serde" ,rust-serde-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-bom" ,rust-unicode-bom-2) + ("rust-winnow" ,rust-winnow-0.6)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))))) + (define-public rust-gix-config-0.33 (package (inherit rust-gix-config-0.40) @@ -1930,50 +1926,17 @@ Gitoxide project. Gitoxide is a pure Rust implementation of Git.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))))) -(define-public rust-gix-config-0.23 - (package - (inherit rust-gix-config-0.30) - (name "rust-gix-config") - (version "0.23.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-config" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0738kwxlmdp409rypczzr0ampbcvrrv2icigll68zfp118911wsi")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-config-value" ,rust-gix-config-value-0.12) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-ref" ,rust-gix-ref-0.30) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-log" ,rust-log-0.4) - ("rust-memchr" ,rust-memchr-2) - ("rust-nom" ,rust-nom-7) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-unicode-bom" ,rust-unicode-bom-2)) - #:cargo-development-inputs - (("rust-criterion" ,rust-criterion-0.4)))))) - (define-public rust-gix-config-value-0.14 (package (name "rust-gix-config-value") - (version "0.14.8") + (version "0.14.10") (source (origin (method url-fetch) (uri (crate-uri "gix-config-value" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "133gpqyrg22c2kxsiv4ncp0rwwyxzkbq63y6xaccbpm0z9ln3xq3")))) + (base32 "13mjjpljpc07qiyk36gdycdksy8ba85l9invz6ya7443v7syxaj9")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -1982,7 +1945,7 @@ Gitoxide project. Gitoxide is a pure Rust implementation of Git.") ("rust-gix-path" ,rust-gix-path-0.10) ("rust-libc" ,rust-libc-0.2) ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))) + ("rust-thiserror" ,rust-thiserror-2)))) (home-page "https://github.com/Byron/gitoxide") (synopsis "This crate implements @code{git-config} value parsing") (description @@ -1990,28 +1953,6 @@ Gitoxide project. Gitoxide is a pure Rust implementation of Git.") Gitoxide a Rust implementation of Git.") (license (list license:expat license:asl2.0)))) -(define-public rust-gix-config-value-0.12 - (package - (inherit rust-gix-config-value-0.14) - (name "rust-gix-config-value") - (version "0.12.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-config-value" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "15rqyj523ckas16sn0jbqpgzln4h1fcpdsnwj4lw0hbl8d0lz1vf")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-gix-credentials-0.24 (package (name "rust-gix-credentials") @@ -2144,43 +2085,17 @@ to interact with Git credentials helpers.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-credentials-0.15 - (package - (inherit rust-gix-credentials-0.20) - (name "rust-gix-credentials") - (version "0.15.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-credentials" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0r8dr9d1xzfq74sg3j2bhd6zsyk3y5322155izpzaa6dibm9zy66")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-command" ,rust-gix-command-0.2) - ("rust-gix-config-value" ,rust-gix-config-value-0.12) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-prompt" ,rust-gix-prompt-0.5) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-gix-url" ,rust-gix-url-0.19) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-gix-date-0.9 (package (name "rust-gix-date") - (version "0.9.0") + (version "0.9.3") (source (origin (method url-fetch) (uri (crate-uri "gix-date" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19f8qg9rcnis0r1iyvrjwhydnppzq44vk2xvlvvxls0yy1x4pj1m")))) + (base32 "0gqij6pgbajq3a07a0y528pqfa6m5nspc4dvffqliqjycixlfz65")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) @@ -2188,8 +2103,10 @@ to interact with Git credentials helpers.") ("rust-itoa" ,rust-itoa-1) ("rust-jiff" ,rust-jiff-0.1) ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)))) + ("rust-thiserror" ,rust-thiserror-2)) + #:cargo-development-inputs + (("rust-once-cell" ,rust-once-cell-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) (home-page "https://github.com/Byron/gitoxide") (synopsis "Part of Gitoxide, this crate parses dates the way Git does") (description @@ -2406,27 +2323,6 @@ package is a part of Gitoxide, a pure Rust implementation of Git.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-diff-0.30 - (package - (inherit rust-gix-diff-0.36) - (name "rust-gix-diff") - (version "0.30.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-diff" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0cqf3b2dypnd4hl1lwzj4sy8lfb6pdkbzczms95nla6chc0asach")))) - (arguments - `(#:cargo-inputs - (("rust-getrandom" ,rust-getrandom-0.2) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-imara-diff" ,rust-imara-diff-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-gix-dir-0.8 (package (name "rust-gix-dir") @@ -2492,6 +2388,35 @@ directory walking.") #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) +(define-public rust-gix-dir-0.5 + (package + (inherit rust-gix-dir-0.8) + (name "rust-gix-dir") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-dir" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x29x6qdj4nwma01qgqadi0dwix3rnv0mlj1wnmn7gasaj69zjb0")))) + (arguments + `(#:tests? #f ;looking for undeclared gix-testtools + #:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-discover" ,rust-gix-discover-0.32) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-ignore" ,rust-gix-ignore-0.11) + ("rust-gix-index" ,rust-gix-index-0.33) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-worktree" ,rust-gix-worktree-0.34) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) + (define-public rust-gix-discover-0.35 (package (name "rust-gix-discover") @@ -2553,6 +2478,32 @@ This package is part of Gitoxide, a pure Rust implementation of Git.") ("rust-serial-test" ,rust-serial-test-3) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-gix-discover-0.32 + (package + (inherit rust-gix-discover-0.35) + (name "rust-gix-discover") + (version "0.32.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-discover" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1grxby9mj5c9bs305wrf70x0rsdpq25nc00csm86p9ixnscwc9zw")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-dunce" ,rust-dunce-1) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-ref" ,rust-gix-ref-0.44) + ("rust-gix-sec" ,rust-gix-sec-0.10) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs (("rust-defer" ,rust-defer-0.2) + ("rust-is-ci" ,rust-is-ci-1) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-gix-discover-0.28 (package (inherit rust-gix-discover-0.35) @@ -2655,33 +2606,6 @@ This package is part of Gitoxide, a pure Rust implementation of Git.") ("rust-serial-test" ,rust-serial-test-2) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gix-discover-0.19 - (package - (inherit rust-gix-discover-0.25) - (name "rust-gix-discover") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-discover" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ijg43psf0ijg0z7g0wwsh94c0058gg77pl1apkfzcpjs70cdadb")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-dunce" ,rust-dunce-1) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-ref" ,rust-gix-ref-0.30) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-defer" ,rust-defer-0.1) - ("rust-is-ci" ,rust-is-ci-1) - ("rust-serial-test" ,rust-serial-test-2) - ("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-gix-features-0.38 (package (name "rust-gix-features") @@ -3102,22 +3026,6 @@ file system utilities for Gitoxide.") `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.35)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gix-fs-0.2 - (package - (inherit rust-gix-fs-0.7) - (name "rust-gix-fs") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-fs" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ddah0c5ljpfpy2ab1gmgblli2lz4bpbgghm9vwqgnwa02bqknih")))) - (arguments - `(#:cargo-inputs (("rust-gix-features" ,rust-gix-features-0.30)) - #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-gix-fsck-0.4 (package (name "rust-gix-fsck") @@ -3229,28 +3137,6 @@ matching.") ("rust-gix-path" ,rust-gix-path-0.10) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-gix-glob-0.8 - (package - (inherit rust-gix-glob-0.13) - (name "rust-gix-glob") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-glob" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "13jm1anf9xkp0hpzv9va72b9003kmwflx0ni0fbhf7xbh0gdw2nd")))) - (arguments - `(#:tests? #f ; no method named `trim_start` found for reference `&BStr` - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-serde" ,rust-serde-1)))))) - (define-public rust-gix-hash-0.14 (package (name "rust-gix-hash") @@ -3457,27 +3343,6 @@ keys. Part of Gitoxide a Rust implementation of Git.") ("rust-serde" ,rust-serde-1) ("rust-unicode-bom" ,rust-unicode-bom-2)))))) -(define-public rust-gix-ignore-0.3 - (package - (inherit rust-gix-ignore-0.8) - (name "rust-gix-ignore") - (version "0.3.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-ignore" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "09anfy62zfsclkkvvrsp0bi99pny66hqn07pvc4fik0c3887yvzw")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-serde" ,rust-serde-1) - ("rust-unicode-bom" ,rust-unicode-bom-2)))))) - (define-public rust-gix-index-0.35 (package (name "rust-gix-index") @@ -3704,37 +3569,6 @@ crate implements the Git index file.") ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-index-0.17 - (package - (inherit rust-gix-index-0.25) - (name "rust-gix-index") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-index" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "10kvzsrn7wjgwb3y4xwj9szcg9j81mlkab04z9ii5cdzz9cajsv1")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-lock" ,rust-gix-lock-6) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-traverse" ,rust-gix-traverse-0.26) - ("rust-itoa" ,rust-itoa-1) - ("rust-memmap2" ,rust-memmap2-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-gix-lock-14 (package (name "rust-gix-lock") @@ -3812,26 +3646,6 @@ package provides git style lock files.") ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gix-lock-6 - (package - (inherit rust-gix-lock-10) - (name "rust-gix-lock") - (version "6.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-lock" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lpqi927lacn2vz22q2mhacc4plkrlz5whm779ax65kky3kdbi9y")))) - (arguments - `(#:cargo-inputs - (("rust-gix-tempfile" ,rust-gix-tempfile-6) - ("rust-gix-utils" ,rust-gix-utils-0.1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-gix-macros-0.1 (package (name "rust-gix-macros") @@ -3963,27 +3777,6 @@ Gitoxide, a pure Rust implementation of Git.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-mailmap-0.13 - (package - (inherit rust-gix-mailmap-0.19) - (name "rust-gix-mailmap") - (version "0.13.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-mailmap" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0spslf6r4l51z640fxqpw2nq4j7imzz0jhxwy44y086948cp0ls6")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.21) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-gix-negotiate-0.15 (package (name "rust-gix-negotiate") @@ -4126,29 +3919,6 @@ Git's negotiation algorithms.") ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-negotiate-0.2 - (package - (inherit rust-gix-negotiate-0.8) - (name "rust-gix-negotiate") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-negotiate" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "137hyq036adi5kapw98vd9b0087lxljfkjaz81glmr0jx7qkwp4l")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.16) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-revision" ,rust-gix-revision-0.15) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-gix-object-0.44 (package (name "rust-gix-object") @@ -4540,39 +4310,6 @@ Gitoxide is a pure Rust implementation of Git.") ("rust-tempfile" ,rust-tempfile-3) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-odb-0.46 - (package - (inherit rust-gix-odb-0.53) - (name "rust-gix-odb") - (version "0.46.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-odb" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1wzqj6r0vgr2v0v9578s1hikg9abbh85m2vwj0psrvkqca04s8sb")))) - (arguments - `(#:tests? #f ; tests not included in release - #:cargo-inputs - (("rust-arc-swap" ,rust-arc-swap-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-pack" ,rust-gix-pack-0.36) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-quote" ,rust-gix-quote-0.4) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-serde" ,rust-serde-1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-maplit" ,rust-maplit-1) - ("rust-pretty-assertions" ,rust-pretty-assertions-1)))))) - (define-public rust-gix-pack-0.53 (package (name "rust-gix-pack") @@ -4772,39 +4509,6 @@ Rust implementation of Git.") ("rust-thiserror" ,rust-thiserror-1) ("rust-uluru" ,rust-uluru-3)))))) -(define-public rust-gix-pack-0.36 - (package - (inherit rust-gix-pack-0.43) - (name "rust-gix-pack") - (version "0.36.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-pack" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "125gs2hw111izv81zcj9i4mm503ikchbfv3xn7npw0sn675i8akx")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs - (("rust-clru" ,rust-clru-0.6) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-chunk" ,rust-gix-chunk-0.4) - ("rust-gix-diff" ,rust-gix-diff-0.30) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-tempfile" ,rust-gix-tempfile-6) - ("rust-gix-traverse" ,rust-gix-traverse-0.26) - ("rust-memmap2" ,rust-memmap2-0.5) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-serde" ,rust-serde-1) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-uluru" ,rust-uluru-3)))))) - (define-public rust-gix-packetline-0.17 (package (name "rust-gix-packetline") @@ -4913,22 +4617,22 @@ feature pre-selected.") (define-public rust-gix-path-0.10 (package (name "rust-gix-path") - (version "0.10.11") + (version "0.10.13") (source (origin (method url-fetch) (uri (crate-uri "gix-path" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1by7zbdccrqpb824164hyqs7lyz3axp8jihjkyydraw8s3mlzz7b")))) + (base32 "1ds5hvyjwic564jbvpy14ibrf1f8701q0877n2p41qsi3bpr5hmg")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ;undeclared crate gix_testtools + `(#:tests? #f ; use of undeclared crate or module `gix_testtools` #:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-gix-trace" ,rust-gix-trace-0.1) ("rust-home" ,rust-home-0.5) ("rust-once-cell" ,rust-once-cell-1) - ("rust-thiserror" ,rust-thiserror-1)) + ("rust-thiserror" ,rust-thiserror-2)) #:cargo-development-inputs (("rust-known-folders" ,rust-known-folders-1) ("rust-serial-test" ,rust-serial-test-3) @@ -4942,28 +4646,6 @@ feature pre-selected.") Git. This crate deals with paths and their conversions") (license (list license:expat license:asl2.0)))) -(define-public rust-gix-path-0.8 - (package - (inherit rust-gix-path-0.10) - (name "rust-gix-path") - (version "0.8.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-path" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0z5733b3z2wbnz1x0y2aq3gpanrhrlrqr4v4gjlqwl68ps69qq0q")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-gix-trace" ,rust-gix-trace-0.1) - ("rust-home" ,rust-home-0.5) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-gix-pathspec-0.7 (package (name "rust-gix-pathspec") @@ -5067,21 +4749,21 @@ part of Gitoxide, a Rust implementation of Git.") (define-public rust-gix-prompt-0.8 (package (name "rust-gix-prompt") - (version "0.8.7") + (version "0.8.9") (source (origin (method url-fetch) (uri (crate-uri "gix-prompt" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cg6dw1an3bxwsz43gwwlg9riydwv62k6afivbc30sxlrmjyizbl")))) + (base32 "1505js24g8dziljc7jl5frmk0af1847v106fqsxmz75wqjpj4y3s")))) (build-system cargo-build-system) (arguments `(#: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) - ("rust-thiserror" ,rust-thiserror-1)) + ("rust-thiserror" ,rust-thiserror-2)) #:cargo-development-inputs (("rust-expectrl" ,rust-expectrl-0.7) ("rust-serial-test" ,rust-serial-test-3)))) (home-page "https://github.com/Byron/gitoxide") @@ -5112,29 +4794,6 @@ terminals prompt.") #: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) - (name "rust-gix-prompt") - (version "0.5.5") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-prompt" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1sm5b24jpcv4whzxymk6fpb1ph1hhq6842115fpcqqx0yk5dw8ic")))) - (arguments - `(#:cargo-inputs - (("rust-gix-command" ,rust-gix-command-0.2) - ("rust-gix-config-value" ,rust-gix-config-value-0.12) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-rustix" ,rust-rustix-0.38) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-expectrl" ,rust-expectrl-0.7) - ("rust-serial-test" ,rust-serial-test-2)))))) - (define-public rust-gix-protocol-0.45 (package (name "rust-gix-protocol") @@ -5299,55 +4958,23 @@ Rust implementation of Git.") (("rust-async-std" ,rust-async-std-1) ("rust-gix-packetline" ,rust-gix-packetline-0.16)))))) -(define-public rust-gix-protocol-0.33 - (package - (inherit rust-gix-protocol-0.40) - (name "rust-gix-protocol") - (version "0.33.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-protocol" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "093c9zlqxy8248nynyb909g12xkfxsv5z32j8w41yijwnic718cj")))) - (arguments - `(#:cargo-inputs - (("rust-async-trait" ,rust-async-trait-0.1) - ("rust-bstr" ,rust-bstr-1) - ("rust-btoi" ,rust-btoi-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-gix-credentials" ,rust-gix-credentials-0.15) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-transport" ,rust-gix-transport-0.32) - ("rust-maybe-async" ,rust-maybe-async-0.2) - ("rust-nom" ,rust-nom-7) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-gix-packetline" ,rust-gix-packetline-0.16)))))) - (define-public rust-gix-quote-0.4 (package (name "rust-gix-quote") - (version "0.4.12") + (version "0.4.14") (source (origin (method url-fetch) (uri (crate-uri "gix-quote" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zyrl6qchw2f6j25ian699ifzas3a5a2zrhflwjpmym3ksdlzzyb")))) + (base32 "0qws02kwhnn0hcl5cizc99irw07qi3nycmyd2qlaphkf461f58b4")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-gix-utils" ,rust-gix-utils-0.1) - ("rust-thiserror" ,rust-thiserror-1)))) + ("rust-thiserror" ,rust-thiserror-2)))) (home-page "https://github.com/Byron/gitoxide") (synopsis "Various quotations used by git") (description @@ -5422,6 +5049,37 @@ Part of Gitoxide, a project to create a pure Rust Git implementation.") ("rust-winnow" ,rust-winnow-0.6)) #:cargo-development-inputs (("rust-gix-date" ,rust-gix-date-0.8)))))) +(define-public rust-gix-ref-0.44 + (package + (inherit rust-gix-ref-0.47) + (name "rust-gix-ref") + (version "0.44.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0biy3y7src1wsx5prynvyg7wzyzf3ss8f6hyphpb5ijvgscs551k")))) + (arguments + `(#:tests? #f ;use of undeclared crate gix_testtools + #:cargo-inputs (("rust-document-features" ,rust-document-features-0.2) + ("rust-gix-actor" ,rust-gix-actor-0.31) + ("rust-gix-date" ,rust-gix-date-0.8) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-lock" ,rust-gix-lock-14) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-tempfile" ,rust-gix-tempfile-14) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.8) + ("rust-memmap2" ,rust-memmap2-0.9) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winnow" ,rust-winnow-0.6)))))) + (define-public rust-gix-ref-0.40 (package (inherit rust-gix-ref-0.47) @@ -5542,38 +5200,6 @@ Part of Gitoxide, a project to create a pure Rust Git implementation.") ("rust-thiserror" ,rust-thiserror-1) ("rust-winnow" ,rust-winnow-0.5)))))) -(define-public rust-gix-ref-0.30 - (package - (inherit rust-gix-ref-0.37) - (name "rust-gix-ref") - (version "0.30.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-ref" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "073y77045km55bb53ack6hzjd70mkj3rk6d8xxg8mkplas99kpgb")))) - (arguments - `(#:tests? #f ; use of undeclared crate or module `gix_testtools` - #:cargo-inputs - (("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-actor" ,rust-gix-actor-0.21) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-fs" ,rust-gix-fs-0.2) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-lock" ,rust-gix-lock-6) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-gix-tempfile" ,rust-gix-tempfile-6) - ("rust-gix-validate" ,rust-gix-validate-0.7) - ("rust-memmap2" ,rust-memmap2-0.5) - ("rust-nom" ,rust-nom-7) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-gix-refspec-0.25 (package (name "rust-gix-refspec") @@ -5702,27 +5328,6 @@ a pure Rust implementation of Git.") ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-refspec-0.11 - (package - (inherit rust-gix-refspec-0.18) - (name "rust-gix-refspec") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-refspec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1x0cayswa8m0yiybi8g3jimpc6jggfvrw6y53snxhvf8mciddgvj")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-revision" ,rust-gix-revision-0.15) - ("rust-gix-validate" ,rust-gix-validate-0.7) - ("rust-smallvec" ,rust-smallvec-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-gix-revision-0.29 (package (name "rust-gix-revision") @@ -5860,11 +5465,9 @@ handles finding names and parsing specifications.") (origin (method url-fetch) (uri (crate-uri "gix-revision" version)) - (file-name (string-append name "-" version - ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "128fi6mblg4ic6h1q5vy2zq6vly8hxhi9vxkpkskaymby9fb3i68")))) + (base32 "128fi6mblg4ic6h1q5vy2zq6vly8hxhi9vxkpkskaymby9fb3i68")))) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) ("rust-document-features" ,rust-document-features-0.2) @@ -5877,30 +5480,6 @@ handles finding names and parsing specifications.") ("rust-serde" ,rust-serde-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-revision-0.15 - (package - (inherit rust-gix-revision-0.22) - (name "rust-gix-revision") - (version "0.15.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-revision" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1mrcjg8180n3kgbsngfaavzlfsqbmr905gjc0fdwx1x4sxngai2h")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-date" ,rust-gix-date-0.5) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-revwalk" ,rust-gix-revwalk-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-gix-revwalk-0.15 (package (name "rust-gix-revwalk") @@ -6065,14 +5644,14 @@ Gitoxide, a pure Rust implementation of Git.") (define-public rust-gix-sec-0.10 (package (name "rust-gix-sec") - (version "0.10.8") + (version "0.10.10") (source (origin (method url-fetch) (uri (crate-uri "gix-sec" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pvs9viknryhjgi67y8dcp16s9wb79fsnvr7wpnbndx760pxbr0g")))) + (base32 "1mjgs5wgfc236i3293winiaplnx4sscc6blsh2bm75bsk7ppdf58")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) @@ -6088,29 +5667,6 @@ Gitoxide, a pure Rust implementation of Git.") "This package is part of Gitoxide, it implements a shared trust model.") (license (list license:expat license:asl2.0)))) -(define-public rust-gix-sec-0.8 - (package - (inherit rust-gix-sec-0.10) - (name "rust-gix-sec") - (version "0.8.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-sec" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1iz9rcyx7lpb4gxg5gyv93ygp0n321c5xmrcjkmqm2annkbcn5cn")))) - (arguments - `(#:cargo-inputs - (("rust-bitflags" ,rust-bitflags-2) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-libc" ,rust-libc-0.2) - ("rust-serde" ,rust-serde-1) - ("rust-windows" ,rust-windows-0.48)) - #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-gix-status-0.13 (package (name "rust-gix-status") @@ -6179,6 +5735,35 @@ Gitoxide is a pure Rust implementation of Git.") ("rust-portable-atomic" ,rust-portable-atomic-1) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-status-0.10 + (package + (inherit rust-gix-status-0.13) + (name "rust-gix-status") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-status" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j5z44b80ybaxy34valibksasrd5gny52vqk9mahjf3ii7cp6hrg")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-diff" ,rust-gix-diff-0.44) + ("rust-gix-dir" ,rust-gix-dir-0.5) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-gix-filter" ,rust-gix-filter-0.11) + ("rust-gix-fs" ,rust-gix-fs-0.11) + ("rust-gix-hash" ,rust-gix-hash-0.14) + ("rust-gix-index" ,rust-gix-index-0.33) + ("rust-gix-object" ,rust-gix-object-0.42) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-worktree" ,rust-gix-worktree-0.34) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-status-0.4 (package (inherit rust-gix-status-0.13) @@ -6329,6 +5914,27 @@ implementation of Git.") ("rust-gix-url" ,rust-gix-url-0.27) ("rust-thiserror" ,rust-thiserror-1)))))) +(define-public rust-gix-submodule-0.11 + (package + (inherit rust-gix-submodule-0.14) + (name "rust-gix-submodule") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-submodule" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1b304hkx2r2b619n3lksvj08fkd7pdxzpr923dhvc55c4jcx874j")))) + (arguments + `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) + ("rust-gix-config" ,rust-gix-config-0.37) + ("rust-gix-path" ,rust-gix-path-0.10) + ("rust-gix-pathspec" ,rust-gix-pathspec-0.7) + ("rust-gix-refspec" ,rust-gix-refspec-0.23) + ("rust-gix-url" ,rust-gix-url-0.27) + ("rust-thiserror" ,rust-thiserror-1)))))) + (define-public rust-gix-submodule-0.7 (package (inherit rust-gix-submodule-0.14) @@ -6515,41 +6121,17 @@ tempfile capability with a global registry to assure clean-up.") ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) ("rust-tempfile" ,rust-tempfile-3)))))) -(define-public rust-gix-tempfile-6 - (package - (inherit rust-gix-tempfile-10) - (name "rust-gix-tempfile") - (version "6.0.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-tempfile" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "047baclw78xkzjg04z5290x7vhcz270jpw7vdm25rp7922q5qy5k")))) - (arguments - `(#:cargo-inputs - (("rust-dashmap" ,rust-dashmap-5) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-fs" ,rust-gix-fs-0.2) - ("rust-libc" ,rust-libc-0.2) - ("rust-once-cell" ,rust-once-cell-1) - ("rust-parking-lot" ,rust-parking-lot-0.12) - ("rust-signal-hook" ,rust-signal-hook-0.3) - ("rust-signal-hook-registry" ,rust-signal-hook-registry-1) - ("rust-tempfile" ,rust-tempfile-3)))))) - (define-public rust-gix-trace-0.1 (package (name "rust-gix-trace") - (version "0.1.10") + (version "0.1.11") (source (origin (method url-fetch) (uri (crate-uri "gix-trace" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "06s3mc2ig8k16vlvp4llp8m33yryic2vij71iil95zy3c630xbkc")))) + (base32 "0lmr5qqdk44xbz695asvwvc60ggaxrd12gjdl8izrw991h9dxg84")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -6760,44 +6342,6 @@ provides an implementation of the Git transport layer.") ("rust-blocking" ,rust-blocking-1) ("rust-maybe-async" ,rust-maybe-async-0.2)))))) -(define-public rust-gix-transport-0.32 - (package - (inherit rust-gix-transport-0.37) - (name "rust-gix-transport") - (version "0.32.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-transport" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "05fzh609x4d6djizmrv5m98axinp2m5hcpk003bqw1x9v7z9z8v4")))) - (arguments - `(#:cargo-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-async-trait" ,rust-async-trait-0.1) - ("rust-base64" ,rust-base64-0.21) - ("rust-bstr" ,rust-bstr-1) - ("rust-curl" ,rust-curl-0.4) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-futures-io" ,rust-futures-io-0.3) - ("rust-futures-lite" ,rust-futures-lite-1) - ("rust-gix-command" ,rust-gix-command-0.2) - ("rust-gix-credentials" ,rust-gix-credentials-0.15) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-packetline" ,rust-gix-packetline-0.16) - ("rust-gix-quote" ,rust-gix-quote-0.4) - ("rust-gix-sec" ,rust-gix-sec-0.8) - ("rust-gix-url" ,rust-gix-url-0.19) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-async-std" ,rust-async-std-1) - ("rust-blocking" ,rust-blocking-1) - ("rust-maybe-async" ,rust-maybe-async-0.2)))))) - (define-public rust-gix-traverse-0.41 (package (name "rust-gix-traverse") @@ -6938,25 +6482,6 @@ package is used to traverse Git commit graphs and trees.") ("rust-smallvec" ,rust-smallvec-1) ("rust-thiserror" ,rust-thiserror-1)))))) -(define-public rust-gix-traverse-0.26 - (package - (inherit rust-gix-traverse-0.33) - (name "rust-gix-traverse") - (version "0.26.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-traverse" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1n9kgzw5jal2jsqb56bpaj1xp35zp2hz6nf5klrjdgxl9jc2x15h")))) - (arguments - `(#:cargo-inputs - (("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-thiserror" ,rust-thiserror-1)))))) - (define-public rust-gix-url-0.27 (package (name "rust-gix-url") @@ -7062,40 +6587,17 @@ provides a crate for parsing and serialization of gix-url's.") #:cargo-development-inputs (("rust-libtest-mimic" ,rust-libtest-mimic-0.6)))))) -(define-public rust-gix-url-0.19 - (package - (inherit rust-gix-url-0.24) - (name "rust-gix-url") - (version "0.19.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-url" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0qy8shn5s8r9fjchcqrz0xwg89lsjykd463naji4f864bbr3srpi")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-home" ,rust-home-0.5) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-url" ,rust-url-2)))))) - (define-public rust-gix-utils-0.1 (package (name "rust-gix-utils") - (version "0.1.12") + (version "0.1.13") (source (origin (method url-fetch) (uri (crate-uri "gix-utils" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1p6lschmdrg1j9cd3rm6q96dyrvivzi2305d7ck1588gzpvjs69m")))) + (base32 "0prkj13jwvcrd8gy8f73ci2i3nwkak88xpvdibcqwl4rjlz7whms")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -7113,19 +6615,19 @@ feature toggles.") (define-public rust-gix-validate-0.9 (package (name "rust-gix-validate") - (version "0.9.0") + (version "0.9.2") (source (origin (method url-fetch) (uri (crate-uri "gix-validate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11kckcqaihbik9pzx08dzl81k6965isnpqiyb42b8msfnvdvmwl1")))) + (base32 "0dq9flm4iz1pzsiqqjmmxxzsp2fsdarx18db695v71gmz44hslnd")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1) - ("rust-thiserror" ,rust-thiserror-1)))) + ("rust-thiserror" ,rust-thiserror-2)))) (home-page "https://github.com/Byron/gitoxide") (synopsis "Validation functions for various kinds of names in Git") (description "Part of Gitoxide, a pure Rust implementation of Git. This @@ -7332,40 +6834,6 @@ types and utilities. Part of Gitoxide a pure Rust implementation of Git.") ("rust-gix-path" ,rust-gix-path-0.10) ("rust-serde" ,rust-serde-1)))))) -(define-public rust-gix-worktree-0.18 - (package - (inherit rust-gix-worktree-0.26) - (name "rust-gix-worktree") - (version "0.18.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "gix-worktree" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1xjhxw6lmjhnmcnhajaks34dnsqgg7w7lf576hkl0m485sbav26k")))) - (arguments - `(#:cargo-inputs - (("rust-bstr" ,rust-bstr-1) - ("rust-document-features" ,rust-document-features-0.2) - ("rust-filetime" ,rust-filetime-0.2) - ("rust-gix-attributes" ,rust-gix-attributes-0.13) - ("rust-gix-features" ,rust-gix-features-0.30) - ("rust-gix-fs" ,rust-gix-fs-0.2) - ("rust-gix-glob" ,rust-gix-glob-0.8) - ("rust-gix-hash" ,rust-gix-hash-0.11) - ("rust-gix-ignore" ,rust-gix-ignore-0.3) - ("rust-gix-index" ,rust-gix-index-0.17) - ("rust-gix-object" ,rust-gix-object-0.30) - ("rust-gix-path" ,rust-gix-path-0.8) - ("rust-io-close" ,rust-io-close-0.3) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1)) - #:cargo-development-inputs - (("rust-symlink" ,rust-symlink-0.1) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-walkdir" ,rust-walkdir-2)))))) - (define-public rust-gix-worktree-state-0.13 (package (name "rust-gix-worktree-state") @@ -7865,51 +7333,73 @@ library.") (snippet '(begin (delete-file-recursively "libgit2") #t)))))) -;; Keep this package for future packaging of pijul. -(define-public rust-libpijul-0.12 +(define-public rust-libpijul-1 (package (name "rust-libpijul") - (version "0.12.2") + (version "1.0.0-beta.10") (source (origin (method url-fetch) (uri (crate-uri "libpijul" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "18d9n8xaq5ncq3375f0xrr96l8si1frczgzdlrz3fl1jby8vbl6f")))) + (base32 "0yjii3hh8s7cvp5aihngh49266iz9h5bwlfrcyd1dglinyv0f213")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t ; TODO: Fix build - #:tests? #f ; backend::file_header::test_fileheader_alignment fails - #:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-bincode" ,rust-bincode-1) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bs58" ,rust-bs58-0.2) - ("rust-byteorder" ,rust-byteorder-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-diffs" ,rust-diffs-0.3) - ("rust-failure" ,rust-failure-0.1) - ("rust-flate2" ,rust-flate2-1) - ("rust-hex" ,rust-hex-0.3) - ("rust-ignore" ,rust-ignore-0.4) - ("rust-log" ,rust-log-0.4) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rand" ,rust-rand-0.6) - ("rust-sanakirja" ,rust-sanakirja-0.10) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-0.9) - ("rust-serde" ,rust-serde-1) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-toml" ,rust-toml-0.4)))) - (native-inputs - (list pkg-config)) - (inputs - (list clang nettle openssl)) - (home-page "https://pijul.org/") + `(#:tests? #f ; file not found for module `rollback` + #:cargo-inputs (("rust-adler32" ,rust-adler32-1) + ("rust-aes" ,rust-aes-0.7) + ("rust-bincode" ,rust-bincode-1) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-blake3" ,rust-blake3-1) + ("rust-bs58" ,rust-bs58-0.4) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-canonical-path" ,rust-canonical-path-2) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chardetng" ,rust-chardetng-0.1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-crossbeam-deque" ,rust-crossbeam-deque-0.8) + ("rust-curve25519-dalek" ,rust-curve25519-dalek-3) + ("rust-data-encoding" ,rust-data-encoding-2) + ("rust-diffs" ,rust-diffs-0.5) + ("rust-ed25519-dalek" ,rust-ed25519-dalek-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-flate2" ,rust-flate2-1) + ("rust-generic-array" ,rust-generic-array-0.14) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-ignore" ,rust-ignore-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-lru-cache" ,rust-lru-cache-0.1) + ("rust-memchr" ,rust-memchr-2) + ("rust-nom" ,rust-nom-7) + ("rust-parking-lot" ,rust-parking-lot-0.11) + ("rust-path-slash" ,rust-path-slash-0.1) + ("rust-pbkdf2" ,rust-pbkdf2-0.9) + ("rust-pijul-macros" ,rust-pijul-macros-0.5) + ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) + ("rust-sanakirja" ,rust-sanakirja-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-tar" ,rust-tar-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-twox-hash" ,rust-twox-hash-1) + ("rust-zstd-seekable" ,rust-zstd-seekable-0.1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-detone" ,rust-detone-1) + ("rust-env-logger" ,rust-env-logger-0.8) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rand-chacha" ,rust-rand-chacha-0.3)))) + (home-page "https://nest.pijul.com/pijul/libpijul") (synopsis "Library component of the pijul version control system") (description "This crate contains the core API to access Pijul repositories. @@ -7927,3 +7417,192 @@ file. @item Information about file moves, additions and deletions. @end itemize") (license license:gpl2+))) + +(define-public rust-pijul-config-0.0.1 + (package + (name "rust-pijul-config") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul-config" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19xdcqyw2lh4r8rs5dfjzqf27ajfld2gimw07bhvnjixz0gplylq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-dialoguer" ,rust-dialoguer-0.10) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-edit" ,rust-edit-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-whoami" ,rust-whoami-1)))) + (home-page "https://nest.pijul.com/pijul/pijul") + (synopsis "Configuration for the pijul version control system") + (description + "This package provides configuration for the pijul version control system.") + (license license:gpl2))) + +(define-public rust-pijul-identity-0.0.1 + (package + (name "rust-pijul-identity") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul-identity" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hpsw5k3s47nf8hxmi7pb6552ld3xz688hqldz57n9v7d7k660m1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-dateparser" ,rust-dateparser-0.1) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-keyring" ,rust-keyring-2) + ("rust-libpijul" ,rust-libpijul-1) + ("rust-log" ,rust-log-0.4) + ("rust-pijul-config" ,rust-pijul-config-0.0.1) + ("rust-pijul-interaction" ,rust-pijul-interaction-0.0.1) + ("rust-pijul-repository" ,rust-pijul-repository-0.0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-thrussh-keys" ,rust-thrussh-keys-0.21) + ("rust-toml" ,rust-toml-0.7) + ("rust-validator" ,rust-validator-0.15) + ("rust-whoami" ,rust-whoami-1)))) + (native-inputs (list pkg-config)) + (inputs (list libsodium openssl)) + (home-page "https://nest.pijul.com/pijul/pijul") + (synopsis "Functionality to interact with Pijul identities") + (description + "This package provides functionality to interact with Pijul identities.") + (license license:gpl2))) + +(define-public rust-pijul-interaction-0.0.1 + (package + (name "rust-pijul-interaction") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul-interaction" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vv1z0flsgvf09y18sv2jbk9sn0rllka15wdskpv9ziydp9xr1h7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-dialoguer" ,rust-dialoguer-0.10) + ("rust-duplicate" ,rust-duplicate-1) + ("rust-indicatif" ,rust-indicatif-0.17) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-pijul-config" ,rust-pijul-config-0.0.1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://nest.pijul.com/pijul/pijul") + (synopsis "Human friendly input/output for contexts such as terminals or GUIs") + (description + "This package provides human friendly input/output (progress bars, +passwords etc) for contexts such as terminals or GUIs.") + (license license:gpl2))) + +(define-public rust-pijul-macros-0.5 + (package + (name "rust-pijul-macros") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r3hivav1mzpzdpk2rj8flhl4vgp2r85gdi0kw5x8r8bv0y79cy2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://nest.pijul.com/pijul/pijul") + (synopsis "Macros used to write libpijul") + (description "This package provides macros used to write libpijul.") + (license license:gpl2))) + +(define-public rust-pijul-remote-1 + (package + (name "rust-pijul-remote") + (version "1.0.0-beta.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul-remote" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pxk6bv3q9ppqivj6rdy2lgv444zxxkqs8jgb1zq3412j6gpsa6d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-dirs-next" ,rust-dirs-next-2) + ("rust-futures" ,rust-futures-0.3) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-keyring" ,rust-keyring-2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libpijul" ,rust-libpijul-1) + ("rust-log" ,rust-log-0.4) + ("rust-pijul-config" ,rust-pijul-config-0.0.1) + ("rust-pijul-identity" ,rust-pijul-identity-0.0.1) + ("rust-pijul-interaction" ,rust-pijul-interaction-0.0.1) + ("rust-pijul-repository" ,rust-pijul-repository-0.0.1) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-sanakirja" ,rust-sanakirja-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thrussh" ,rust-thrussh-0.34) + ("rust-thrussh-config" ,rust-thrussh-config-0.6) + ("rust-thrussh-keys" ,rust-thrussh-keys-0.22) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)))) + (native-inputs (list pkg-config)) + (inputs (list libsodium openssl)) + (home-page "https://nest.pijul.com/pijul/pijul") + (synopsis "Functionality to communicate with a pijul repository remotely") + (description + "This package provides functionality to communicate with a pijul +repository remotely.") + (license license:gpl2))) + +(define-public rust-pijul-repository-0.0.1 + (package + (name "rust-pijul-repository") + (version "0.0.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul-repository" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06vl6id0amw1pxfhj6m34mvr171czikph8g21xg34k7c263maiq4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-libpijul" ,rust-libpijul-1) + ("rust-log" ,rust-log-0.4) + ("rust-pijul-config" ,rust-pijul-config-0.0.1) + ("rust-rlimit" ,rust-rlimit-0.9) + ("rust-toml" ,rust-toml-0.7)))) + (home-page "https://nest.pijul.com/pijul/pijul") + (synopsis "Functionality for interacting with a pijul repository") + (description + "This package provides functionality for interacting with a pijul repository.") + (license license:gpl2))) + diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index f2fadfdeba8..73ca29df761 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -36,7 +36,10 @@ #:use-module (gnu packages) #:use-module (gnu packages compression) #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-gtk) #:use-module (gnu packages crates-tls) @@ -369,29 +372,73 @@ ("rust-quote" ,rust-quote-0.6) ("rust-syn" ,rust-syn-0.15)))))) +(define-public rust-actix-files-0.6 + (package + (name "rust-actix-files") + (version "0.6.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-files" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gp9hvfwclxb38w0l4v01gzg534x3clnfk6hmsl4knyyc68dawq7")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-test-flags + '(list "--" "--skip=files::tests::custom_files_listing_renderer") + #:cargo-inputs (list rust-actix-http-3 + rust-actix-server-2 + rust-actix-service-2 + rust-actix-utils-3 + rust-actix-web-4 + rust-bitflags-2 + rust-bytes-1 + rust-derive-more-0.99 + rust-futures-core-0.3 + rust-http-range-0.1 + rust-log-0.4 + rust-mime-0.3 + rust-mime-guess-2 + rust-percent-encoding-2 + rust-pin-project-lite-0.2 + rust-tokio-uring-0.5 + rust-v-htmlescape-0.15) + #:cargo-development-inputs (list rust-actix-rt-2 + rust-actix-test-0.1 + rust-actix-web-4 + rust-env-logger-0.11 + rust-tempfile-3))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) + (home-page "https://actix.rs") + (synopsis "Static file serving for Actix Web") + (description "This package provides static file serving for Actix Web.") + (license (list license:expat license:asl2.0)))) + (define-public rust-actix-http-3 (package (name "rust-actix-http") - (version "3.6.0") + (version "3.9.0") (source (origin (method url-fetch) (uri (crate-uri "actix-http" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hx7rjc1cwrrql5qmihl31hf7nblwyd6a4mvhcghvz41shzv28yj")))) + (base32 "1i7sj4p8vd1hv2nfwxmdcwk51pn7m013vjjnk3mplw8363y9d3yl")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; use of undeclared crate or module `once_cell` + `(#:tests? #f ; use of undeclared crate or module `h2` #: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-base64" ,rust-base64-0.22) ("rust-bitflags" ,rust-bitflags-2) - ("rust-brotli" ,rust-brotli-3) + ("rust-brotli" ,rust-brotli-6) ("rust-bytes" ,rust-bytes-1) ("rust-bytestring" ,rust-bytestring-1) ("rust-derive-more" ,rust-derive-more-0.99) @@ -414,7 +461,31 @@ ("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)))) + ("rust-zstd" ,rust-zstd-0.13)) + #:cargo-development-inputs + (("rust-actix-http-test" ,rust-actix-http-test-3) + ("rust-actix-server" ,rust-actix-server-2) + ("rust-actix-tls" ,rust-actix-tls-3) + ("rust-actix-web" ,rust-actix-web-4) + ("rust-async-stream" ,rust-async-stream-0.3) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-divan" ,rust-divan-0.1) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rcgen" ,rust-rcgen-0.13) + ("rust-regex" ,rust-regex-1) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list openssl (list zstd "lib"))) (home-page "https://actix.rs") (synopsis "HTTP primitives for the Actix ecosystem") (description @@ -425,16 +496,16 @@ (package (inherit rust-actix-http-3) (name "rust-actix-http") - (version "2.2.0") + (version "2.2.2") (source (origin (method url-fetch) (uri (crate-uri "actix-http" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0x78h9lzqdhp06v1kf4dhbiqp8sc911w4lqfj5rmdbhpg3l9j8j5")))) + (base32 "1cshz5fqm2hxikrp2ilz3vymyivxpcar9b36sgkai557c9mvdrib")))) (arguments - `(#:skip-build? #t + `(#:tests? #f ; use of undeclared crate or module `actix_http_test` #:cargo-inputs (("rust-actix" ,rust-actix-0.10) ("rust-actix-codec" ,rust-actix-codec-0.3) @@ -446,7 +517,7 @@ ("rust-actix-utils" ,rust-actix-utils-2) ("rust-base64" ,rust-base64-0.13) ("rust-bitflags" ,rust-bitflags-1) - ("rust-brotli2" ,rust-brotli2-0.3) + ("rust-brotli" ,rust-brotli-3) ("rust-bytes" ,rust-bytes-0.5) ("rust-cookie" ,rust-cookie-0.14) ("rust-copyless" ,rust-copyless-0.1) @@ -601,8 +672,48 @@ ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.11) ("rust-webpki-roots" ,rust-webpki-roots-0.16)))))) +(define-public rust-actix-http-test-3 + (package + (name "rust-actix-http-test") + (version "3.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-http-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "104wwsnn6rk211fqzxn4g344wfnj57s1z5m0mkyniagylv12f786")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" "--skip=test_server") + #:cargo-inputs (("rust-actix-codec" ,rust-actix-codec-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-awc" ,rust-awc-3) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) + ("rust-slab" ,rust-slab-0.4) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://actix.rs") + (synopsis "Helpers for Actix applications to use during testing") + (description + "This package provides various helpers for Actix applications to use +during testing.") + (license (list license:expat license:asl2.0)))) + (define-public rust-actix-http-test-1 (package + (inherit rust-actix-http-test-3) (name "rust-actix-http-test") (version "1.0.0") (source @@ -612,7 +723,6 @@ (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "06z6iy9ffsjcw3g8zwwghky5zpyg7c1z823x35lgc4y1yjzxfizq")))) - (build-system cargo-build-system) (arguments ;; XXX: The crate fails to't build with with the same error as ;; rust-actix-connect. Skip build for now. @@ -640,14 +750,7 @@ ("rust-sha1" ,rust-sha1-0.6) ("rust-slab" ,rust-slab-0.4) ("rust-time" ,rust-time-0.1)) - #:cargo-development-inputs - (("rust-actix-http" ,rust-actix-http-1)))) - (home-page "https://actix.rs") - (synopsis "Helpers for Actix applications to use during testing") - (description - "This package provides various helpers for Actix applications to use -during testing.") - (license (list license:expat license:asl2.0)))) + #:cargo-development-inputs (("rust-actix-http" ,rust-actix-http-1)))))) (define-public rust-actix-http-test-0.2 (package @@ -736,22 +839,28 @@ during testing.") (define-public rust-actix-router-0.5 (package (name "rust-actix-router") - (version "0.5.2") + (version "0.5.3") (source (origin (method url-fetch) (uri (crate-uri "actix-router" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04f5cdag2h9lbrgb0pzwznpfrl3ajbdxlsvb8a2kci1rcmcpa96j")))) + (base32 "1y1n086zgfgf6483vlm18651n5ga6rcvlwvynmkkixji9hb29lqk")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; cannot find derive macro `Deserialize` in this scope - #:cargo-inputs (("rust-bytestring" ,rust-bytestring-0.1) + `(#:cargo-inputs (("rust-bytestring" ,rust-bytestring-0.1) + ("rust-cfg-if" ,rust-cfg-if-1) ("rust-http" ,rust-http-0.2) ("rust-regex" ,rust-regex-1) + ("rust-regex-lite" ,rust-regex-lite-0.1) ("rust-serde" ,rust-serde-1) - ("rust-tracing" ,rust-tracing-0.1)))) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-http" ,rust-http-0.2) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-serde" ,rust-serde-1)))) (home-page "https://github.com/actix/actix-web") (synopsis "Resource path matching and router library") (description @@ -762,14 +871,14 @@ during testing.") (package (inherit rust-actix-router-0.5) (name "rust-actix-router") - (version "0.2.5") + (version "0.2.7") (source (origin (method url-fetch) (uri (crate-uri "actix-router" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0df2626hk4n4yki6j88v3k0gcm8pi5hdnm1mldyvyi8nvbdzgldv")))) + (base32 "0b258dplqmria44mv1zzjpmm2xrpdzwcqcz3jg41z7k4ffprklia")))) (arguments ;; Tests fail with "error[E0432]: unresolved import `serde_derive`". `(#:tests? #false @@ -805,21 +914,21 @@ during testing.") (define-public rust-actix-rt-2 (package (name "rust-actix-rt") - (version "2.9.0") + (version "2.10.0") (source (origin (method url-fetch) (uri (crate-uri "actix-rt" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "078mjccgha4xlqk2hjb9hxfg26pmpra9v2h2w0m40gvx5102vwr8")))) + (base32 "022jj938jdhs3r0xg0yg1vdbblsjw0m8lhxcam7alhp0lvia9v94")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; use of undeclared crate or module `hyper` - #:cargo-inputs (("rust-actix-macros" ,rust-actix-macros-0.2) + `(#:cargo-inputs (("rust-actix-macros" ,rust-actix-macros-0.2) ("rust-futures-core" ,rust-futures-core-0.3) ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-uring" ,rust-tokio-uring-0.4)))) + ("rust-tokio-uring" ,rust-tokio-uring-0.5)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) (home-page "https://actix.rs") (synopsis "Actix runtime") (description "This package provides Actix runtime.") @@ -872,27 +981,33 @@ during testing.") (define-public rust-actix-server-2 (package (name "rust-actix-server") - (version "2.3.0") + (version "2.5.0") (source (origin (method url-fetch) (uri (crate-uri "actix-server" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1m62qbg7vl1wddr6mm8sd4rnvd3w5v3zcn8fmdpfl8q4xxz3xc9y")))) + (base32 "1538ci00d6ln39v3sd327hpwr8k0282vdxhcqisnvpfqh6bm98kw")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; unresolved import `actix_codec` - #:cargo-inputs (("rust-actix-rt" ,rust-actix-rt-2) + `(#: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-mio" ,rust-mio-1) ("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)))) + ("rust-tokio-uring" ,rust-tokio-uring-0.5) + ("rust-tracing" ,rust-tracing-0.1)) + #:cargo-development-inputs + (("rust-actix-codec" ,rust-actix-codec-0.5) + ("rust-actix-rt" ,rust-actix-rt-2) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) + ("rust-tokio" ,rust-tokio-1)))) (home-page "https://actix.rs") (synopsis "General purpose TCP server built for the Actix ecosystem") (description @@ -1099,6 +1214,81 @@ asynchronous request/response operations.") #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-0.2)))))) +(define-public rust-actix-test-0.1 + (package + (name "rust-actix-test") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-test" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0pxc3xlrbdkps8g58530gb50r3kfasljjl26k03w3nmmlysj5423")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f ; unresolved import `actix_web::get` + #:cargo-inputs (list rust-actix-codec-0.5 + rust-actix-http-3 + rust-actix-http-test-3 + rust-actix-rt-2 + rust-actix-service-2 + rust-actix-utils-3 + rust-actix-web-4 + rust-awc-3 + rust-futures-core-0.3 + rust-futures-util-0.3 + rust-log-0.4 + rust-openssl-0.10 + rust-rustls-0.20 + rust-rustls-0.21 + rust-rustls-0.22 + rust-rustls-0.23 + rust-serde-1 + rust-serde-json-1 + rust-serde-urlencoded-0.7 + rust-tokio-1))) + (home-page "https://actix.rs") + (synopsis "Integration testing tools for Actix Web applications") + (description + "This package provides integration testing tools for Actix Web applications.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-actix-test-server-0.2 + (package + (name "rust-actix-test-server") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "actix-test-server" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lqx8adsl3nlhbnvvjrmy9mkfa0d8wmwyy4gdz5ik8xhbwibxnn2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-actix-rt" ,rust-actix-rt-0.2) + ("rust-actix-server" ,rust-actix-server-0.5) + ("rust-actix-server-config" ,rust-actix-server-config-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-log" ,rust-log-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-net2" ,rust-net2-0.2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.15) + ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) + ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) + ("rust-webpki" ,rust-webpki-0.19) + ("rust-webpki-roots" ,rust-webpki-roots-0.16)) + #:cargo-development-inputs + (("rust-actix-service" ,rust-actix-service-0.4)))) + (home-page "https://actix.rs") + (synopsis "Actix test server") + (description "Actix test server.") + (license (list license:expat license:asl2.0)))) + (define-public rust-actix-testing-1 (package (name "rust-actix-testing") @@ -1149,41 +1339,6 @@ asynchronous request/response operations.") ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) ("rust-tokio-tcp" ,rust-tokio-tcp-0.1)))))) -(define-public rust-actix-test-server-0.2 - (package - (name "rust-actix-test-server") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "actix-test-server" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lqx8adsl3nlhbnvvjrmy9mkfa0d8wmwyy4gdz5ik8xhbwibxnn2")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-actix-rt" ,rust-actix-rt-0.2) - ("rust-actix-server" ,rust-actix-server-0.5) - ("rust-actix-server-config" ,rust-actix-server-config-0.1) - ("rust-futures" ,rust-futures-0.1) - ("rust-log" ,rust-log-0.4) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-net2" ,rust-net2-0.2) - ("rust-openssl" ,rust-openssl-0.10) - ("rust-rustls" ,rust-rustls-0.15) - ("rust-tokio-reactor" ,rust-tokio-reactor-0.1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.9) - ("rust-tokio-tcp" ,rust-tokio-tcp-0.1) - ("rust-webpki" ,rust-webpki-0.19) - ("rust-webpki-roots" ,rust-webpki-roots-0.16)) - #:cargo-development-inputs - (("rust-actix-service" ,rust-actix-service-0.4)))) - (home-page "https://actix.rs") - (synopsis "Actix test server") - (description "Actix test server.") - (license (list license:expat license:asl2.0)))) - (define-public rust-actix-threadpool-0.3 (package (name "rust-actix-threadpool") @@ -1235,23 +1390,25 @@ asynchronous request/response operations.") (define-public rust-actix-tls-3 (package (name "rust-actix-tls") - (version "3.3.0") + (version "3.4.0") (source (origin (method url-fetch) (uri (crate-uri "actix-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0pxyqpr5nangbl55gdc5zpc84viah7qhmpjw5v3pnirb5w5fdk6l")))) + (base32 "12ck682vls5py9hp4rsal7mv8iy770bzwd13pk6vxkb6v2c3hidc")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; use of undeclared crate or module `actix_server` + `(#:cargo-test-flags '("--" + "--skip=custom_resolver_connect" + "--skip=connect::resolve::Resolve") #: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-http" ,rust-http-0.2) ("rust-impl-more" ,rust-impl-more-0.1) ("rust-openssl" ,rust-openssl-0.10) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) @@ -1264,13 +1421,26 @@ asynchronous request/response operations.") ("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.26) ("rust-tokio-rustls" ,rust-tokio-rustls-0.24) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.23) ("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)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.26) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)) + #:cargo-development-inputs + (("rust-actix-codec" ,rust-actix-codec-0.5) + ("rust-actix-rt" ,rust-actix-rt-2) + ("rust-actix-server" ,rust-actix-server-2) + ("rust-bytes" ,rust-bytes-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-itertools" ,rust-itertools-0.12) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) + ("rust-rcgen" ,rust-rcgen-0.12) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.26) + ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.23)))) (home-page "https://github.com/actix/actix-net") (synopsis "TLS acceptor services for Actix ecosystem") (description @@ -1442,17 +1612,17 @@ the Actix ecosystem.") (define-public rust-actix-web-4 (package (name "rust-actix-web") - (version "4.5.1") + (version "4.9.0") (source (origin (method url-fetch) (uri (crate-uri "actix-web" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1159grrp031zy9j97vr3c376w8pdawr8akbib0iqqqxvvrnmb9j3")))) + (base32 "0f6bp3jdn5zb22wzab962101a2vk4z3z41m5c16vrk67bipdg04i")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; could not find `brotli` in the list of imported crates + `(#:tests? #f ; perhaps two different versions of crate `actix_web` are being used? #: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) @@ -1472,6 +1642,7 @@ the Actix ecosystem.") ("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-impl-more" ,rust-impl-more-0.1) ("rust-itoa" ,rust-itoa-1) ("rust-language-tags" ,rust-language-tags-0.3) ("rust-log" ,rust-log-0.4) @@ -1479,15 +1650,36 @@ the Actix ecosystem.") ("rust-once-cell" ,rust-once-cell-1) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-regex" ,rust-regex-1) + ("rust-regex-lite" ,rust-regex-lite-0.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)))) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-actix-files" ,rust-actix-files-0.6) + ("rust-actix-test" ,rust-actix-test-0.1) + ("rust-awc" ,rust-awc-3) + ("rust-brotli" ,rust-brotli-6) + ("rust-const-str" ,rust-const-str-0.5) + ("rust-core-affinity" ,rust-core-affinity-0.8) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rcgen" ,rust-rcgen-0.13) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-serde" ,rust-serde-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-zstd" ,rust-zstd-0.13)))) (native-inputs (list pkg-config)) - (inputs (list (list zstd "lib"))) + (inputs (list openssl (list zstd "lib"))) (home-page "https://actix.rs") (synopsis "Powerful, pragmatic, and fast web framework for Rust") (description @@ -1498,16 +1690,16 @@ the Actix ecosystem.") (package (inherit rust-actix-web-4) (name "rust-actix-web") - (version "3.3.2") + (version "3.3.3") (source (origin (method url-fetch) (uri (crate-uri "actix-web" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "11kv8y1p9dw78lnhrw3rqavhmazmy7s0z8j14a3a1yp7fahx8hg6")))) + (base32 "0xz2wggpxqdi57caj1hx7ydwi4i0nk5529xs8gscm0gmdl94llxn")))) (arguments - `(#:skip-build? #t + `(#:tests? #f ; Test uses multiple undeclared crates. #:cargo-inputs (("rust-actix-codec" ,rust-actix-codec-0.3) ("rust-actix-http" ,rust-actix-http-2) @@ -1649,21 +1841,30 @@ the Actix ecosystem.") (define-public rust-actix-web-codegen-4 (package (name "rust-actix-web-codegen") - (version "4.2.2") + (version "4.3.0") (source (origin (method url-fetch) (uri (crate-uri "actix-web-codegen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xalrv1s7imzfgxyql6zii5bpxxkk11rlcc8n4ia3v1hpgmm07zb")))) + (base32 "1f12ss948vpanh98a1v7f2x893g7xfh1mpgiz9fhnjb85q73i4gm")))) (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) + `(#: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)))) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-actix-macros" ,rust-actix-macros-0.2) + ("rust-actix-rt" ,rust-actix-rt-2) + ("rust-actix-test" ,rust-actix-test-0.1) + ("rust-actix-utils" ,rust-actix-utils-3) + ("rust-actix-web" ,rust-actix-web-4) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (native-inputs (list pkg-config)) + (inputs (list (list zstd "lib"))) (home-page "https://actix.rs") (synopsis "Routing and runtime macros for Actix Web") (description @@ -1769,36 +1970,116 @@ being mixed into a larger web page.") (define-public rust-async-h1-2 (package (name "rust-async-h1") - (version "2.3.0") + (version "2.3.4") (source (origin (method url-fetch) (uri (crate-uri "async-h1" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1p6ls50p1ixnxrhmx4sdb5d2kqrl1kfhcb0lkqlhzzqjz1sqmip5")))) + (base32 "0w99d821wxkr0w22vcp9yhxpdd5rgy5hivfng652bi5jijp1s7ax")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-async-channel" ,rust-async-channel-1) ("rust-async-dup" ,rust-async-dup-1) - ("rust-async-std" ,rust-async-std-1) - ("rust-byte-pool" ,rust-byte-pool-0.2) - ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-async-global-executor" ,rust-async-global-executor-2) + ("rust-async-io" ,rust-async-io-1) + ("rust-futures-lite" ,rust-futures-lite-1) ("rust-http-types" ,rust-http-types-2) ("rust-httparse" ,rust-httparse-1) - ("rust-lazy-static" ,rust-lazy-static-1) ("rust-log" ,rust-log-0.4) - ("rust-pin-project" ,rust-pin-project-1)))) + ("rust-pin-project" ,rust-pin-project-1)) + #:cargo-development-inputs + (("rust-async-std" ,rust-async-std-1) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) (home-page "https://github.com/http-rs/async-h1") (synopsis "Asynchronous HTTP 1.1 parser") (description "This package provides an asynchronous HTTP 1.1 parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-awc-3 + (package + (name "rust-awc") + (version "3.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "awc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ywn4jhm2181v8yh4kfpi1xwrgky6ky7w47i8rp8i6r7c4j9n13r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=client_brotli_encoding" + "--skip=client_brotli_encoding_large_random" + "--skip=client_gzip_encoding" + "--skip=client_gzip_encoding_large" + "--skip=client_gzip_encoding_large_random") + #:cargo-inputs (("rust-actix-codec" ,rust-actix-codec-0.5) + ("rust-actix-http" ,rust-actix-http-3) + ("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-base64" ,rust-base64-0.22) + ("rust-bytes" ,rust-bytes-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cookie" ,rust-cookie-0.16) + ("rust-derive-more" ,rust-derive-more-0.99) + ("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-itoa" ,rust-itoa-1) + ("rust-log" ,rust-log-0.4) + ("rust-mime" ,rust-mime-0.3) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls" ,rust-rustls-0.20) + ("rust-rustls" ,rust-rustls-0.22) + ("rust-rustls" ,rust-rustls-0.23) + ("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-trust-dns-resolver" ,rust-trust-dns-resolver-0.23)) + #:cargo-development-inputs + (("rust-actix-http" ,rust-actix-http-3) + ("rust-actix-http-test" ,rust-actix-http-test-3) + ("rust-actix-server" ,rust-actix-server-2) + ("rust-actix-test" ,rust-actix-test-0.1) + ("rust-actix-tls" ,rust-actix-tls-3) + ("rust-actix-utils" ,rust-actix-utils-3) + ("rust-actix-web" ,rust-actix-web-4) + ("rust-brotli" ,rust-brotli-6) + ("rust-const-str" ,rust-const-str-0.5) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-flate2" ,rust-flate2-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-rcgen" ,rust-rcgen-0.13) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-zstd" ,rust-zstd-0.13)))) + (native-inputs (list pkg-config)) + (inputs (list openssl (list zstd "lib"))) + (home-page "https://actix.rs") + (synopsis "Async HTTP and WebSocket client library") + (description + "This package provides async HTTP and WebSocket client library +built on the Actix ecosystem.") + (license (list license:expat license:asl2.0)))) + (define-public rust-awc-2 (package + (inherit rust-awc-3) (name "rust-awc") (version "2.0.3") (source @@ -1808,7 +2089,6 @@ being mixed into a larger web page.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "14g6m53zmxw3f1sf990l7ps3w2fq2c29n1slpizc7kxhwy8f90dk")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -1829,13 +2109,7 @@ being mixed into a larger web page.") ("rust-rustls" ,rust-rustls-0.18) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))) - (home-page "https://actix.rs") - (synopsis "Async HTTP and WebSocket client library") - (description - "This package provides async HTTP and WebSocket client library -built on the Actix ecosystem.") - (license (list license:expat license:asl2.0)))) + ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7)))))) (define-public rust-awc-1 (package @@ -1912,20 +2186,20 @@ built on the Actix ecosystem.") (define-public rust-axum-0.7 (package (name "rust-axum") - (version "0.7.4") + (version "0.7.9") (source (origin (method url-fetch) (uri (crate-uri "axum" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17kv7v8m981cqmfbv5m538fzxhw51l9bajv06kfddi7njarb8dhj")))) + (base32 "07z7wqczi9i8xb4460rvn39p4wjqwr32hx907crd1vwb2fy8ijpd")))) (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-base64" ,rust-base64-0.22) ("rust-bytes" ,rust-bytes-1) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-http" ,rust-http-1) @@ -1946,11 +2220,11 @@ built on the Actix ecosystem.") ("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-sync-wrapper" ,rust-sync-wrapper-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-tokio-tungstenite" ,rust-tokio-tungstenite-0.24) + ("rust-tower" ,rust-tower-0.5) + ("rust-tower-http" ,rust-tower-http-0.6) ("rust-tower-layer" ,rust-tower-layer-0.3) ("rust-tower-service" ,rust-tower-service-0.3) ("rust-tracing" ,rust-tracing-0.1)) @@ -1959,16 +2233,15 @@ built on the Actix ecosystem.") ("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-reqwest" ,rust-reqwest-0.12) ("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-tokio-tungstenite" ,rust-tokio-tungstenite-0.24) + ("rust-tower" ,rust-tower-0.5) + ("rust-tower-http" ,rust-tower-http-0.6) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) ("rust-uuid" ,rust-uuid-1)))) @@ -2045,19 +2318,18 @@ built on the Actix ecosystem.") (define-public rust-axum-core-0.4 (package (name "rust-axum-core") - (version "0.4.3") + (version "0.4.5") (source (origin (method url-fetch) (uri (crate-uri "axum-core" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1qx28wg4j6qdcdrisqwyaavlzc0zvbsrcwa99zf9456lfbyn6p51")))) + (base32 "16b1496c4gm387q20hkv5ic3k5bd6xmnvk50kwsy6ymr8rhvvwh9")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags - ;; The doc tests contain references to axum_extra. - '("--release" "--lib" "--bins" "--tests") + '("--" "--skip=ext_traits::request::RequestExt::extract_parts") #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) ("rust-bytes" ,rust-bytes-1) ("rust-futures-util" ,rust-futures-util-0.3) @@ -2067,8 +2339,8 @@ built on the Actix ecosystem.") ("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-sync-wrapper" ,rust-sync-wrapper-1) + ("rust-tower-http" ,rust-tower-http-0.6) ("rust-tower-layer" ,rust-tower-layer-0.3) ("rust-tower-service" ,rust-tower-service-0.3) ("rust-tracing" ,rust-tracing-0.1)) @@ -2076,7 +2348,7 @@ built on the Actix ecosystem.") ("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)))) + ("rust-tower-http" ,rust-tower-http-0.6)))) (home-page "https://github.com/tokio-rs/axum") (synopsis "Core types and traits for @code{axum}") (description "Core types and traits for @code{axum}.") @@ -2112,48 +2384,17 @@ built on the Actix ecosystem.") ("rust-tokio" ,rust-tokio-1) ("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 "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") + (version "0.9.6") (source (origin (method url-fetch) (uri (crate-uri "axum-extra" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "13yxdzc0jj9d2q4yqf13qs4psrx9l86vk3zn79vifrh1f8pz8pw9")))) + (base32 "011gr9fkxild2yv7rxgn9shzlbcpyzvps3vlnwpiq2jgj06b7567")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -2162,6 +2403,7 @@ built on the Actix ecosystem.") ("rust-axum-macros" ,rust-axum-macros-0.4) ("rust-bytes" ,rust-bytes-1) ("rust-cookie" ,rust-cookie-0.18) + ("rust-fastrand" ,rust-fastrand-2) ("rust-form-urlencoded" ,rust-form-urlencoded-1) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-headers" ,rust-headers-0.4) @@ -2180,17 +2422,18 @@ built on the Actix ecosystem.") ("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" ,rust-tower-0.5) ("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-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-typed-json" ,rust-typed-json-0.1)) + #:cargo-development-inputs (("rust-hyper" ,rust-hyper-1) + ("rust-reqwest" ,rust-reqwest-0.12) ("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)))) + ("rust-tower" ,rust-tower-0.5) + ("rust-tower-http" ,rust-tower-http-0.6)))) (home-page "https://github.com/tokio-rs/axum") (synopsis "Extra utilities for axum") (description "Extra utilities for axum.") @@ -2244,6 +2487,35 @@ built on the Actix ecosystem.") ("rust-tower" ,rust-tower-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.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "axum-macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1klv77c889jm05bzayaaiinalarhvh2crc2w4nvp3l581xaj7lap")))) + (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-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 "Macros for axum") + (description "This package provides macros for axum.") + (license license:expat))) + (define-public rust-axum-macros-0.3 (package (name "rust-axum-macros") @@ -2276,6 +2548,29 @@ built on the Actix ecosystem.") (description "Macros for @code{axum}.") (license license:expat))) +(define-public rust-basic-cookies-0.1 + (package + (name "rust-basic-cookies") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "basic-cookies" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xwnmmcn32m18nis7azfxylkqyhirkqcag94i23b1g8n5ka8zgb7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-lalrpop" ,rust-lalrpop-0.20) + ("rust-lalrpop-util" ,rust-lalrpop-util-0.20) + ("rust-regex" ,rust-regex-1)))) + (home-page "https://github.com/drjokepu/basic-cookies") + (synopsis "Low-level RFC 6265 compatible cookie handling library for Rust") + (description + "This package provides a low-level RFC 6265 compatible cookie handling +library for Rust.") + (license license:expat))) + (define-public rust-chardetng-0.1 (package (name "rust-chardetng") @@ -2337,53 +2632,399 @@ transfer coding.") (base32 "11yghnd24w0i9p8g368c3pg7qh9nfz7kgri6pywja9pnmakj13a9")))) (arguments `()))) -(define-public rust-gemini-fetch-0.2 +(define-public rust-cookie-0.18 (package - (name "rust-gemini-fetch") - (version "0.2.1") + (name "rust-cookie") + (version "0.18.0") (source (origin (method url-fetch) - (uri (crate-uri "gemini-fetch" version)) + (uri (crate-uri "cookie" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1851jk1a7w6pcb9qcgmgp7vvg3dfihwr7ldlh5k9qxmyaymdy4ma")))) + (base32 "1y2ywf9isq0dwpj7m7jq7r1g9cs3xr2i6qipw5v030hj2kv1rn9w")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-ring" ,rust-ring-0.16) - ("rust-rustls" ,rust-rustls-0.19) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) - ("rust-url" ,rust-url-2) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.21) - ("rust-x509-signature" ,rust-x509-signature-0.5)))) - (home-page "https://github.com/jsvana/gemini-fetch/") - (synopsis "Fetch gemini pages") - (description "This package provides a library to fetch gemini pages.") + `(#:cargo-inputs (("rust-aes-gcm" ,rust-aes-gcm-0.10) + ("rust-base64" ,rust-base64-0.21) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-time" ,rust-time-0.3) + ("rust-version-check" ,rust-version-check-0.9)))) + (home-page "https://github.com/SergioBenitez/cookie-rs") + (synopsis + "Crate for parsing HTTP cookie headers and managing a cookie jar") + (description + "Parse HTTP cookie headers and manage a cookie jar with this crate. +It supports signed and private (encrypted + signed) jars.") + ;; The user can choose either license. + (license (list license:expat license:asl2.0)))) + +(define-public rust-cookie-0.17 + (package + (inherit rust-cookie-0.18) + (name "rust-cookie") + (version "0.17.0") + (source (origin + (method url-fetch) + (uri (crate-uri "cookie" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "096c52jg9iq4lfcps2psncswv33fc30mmnaa2sbzzcfcw71kgyvy")))) + (arguments + `(#:cargo-inputs + (("rust-aes-gcm" ,rust-aes-gcm-0.10) + ("rust-base64" ,rust-base64-0.21) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-time" ,rust-time-0.3) + ("rust-version-check" ,rust-version-check-0.9)))))) + +(define-public rust-cookie-0.16 + (package + (inherit rust-cookie-0.17) + (name "rust-cookie") + (version "0.16.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1yriqbf77iigrnp2gmf6m1r296bndv051dc1qc39w3bis1bwsng8")))) + (arguments + `(#:cargo-inputs + (("rust-aes-gcm" ,rust-aes-gcm-0.10) + ("rust-base64" ,rust-base64-0.20) + ("rust-hkdf" ,rust-hkdf-0.12) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-rand" ,rust-rand-0.8) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-subtle" ,rust-subtle-2) + ("rust-time" ,rust-time-0.3) + ("rust-version-check" ,rust-version-check-0.9)))))) + +(define-public rust-cookie-0.15 + (package + (inherit rust-cookie-0.16) + (name "rust-cookie") + (version "0.15.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hlsi1hv5yrx4g92v5acha6yjz8dy1zj0pbppwynml44qpgjavpw")))) + (arguments + `(#: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.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-subtle" ,rust-subtle-2) + ("rust-time" ,rust-time-0.2) + ("rust-version-check" ,rust-version-check-0.9)))))) + +(define-public rust-cookie-0.14 + (package + (inherit rust-cookie-0.15) + (name "rust-cookie") + (version "0.14.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ldryjb41r8n0ar2pya0bajlxr8s4j59fjkmyi5ppg1932rdg983")))) + (arguments + `(#: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.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-time" ,rust-time-0.2) + ("rust-version-check" ,rust-version-check-0.9)))))) + +(define-public rust-cookie-0.12 + (package + (inherit rust-cookie-0.15) + (name "rust-cookie") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1mdvqixahcywvqp0y8k2skkgbpfhsp0w73l9mz93dcrx1gq091l8")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.10) + ("rust-ring" ,rust-ring-0.14) + ("rust-time" ,rust-time-0.1) + ("rust-url" ,rust-url-1)))))) + +(define-public rust-cookie-0.11 + (package + (inherit rust-cookie-0.12) + (name "rust-cookie") + (version "0.11.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mwbcygk9als9h7bfp8fhax2ah278qamaz9l9p64in6iirv1h85y")))) + (arguments + `(#: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.8) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-time" ,rust-time-0.1)))))) + +(define-public rust-cookie-factory-0.3 + (package + (name "rust-cookie-factory") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie-factory" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sqjmw85ckqhppff6gjwmvjpkii35441a51xx7cv0ih3jy2fjv9r")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-development-inputs (("rust-maplit" ,rust-maplit-1)))) + (home-page "https://github.com/rust-bakery/cookie-factory") + (synopsis "Combinator-based serialization library") + (description + "This package provides a serialization library with a combinator design +similar to the nom parser combinators library.") (license license:expat))) +(define-public rust-cookie-store-0.21 + (package + (name "rust-cookie-store") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie_store" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1y9ydb52bcd1zc7r0mppy8c8l541p459a006xr0m52pq50c91b1f")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs + (list rust-cookie-0.18 + rust-document-features-0.2 + rust-idna-1 + rust-indexmap-2 + rust-log-0.4 + rust-publicsuffix-2 + rust-ron-0.8 + rust-serde-1 + rust-serde-derive-1 + rust-serde-json-1 + rust-time-0.3 + rust-url-2))) + (home-page "https://github.com/pfernie/cookie_store") + (synopsis "Cookie storage and retrieval") + (description "This package implements cookie storage and retrieval.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-cookie-store-0.20 + (package + (inherit rust-cookie-store-0.21) + (name "rust-cookie-store") + (version "0.20.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cookie_store" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1xkc7fl1jik9ki13j9pjgyw51d0qd613srz1lv1qb0blpjmn2x1q")))) + (arguments + `(#:cargo-inputs (("rust-cookie" ,rust-cookie-0.17) + ("rust-idna" ,rust-idna-0.3) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-log" ,rust-log-0.4) + ("rust-publicsuffix" ,rust-publicsuffix-2) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-time" ,rust-time-0.3) + ("rust-url" ,rust-url-2)))))) + +(define-public rust-deadpool-0.10 + (package + (name "rust-deadpool") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "145lq79dlc4jn7jvlcf4lb105bs3z3jy6g7d15zv7iy1g04i117v")))) + (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-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.9 + (package + (inherit rust-deadpool-0.10) + (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")))) + (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)))))) + +(define-public rust-deadpool-0.7 + (package + (inherit rust-deadpool-0.9) + (name "rust-deadpool") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vb18xvhmyg6gvvq5vrcqmy4x26ryrmkqpsgwmb4bvkav1wn24ix")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-async-trait" ,rust-async-trait-0.1) + ("rust-config" ,rust-config-0.10) + ("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)))))) + +(define-public rust-deadpool-runtime-0.1 + (package + (name "rust-deadpool-runtime") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool-runtime" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0arbchl5j887hcfvjy4gq38d32055s5cf7pkpmwn0lfw3ss6ca89")))) + (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 utilities for sync managers") + (description "This package provides dead simple async pool utilities +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.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "deadpool-sync" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s50gz56m8rhb7p8vw8jpgikwjx0v7x407hw3sjfvqyv52n17hic")))) + (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 utilities for sync managers") + (description "This package provides dead simple async pool utilities +for sync managers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-h2-0.4 (package (name "rust-h2") - (version "0.4.4") + (version "0.4.7") (source (origin (method url-fetch) (uri (crate-uri "h2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sc0ymhiqp4hbz39d405cjbga77wnz2pprbgyc498xs58hlwfvl1")))) + (base32 "0bljg66n2x3c5yzbi12v2jfcj77hb35rjq0gq21x0d6n52bjgbnc")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included - #:cargo-inputs (("rust-bytes" ,rust-bytes-1) + #:cargo-inputs (("rust-atomic-waker" ,rust-atomic-waker-1) + ("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) @@ -2398,9 +3039,9 @@ transfer coding.") ("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-tokio-rustls" ,rust-tokio-rustls-0.26) ("rust-walkdir" ,rust-walkdir-2) - ("rust-webpki-roots" ,rust-webpki-roots-0.25)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) (home-page "https://github.com/hyperium/h2") (synopsis "HTTP/2 client and server") (description "This package provides an HTTP/2 client and server.") @@ -2410,14 +3051,14 @@ transfer coding.") (package (inherit rust-h2-0.4) (name "rust-h2") - (version "0.3.25") + (version "0.3.26") (source (origin (method url-fetch) (uri (crate-uri "h2" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1sqq8rnv3vrwra7wzgc6099j9zw80rnm9aslhsa8d674qlh2igag")))) + (base32 "1s7msnfv7xprzs6xzfj5sg6p8bjcdpcqcmjjbkd345cyi1x55zl1")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; Not all files included. @@ -2427,7 +3068,7 @@ transfer coding.") ("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-indexmap" ,rust-indexmap-2) ("rust-slab" ,rust-slab-0.4) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-util" ,rust-tokio-util-0.7) @@ -2524,8 +3165,48 @@ transfer coding.") ("rust-webpki" ,rust-webpki-0.21) ("rust-webpki-roots" ,rust-webpki-roots-0.17)))))) +(define-public rust-h3-0.0.6 + (package + (name "rust-h3") + (version "0.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ay6bfnj49wdyhvsqf78msdv3zxl32cjfk745z8scirvjsh7axjy")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f ; not all files included + #:cargo-inputs + (list rust-bytes-1 + rust-fastrand-2 + rust-futures-util-0.3 + rust-http-1 + rust-pin-project-lite-0.2 + rust-tokio-1 + rust-tracing-0.1) + #:cargo-development-inputs + (list rust-assert-matches-1 + rust-futures-0.3 + rust-futures-util-0.3 + rust-proptest-1 + rust-quinn-0.11 + rust-quinn-proto-0.11 + rust-rcgen-0.13 + rust-rustls-0.23 + rust-tokio-1 + rust-tokio-util-0.7 + rust-tracing-subscriber-0.3))) + (home-page "https://github.com/hyperium/h3") + (synopsis "Async HTTP/3 implementation") + (description "This package provides an async HTTP/3 implementation.") + (license license:expat))) + (define-public rust-h3-0.0.4 (package + (inherit rust-h3-0.0.6) (name "rust-h3") (version "0.0.4") (source @@ -2535,7 +3216,6 @@ transfer coding.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "04clhh6b5iqlgnbppikbz4zpxl78g4vkyhyrjgnyg4vfkrmqij5i")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ;not all files included #:cargo-inputs @@ -2557,11 +3237,7 @@ transfer coding.") ("rust-rustls" ,rust-rustls-0.21) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-util" ,rust-tokio-util-0.7) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/hyperium/h3") - (synopsis "Async HTTP/3 implementation") - (description "This package provides an async HTTP/3 implementation.") - (license license:expat))) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) (define-public rust-h3-0.0.3 (package @@ -2619,8 +3295,35 @@ transfer coding.") ("rust-tokio" ,rust-tokio-1) ("rust-tracing" ,rust-tracing-0.1)))))) +(define-public rust-h3-quinn-0.0.7 + (package + (name "rust-h3-quinn") + (version "0.0.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "h3-quinn" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mfq4kf97vir2kcqh8k5basz8kq85w9xii1na98fmvpw2gs9kiqp")))) + (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.6) + ("rust-quinn" ,rust-quinn-0.11) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/hyperium/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.5 (package + (inherit rust-h3-quinn-0.0.7) (name "rust-h3-quinn") (version "0.0.5") (source @@ -2630,7 +3333,6 @@ transfer coding.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ii06bi5a19k4qfkppn5019nw8xca2wzfl66cax949jc1v66ny3k")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) @@ -2639,12 +3341,7 @@ transfer coding.") ("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.4 (package @@ -2734,29 +3431,6 @@ transfer coding.") ("rust-mime" ,rust-mime-0.3) ("rust-sha1" ,rust-sha1-0.10)))))) -(define-public rust-headers-0.2 - (package - (inherit rust-headers-0.3) - (name "rust-headers") - (version "0.2.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "headers" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0hmnrra00cjqpsn05klnr9cysrv2bm19akxl5lncwcrgfbcafb48")))) - (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.10) - ("rust-bitflags" ,rust-bitflags-1) - ("rust-bytes" ,rust-bytes-0.4) - ("rust-headers-core" ,rust-headers-core-0.1) - ("rust-http" ,rust-http-0.1) - ("rust-mime" ,rust-mime-0.3) - ("rust-sha-1" ,rust-sha-1-0.8) - ("rust-time" ,rust-time-0.1)))))) - (define-public rust-headers-core-0.3 (package (name "rust-headers-core") @@ -2792,23 +3466,6 @@ transfer coding.") `(#:skip-build? #t #:cargo-inputs (("rust-http" ,rust-http-0.2)))))) -(define-public rust-headers-core-0.1 - (package - (inherit rust-headers-core-0.2) - (name "rust-headers-core") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "headers-core" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0ds20kg0igncs2r0jrcf26mq72k3j6ilanr0qwh7r7xak8kk2wcn")))) - (arguments - `(#:cargo-inputs - (("rust-bytes" ,rust-bytes-0.4) - ("rust-http" ,rust-http-0.1)))))) - (define-public rust-hickory-client-0.24 (package (name "rust-hickory-client") @@ -2852,7 +3509,7 @@ transfer coding.") "Hickory DNS is a safe and secure DNS library. This is the Client library with DNSSEC support. DNSSEC with NSEC validation for negative records, is complete. The client supports dynamic DNS with SIG0 authenticated -requests, implementing easy to use high level funtions. Hickory DNS is based +requests, implementing easy to use high level functions. Hickory DNS is based on the Tokio and Futures libraries, which means it should be easily integrated into other software that also use those libraries.") (license (list license:expat license:asl2.0)))) @@ -3107,27 +3764,70 @@ means it should be easily integrated into other software that also use those libraries.") (license (list license:expat license:asl2.0)))) +(define-public rust-hoot-0.1 + (package + (name "rust-hoot") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "hoot" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mjfrn3yxhd2ll8kk5jhgasn8m2rbhb7va7s6dihin15afvf7spw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-httparse" ,rust-httparse-1) + ("rust-log" ,rust-log-0.4)) + #:cargo-development-inputs (("rust-memoffset" ,rust-memoffset-0.9)))) + (home-page "https://github.com/algesten/hoot") + (synopsis "Http 1.1 library") + (description "This package provides an http 1.1 library.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-hootbin-0.1 + (package + (name "rust-hootbin") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "hootbin" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1f616q6z7z97p1ylns8hdbikcpbazyad0370mfihkq8sj4brxkzb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-fastrand" ,rust-fastrand-2) + ("rust-hoot" ,rust-hoot-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/algesten/hoot") + (synopsis "Hoot based library to emulate httpbin") + (description + "This package provides a hoot based library to emulate httpbin.") + (license (list license:expat license:asl2.0)))) + (define-public rust-http-1 (package (name "rust-http") - (version "1.0.0") + (version "1.2.0") (source (origin (method url-fetch) (uri (crate-uri "http" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1sllw565jn8r5w7h928nsfqq33x586pyasdfr7vid01scwwgsamk")))) + (base32 "1skglzdf98j5nzxlii540n11is0w4l80mi5sm3xrj716asps4v7i")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) ("rust-fnv" ,rust-fnv-1) ("rust-itoa" ,rust-itoa-1)) #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-indexmap" ,rust-indexmap-1.8) - ("rust-quickcheck" ,rust-quickcheck-0.9) - ("rust-rand" ,rust-rand-0.7) - ("rust-seahash" ,rust-seahash-3) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://github.com/hyperium/http") @@ -3140,14 +3840,14 @@ requests and responses.") (package (inherit rust-http-1) (name "rust-http") - (version "0.2.11") + (version "0.2.12") (source (origin (method url-fetch) (uri (crate-uri "http" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1fwz3mhh86h5kfnr5767jlx9agpdggclq7xsqx930fflzakb2iw9")))) + (base32 "1w81s4bcbmcj9bjp7mllm8jlz6b31wzvirz8bgpzbqkpwmbvn730")))) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) @@ -3194,17 +3894,17 @@ requests and responses.") (define-public rust-http-auth-0.1 (package (name "rust-http-auth") - (version "0.1.9") + (version "0.1.10") (source (origin (method url-fetch) (uri (crate-uri "http-auth" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0mf27f963mxpbyjw20sjmm0ziqvr9z9m7kdlsrbada2fdazrng34")))) + (base32 "08l8z75cpda5y25cnd5fzgsahb35xn29qlgl9j12dy9f8sls83qm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.21) + (("rust-base64" ,rust-base64-0.22) ("rust-digest" ,rust-digest-0.10) ("rust-hex" ,rust-hex-0.4) ("rust-http" ,rust-http-1) @@ -3216,14 +3916,14 @@ requests and responses.") ("rust-sha2" ,rust-sha2-0.10)) #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1) - ("rust-reqwest" ,rust-reqwest-0.11)))) + ("rust-reqwest" ,rust-reqwest-0.12)))) (inputs (list openssl)) (native-inputs (list pkg-config)) (home-page "https://github.com/scottlamb/http-auth") (synopsis "HTTP authentication for rust") - (description "This package provices HTTP authentication; it can parse + (description "This package provides HTTP authentication; it can parse challenge lists, respond to Basic and Digest challenges. It is likely to be extended with server support and additional auth schemes.") (license (list license:expat license:asl2.0)))) @@ -3231,14 +3931,14 @@ extended with server support and additional auth schemes.") (define-public rust-http-body-1 (package (name "rust-http-body") - (version "1.0.0") + (version "1.0.1") (source (origin (method url-fetch) (uri (crate-uri "http-body" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0hyn8n3iadrbwq8y0p1rl1275s4nm49bllw5wji29g4aa3dqbb0w")))) + (base32 "111ir5k2b9ihz5nr9cz7cwm7fnydca7dx4hc7vr16scfzghxrzhy")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) @@ -3308,14 +4008,14 @@ HTTP request or response body.") (define-public rust-http-body-util-0.1 (package (name "rust-http-body-util") - (version "0.1.0") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "http-body-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0h78a6jj2vky0wmgmq5f1h541cmhmlij09gw63fxl59h77mpkjs1")))) + (base32 "0kslwazg4400qnc2azkrgqqci0fppv12waicnsy5d8hncvbjjd3r")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) @@ -3323,8 +4023,7 @@ HTTP request or response body.") ("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)))) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/hyperium/http-body") (synopsis "Combinators and adapters for HTTP request/response bodies") (description @@ -3373,17 +4072,36 @@ response bodies.") (description "This package provides types and traits for HTTP clients.") (license (list license:expat license:asl2.0)))) +(define-public rust-http-range-0.1 + (package + (name "rust-http-range") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "http-range" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wvm2p9jhbj6f9fbl1i7a0iz85nga37kx739v4p8fpqg27dwkpi1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/bancek/rust-http-range.git") + (synopsis "HTTP Range header parser") + (description "This package provides HTTP Range header parser.") + (license license:expat))) + (define-public rust-http-range-header-0.4 (package (name "rust-http-range-header") - (version "0.4.0") + (version "0.4.2") (source (origin (method url-fetch) (uri (crate-uri "http-range-header" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zhigmvyrk50jzll6nmn7n1rxkfzh8xn0838dvdvnj52rlqyzr1w")))) + (base32 "171mszmmq0lzpj9brig4wz1sz8hh3h6dgmaxs69q2db8ibma4wci")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -3450,15 +4168,14 @@ dependencies.") (define-public rust-httparse-1 (package (name "rust-httparse") - (version "1.8.0") + (version "1.9.5") (source (origin (method url-fetch) (uri (crate-uri "httparse" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "010rrfahm1jss3p022fqf3j3jmm72vhn4iqhykahb9ynpaag75yq")))) + (base32 "0ip9v8m9lvgvq1lznl31wvn0ch1v254na7lhid9p29yx9rbx6wbx")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -3489,17 +4206,71 @@ dependencies.") "This crates parses and formats HTTP datetime strings.") (license (list license:expat license:asl2.0)))) +(define-public rust-httpmock-0.7 + (package + (name "rust-httpmock") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "httpmock" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nzxw15pn453siq4v9xfjgggvw2jry50y7qsxhnlf409xs39bv08")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-assert-json-diff" ,rust-assert-json-diff-2) + ("rust-async-object-pool" ,rust-async-object-pool-0.1) + ("rust-async-std" ,rust-async-std-1) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-basic-cookies" ,rust-basic-cookies-0.1) + ("rust-clap" ,rust-clap-4) + ("rust-colored" ,rust-colored-2) + ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-form-urlencoded" ,rust-form-urlencoded-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-isahc" ,rust-isahc-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-levenshtein" ,rust-levenshtein-1) + ("rust-log" ,rust-log-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-regex" ,rust-serde-regex-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-similar" ,rust-similar-2) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-actix-rt" ,rust-actix-rt-2) + ("rust-colored" ,rust-colored-2) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-isahc" ,rust-isahc-1) + ("rust-quote" ,rust-quote-1) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-syn" ,rust-syn-2) + ("rust-tokio-test" ,rust-tokio-test-0.4) + ("rust-ureq" ,rust-ureq-2)))) + (native-inputs (list pkg-config)) + (inputs (list curl openssl zlib)) + (home-page "https://github.com/alexliesenfeld/httpmock") + (synopsis "HTTP mocking library for Rust") + (description "This package provides an HTTP mocking library for Rust.") + (license license:expat))) + (define-public rust-hyper-1 (package (name "rust-hyper") - (version "1.2.0") + (version "1.5.2") (source (origin (method url-fetch) (uri (crate-uri "hyper" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fi6k7hz5fmdph0a5r8hw50d7h2n9zxkizmafcmb65f67bblhr8q")))) + (base32 "1q7akfb443yrjzkmnnbp2vs8zi15hgbk466rr4y144v4ppabhvr5")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved imports `super::DecodedLength`, `super::Sender` @@ -3513,8 +4284,8 @@ dependencies.") ("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-smallvec" ,rust-smallvec-1) ("rust-tokio" ,rust-tokio-1) ("rust-tracing" ,rust-tracing-0.1) ("rust-want" ,rust-want-0.3)) @@ -3523,6 +4294,7 @@ dependencies.") ("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-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) @@ -3539,14 +4311,14 @@ dependencies.") (package (inherit rust-hyper-1) (name "rust-hyper") - (version "0.14.27") + (version "0.14.32") (source (origin (method url-fetch) (uri (crate-uri "hyper" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0s2l74p3harvjgb0bvaxlxgxq71vpfrzv0cqz2p9w8d8akbczcgz")))) + (base32 "1rvcb0smz8q1i0y6p7rwxr02x5sclfg2hhxf3g0774zczn0cgps1")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -3561,7 +4333,7 @@ dependencies.") ("rust-httpdate" ,rust-httpdate-1) ("rust-itoa" ,rust-itoa-1) ("rust-libc" ,rust-libc-0.2) - ("rust-pin-project" ,rust-pin-project-lite-0.2) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-socket2" ,rust-socket2-0.4) ("rust-tokio" ,rust-tokio-1) ("rust-tower-service" ,rust-tower-service-0.3) @@ -3633,16 +4405,17 @@ dependencies.") (package (inherit rust-hyper-0.13) (name "rust-hyper") - (version "0.12.35") + (version "0.12.36") (source (origin (method url-fetch) (uri (crate-uri "hyper" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1xnm8zi4bdjqhlnx3238kx8yjf29jjd1ww54apcql7wf8g8nxglx")))) + (base32 "0ljcsgxddqaaasran1chafd10kpdz5d20da78j9izz4ncapkr12w")))) (arguments - `(#:skip-build? #t ;; fails due to some missing example file + `(#:tests? #f ; Not all files included. + #:install-source? #f ; `README.md` does not appear to exist #:cargo-inputs (("rust-bytes" ,rust-bytes-0.4) ("rust-futures" ,rust-futures-0.1) @@ -3655,6 +4428,7 @@ dependencies.") ("rust-itoa" ,rust-itoa-0.4) ("rust-log" ,rust-log-0.4) ("rust-net2" ,rust-net2-0.2) + ("rust-rustc-version" ,rust-rustc-version-0.2) ("rust-time" ,rust-time-0.1) ("rust-tokio" ,rust-tokio-0.1) ("rust-tokio-buf" ,rust-tokio-buf-0.1) @@ -3668,7 +4442,6 @@ dependencies.") #:cargo-development-inputs (("rust-futures-timer" ,rust-futures-timer-0.1) ("rust-num-cpus" ,rust-num-cpus-1) - ("rust-rustc-version" ,rust-rustc-version-0.2) ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.3) ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) @@ -3770,8 +4543,57 @@ dependencies.") (description "Proxy connector for the Hyper HTTP library.") (license license:expat))) +(define-public rust-hyper-rustls-0.27 + (package + (name "rust-hyper-rustls") + (version "0.27.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-rustls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cjr3yf3x5mr3194llsfibacl6j7n2dknii2dwjha4ysyf1ia69d")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-test-flags + '(list "--" + "--skip=connector::tests::connects_http" + "--skip=connector::tests::connects_https" + "--skip=connector::tests::connects_https_only" + "--skip=connector::tests::enforces_https_only" + "--skip=client" + "--skip=server") + #:cargo-inputs + (list rust-futures-util-0.3 + rust-http-1 + rust-hyper-1 + rust-hyper-util-0.1 + rust-log-0.4 + rust-rustls-0.23 + rust-rustls-native-certs-0.8 + rust-rustls-pki-types-1 + rust-rustls-platform-verifier-0.5 + rust-tokio-1 + rust-tokio-rustls-0.26 + rust-tower-service-0.3 + rust-webpki-roots-0.26) + #:cargo-development-inputs + (list rust-cfg-if-1 + rust-http-body-util-0.1 + rust-hyper-util-0.1 + rust-rustls-0.23 + rust-rustls-pemfile-2 + 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.26 (package + (inherit rust-hyper-rustls-0.27) (name "rust-hyper-rustls") (version "0.26.0") (source @@ -3781,7 +4603,6 @@ dependencies.") (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 @@ -3802,12 +4623,7 @@ dependencies.") ("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)))) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-hyper-rustls-0.24 (package @@ -3893,36 +4709,6 @@ dependencies.") ("rust-webpki" ,rust-webpki-0.21) ("rust-webpki-roots" ,rust-webpki-roots-0.21)))))) -(define-public rust-hyper-rustls-0.21 - (package - (inherit rust-hyper-rustls-0.22) - (name "rust-hyper-rustls") - (version "0.21.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "hyper-rustls" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1dmbj15fx6qyg26hji2jm7q9y383090jy3z9zjn5xs4f7v43qx1p")))) - (arguments - `(#:tests? #f ; Not all files included. - #:cargo-inputs - (("rust-bytes" ,rust-bytes-0.5) - ("rust-ct-logs" ,rust-ct-logs-0.7) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-hyper" ,rust-hyper-0.13) - ("rust-log" ,rust-log-0.4) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.4) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) - ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.20)) - #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.2)))))) - (define-public rust-hyper-sync-rustls-0.3 (package (name "rust-hyper-sync-rustls") @@ -3953,8 +4739,45 @@ dependencies.") "This package provides glue code for Rustls and synchronous Hyper.") (license (list license:expat license:asl2.0)))) +(define-public rust-hyper-timeout-0.5 + (package + (name "rust-hyper-timeout") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-timeout" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c431l5ckr698248yd6bnsmizjy2m1da02cbpmsnmkpvpxkdb41b")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=tests::test_read_timeout" + "--skip=tests::test_timeout_connector" + "--skip=test_upload_timeout") + #:cargo-inputs (("rust-hyper" ,rust-hyper-1) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower-service" ,rust-tower-service-0.3)) + #:cargo-development-inputs (("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-hyper" ,rust-hyper-1) + ("rust-hyper-tls" ,rust-hyper-tls-0.6) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/hjr3/hyper-timeout") + (synopsis "Connect, read and write timeout aware connector for Hyper") + (description + "This package provides a connect, read and write timeout aware connector +to be used with Hyper client.") + (license (list license:expat license:asl2.0)))) + (define-public rust-hyper-timeout-0.4 (package + (inherit rust-hyper-timeout-0.5) (name "rust-hyper-timeout") (version "0.4.1") (source @@ -3964,20 +4787,13 @@ dependencies.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1c8k3g8k2yh1gxvsx9p7amkimgxhl9kafwpj7jyf8ywc5r45ifdv")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-hyper" ,rust-hyper-0.14) ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-io-timeout" ,rust-tokio-io-timeout-1)))) - (home-page "https://github.com/hjr3/hyper-timeout") - (synopsis "Connect, read and write timeout aware connector for Hyper") - (description - "This package provides a connect, read and write timeout aware connector -to be used with Hyper client.") - (license (list license:expat license:asl2.0)))) + ("rust-tokio-io-timeout" ,rust-tokio-io-timeout-1)))))) (define-public rust-hyper-tls-0.6 (package @@ -4046,10 +4862,6 @@ with hyper.") (sha256 (base32 "1vcfyz7dxavf4brns15afmj5fxz88lbn05rrpbfqsnybdp2sqyfr")))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)) (arguments `(#:cargo-inputs (("rust-bytes" ,rust-bytes-0.5) @@ -4063,14 +4875,14 @@ with hyper.") (define-public rust-hyper-util-0.1 (package (name "rust-hyper-util") - (version "0.1.3") + (version "0.1.10") (source (origin (method url-fetch) (uri (crate-uri "hyper-util" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1akngan7j0n2n0wd25c6952mvqbkj9gp1lcwzyxjc0d37l8yyf6a")))) + (base32 "1d1iwrkysjhq63pg54zk3vfby1j7zmxzm9zzyfr4lwvp0szcybfz")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; could not find `client` in `hyper_util` @@ -4083,14 +4895,13 @@ with hyper.") ("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-pnet-datalink" ,rust-pnet-datalink-0.35) ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-test" ,rust-tokio-test-0.4)))) @@ -4099,6 +4910,31 @@ with hyper.") (description "This package provides utilities for the @code{hyper} crate.") (license license:expat))) +(define-public rust-hyperlocal-0.8 + (package + (name "rust-hyperlocal") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyperlocal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "136978rsp0wr6x28cxivxhbq2np66l4jrq3n9xwckrrd5dxxzbqg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3) + ("rust-hex" ,rust-hex-0.4) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-tokio" ,rust-tokio-1)) + #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/softprops/hyperlocal") + (synopsis "Hyper bindings for Unix domain sockets") + (description + "This package provides Hyper bindings for Unix domain sockets.") + (license license:expat))) + (define-public rust-iron-0.6 (package (name "rust-iron") @@ -4297,14 +5133,14 @@ which speaks Serde.") (define-public rust-mockito-1 (package (name "rust-mockito") - (version "1.4.0") + (version "1.6.1") (source (origin (method url-fetch) (uri (crate-uri "mockito" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "07mz6yyfnl1ka29wkl1qa6mvm66lwsjf8y3cl0m3kpsvm8iy1xnj")))) + (base32 "1qjfkipaccvays58a9vzdnb9lhrh24i1mkkb3sfsyvm3d78xcb35")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -4313,9 +5149,14 @@ which speaks Serde.") "--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-bytes" ,rust-bytes-1) ("rust-colored" ,rust-colored-2) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-hyper" ,rust-hyper-0.14) + ("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-log" ,rust-log-0.4) ("rust-rand" ,rust-rand-0.8) ("rust-regex" ,rust-regex-1) @@ -4325,7 +5166,7 @@ which speaks Serde.") ("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-reqwest" ,rust-reqwest-0.12) ("rust-testing-logger" ,rust-testing-logger-0.1) ("rust-tokio" ,rust-tokio-1)))) (native-inputs (list pkg-config)) @@ -4351,7 +5192,7 @@ which speaks Serde.") (arguments `(#:cargo-inputs (("rust-buf-redux" ,rust-buf-redux-0.8) - ("rust-clippy" ,rust-clippy-0.0) + ("rust-clippy" ,rust-clippy-0.0.302) ("rust-httparse" ,rust-httparse-1) ("rust-hyper" ,rust-hyper-0.10) ("rust-iron" ,rust-iron-0.6) @@ -4392,7 +5233,7 @@ client and server.") `(#:skip-build? #t #:cargo-inputs (("rust-buf-redux" ,rust-buf-redux-0.8) - ("rust-clippy" ,rust-clippy-0.0) + ("rust-clippy" ,rust-clippy-0.0.302) ("rust-httparse" ,rust-httparse-1) ("rust-hyper" ,rust-hyper-0.10) ("rust-iron" ,rust-iron-0.6) @@ -4592,18 +5433,19 @@ in the Rust programming language.") (define-public rust-reqwest-0.12 (package (name "rust-reqwest") - (version "0.12.4") + (version "0.12.9") (source (origin (method url-fetch) (uri (crate-uri "reqwest" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "047aa0qnngnlnf9i0abrs6pgmz15vk81p5pvscwhk3l6jbfsyv2n")))) + (base32 "0vq40h75fmrkfjyyjxl84g0pzjzz0n989ag1cajy17g78spn4z57")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags '("--release" "--" - "--skip=badssl" + `(#:cargo-test-flags '("--" + "--skip=test_badssl_modern" + "--skip=test_badssl_self_signed" "--skip=test_allowed_methods" "--skip=test_tls_info" "--skip=connect_many_timeout" @@ -4612,21 +5454,21 @@ in the Rust programming language.") (("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-cookie" ,rust-cookie-0.18) + ("rust-cookie-store" ,rust-cookie-store-0.21) ("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-h3" ,rust-h3-0.0.6) + ("rust-h3-quinn" ,rust-h3-quinn-0.0.7) ("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-rustls" ,rust-hyper-rustls-0.27) ("rust-hyper-tls" ,rust-hyper-tls-0.6) ("rust-hyper-util" ,rust-hyper-util-0.1) ("rust-ipnet" ,rust-ipnet-2) @@ -4638,19 +5480,20 @@ in the Rust programming language.") ("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-quinn" ,rust-quinn-0.11) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.8) ("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-slab" ,rust-slab-0.4) + ("rust-sync-wrapper" ,rust-sync-wrapper-1) + ("rust-system-configuration" ,rust-system-configuration-0.6) ("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-rustls" ,rust-tokio-rustls-0.26) ("rust-tokio-socks" ,rust-tokio-socks-0.5) ("rust-tokio-util" ,rust-tokio-util-0.7) ("rust-tower-service" ,rust-tower-service-0.3) @@ -4660,15 +5503,16 @@ in the Rust programming language.") ("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)) + ("rust-windows-registry" ,rust-windows-registry-0.2)) #:cargo-development-inputs - (("rust-brotli" ,rust-brotli-3) + (("rust-brotli" ,rust-brotli-6) ("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-libflate" ,rust-libflate-2) + ("rust-rustls" ,rust-rustls-0.23) ("rust-serde" ,rust-serde-1) ("rust-tokio" ,rust-tokio-1) ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) @@ -4765,92 +5609,17 @@ in the Rust programming language.") ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))))) -(define-public rust-reqwest-0.10 - (package - (inherit rust-reqwest-0.11) - (name "rust-reqwest") - (version "0.10.10") - (source - (origin - (method url-fetch) - (uri (crate-uri "reqwest" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0z7l46m1mjnvncscaq61zq6qmazrmb33vwjcnfrxpi0liqdgh607")))) - (arguments - `(#:cargo-test-flags '("--release" "--" - ;; These tests require internet access. - "--skip=test_badssl_modern" - "--skip=test_badssl_self_signed" - ;; XXX: Not sure why these fail. - "--skip=test_allowed_methods" - "--skip=connect_timeout") - #:cargo-inputs - (("rust-async-compression" ,rust-async-compression-0.3) - ("rust-base64" ,rust-base64-0.13) - ("rust-bytes" ,rust-bytes-0.5) - ("rust-cookie" ,rust-cookie-0.14) - ("rust-cookie-store" ,rust-cookie-store-0.12) - ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-futures-core" ,rust-futures-core-0.3) - ("rust-futures-util" ,rust-futures-util-0.3) - ("rust-http" ,rust-http-0.2) - ("rust-http-body" ,rust-http-body-0.3) - ("rust-hyper" ,rust-hyper-0.13) - ("rust-hyper-rustls" ,rust-hyper-rustls-0.21) - ("rust-hyper-tls" ,rust-hyper-tls-0.4) - ("rust-ipnet" ,rust-ipnet-2) - ("rust-js-sys" ,rust-js-sys-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-log" ,rust-log-0.4) - ("rust-mime" ,rust-mime-0.3) - ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-native-tls" ,rust-native-tls-0.2) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pin-project-lite" ,rust-pin-project-lite-0.2) - ("rust-rustls" ,rust-rustls-0.18) - ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.7) - ("rust-time" ,rust-time-0.2) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.14) - ("rust-tokio-socks" ,rust-tokio-socks-0.3) - ("rust-tokio-tls" ,rust-tokio-tls-0.3) - ("rust-trust-dns-resolver" ,rust-trust-dns-resolver-0.19) - ("rust-url" ,rust-url-2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) - ("rust-wasm-bindgen-futures" ,rust-wasm-bindgen-futures-0.4) - ("rust-web-sys" ,rust-web-sys-0.3) - ("rust-webpki-roots" ,rust-webpki-roots-0.20) - ("rust-winreg" ,rust-winreg-0.7)) - #:cargo-development-inputs - (("rust-brotli" ,rust-brotli-3) - ("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-env-logger" ,rust-env-logger-0.7) - ("rust-hyper" ,rust-hyper-0.13) - ("rust-libflate" ,rust-libflate-1) - ("rust-serde" ,rust-serde-1) - ("rust-tokio" ,rust-tokio-0.2) - ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)))) - (define-public rust-rfc7239-0.1 (package (name "rust-rfc7239") - (version "0.1.0") + (version "0.1.3") (source (origin (method url-fetch) (uri (crate-uri "rfc7239" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ixsyn8y2jfhfqnhwivgil3cvdr4jdr5s0nr7gqq3d3yryrifwq8")))) + (base32 "03rmb1l2l2pqn311wn6qii7ckwnn5vravkzzb2xqb6lfwg8z30ja")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-uncased" ,rust-uncased-0.9)))) @@ -4862,14 +5631,14 @@ in the Rust programming language.") (define-public rust-rocket-0.5 (package (name "rust-rocket") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "rocket" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0l4i93dai7pyzlkvdjkqg2g7ni1r6749cwx4nrrhsrr6rdybaywy")))) + (base32 "0gypf9z6s0kshv33qq1vf16raw8xnr1p03ii0kfgf7d3jrr905m5")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-stream" ,rust-async-stream-0.3) @@ -4883,7 +5652,7 @@ in the Rust programming language.") ("rust-indexmap" ,rust-indexmap-2) ("rust-log" ,rust-log-0.4) ("rust-memchr" ,rust-memchr-2) - ("rust-multer" ,rust-multer-2) + ("rust-multer" ,rust-multer-3) ("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) @@ -4904,8 +5673,9 @@ in the Rust programming language.") ("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)))) + #: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") @@ -4918,19 +5688,19 @@ and speed.") (package (inherit rust-rocket-0.5) (name "rust-rocket") - (version "0.4.7") + (version "0.4.11") (source (origin (method url-fetch) (uri (crate-uri "rocket" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "04ybnhjw92zaan92lsmx6mkhqc9cpsg3885svb3wzyj39pyzvsvz")))) + (base32 "0pimz9v0737dvz487j0kij7kasjyahaxd7ba2bcc3p6513fdkfc3")))) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; Breaks from pear_codegen #:cargo-inputs (("rust-atty" ,rust-atty-0.2) - ("rust-base64" ,rust-base64-0.12) + ("rust-base64" ,rust-base64-0.13) ("rust-log" ,rust-log-0.4) ("rust-memchr" ,rust-memchr-2) ("rust-num-cpus" ,rust-num-cpus-1) @@ -4941,23 +5711,22 @@ and speed.") ("rust-time" ,rust-time-0.1) ("rust-toml" ,rust-toml-0.4) ("rust-version-check" ,rust-version-check-0.9) - ("rust-yansi" ,rust-yansi-0.5) ("rust-yansi" ,rust-yansi-0.5)))))) (define-public rust-rocket-codegen-0.5 (package (name "rust-rocket-codegen") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "rocket_codegen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0k6hdf9s9y73kzj89qs688gnfjj1sl4imp6pdjz22pzpmdk808x2")))) + (base32 "0inxw7nzr52sabwpz83cz5rh1a0mg32cg7w7ih8715qsxkbk4pap")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; can't find crate for `rocket` + `(#:tests? #f ; use of undeclared crate or module `rocket` #:cargo-inputs (("rust-devise" ,rust-devise-0.4) ("rust-glob" ,rust-glob-0.3) ("rust-indexmap" ,rust-indexmap-2) @@ -4982,16 +5751,16 @@ and speed.") (package (inherit rust-rocket-codegen-0.5) (name "rust-rocket-codegen") - (version "0.4.7") + (version "0.4.11") (source (origin (method url-fetch) (uri (crate-uri "rocket_codegen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "18s2dll8c4sd26s8cfr6cizj5z55xwnk6r6x7b2wvcf8n9ajrb6f")))) + (base32 "1zl4f99s4df8fpkps53qn77030baww4x7zflggwql290b1xh6418")))) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; Breaks from pear_codegen #:cargo-inputs (("rust-devise" ,rust-devise-0.2) ("rust-glob" ,rust-glob-0.3) @@ -5004,14 +5773,14 @@ and speed.") (define-public rust-rocket-http-0.5 (package (name "rust-rocket-http") - (version "0.5.0") + (version "0.5.1") (source (origin (method url-fetch) (uri (crate-uri "rocket_http" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "17iq208zf9rfxdnx8hfjxnn51074cc9li99yjigzwnfhjhv6d89p")))) + (base32 "1fc2z0a7zhmf8rh7s1dwdmmkjmq7qiivsi6027v6ac7f41d92x72")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; can't find crate for `rocket` @@ -5050,16 +5819,16 @@ responses, and headers for the Rocket web framework.") (package (inherit rust-rocket-http-0.5) (name "rust-rocket-http") - (version "0.4.7") + (version "0.4.11") (source (origin (method url-fetch) (uri (crate-uri "rocket_http" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ga98nbcga8amg4xhrfkn1wljnqx9h0vv7mnay9g66vsxl042dnf")))) + (base32 "17xiivj4cp3anm4rxxpd8g58kzday1y2pgdys2i23wz1538wpy9b")))) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; Breaks from pear_codegen #:cargo-inputs (("rust-cookie" ,rust-cookie-0.11) ("rust-hyper" ,rust-hyper-0.10) @@ -5309,7 +6078,7 @@ Web.") "0gjk7ch31a3kgdc39kj4zqinf10yqaf717wanh9kwwbbwg430m7g")))) (arguments (list #:skip-build? #t - #:cargo-inputs `(("rust-clippy" ,rust-clippy-0.0) + #:cargo-inputs `(("rust-clippy" ,rust-clippy-0.0.302) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1)))))) @@ -5516,26 +6285,84 @@ alike. It's completely modular, and built directly for @code{async/await}.") (package (inherit rust-tiny-http-0.12) (name "rust-tiny-http") - (version "0.6.2") + (version "0.6.4") (source (origin (method url-fetch) (uri (crate-uri "tiny_http" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0la95daknfh8g951ddb2zdz6av2459rncp6h9dh02pf98h5glq8n")))) + (base32 "0qpmx0zvk1ffm1qaq2bq83i7583x23f3gqjv1cnzrrb3kcbwn8if")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-ascii" ,rust-ascii-0.8) ("rust-chrono" ,rust-chrono-0.4) ("rust-chunked-transfer" ,rust-chunked-transfer-0.3) ("rust-log" ,rust-log-0.4) ("rust-openssl" ,rust-openssl-0.10) - ("rust-url" ,rust-url-1)))))) + ("rust-url" ,rust-url-1)) + #:cargo-development-inputs (("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-sha1" ,rust-sha1-0.6)))))) + +(define-public rust-tonic-0.12 + (package + (name "rust-tonic") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tonic" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0ljd1lfjpw0vrm5wbv15x6nq2i38llsanls5rkzmdn2n0wrmnz47")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-axum" ,rust-axum-0.7) + ("rust-base64" ,rust-base64-0.22) + ("rust-bytes" ,rust-bytes-1) + ("rust-flate2" ,rust-flate2-1) + ("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-hyper" ,rust-hyper-1) + ("rust-hyper-timeout" ,rust-hyper-timeout-0.5) + ("rust-hyper-util" ,rust-hyper-util-0.1) + ("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-prost" ,rust-prost-0.13) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.8) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-socket2" ,rust-socket2-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.26) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tower" ,rust-tower-0.4) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-webpki-roots" ,rust-webpki-roots-0.26) + ("rust-zstd" ,rust-zstd-0.13)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-quickcheck-macros" ,rust-quickcheck-macros-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tower" ,rust-tower-0.4)))) + (home-page "https://github.com/hyperium/tonic") + (synopsis "Rust implementation of gRPC over HTTP/2") + (description + "This package provides a @code{gRPC} over HTTP/2 implementation focused +on high performance, interoperability, and flexibility.") + (license license:expat))) (define-public rust-tonic-0.10 (package + (inherit rust-tonic-0.12) (name "rust-tonic") (version "0.10.2") (source @@ -5545,7 +6372,6 @@ alike. It's completely modular, and built directly for @code{async/await}.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "03hx1b2810p4jmsphbql8cn3r22c9n1ar73bj8azf7761lx96q6m")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-async-stream" ,rust-async-stream-0.3) ("rust-async-trait" ,rust-async-trait-0.1) @@ -5579,13 +6405,7 @@ alike. It's completely modular, and built directly for @code{async/await}.") ("rust-rand" ,rust-rand-0.8) ("rust-static-assertions" ,rust-static-assertions-1) ("rust-tokio" ,rust-tokio-1) - ("rust-tower" ,rust-tower-0.4)))) - (home-page "https://github.com/hyperium/tonic") - (synopsis "Rust implementation of gRPC over HTTP/2") - (description - "This package provides a @code{gRPC} over HTTP/2 implementation focused -on high performance, interoperability, and flexibility.") - (license license:expat))) + ("rust-tower" ,rust-tower-0.4)))))) (define-public rust-tonic-0.8 (package @@ -5690,31 +6510,87 @@ on high performance, interoperability, and flexibility.") ("rust-tokio" ,rust-tokio-1) ("rust-tower" ,rust-tower-0.4)))))) -(define-public rust-tonic-build-0.10 +(define-public rust-tonic-build-0.12 (package (name "rust-tonic-build") - (version "0.10.2") + (version "0.12.3") (source (origin (method url-fetch) (uri (crate-uri "tonic-build" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "129qd12ka65h5f1dzi5mrlz6wndi0pfx1320lawq51f18k01y0lx")))) + (base32 "04baqblgrlc0g8scnhpky5s0n4cljaixrrdrr6cv6wx7kq8cwmwm")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-prettyplease" ,rust-prettyplease-0.2) ("rust-proc-macro2" ,rust-proc-macro2-1) - ("rust-prost-build" ,rust-prost-build-0.12) + ("rust-prost-build" ,rust-prost-build-0.13) + ("rust-prost-types" ,rust-prost-types-0.13) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/hyperium/tonic") (synopsis "Codegen module of @code{tonic} gRPC implementation") - (description "Codegen module of @code{tonic} @code{gRPC} implementation.") + (description + "This package provides a codegen module of `tonic` @code{gRPC} implementation.") + (license license:expat))) + +(define-public rust-tower-0.5 + (package + (name "rust-tower") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ybmd59nm4abl9bsvy6rx31m4zvzp5rja2slzpn712y9b68ssffh")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-test-flags + '(list "--" + "--skip=builder::ServiceBuilder<L>::check_clone" + "--skip=builder::ServiceBuilder<L>::check_service" + "--skip=builder::ServiceBuilder<L>::check_service_clone") + #:cargo-inputs + (list rust-futures-core-0.3 + rust-futures-util-0.3 + rust-hdrhistogram-7 + rust-indexmap-2 + rust-pin-project-lite-0.2 + rust-slab-0.4 + rust-sync-wrapper-1 + rust-tokio-1 + rust-tokio-stream-0.1 + rust-tokio-util-0.7 + rust-tower-layer-0.3 + rust-tower-service-0.3 + rust-tracing-0.1) + #:cargo-development-inputs + (list rust-futures-0.3 + rust-hdrhistogram-7 + rust-http-1 + rust-lazy-static-1 + rust-pin-project-lite-0.2 + rust-quickcheck-1 + rust-rand-0.8 + rust-tokio-1 + rust-tokio-stream-0.1 + rust-tokio-test-0.4 + rust-tower-test-0.4 + rust-tracing-0.1 + rust-tracing-subscriber-0.3))) + (home-page "https://github.com/tower-rs/tower") + (synopsis "Library for building clients and servers") + (description + "Tower is a library of modular and reusable components for building +robust clients and servers.") (license license:expat))) (define-public rust-tower-0.4 (package + (inherit rust-tower-0.5) (name "rust-tower") (version "0.4.13") (source @@ -5724,7 +6600,6 @@ on high performance, interoperability, and flexibility.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "073wncyqav4sak1p755hf6vl66njgfc1z1g1di9rxx3cvvh9pymq")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; no method named `map_request` found for struct `ServiceBuilder` #:cargo-inputs @@ -5752,32 +6627,94 @@ on high performance, interoperability, and flexibility.") ("rust-tokio-stream" ,rust-tokio-stream-0.1) ("rust-tokio-test" ,rust-tokio-test-0.4) ("rust-tower-test" ,rust-tower-test-0.4) - ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) - (home-page "https://github.com/tower-rs/tower") - (synopsis "Library for building clients and servers") + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))))) + +(define-public rust-tower-http-0.6 + (package + (name "rust-tower-http") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "tower-http" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "15wnvhl6cpir9125s73bqjzjsvfb0fmndmsimnl2ddnlhfvs6gs0")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-test-flags + '(list "--" + "--skip=classify::status_in_range_is_error::StatusInRangeAsFailures" + "--skip=src/lib.rs - (line 17)" + "--skip=src/lib.rs - (line 91)") + #:cargo-inputs + (list rust-async-compression-0.4 + rust-base64-0.22 + rust-bitflags-2 + rust-bytes-1 + rust-futures-core-0.3 + rust-futures-util-0.3 + rust-http-1 + rust-http-body-1 + rust-http-body-util-0.1 + rust-http-range-header-0.4 + rust-httpdate-1 + rust-iri-string-0.7 + rust-mime-0.3 + rust-mime-guess-2 + rust-percent-encoding-2 + rust-pin-project-lite-0.2 + rust-tokio-1 + rust-tokio-util-0.7 + rust-tower-0.5 + rust-tower-layer-0.3 + rust-tower-service-0.3 + rust-tracing-0.1 + rust-uuid-1) + #:cargo-development-inputs + (list rust-async-trait-0.1 + rust-brotli-7 + rust-bytes-1 + rust-flate2-1 + rust-futures-util-0.3 + rust-http-body-1 + rust-http-body-util-0.1 + rust-hyper-util-0.1 + rust-once-cell-1 + rust-serde-json-1 + rust-sync-wrapper-1 + rust-tokio-1 + rust-tower-0.5 + rust-tracing-subscriber-0.3 + rust-uuid-1 + rust-zstd-0.13))) + (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 - "Tower is a library of modular and reusable components for building -robust clients and servers.") + "This package provides Tower middleware and utilities for HTTP +clients and servers.") (license license:expat))) (define-public rust-tower-http-0.5 (package + (inherit rust-tower-http-0.6) (name "rust-tower-http") - (version "0.5.1") + (version "0.5.2") (source (origin (method url-fetch) (uri (crate-uri "tower-http" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bmgfh1hr92blw7kv2636ykd0gf3h0aqdd89kvjk6b2fg8kr788d")) + (base32 "1xakj3x0anp55gjqibiwvzma5iz0w9pcjsr7qk97sx4qm4sd970y")) (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) @@ -5816,15 +6753,7 @@ robust clients and servers.") ("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))) + ("rust-zstd" ,rust-zstd-0.12)))))) (define-public rust-tower-http-0.4 (package @@ -5881,22 +6810,20 @@ clients and servers.") (define-public rust-tower-layer-0.3 (package (name "rust-tower-layer") - (version "0.3.2") + (version "0.3.3") (source (origin (method url-fetch) (uri (crate-uri "tower-layer" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1l7i17k9vlssrdg4s3b0ia5jjkmmxsvv8s9y9ih0jfi8ssz8s362")))) + (base32 "03kq92fdzxin51w8iqix06dcfgydyvx7yr6izjq0p626v9n2l70j")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags '("--release" "--" - "--skip=layer_fn::layer_fn") - #:cargo-development-inputs - (("rust-tower" ,rust-tower-0.4) - ("rust-tower-service" ,rust-tower-service-0.3)))) + "--skip=layer_fn::layer_fn" + "--skip=src/lib.rs - Layer"))) (home-page "https://github.com/tower-rs/tower") (synopsis "Easy composition between @code{Service}s") (description "This package decorates a @code{Service} to allow easy @@ -5906,7 +6833,7 @@ composition between @code{Service}s.") (define-public rust-tower-service-0.3 (package (name "rust-tower-service") - (version "0.3.2") + (version "0.3.3") (source (origin (method url-fetch) @@ -5914,7 +6841,7 @@ composition between @code{Service}s.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0lmfzmmvid2yp2l36mbavhmqgsvzqf7r2wiwz73ml4xmwaf1rg5n")))) + "1hzfkvkci33ra94xjx64vv3pp0sq346w06fpkcdwjcid7zhvdycd")))) (build-system cargo-build-system) (arguments `(#:cargo-development-inputs @@ -6009,6 +6936,39 @@ server @code{Service} tests.") @code{Service}.") (license license:expat))) +(define-public rust-trotter-1 + (package + (name "rust-trotter") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "trotter" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "14gksihjm4bv2paqg22ym7n63adb69zac1qkp51yxz84572bhmkw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-mime-guess" ,rust-mime-guess-2) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-openssl" ,rust-tokio-openssl-0.6) + ("rust-url" ,rust-url-2) + ("rust-urlencoding" ,rust-urlencoding-2) + ("rust-wildmatch" ,rust-wildmatch-2)) + #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://codeberg.org/catboomer/trotter") + (synopsis "Make writing Gemini clients fun and easy") + (description + "This package provides Trotter, an experimental crate that aims to make +writing Gemini clients fun and easy.") + (license license:gpl3))) + (define-public rust-trust-dns-client-0.22 (package (name "rust-trust-dns-client") @@ -6056,7 +7016,7 @@ server @code{Service} tests.") "Trust-DNS is a DNS library. This is the Client library with DNSSEC support. DNSSEC with NSEC validation for negative records, is complete. The client supports dynamic DNS with SIG0 authenticated requests, implementing -easy to use high level funtions. Trust-DNS is based on the Tokio and Futures +easy to use high level functions. Trust-DNS is based on the Tokio and Futures libraries, which means it should be easily integrated into other software that also use those libraries.") (license (list license:expat license:asl2.0)))) @@ -6064,17 +7024,20 @@ also use those libraries.") (define-public rust-trust-dns-https-0.20 (package (name "rust-trust-dns-https") - (version "0.20.0") + (version "0.20.4") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-https" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19f0l1illl69ycb97652rjrjppilz2pz7l9572lrjpkasffgcqr6")))) + (base32 "0l6x06vpm0fgcrldvk23ma0rd2xvd70f55ffncy0cqjqxnvwgbg2")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + ;; Requires the internet. + "--skip=https_client_stream::tests::test_https_google") #:cargo-inputs (("rust-bytes" ,rust-bytes-1) ("rust-cfg-if" ,rust-cfg-if-1) @@ -6090,7 +7053,9 @@ also use those libraries.") ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.20) ("rust-webpki" ,rust-webpki-0.21) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)))) + ("rust-webpki-roots" ,rust-webpki-roots-0.21)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-futures" ,rust-futures-0.3)))) (home-page "https://www.trust-dns.org/index.html") (synopsis "DNS over HTTPS extension for the Trust-DNS client") (description @@ -6210,17 +7175,20 @@ the Trust-DNS client to use DNS over HTTPS.") (define-public rust-trust-dns-native-tls-0.20 (package (name "rust-trust-dns-native-tls") - (version "0.20.0") + (version "0.20.4") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-native-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "129map2cvy9xcdjg6927xyzic48mq6hqmils0qrmigbr61djxkna")))) + (base32 "04zs3pc0vd9dwnvlhb5za1bjam5qnhhr4dajvkypzj8r79mil1m3")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=tests::test_tls_client_stream_ipv4") #:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-util" ,rust-futures-util-0.3) @@ -6228,6 +7196,8 @@ the Trust-DNS client to use DNS over HTTPS.") ("rust-tokio" ,rust-tokio-1) ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3) ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) (home-page "https://www.trust-dns.org/index.html") (synopsis "Trust-DNS client native-tls extension") (description "Trust-DNS is a safe and secure DNS library. This is an @@ -6314,24 +7284,27 @@ extension for the Trust-DNS client to use native-tls for TLS.") (define-public rust-trust-dns-openssl-0.20 (package (name "rust-trust-dns-openssl") - (version "0.20.0") + (version "0.20.4") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-openssl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1zd10g824qrs0yw2bmxphw43iylxlpgvnwb3l3hnwblp2ffhcx50")))) + (base32 "0snwgqj7174ss9hgz0yhgycf5gbkzkrrhx3x3lmq6arn63ii7vcx")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-util" ,rust-futures-util-0.3) ("rust-openssl" ,rust-openssl-0.10) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-openssl" ,rust-tokio-openssl-0.6) - ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)))) + ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)) + #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.10) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) (home-page "https://www.trust-dns.org/index.html") (synopsis "Trust-DNS client tokio-openssl extension") (description "Trust-DNS is a safe and secure DNS library. This is an @@ -6531,17 +7504,16 @@ DNS protocol library for all Trust-DNS projects.") (package (inherit rust-trust-dns-proto-0.22) (name "rust-trust-dns-proto") - (version "0.20.0") + (version "0.20.4") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-proto" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gdsxjl628h02dp0fhcjz6js79fc4dxprqgqny6rghk450dki84q")))) + (base32 "0cafw8m2488xlr251b0khf6h2d7g4ix0s164j33838dnzvlx956a")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1) ("rust-backtrace" ,rust-backtrace-0.3) ("rust-cfg-if" ,rust-cfg-if-1) @@ -6562,9 +7534,14 @@ DNS protocol library for all Trust-DNS projects.") ("rust-smallvec" ,rust-smallvec-1) ("rust-socket2" ,rust-socket2-0.3) ("rust-thiserror" ,rust-thiserror-1) + ("rust-tinyvec" ,rust-tinyvec-1) ("rust-tokio" ,rust-tokio-1) ("rust-url" ,rust-url-2) - ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)))))) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-trust-dns-proto-0.19 (package @@ -6771,16 +7748,31 @@ other queries.") (package (inherit rust-trust-dns-resolver-0.22) (name "rust-trust-dns-resolver") - (version "0.20.0") + (version "0.20.4") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-resolver" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1r2n933z9yrpdqv60c9mbhl64y2inpx9rm870nq1qqmx226d2wih")))) + (base32 "0ymprysz8f5qjaj74x488pjhbwy329yybs2clgx5x6frm8xkibpc")))) (arguments - `(#:skip-build? #t + `(#: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=name_server::name_server_pool::tests::test_multi_use_conns" + "--skip=resolver::tests::test_lookup" + "--skip=system_conf::unix::tests::test_read_resolv_conf") #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) ("rust-futures-util" ,rust-futures-util-0.3) @@ -6803,7 +7795,10 @@ other queries.") ("rust-trust-dns-openssl" ,rust-trust-dns-openssl-0.20) ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) ("rust-trust-dns-rustls" ,rust-trust-dns-rustls-0.20) - ("rust-webpki-roots" ,rust-webpki-roots-0.21)))))) + ("rust-webpki-roots" ,rust-webpki-roots-0.21)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.8) + ("rust-futures-executor" ,rust-futures-executor-0.3)))))) (define-public rust-trust-dns-resolver-0.19 (package @@ -6936,17 +7931,20 @@ other queries.") (define-public rust-trust-dns-rustls-0.20 (package (name "rust-trust-dns-rustls") - (version "0.20.0") + (version "0.20.4") (source (origin (method url-fetch) (uri (crate-uri "trust-dns-rustls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "00i5jf6bkfxikna0093swl0yz246nabpm0xngdxb94wkr3rz0kq9")))) + (base32 "0ygfcp65xrjgsa3mkyk54fq1n34wis866bh3lx3jy6hxfgz3a4dr")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:cargo-test-flags + '("--release" "--" + ;; Not all files included. + "--skip=tests::test_tls_client_stream_ipv4") #:cargo-inputs (("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-io" ,rust-futures-io-0.3) @@ -6956,7 +7954,10 @@ other queries.") ("rust-tokio" ,rust-tokio-1) ("rust-tokio-rustls" ,rust-tokio-rustls-0.22) ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20) - ("rust-webpki" ,rust-webpki-0.21)))) + ("rust-webpki" ,rust-webpki-0.21)) + #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.10)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) (home-page "https://www.trust-dns.org/index.html") (synopsis "Trust-DNS client rustls extension") (description @@ -7040,10 +8041,6 @@ the Trust-DNS client to use rustls for TLS.") (sha256 (base32 "0vbh2y7w2s5gcw33fn4hb5f927kgjm6603vw63slg9riikmsiq43")))) - (native-inputs - (list pkg-config)) - (inputs - (list openssl)) (arguments `(#:cargo-test-flags '("--release" "--" "--skip=tests::test_tls_client_stream_ipv4") @@ -7059,8 +8056,90 @@ the Trust-DNS client to use rustls for TLS.") (("rust-openssl" ,rust-openssl-0.10) ("rust-tokio" ,rust-tokio-0.1)))))) +(define-public rust-tungstenite-0.24 + (package + (name "rust-tungstenite") + (version "0.24.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12nsxnxazk4nisgsqpywi6za0hsbc2rd15r1scb5pag7dqvbir8q")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs (list rust-byteorder-1 + rust-bytes-1 + rust-data-encoding-2 + rust-http-1 + rust-httparse-1 + rust-log-0.4 + rust-native-tls-0.2 + rust-rand-0.8 + rust-rustls-0.23 + rust-rustls-native-certs-0.7 + rust-rustls-pki-types-1 + rust-sha1-0.10 + rust-thiserror-1 + rust-url-2 + rust-utf-8-0.7 + rust-webpki-roots-0.26) + #:cargo-development-inputs (list rust-criterion-0.5 + rust-env-logger-0.10 + rust-input-buffer-0.5 + rust-rand-0.8 + 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.23 + (package + (inherit rust-tungstenite-0.24) + (name "rust-tungstenite") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tungstenite" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j6rxlcdky8lrwkl1qsyvnmlr38033vch11vsi7rklkywkhjqbkf")))) + (arguments + (list #:cargo-inputs + (list rust-byteorder-1 + rust-bytes-1 + rust-data-encoding-2 + rust-http-1 + rust-httparse-1 + rust-log-0.4 + rust-native-tls-0.2 + rust-rand-0.8 + rust-rustls-0.23 + rust-rustls-native-certs-0.7 + rust-rustls-pki-types-1 + rust-sha1-0.10 + rust-thiserror-1 + rust-url-2 + rust-utf-8-0.7 + rust-webpki-roots-0.26) + #:cargo-development-inputs + (list rust-criterion-0.5 + rust-env-logger-0.10 + rust-input-buffer-0.5 + rust-rand-0.8 + rust-socket2-0.5))))) + (define-public rust-tungstenite-0.21 (package + (inherit rust-tungstenite-0.24) (name "rust-tungstenite") (version "0.21.0") (source @@ -7070,7 +8149,6 @@ the Trust-DNS client to use rustls for TLS.") (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) @@ -7092,16 +8170,7 @@ the Trust-DNS client to use rustls for TLS.") ("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)))) + ("rust-socket2" ,rust-socket2-0.5)))))) (define-public rust-tungstenite-0.20 (package @@ -7286,18 +8355,18 @@ deserialization.") (define-public rust-warp-0.3 (package (name "rust-warp") - (version "0.3.6") + (version "0.3.7") (source (origin (method url-fetch) (uri (crate-uri "warp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0sfimrpxkyka1mavfhg5wa4x977qs8vyxa510c627w9zw0i2xsf1")))) + (base32 "07137zd13lchy5hxpspd0hs6sl19b0fv2zc1chf02nwnzw1d4y23")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-async-compression" ,rust-async-compression-0.3) + (("rust-async-compression" ,rust-async-compression-0.4) ("rust-bytes" ,rust-bytes-1) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-util" ,rust-futures-util-0.3) @@ -7310,26 +8379,25 @@ deserialization.") ("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-rustls-pemfile" ,rust-rustls-pemfile-2) ("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-rustls" ,rust-tokio-rustls-0.25) + ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.21) ("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-handlebars" ,rust-handlebars-5) ("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-log" ,rust-tracing-log-0.2) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)))) (home-page "https://github.com/seanmonstar/warp") (synopsis "Serve the web at warp speeds") @@ -7511,29 +8579,59 @@ Verification.") #:cargo-development-inputs (("rust-base64" ,rust-base64-0.9)))))) +(define-public rust-webpki-root-certs-0.26 + (package + (name "rust-webpki-root-certs") + (version "0.26.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "webpki-root-certs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0p15xwdlibwqlmkqjb6qqikypyxqb0lwxf70rxa01wzipm4xmmcw")))) + (build-system cargo-build-system) + (arguments + (list #:tests? #f ; use of undeclared crate or module `webpki_ccadb` + #:cargo-inputs + (list rust-rustls-pki-types-1) + #:cargo-development-inputs + (list rust-hex-0.4 + rust-percent-encoding-2 + rust-ring-0.17 + rust-rustls-webpki-0.102 + rust-tokio-1 + rust-x509-parser-0.16))) + (home-page "https://github.com/rustls/webpki-roots") + (synopsis "Mozilla trusted certificate authorities in self-signed X.509 format") + (description + "This package provides Mozilla trusted certificate authorities in +self-signed X.509 format for use with crates other than webpki.") + (license license:mpl2.0))) + (define-public rust-webpki-roots-0.26 (package (name "rust-webpki-roots") - (version "0.26.1") + (version "0.26.7") (source (origin (method url-fetch) (uri (crate-uri "webpki-roots" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "029006qfs61q75gl60aap25m0gdqmvd1pcpljid9b0q44yp39pmk")))) + (base32 "0zpykqqk4jnrx55jc8wcysnprhfdcwh35dsiwhm2fybydgqjyr2x")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; use of undeclared crate or module `webpki_ccadb` #:cargo-inputs (("rust-rustls-pki-types" ,rust-rustls-pki-types-1)) #:cargo-development-inputs (("rust-hex" ,rust-hex-0.4) ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rcgen" ,rust-rcgen-0.12) + ("rust-rcgen" ,rust-rcgen-0.13) ("rust-ring" ,rust-ring-0.17) - ("rust-rustls" ,rust-rustls-0.22) + ("rust-rustls" ,rust-rustls-0.23) ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) ("rust-tokio" ,rust-tokio-1) - ("rust-x509-parser" ,rust-x509-parser-0.15) + ("rust-x509-parser" ,rust-x509-parser-0.16) ("rust-yasna" ,rust-yasna-0.5)))) (native-inputs (list pkg-config)) @@ -7773,37 +8871,38 @@ 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 +(define-public rust-wiremock-0.6 (package (name "rust-wiremock") - (version "0.5.22") + (version "0.6.2") (source (origin (method url-fetch) (uri (crate-uri "wiremock" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1sf2adr5q3xqrj4sa89fmbr5vl3x51wb1cfp63fr1wrlmwzab8qk")))) + (base32 "0imn56d44yvcvxwxi7srrdzwpfi7zs9qzzf7hi407jp732cldzvz")))) (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-base64" ,rust-base64-0.22) + ("rust-deadpool" ,rust-deadpool-0.10) ("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-http" ,rust-http-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-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)) + ("rust-tokio" ,rust-tokio-1) + ("rust-url" ,rust-url-2)) #: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-reqwest" ,rust-reqwest-0.12) ("rust-surf" ,rust-surf-2) ("rust-tokio" ,rust-tokio-1)))) (native-inputs (list pkg-config)) diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 7437ce91c76..2f212190ddf 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2019-2025 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020, 2021 John Soo <jsoo1@asu.edu> ;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> @@ -15,6 +15,8 @@ ;;; Copyright © 2023 Daniel Ziltener <dziltener@lyrion.ch> ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo> +;;; Copyright © 2024 Murilo <murilo@disroot.org> +;;; Copyright © 2024 normally_js <normally_js@posteo.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +41,8 @@ #:use-module (guix gexp) #:use-module (guix utils) #:use-module (gnu packages) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io)) @@ -67,20 +71,18 @@ (package (inherit rust-anstyle-wincon-3) (name "rust-anstyle-wincon") - (version "1.0.1") + (version "1.0.2") (source (origin (method url-fetch) (uri (crate-uri "anstyle-wincon" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "12714vwjf4c1wm3qf49m5vmd93qvq2nav6zpjc0bxbh3ayjby2hq")))) + "0k6gcx8qih4gzb5glrl37rqvj5qc893cvkkssdnjjm4iw02snxy6")))) (arguments - `(#:cargo-inputs - (("rust-anstyle" ,rust-anstyle-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs - (("rust-lexopt" ,rust-lexopt-0.3)))))) + `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs (("rust-lexopt" ,rust-lexopt-0.3)))))) (define-public rust-anstyle-wincon-0.2 (package @@ -102,14 +104,14 @@ (define-public rust-cargo-credential-wincred-0.4 (package (name "rust-cargo-credential-wincred") - (version "0.4.8") + (version "0.4.9") (source (origin (method url-fetch) (uri (crate-uri "cargo-credential-wincred" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1idydvigr3car3czf0mm27a5qq6qmci5dilskqh238fpyx8i7z2v")))) + (base32 "1amc3s0ym8y6pipiis3cc84m2bd3nazx93b7m77waazrr9disx4p")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cargo-credential" ,rust-cargo-credential-0.4) @@ -169,14 +171,14 @@ Windows Credential Manager.") (define-public rust-clipboard-win-5 (package (name "rust-clipboard-win") - (version "5.2.0") + (version "5.4.0") (source (origin (method url-fetch) (uri (crate-uri "clipboard-win" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "15x28184cw6r8hx30farqvcir0kz151dfbfms4avl9q11rqa1y8j")))) + (base32 "14n87fc0vzbd0wdhqzvcs1lqgafsncplzcanhpik93xhhalfgvqm")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `clipboard_win::raw` @@ -228,19 +230,17 @@ Windows Credential Manager.") (define-public rust-codepage-0.1 (package (name "rust-codepage") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "codepage" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1sdxp0f8dy2rscln646326lny9i0jm7ncgyp4yncdwndq0i943lb")))) + (base32 "1d0qr4wqc4yrab7halsa3r6akb2i2bk2cqr04vl8m0n23c38vxj8")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-encoding-rs" ,rust-encoding-rs-0.8)))) + `(#:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8)))) (home-page "https://docs.rs/codepage/") (synopsis "Mapping between Windows code page and @code{encoding_rs}") (description @@ -272,17 +272,42 @@ Windows Credential Manager.") "This package provides a library which provides an interface for @code{ConPTY}.") (license license:expat))) +(define-public rust-deelevate-0.2 + (package + (name "rust-deelevate") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "deelevate" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kj2kcqv47l3iacpamgzbn742yf9d09h0xgwbadxs1l9qkw9fwqw")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ;; Depends on Windows + #:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-pathsearch" ,rust-pathsearch-0.2) + ("rust-rand" ,rust-rand-0.8) + ("rust-shared-library" ,rust-shared-library-0.1) + ("rust-termwiz" ,rust-termwiz-0.15) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://crates.io/crates/deelevate") + (synopsis "Drop privileges on Windows") + (description "This package provides Drop privileges on Windows.") + (license license:expat))) + (define-public rust-dunce-1 (package (name "rust-dunce") - (version "1.0.4") + (version "1.0.5") (source (origin (method url-fetch) (uri (crate-uri "dunce" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fqcbwfclldbknmawi69l6zyncaiqzxkpbybcb2cc7jmlxnqrkjn")))) + (base32 "04y8wwv3vvcqaqmqzssi6k0ii9gs6fpz96j5w9nky2ccsl23axwj")))) (build-system cargo-build-system) (home-page "https://gitlab.com/kornelski/dunce") (synopsis "Normalize Windows paths to the most compatible format") @@ -297,21 +322,22 @@ programs.") (define-public rust-embed-resource-2 (package (name "rust-embed-resource") - (version "2.4.0") + (version "2.5.1") (source (origin (method url-fetch) (uri (crate-uri "embed-resource" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cicrqlblz5xf4ns7yk4aifpskbvvvg436ls4c93h77f4zlc6k7m")))) + (base32 "0yb3kbw3xpghiwf69769jpng725kwa2cxm27qj5s7dm0cfgnz2xn")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-memchr" ,rust-memchr-2) ("rust-rustc-version" ,rust-rustc-version-0.4) ("rust-toml" ,rust-toml-0.8) ("rust-vswhom" ,rust-vswhom-0.1) - ("rust-winreg" ,rust-winreg-0.51)))) + ("rust-winreg" ,rust-winreg-0.52)))) (home-page "https://github.com/nabijaczleweli/rust-embed-resource") (synopsis "Cargo library to handle compilation and inclusion of Windows resources") @@ -340,6 +366,59 @@ inclusion of Windows resources in the most resilient fashion imaginable.") ("rust-vswhom" ,rust-vswhom-0.1) ("rust-winreg" ,rust-winreg-0.10)))))) +(define-public rust-fs-at-0.2 + (package + (name "rust-fs-at") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "fs_at" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dn0hi9inmppk3mypvnaimjcdrxr0f3pi8d2p8jxn9gajjb6rbql")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-aligned" ,rust-aligned-0.4) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-cvt" ,rust-cvt-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.29) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.11) + ("rust-fs-set-times" ,rust-fs-set-times-0.20) + ("rust-rayon" ,rust-rayon-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-test-log" ,rust-test-log-0.2)))) + (home-page "https://github.com/rbtcollins/fs_at.git") + (synopsis "Implementation of 'at' functions for various platforms") + (description + "This package provides an implementation of at functions for various platforms.") + (license license:asl2.0))) + +(define-public rust-fs-set-times-0.20 + (package + (name "rust-fs-set-times") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "fs-set-times" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d4ww0f4143nda9cq0s9fl3986c0f09njs663k2z5w16mwin2bjy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-io-lifetimes" ,rust-io-lifetimes-2) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) + (home-page "https://github.com/bytecodealliance/fs-set-times") + (synopsis "Set filesystem timestamps") + (description "This package provides set filesystem timestamps.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-gdi32-sys-0.2 (package (name "rust-gdi32-sys") @@ -390,22 +469,21 @@ module definition file.") (define-public rust-ipconfig-0.3 (package (name "rust-ipconfig") - (version "0.3.1") + (version "0.3.2") (source (origin (method url-fetch) (uri (crate-uri "ipconfig" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1gn5j5sp58mz0630dhs1b8by7j0jqagldbd5iyln690gp7qjlc5x")))) + (base32 "0zwr0x3jnqmjdqqbzhb0nid011qyhcyfdfqv32cdw85pjqpvk3dm")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-socket2" ,rust-socket2-0.4) - ("rust-widestring" ,rust-widestring-0.5) - ("rust-winapi" ,rust-winapi-0.3) - ("rust-winreg" ,rust-winreg-0.10)))) + `(#:tests? #f ; failed to resolve: could not find `computer` in `ipconfig` + #:cargo-inputs (("rust-socket2" ,rust-socket2-0.5) + ("rust-widestring" ,rust-widestring-1) + ("rust-windows-sys" ,rust-windows-sys-0.48) + ("rust-winreg" ,rust-winreg-0.50)))) (home-page "https://github.com/liranringel/ipconfig") (synopsis "Get network adapters and configuration information for Windows") (description "This package lets you get network adapters information and @@ -582,6 +660,28 @@ IOCP and Async I/O abstractions.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-named-pipe-0.4 + (package + (name "rust-named-pipe") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "named_pipe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0azby10wzmsrf66m1bysbil0sjfybnvhsa8py093xz4irqy4975d")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; failed to resolve: could not find `shared` in `winapi` + #:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/blackbeam/named_pipe") + (synopsis "Wrapper for overlapped (asynchronous) IO of Windows's named pipes") + (description + "This package provides a wrapper for overlapped (asynchronous) IO of +Windows's named pipes.") + (license (list license:expat license:asl2.0)))) + (define-public rust-nt-time-0.6 (package (name "rust-nt-time") @@ -612,24 +712,20 @@ IOCP and Async I/O abstractions.") (define-public rust-output-vt100-0.1 (package (name "rust-output-vt100") - (version "0.1.2") + (version "0.1.3") (source (origin (method url-fetch) (uri (crate-uri "output_vt100" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ygqplpxz4gg3i8f3rkan2q69pqll7gv65l2mmd8r9dphnvwbkak")))) + "0rpvpiq7gkyvvwyp9sk0zxhbk99ldlrv5q3ycr03wkmbxgx270k2")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) + `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/Phundrak/output-vt100-rs") - (synopsis - "Utility to activate escape codes in Windows' CMD and PowerShell") + (synopsis "Utility to activate escape codes in Windows' CMD and PowerShell") (description "Utility to activate escape codes in Windows' CMD and PowerShell.") (license license:expat))) @@ -637,14 +733,14 @@ IOCP and Async I/O abstractions.") (define-public rust-python3-dll-a-0.2 (package (name "rust-python3-dll-a") - (version "0.2.9") + (version "0.2.12") (source (origin (method url-fetch) (uri (crate-uri "python3-dll-a" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0grlz344xq435qgs5mic0yz1p643qh3h1m11lw4zms1b87a7rw6m")))) + "1a57r12py9zy7hw48j63wl4a3k5k3ghmcd5d9gk79rjh34bzjrlv")))) (build-system cargo-build-system) (arguments `(#:tests? #f ;Windows-like targets only @@ -656,35 +752,33 @@ IOCP and Async I/O abstractions.") for MinGW-w64 and MSVC (cross-)compile targets.") (license license:expat))) -(define-public rust-remove-dir-all-0.8 +(define-public rust-remove-dir-all-1 (package (name "rust-remove-dir-all") - (version "0.8.2") + (version "1.0.0") (source (origin (method url-fetch) (uri (crate-uri "remove_dir_all" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0ay0mi06ak1n5gw3yjgp0hvzl59nj31ahxpdqvczw5qrvkx5r293")))) + "026xl6wlkjxksm1n3dcccygssami56aa937h6vgnmxxcfnsc1340")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-aligned" ,rust-aligned-0.4) - ("rust-cfg-if" ,rust-cfg-if-1) + (("rust-cfg-if" ,rust-cfg-if-1) ("rust-clap" ,rust-clap-4) ("rust-cvt" ,rust-cvt-0.1) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-fs-at" ,rust-fs-at-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-env-logger" ,rust-env-logger-0.11) + ("rust-fs-at" ,rust-fs-at-0.2) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-normpath" ,rust-normpath-1) ("rust-rayon" ,rust-rayon-1) - ("rust-windows-sys" ,rust-windows-sys-0.45)) + ("rust-windows-sys" ,rust-windows-sys-0.59)) #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-log" ,rust-log-0.4) ("rust-tempfile" ,rust-tempfile-3) ("rust-test-log" ,rust-test-log-0.2)))) @@ -697,7 +791,7 @@ for MinGW-w64 and MSVC (cross-)compile targets.") (define-public rust-remove-dir-all-0.5 (package - (inherit rust-remove-dir-all-0.8) + (inherit rust-remove-dir-all-1) (name "rust-remove-dir-all") (version "0.5.3") (source @@ -717,7 +811,7 @@ for MinGW-w64 and MSVC (cross-)compile targets.") (define-public rust-schannel-0.1 (package (name "rust-schannel") - (version "0.1.21") + (version "0.1.27") (source (origin (method url-fetch) @@ -725,12 +819,11 @@ for MinGW-w64 and MSVC (cross-)compile targets.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1cxivcbczzfv4295pqi5s80kr7nhs7xc0i40zf43b7q5qw3gng3i")))) + "0gbbhy28v72kd5iina0z2vcdl3vz63mk5idvkzn5r52z6jmfna8z")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-windows-sys" ,rust-windows-sys-0.42)))) + `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.59)) + #:cargo-development-inputs (("rust-windows-sys" ,rust-windows-sys-0.59)))) (home-page "https://github.com/steffengy/schannel-rs") (synopsis "Rust bindings to the Windows SChannel APIs") (description @@ -763,6 +856,29 @@ server functionality.") @code{Deserializer} for the INI format.") (license license:expat))) +(define-public rust-tauri-winrt-notification-0.2 + (package + (name "rust-tauri-winrt-notification") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tauri-winrt-notification" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wb8d0fdzvgs4kmnhc2znx00n5cnh40ajawvblgkhqkg1nvmz7zq")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ;Requires Windows + #:cargo-inputs (("rust-quick-xml" ,rust-quick-xml-0.31) + ("rust-windows" ,rust-windows-0.56) + ("rust-windows-version" ,rust-windows-version-0.1)))) + (home-page "https://github.com/tauri-apps/winrt-notification") + (synopsis "Incomplete wrapper over the WinRT toast api") + (description + "This package provides An incomplete wrapper over the @code{WinRT} toast api.") + (license (list license:expat license:asl2.0)))) + (define-public rust-uds-windows-1 (package (name "rust-uds-windows") @@ -785,23 +901,6 @@ server functionality.") (description "This library integrates Unix Domain Sockets on Windows.") (license license:expat))) -(define-public rust-uds-windows-0.1 - (package - (inherit rust-uds-windows-1) - (name "rust-uds-windows") - (version "0.1.6") - (source - (origin - (method url-fetch) - (uri (crate-uri "uds_windows" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1v7g9hl06s13xc4d2bn6khqn2cz6ha2f2d71j8l6mvlhypsjpch9")))) - (arguments - `(#:cargo-inputs - (("rust-tempdir" ,rust-tempdir-0.3) - ("rust-winapi" ,rust-winapi-0.3)))))) - (define-public rust-user32-sys-0.2 (package (name "rust-user32-sys") @@ -947,7 +1046,7 @@ i686-pc-windows-gnu target. Please don't use this crate directly, depend on (define-public rust-winapi-util-0.1 (package (name "rust-winapi-util") - (version "0.1.6") + (version "0.1.9") (source (origin (method url-fetch) @@ -955,10 +1054,10 @@ i686-pc-windows-gnu target. Please don't use this crate directly, depend on (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "15i5lm39wd44004i9d5qspry2cynkrpvwzghr6s2c3dsk28nz7pj")))) + "1fqhkcl9scd230cnfj8apfficpf5c9vhwnk4yy9xfc1sw69iq8ng")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) + `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.48)))) (home-page "https://github.com/BurntSushi/winapi-util") (synopsis "Dumping ground for high level safe wrappers over winapi") (description @@ -970,19 +1069,17 @@ winapi.") (define-public rust-winapi-wsapoll-0.1 (package (name "rust-winapi-wsapoll") - (version "0.1.1") + (version "0.1.2") (source (origin (method url-fetch) (uri (crate-uri "winapi-wsapoll" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0vnzlcm6yrlx0xdx4g7zr41n84aj73h0p8fwh0m60mbiyl873ha4")))) + (base32 "0a1zxmpvxaw75y4lwavi6qbq95cnrz83a5p84rarjxn5g7vcbbqy")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) + `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/psychon/winapi-wsapoll") (synopsis "Safe wrapper around WSAPoll") (description "This package provides safe wrapper around WSAPoll.") @@ -1055,357 +1152,6 @@ color in a Windows console.") #: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 - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1z48nmaskwsiyyq9576sgf8ya3fvf1xg3kma8q7n8ml1jkvkszwk")) - (snippet - #~(begin (use-modules (guix build utils)) - (substitute* "Cargo.toml" - (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) - (string-append "\"^" version))))))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t ; OS not supported - #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3) - ("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-winreg-0.50 - (package - (inherit rust-winreg-0.51) - (name "rust-winreg") - (version "0.50.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1cddmp929k882mdh6i9f2as848f13qqna6czwsqzkh1pqnr5fkjj")) - (snippet - #~(begin (use-modules (guix build utils)) - (substitute* "Cargo.toml" - (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) - (string-append "\"^" version))))))) - (arguments - `(#:skip-build? #t ; OS not supported - #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-windows-sys" ,rust-windows-sys-0.48)) - #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3) - ("rust-serde-bytes" ,rust-serde-bytes-0.11) - ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-tempfile" ,rust-tempfile-3)))))) - -(define-public rust-winreg-0.10 - (package - (inherit rust-winreg-0.50) - (name "rust-winreg") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "17c6h02z88ijjba02bnxi5k94q5cz490nf3njh9yypf8fbig9l40")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-winreg-0.8 - (package - (inherit rust-winreg-0.10) - (name "rust-winreg") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1364vyx4kh170pxfg8iwlvv8xskvry53xfya0565q8qnx73gh1yi")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-winreg-0.7 - (package - (inherit rust-winreg-0.8) - (name "rust-winreg") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0sdxcyvda4v1v6a0k1j2v1400z3ng323k9a56gxvkq51x21dn801")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.3) - ("rust-serde-derive" ,rust-serde-derive-1)))))) - -(define-public rust-winreg-0.6 - (package - (name "rust-winreg") - (version "0.6.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1jdcqr6zmvwyrp87h48miasfdvv16gjsb60rc8dy2kqwb3mnv65j")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-chrono" ,rust-chrono-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-rand" ,rust-rand-0.3) - ("rust-serde-derive" ,rust-serde-derive-1)))) - (home-page "https://github.com/gentoo90/winreg-rs") - (synopsis "Rust bindings to MS Windows Registry API") - (description - "This package provides Rust bindings to MS Windows Registry API.") - (license license:expat))) - -(define-public rust-winreg-0.5 - (package - (inherit rust-winreg-0.7) - (name "rust-winreg") - (version "0.5.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winreg" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jkh4jj2g8g0bl7r1xvq9vv9hr4gdzphg9ndqm65q6f1jn9paym2")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-clippy" ,rust-clippy-0.0) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-winres-0.1 - (package - (name "rust-winres") - (version "0.1.12") - (source - (origin - (method url-fetch) - (uri (crate-uri "winres" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0v2gvqnd8iwwvb6fs69nv0mmk1z96430527n0qlfbsarxxhv53dn")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-toml" ,rust-toml-0.5)))) - (home-page "https://github.com/mxre/winres") - (synopsis "Create and set windows icons and metadata for executables") - (description "A simple library to facilitate adding metainformation and -icons to windows executables and dynamic libraries.") - (license license:expat))) - -(define-public rust-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") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "winutil" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) - (build-system cargo-build-system) - (home-page "https://bitbucket.org/DaveLancaster/winutil") - (synopsis "Library wrapping a handful of useful winapi functions") - (description - "A simple library wrapping a handful of useful winapi functions.") - (license license:expat))) - -(define-public rust-wio-0.2 - (package - (name "rust-wio") - (version "0.2.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "wio" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "199p404fp96w1f1c93bf1jrvaqwypxf3hmmldhww4jk4yhr9j4jx")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://github.com/retep998/wio-rs") - (synopsis "Windows IO wrapper") - (description - "Wio is a middle-level wrapper around various things in Windows API. It -is designed to be a very thin layer around Windows API to provide a safe Rusty -API but without hiding any functionality.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-wmi-0.12 - (package - (name "rust-wmi") - (version "0.12.2") - (source - (origin - (method url-fetch) - (uri (crate-uri "wmi" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "000sdzx8fnw913ws28ranf8bhm8dvvdpz89s4fhqfbkxpd5b9zys")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) - ("rust-futures" ,rust-futures-0.3) - ("rust-log" ,rust-log-0.4) - ("rust-serde" ,rust-serde-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-time" ,rust-time-0.3) - ("rust-windows" ,rust-windows-0.48)) - #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) - ("rust-criterion" ,rust-criterion-0.4) - ("rust-serde-json" ,rust-serde-json-1) - ("rust-tempdir" ,rust-tempdir-0.3) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/ohadravid/wmi-rs") - (synopsis "WMI crate for Rust") - (description - "This package provides the WMI (Windows Management Instrumentation) crate -for Rust.") - (license (list license:expat license:asl2.0)))) - -(define-public rust-ws2-32-sys-0.2 - (package - (name "rust-ws2-32-sys") - (version "0.2.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "ws2_32-sys" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-winapi" ,rust-winapi-0.2) - ("rust-winapi-build" ,rust-winapi-build-0.1)))) - (home-page "https://github.com/retep998/winapi-rs") - (synopsis "Function definitions for the Windows API library ws2_32") - (description - "Contains function definitions for the Windows API library ws2_32.") - (license license:expat))) - (define-public rust-windows-0.58 (package (name "rust-windows") @@ -1445,6 +1191,22 @@ if they were just another Rust module.") `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.57) ("rust-windows-targets" ,rust-windows-targets-0.52)))))) +(define-public rust-windows-0.56 + (package + (inherit rust-windows-0.57) + (name "rust-windows") + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0cp10nzrqgrlk91dpwxjcpzyy6imr5vxr5f898pss7nz3gq9vrhx")))) + (arguments + `(#:cargo-inputs (("rust-windows-core" ,rust-windows-core-0.56) + ("rust-windows-targets" ,rust-windows-targets-0.52)))))) + (define-public rust-windows-0.52 (package (inherit rust-windows-0.58) @@ -1564,28 +1326,6 @@ if they were just another Rust module.") ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.39) ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.39)))))) -(define-public rust-windows-0.32 - (package - (inherit rust-windows-0.46) - (name "rust-windows") - (version "0.32.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1v0h5b5g1ak2f2a6gkgjqgrqkkbdcfmf02nfmmj27g4nj3dzdvgv")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-windows-implement" ,rust-windows-implement-0.32) - ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.32) - ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.32) - ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.32) - ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.32) - ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.32)))))) - (define-public rust-windows-0.9 (package (inherit rust-windows-0.46) @@ -1770,17 +1510,40 @@ crate.") (base32 "1hpk0n2z0jzzvwlvs98b75sa4q920953nqfc119rv19nwm0mlsaj")))))) -(define-public rust-windows-bindgen-0.57 +(define-public rust-windows-acl-0.3 + (package + (name "rust-windows-acl") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-acl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hyfng4dagfndxpwxynjk9zird8lhrp7zrsqc1h4rjvbk0iifyqp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-field-offset" ,rust-field-offset-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-widestring" ,rust-widestring-0.4) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://trailofbits.github.io/windows-acl") + (synopsis "Rust crate to simplify Windows ACL operations") + (description + "This package provides a rust crate to simplify Windows ACL operations.") + (license license:expat))) + +(define-public rust-windows-bindgen-0.58 (package (name "rust-windows-bindgen") - (version "0.57.0") + (version "0.58.0") (source (origin (method url-fetch) (uri (crate-uri "windows-bindgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1d67wwhbdwf3rmdbiyfsz55hky2a972y2xqg7iablxv27l8rdjqw")))) + (base32 "12gm2nmwbgspvmmrrjg1pqqf6mk7qmkmaqg5lvrm28v97kcjikci")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) @@ -1788,12 +1551,32 @@ crate.") ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-syn" ,rust-syn-2) - ("rust-windows-metadata" ,rust-windows-metadata-0.57)))) + ("rust-windows-metadata" ,rust-windows-metadata-0.58)))) (home-page "https://github.com/microsoft/windows-rs") (synopsis "Windows metadata compiler") (description "This package provides Windows metadata compiler.") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-bindgen-0.57 + (package + (inherit rust-windows-bindgen-0.58) + (name "rust-windows-bindgen") + (version "0.57.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d67wwhbdwf3rmdbiyfsz55hky2a972y2xqg7iablxv27l8rdjqw")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-2) + ("rust-windows-metadata" ,rust-windows-metadata-0.57)))))) + (define-public rust-windows-bindgen-0.56 (package (inherit rust-windows-bindgen-0.57) @@ -1814,6 +1597,26 @@ crate.") ("rust-syn" ,rust-syn-2) ("rust-windows-metadata" ,rust-windows-metadata-0.56)))))) +(define-public rust-windows-bindgen-0.54 + (package + (inherit rust-windows-bindgen-0.57) + (name "rust-windows-bindgen") + (version "0.54.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hid039rnygimc2kxkzfc892j6hcdjpza2490ggz35r8fjs7csfq")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-syn" ,rust-syn-2) + ("rust-windows-metadata" ,rust-windows-metadata-0.54)))))) + (define-public rust-windows-bindgen-0.52 (package (inherit rust-windows-bindgen-0.56) @@ -1863,8 +1666,7 @@ crate.") (base32 "16czypy425jzmiys4yb3pwsh7cm6grxn9kjp889iqnf2r17d99kb")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.58) + `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.58) ("rust-windows-interface" ,rust-windows-interface-0.58) ("rust-windows-result" ,rust-windows-result-0.2) ("rust-windows-strings" ,rust-windows-strings-0.1) @@ -1894,9 +1696,29 @@ crate.") #:cargo-development-inputs (("rust-windows-bindgen" ,rust-windows-bindgen-0.57)))))) +(define-public rust-windows-core-0.56 + (package + (inherit rust-windows-core-0.57) + (name "rust-windows-core") + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19pj57bm0rzhlk0ghrccd3i5zvh0ghm52f8cmdc8d3yhs8pfb626")))) + (arguments + `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.56) + ("rust-windows-interface" ,rust-windows-interface-0.56) + ("rust-windows-result" ,rust-windows-result-0.1) + ("rust-windows-targets" ,rust-windows-targets-0.52)) + #:cargo-development-inputs + (("rust-windows-bindgen" ,rust-windows-bindgen-0.56)))))) + (define-public rust-windows-core-0.52 (package - (inherit rust-windows-core-0.58) + (inherit rust-windows-core-0.56) (name "rust-windows-core") (version "0.52.0") (source @@ -1906,12 +1728,25 @@ crate.") (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)))) + `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)))))) + +(define-public rust-windows-gen-0.9 + (package + (name "rust-windows-gen") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_gen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lh492px26rrna0harikyy4p7nk520pw2lv0dczp4n2xa6y4s5al")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t #:cargo-inputs (("rust-syn" ,rust-syn-1)))) (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Rust for Windows") - (description "This package provides the core of Rust for Windows.") + (synopsis "Code gen support for the windows crate") + (description "Code gen support for the windows crate") (license (list license:expat license:asl2.0)))) (define-public rust-windows-i686-gnu-0.52 @@ -2195,6 +2030,23 @@ Windows crate.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))))) +(define-public rust-windows-implement-0.56 + (package + (inherit rust-windows-implement-0.57) + (name "rust-windows-implement") + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-implement" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "16rgkvlx4syqmajfdwmkcvn6nvh126wjj8sg3jvsk5fdivskbz7n")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-windows-implement-0.52 (package (inherit rust-windows-implement-0.58) @@ -2302,24 +2154,6 @@ Windows crate.") `(#:cargo-inputs (("rust-syn" ,rust-syn-1) ("rust-windows-tokens" ,rust-windows-tokens-0.39)))))) -(define-public rust-windows-implement-0.32 - (package - (inherit rust-windows-implement-0.46) - (name "rust-windows-implement") - (version "0.32.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-implement" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-syn" ,rust-syn-1) - ("rust-windows-tokens" ,rust-windows-tokens-0.32)))))) - (define-public rust-windows-interface-0.58 (package (name "rust-windows-interface") @@ -2359,6 +2193,23 @@ Windows crate.") ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-2)))))) +(define-public rust-windows-interface-0.56 + (package + (inherit rust-windows-interface-0.57) + (name "rust-windows-interface") + (version "0.56.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-interface" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1k2prfxna0mw47f8gi8qhw9jfpw66bh2cqzs67sgipjfpx30b688")))) + (arguments + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))))) + (define-public rust-windows-interface-0.52 (package (inherit rust-windows-interface-0.58) @@ -2462,23 +2313,57 @@ Windows crate.") (sha256 (base32 "00h56znmak3p8bh28y3s48m5zv6q7dn40vnvf3dzf0sz5rszrym2")))))) -(define-public rust-windows-metadata-0.57 +(define-public rust-windows-macros-0.9 + (package + (name "rust-windows-macros") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xivsg3lf023hs83xiab2k40fmrl11nbihcdrdkc8pc4ab398xqg")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-syn" ,rust-syn-1) ("rust-windows-gen" ,rust-windows-gen-0.9)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Macros for the windows crate") + (description "Macros for the windows crate") + (license (list license:expat license:asl2.0)))) + +(define-public rust-windows-metadata-0.58 (package (name "rust-windows-metadata") - (version "0.57.0") + (version "0.58.0") (source (origin (method url-fetch) (uri (crate-uri "windows-metadata" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1z1xl76p0zjwsvyj16w6pbp2layhjqz13y34pid9x7avh9vd0243")))) + (base32 "028qjb9gdljm1m9lrbg1kd1rjy8s8hzsj0k313kykkqj60y7z0rf")))) (build-system cargo-build-system) (home-page "https://github.com/microsoft/windows-rs") (synopsis "Windows metadata reader") (description "This package provides Windows metadata reader.") (license (list license:expat license:asl2.0)))) +(define-public rust-windows-metadata-0.57 + (package + (inherit rust-windows-metadata-0.58) + (name "rust-windows-metadata") + (version "0.57.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z1xl76p0zjwsvyj16w6pbp2layhjqz13y34pid9x7avh9vd0243")))))) + (define-public rust-windows-metadata-0.56 (package (inherit rust-windows-metadata-0.57) @@ -2492,6 +2377,19 @@ Windows crate.") (sha256 (base32 "0d1vizbp6b1wjh3qnjrh120w1iwqal3lfj52wdac847zgy1gg4rr")))))) +(define-public rust-windows-metadata-0.54 + (package + (inherit rust-windows-metadata-0.57) + (name "rust-windows-metadata") + (version "0.54.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-metadata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hh4bpima19p18kr5a2ss46hgmgafjkqzyfzhm0dazvx6sw70hz4")))))) + (define-public rust-windows-metadata-0.52 (package (inherit rust-windows-metadata-0.56) @@ -2518,6 +2416,27 @@ Windows crate.") (sha256 (base32 "03h0c6qs1yyl0z69p4k1hdq636j868qdxnri1dy47nprjvckacbm")))))) +(define-public rust-windows-registry-0.2 + (package + (name "rust-windows-registry") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-registry" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1c04923fq0rbvl3z0h67xr6rh2fgwkizhclhqv0j79i0nwdh0074")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-result" ,rust-windows-result-0.2) + ("rust-windows-strings" ,rust-windows-strings-0.1) + ("rust-windows-targets" ,rust-windows-targets-0.52)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Windows registry") + (description "This package provides Windows registry.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-result-0.2 (package (name "rust-windows-result") @@ -2554,6 +2473,31 @@ Windows crate.") #:cargo-development-inputs (("rust-windows-bindgen" ,rust-windows-bindgen-0.57)))))) +(define-public rust-windows-service-0.7 + (package + (name "rust-windows-service") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-service" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12lwc04rji06p8g8dhc5aps6cw3xbx6admzqxj8l0jkkgz66nkfj")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; unresolved import `windows_service::service` + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-widestring" ,rust-widestring-1) + ("rust-windows-sys" ,rust-windows-sys-0.52)))) + (home-page "https://github.com/mullvad/windows-service-rs") + (synopsis + "Facilities for management and implementation of Windows services") + (description + "This package provides a crate that provides facilities for management and +implementation of Windows services.") + (license (list license:expat license:asl2.0)))) + (define-public rust-windows-strings-0.1 (package (name "rust-windows-strings") @@ -2710,45 +2654,6 @@ if they were just another Rust module.") ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.28) ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.28)))))) -(define-public rust-windows-gen-0.9 - (package - (name "rust-windows-gen") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows_gen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0lh492px26rrna0harikyy4p7nk520pw2lv0dczp4n2xa6y4s5al")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t #:cargo-inputs (("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Code gen support for the windows crate") - (description "Code gen support for the windows crate") - (license (list license:expat license:asl2.0)))) - -(define-public rust-windows-macros-0.9 - (package - (name "rust-windows-macros") - (version "0.9.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "windows_macros" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xivsg3lf023hs83xiab2k40fmrl11nbihcdrdkc8pc4ab398xqg")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-syn" ,rust-syn-1) ("rust-windows-gen" ,rust-windows-gen-0.9)))) - (home-page "https://github.com/microsoft/windows-rs") - (synopsis "Macros for the windows crate") - (description "Macros for the windows crate") - (license (list license:expat license:asl2.0)))) - (define-public rust-windows-targets-0.52 (package (name "rust-windows-targets") @@ -2841,18 +2746,26 @@ if they were just another Rust module.") windows crate.") (license (list license:expat license:asl2.0)))) -(define-public rust-windows-tokens-0.32 +(define-public rust-windows-version-0.1 (package - (inherit rust-windows-tokens-0.39) - (name "rust-windows-tokens") - (version "0.32.0") - (source (origin - (method url-fetch) - (uri (crate-uri "windows-tokens" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn")))))) + (name "rust-windows-version") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "windows-version" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "05a5hia3d2vxd16vj2hxiyicxaqdjcm9sgpip4pzza4vgi2sm639")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-targets" ,rust-windows-targets-0.52)) + #:cargo-development-inputs + (("rust-windows-bindgen" ,rust-windows-bindgen-0.56)))) + (home-page "https://github.com/microsoft/windows-rs") + (synopsis "Windows version information") + (description "This package provides Windows version information.") + (license (list license:expat license:asl2.0)))) (define-public rust-windows-win-3 (package @@ -3149,3 +3062,355 @@ windows crate.") (base32 "17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz")))))) +(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 + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z48nmaskwsiyyq9576sgf8ya3fvf1xg3kma8q7n8ml1jkvkszwk")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; OS not supported + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-winreg-0.50 + (package + (inherit rust-winreg-0.51) + (name "rust-winreg") + (version "0.50.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cddmp929k882mdh6i9f2as848f13qqna6czwsqzkh1pqnr5fkjj")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (arguments + `(#:skip-build? #t ; OS not supported + #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3) + ("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-tempfile" ,rust-tempfile-3)))))) + +(define-public rust-winreg-0.10 + (package + (inherit rust-winreg-0.50) + (name "rust-winreg") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17c6h02z88ijjba02bnxi5k94q5cz490nf3njh9yypf8fbig9l40")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-winreg-0.8 + (package + (inherit rust-winreg-0.10) + (name "rust-winreg") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1364vyx4kh170pxfg8iwlvv8xskvry53xfya0565q8qnx73gh1yi")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)))))) + +(define-public rust-winreg-0.7 + (package + (inherit rust-winreg-0.8) + (name "rust-winreg") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sdxcyvda4v1v6a0k1j2v1400z3ng323k9a56gxvkq51x21dn801")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3) + ("rust-serde-derive" ,rust-serde-derive-1)))))) + +(define-public rust-winreg-0.6 + (package + (name "rust-winreg") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "winreg" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jdcqr6zmvwyrp87h48miasfdvv16gjsb60rc8dy2kqwb3mnv65j")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.3) + ("rust-serde-derive" ,rust-serde-derive-1)))) + (home-page "https://github.com/gentoo90/winreg-rs") + (synopsis "Rust bindings to MS Windows Registry API") + (description + "This package provides Rust bindings to MS Windows Registry API.") + (license license:expat))) + +(define-public rust-winres-0.1 + (package + (name "rust-winres") + (version "0.1.12") + (source + (origin + (method url-fetch) + (uri (crate-uri "winres" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0v2gvqnd8iwwvb6fs69nv0mmk1z96430527n0qlfbsarxxhv53dn")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-toml" ,rust-toml-0.5)))) + (home-page "https://github.com/mxre/winres") + (synopsis "Create and set windows icons and metadata for executables") + (description "A simple library to facilitate adding metainformation and +icons to windows executables and dynamic libraries.") + (license license:expat))) + +(define-public rust-winresource-0.1 + (package + (name "rust-winresource") + (version "0.1.19") + (source + (origin + (method url-fetch) + (uri (crate-uri "winresource" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fv9xlgg9a6gp1jhrp7zj7kln7ris64889n3z1x59m1s6ldnjxkj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--" + "--skip=tests::toolkit_include_win10" + "--skip=tests::toolkit_include_win8" + "--skip=WindowsResource::set_language" + "--skip=WindowsResource::set_manifest") + #:cargo-inputs (("rust-toml" ,rust-toml-0.8) + ("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-winsafe-0.0.19 + (package + (name "rust-winsafe") + (version "0.0.19") + (source + (origin + (method url-fetch) + (uri (crate-uri "winsafe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0169xy9mjma8dys4m8v4x0xhw2gkbhv2v1wsbvcjl9bhnxxd2dfi")))) + (build-system cargo-build-system) + (home-page "https://github.com/rodrigocfd/winsafe") + (synopsis "Windows API and GUI in safe, idiomatic Rust") + (description + "This package provides Windows API and GUI in safe, idiomatic Rust.") + (license license:expat))) + +(define-public rust-winutil-0.1 + (package + (name "rust-winutil") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "winutil" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0vkyl3fbbf05n5ph5yz8sfaccrk9x3qsr25560w6w68ldf5i7bvx")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)))) + (build-system cargo-build-system) + (home-page "https://bitbucket.org/DaveLancaster/winutil") + (synopsis "Library wrapping a handful of useful winapi functions") + (description + "A simple library wrapping a handful of useful winapi functions.") + (license license:expat))) + +(define-public rust-wio-0.2 + (package + (name "rust-wio") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wio" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "199p404fp96w1f1c93bf1jrvaqwypxf3hmmldhww4jk4yhr9j4jx")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/retep998/wio-rs") + (synopsis "Windows IO wrapper") + (description + "Wio is a middle-level wrapper around various things in Windows API. It +is designed to be a very thin layer around Windows API to provide a safe Rusty +API but without hiding any functionality.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-wmi-0.12 + (package + (name "rust-wmi") + (version "0.12.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "wmi" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "000sdzx8fnw913ws28ranf8bhm8dvvdpz89s4fhqfbkxpd5b9zys")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-futures" ,rust-futures-0.3) + ("rust-log" ,rust-log-0.4) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-windows" ,rust-windows-0.48)) + #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempdir" ,rust-tempdir-0.3) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/ohadravid/wmi-rs") + (synopsis "WMI crate for Rust") + (description + "This package provides the WMI (Windows Management Instrumentation) crate +for Rust.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ws2-32-sys-0.2 + (package + (name "rust-ws2-32-sys") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ws2_32-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ppscg5qfqaw0gzwv2a4nhn5bn01ff9iwn6ysqnzm4n8s3myz76m")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-winapi" ,rust-winapi-0.2) + ("rust-winapi-build" ,rust-winapi-build-0.1)))) + (home-page "https://github.com/retep998/winapi-rs") + (synopsis "Function definitions for the Windows API library ws2_32") + (description + "Contains function definitions for the Windows API library ws2_32.") + (license license:expat))) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 148f0eea835..a597a6a9946 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1559,14 +1559,14 @@ SHA-3, and BLAKE2.") (define-public rust-blake3-1 (package (name "rust-blake3") - (version "1.5.1") + (version "1.5.5") (source (origin (method url-fetch) (uri (crate-uri "blake3" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lpgw3gl564wqwf98v9jsa29lp6nv7w7nn1cvw6w75s5cz9sdk1h")))) + (base32 "07k07q7f2m0hr6z944gf0wn1s15f3gwsydhpz2ssbpn44hc0rvmq")))) (build-system cargo-build-system) (arguments (list @@ -1579,11 +1579,12 @@ SHA-3, and BLAKE2.") ("rust-constant-time-eq" ,rust-constant-time-eq-0.3) ("rust-digest" ,rust-digest-0.10) ("rust-memmap2" ,rust-memmap2-0.9) - ("rust-rayon" ,rust-rayon-1) + ("rust-rayon-core" ,rust-rayon-core-1) ("rust-serde" ,rust-serde-1) ("rust-zeroize" ,rust-zeroize-1)) #:cargo-development-inputs - `(("rust-hex" ,rust-hex-0.4) + `(("rust-ciborium" ,rust-ciborium-0.2) + ("rust-hex" ,rust-hex-0.4) ("rust-hmac" ,rust-hmac-0.12) ("rust-page-size" ,rust-page-size-0.6) ("rust-rand" ,rust-rand-0.8) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index b3b8dd567f2..30038379f5a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -36,7 +36,7 @@ ;;; Copyright © 2019 Danny Milosavljevic <dannym@scratchpost.org> ;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2019 Florian Pelz <pelzflorian@pelzflorian.de> -;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org> +;;; Copyright © 2019, 2024, 2025 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2019 Jelle Licht <jlicht@fsfe.org> ;;; Copyright © 2019 Jonathan Frederickson <jonathan@terracrypt.net> ;;; Copyright © 2019-2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> @@ -114,9 +114,13 @@ #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-web) #:use-module (gnu packages cups) #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) @@ -10488,81 +10492,152 @@ specified duration and save it as a GIF encoded animated image file.") (home-page "https://git.gnome.org/browse/byzanz") (license license:gpl2+)))) -(define-public authenticator +(define-public gnome-authenticator (package - (name "authenticator") - (version "3.32.2") + (name "gnome-authenticator") + (version "4.4.0") (source (origin (method git-fetch) (uri (git-reference - (url "https://gitlab.gnome.org/World/Authenticator") + (url "https://gitlab.gnome.org/World/Authenticator.git/") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1c4r9rnrz5gazrfg0z2rcwax4nscs7z391bcjcl74k6ln3blwzpr")))) - (build-system meson-build-system) + (base32 "0zavax35n048spx097ymiq31s8b879qwbg8xmcxcx73r6m823mic")))) + (build-system cargo-build-system) (arguments (list - #:glib-or-gtk? #t + #:install-source? #f + #:vendor-dir "vendor" + #:cargo-inputs + (list rust-aes-gcm-0.10 + rust-anyhow-1 + rust-async-std-1 + rust-aperture-0.3 + rust-ashpd-0.6 + rust-data-encoding-2 + rust-diesel-2 + rust-diesel-migrations-2 + rust-futures-channel-0.3 + rust-futures-executor-0.3 + rust-futures-util-0.3 + rust-gettext-rs-0.7 + rust-gtk4-0.7 + rust-hex-0.4 + rust-image-0.24 + rust-libadwaita-0.5 + rust-oo7-0.2 + rust-percent-encoding-2 + rust-prost-0.12 + rust-qrencode-0.14 + rust-quick-xml-0.30 + rust-rand-0.8 + rust-reqwest-0.11 + rust-ring-0.17 + rust-rust-argon2-2 + rust-scrypt-0.11 + rust-search-provider-0.6 + rust-serde-1 + rust-serde-json-1 + rust-svg-metadata-0.4 + rust-tokio-1 + rust-tracing-0.1 + rust-tracing-subscriber-0.3 + rust-url-2 + rust-uuid-1 + rust-zbar-rust-0.0.23 ; any 0.0.* + rust-zeroize-1) + #:imported-modules `(,@%meson-build-system-modules + ,@%glib-or-gtk-build-system-modules + ,@%cargo-build-system-modules) + #:modules `((guix build cargo-build-system) + ((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:) + ((guix build meson-build-system) #:prefix meson:) + (guix build utils)) #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'patch-meson.build + (add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file + (assoc-ref glib-or-gtk:%standard-phases + 'generate-gdk-pixbuf-loaders-cache-file)) + (add-after 'unpack 'prepare-for-build (lambda _ - (substitute* "data/meson.build" - (("^ 'desktop',.*") "") - (("^ 'appdata',.*") "")))) - (add-after 'glib-or-gtk-wrap 'python-and-gi-wrap - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((prog (search-input-file outputs "bin/authenticator")) - (pylib (string-append #$output "/lib/python" - #$(version-major+minor - (package-version - (this-package-input "python"))) - "/site-packages"))) - (wrap-program prog - `("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH") ,pylib)) - `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))) - (native-inputs - (list desktop-file-utils - gettext-minimal - `(,glib "bin") - gobject-introspection - `(,gtk+ "bin") - pkg-config)) - (inputs - (list bash-minimal - gsettings-desktop-schemas - gtk+ - libhandy-0.0 - libsecret - python - python-beautifulsoup4 - python-pillow - python-pyfavicon - python-pygobject - python-pyotp - python-pyzbar - yoyo-migrations - zbar)) - (home-page "https://gitlab.gnome.org/World/Authenticator/") - (synopsis "Two-factor authentication application built for GNOME") - (description - "Authenticator is a two-factor authentication (2FA) application built for -the GNOME desktop environment. + (substitute* "meson.build" + (("gtk_update_icon_cache: true") + "gtk_update_icon_cache: false") + (("update_desktop_database: true") + "update_desktop_database: false")) + ;; Help the tests find the Cargo.toml in the sources. + (substitute* "src/meson.build" + (("'test'") "'test', cargo_options")) + (delete-file "Cargo.lock"))) + ;; Add meson-configure phase here and not before 'configure because + ;; the meson 'configure phase changes to a different directory and + ;; we need it created before unpacking the crates. + (add-before 'unpack-rust-crates 'meson-configure + (lambda args + (apply (assoc-ref meson:%standard-phases 'configure) + #:build-type "debugoptimized" + #:configure-flags '() + args))) + (replace 'build + (assoc-ref meson:%standard-phases 'build)) + (replace 'check + (lambda args + (apply (assoc-ref meson:%standard-phases 'check) + #:test-options '() + args))) + (replace 'install + (assoc-ref meson:%standard-phases 'install)) + (add-after 'install 'glib-or-gtk-compile-schemas + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas)) + (add-after 'install 'glib-or-gtk-wrap + (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)) + (add-after 'glib-or-gtk-wrap 'wrap-extra-paths + (lambda _ + (let ((gst-plugins-path (getenv "GST_PLUGIN_SYSTEM_PATH"))) + (wrap-program (string-append #$output "/bin/authenticator") + `("GST_PLUGIN_SYSTEM_PATH" ":" suffix (,gst-plugins-path)))))) + (add-after 'strip 'shrink-runpath + (assoc-ref meson:%standard-phases 'shrink-runpath))))) + (native-inputs (list gettext-minimal + `(,glib "bin") ; for glib-compile-schemas + meson + ninja + pkg-config)) + (inputs (list bash-minimal + glib + gstreamer + gst-plugins-base + gst-plugins-bad + gtk + libadwaita + openssl + pipewire ; Needed but not listed + sqlite + zbar)) + (home-page "https://apps.gnome.org/Authenticator") + (synopsis "Generate two-factor codes") + (description "Simple application for generating Two-Factor Authentication +Codes: -Features: +It features: @itemize -@item QR code scanner +@item Time-based/Counter-based/Steam methods support +@item SHA-1/SHA-256/SHA-512 algorithms support +@item QR code scanner using a camera or from a screenshot +@item Lock the application with a password @item Beautiful UI -@item Huge database of more than 560 supported services -@item Keep your PIN tokens secure by locking the application with a password -@item Automatically fetch an image for services using their favicon -@item The possibility to add new services +@item GNOME Shell search provider +@item Backup/Restore from/into known applications like FreeOTP+, +Aegis (encrypted / plain-text), andOTP, Google Authenticator @end itemize") (license license:gpl3+))) +(define-public authenticator + (deprecated-package "authenticator" gnome-authenticator)) + (define-public gsound (package (name "gsound") diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index e1df008d77e..6facc27174f 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages cmake) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-tls) #:use-module (gnu packages dbm) #:use-module (gnu packages docbook) @@ -272,7 +273,7 @@ Random Cage Fighting Birds, Cool Music etc.") (define-public libchewing (package (name "libchewing") - (version "0.9.0") + (version "0.9.1") (source (origin (method git-fetch) @@ -281,7 +282,7 @@ Random Cage Fighting Birds, Cool Music etc.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1n0w9niff46w7vncs699gj4y2xghn1sbl0f4mg5x33dcapqd14sg")))) + (base32 "0gh64wvrk5pn0fhmpvj1j99d5g7f7697rk96zbkc8l72yjr819z5")))) (build-system cargo-build-system) (arguments `(#:modules ((guix build cargo-build-system) @@ -305,10 +306,6 @@ Random Cage Fighting Birds, Cool Music etc.") (("rust-tempfile" ,rust-tempfile-3)) #:phases (modify-phases %standard-phases - (add-after 'unpack 'allow-older-version-of-clap-mangen - (lambda _ - (substitute* "tools/Cargo.toml" - (("0.2.12") "0.2.11")))) (add-after 'configure 'cmake-configure (lambda args (apply (assoc-ref cmake:%standard-phases 'configure) diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm index 50993c3eea7..9b5d9010638 100644 --- a/gnu/packages/nss.scm +++ b/gnu/packages/nss.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages check) + #:use-module (gnu packages crates-check) #:use-module (gnu packages crates-io) #:use-module (gnu packages compression) #:use-module (gnu packages perl) @@ -404,7 +405,7 @@ This package tracks the Rapid Release channel, which updates frequently."))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" "--" + '("--" ;; These tests fail with the current builder network setup "--skip=ffi::test_gethostbyaddr_r" "--skip=ffi::test_gethostbyname2_r" diff --git a/gnu/packages/nushell.scm b/gnu/packages/nushell.scm new file mode 100644 index 00000000000..2b0f7460a85 --- /dev/null +++ b/gnu/packages/nushell.scm @@ -0,0 +1,200 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr> +;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il> +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (gnu packages nushell) + #:use-module (gnu packages c) + #:use-module (gnu packages compression) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-shell) + #:use-module (gnu packages crates-vcs) + #:use-module (gnu packages crates-windows) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages ssh) + #:use-module (gnu packages tls) + #:use-module (gnu packages version-control) + #:use-module (guix build-system cargo) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages)) + + +(define-public nushell + (package + (name "nushell") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hi8jhn22qyhhwxwgsncyxzmf06wd6lx0qgxn88022xggbwh7ipz")) + (snippet + #~(begin (delete-file + "tests/fixtures/partial_completions/partial-a/have_ext.exe"))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + "--skip=path::canonicalize::canonicalize_tilde" + "--skip=path::canonicalize::canonicalize_tilde_relative_to" + "--skip=plugin_persistence" + "--skip=plugins" + "--skip=repl") + ;#:features '("system-clipboard") + #:install-source? #f + #:cargo-inputs + (("rust-crossterm" ,rust-crossterm-0.28) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-dirs" ,rust-dirs-5) + ("rust-log" ,rust-log-0.4) + ("rust-miette" ,rust-miette-7) + ("rust-mimalloc" ,rust-mimalloc-0.1) + ("rust-multipart-rs" ,rust-multipart-rs-0.1) + ("rust-nix" ,rust-nix-0.29) + ("rust-nu-cli" ,rust-nu-cli-0.101) + ("rust-nu-cmd-base" ,rust-nu-cmd-base-0.101) + ("rust-nu-cmd-extra" ,rust-nu-cmd-extra-0.101) + ("rust-nu-cmd-lang" ,rust-nu-cmd-lang-0.101) + ("rust-nu-cmd-plugin" ,rust-nu-cmd-plugin-0.101) + ("rust-nu-command" ,rust-nu-command-0.101) + ("rust-nu-engine" ,rust-nu-engine-0.101) + ("rust-nu-explore" ,rust-nu-explore-0.101) + ("rust-nu-lsp" ,rust-nu-lsp-0.101) + ("rust-nu-parser" ,rust-nu-parser-0.101) + ("rust-nu-path" ,rust-nu-path-0.101) + ("rust-nu-plugin-engine" ,rust-nu-plugin-engine-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-nu-std" ,rust-nu-std-0.101) + ("rust-nu-system" ,rust-nu-system-0.101) + ("rust-nu-utils" ,rust-nu-utils-0.101) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-reedline" ,rust-reedline-0.38) + ("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-assert-cmd" ,rust-assert-cmd-2) + ("rust-dirs" ,rust-dirs-5) + ("rust-nu-plugin-core" ,rust-nu-plugin-core-0.101) + ("rust-nu-plugin-protocol" ,rust-nu-plugin-protocol-0.101) + ("rust-nu-test-support" ,rust-nu-test-support-0.101) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-regex" ,rust-regex-1) + ("rust-rstest" ,rust-rstest-0.23) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tango-bench" ,rust-tango-bench-0.6) + ("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 + "Nu draws inspiration from projects like PowerShell, functional +programming languages, and modern CLI tools. Rather than thinking of files +and services as raw streams of text, Nu looks at each input as something with +structure. For example, when you list the contents of a directory, what you +get back is a table of rows, where each row represents an item in that +directory. These values can be piped through a series of steps, in a series +of commands called a ``pipeline''.") + (license license:expat))) + +;; Nushell plugins need to be built against the same nu-plugin protocol +;; version as nushell itself. + +(define-public nu-plugin-formats + (package + (name "nu-plugin-formats") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu_plugin_formats" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bpsqchhv3q9x38i5kn7gpfrxv875k0vgb7k3r732d7f59nxzd93")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) + ("rust-eml-parser" ,rust-eml-parser-0.1) + ("rust-ical" ,rust-ical-0.11) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-nu-plugin" ,rust-nu-plugin-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-plist" ,rust-plist-1) + ("rust-rust-ini" ,rust-rust-ini-0.21)) + #:cargo-development-inputs + (("rust-nu-plugin-test-support" ,rust-nu-plugin-test-support-0.101)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_formats") + (synopsis "An I/O plugin for a set of file formats for Nushell") + (description + "This package provides An I/O plugin for a set of file formats for Nushell.") + (license license:expat))) + +(define-public nu-plugin-inc + (package + (name "nu-plugin-inc") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu_plugin_inc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "12kr3lnjhq6grdnhxrmlxgmvvgv7kc6fg18z6gfk2qim1sckikyd")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-nu-plugin" ,rust-nu-plugin-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101) + ("rust-semver" ,rust-semver-1)))) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_inc") + (synopsis "Version incrementer plugin for Nushell") + (description + "This package provides a version incrementer plugin for Nushell.") + (license license:expat))) + +(define-public nu-plugin-gstat + (package + (name "nu-plugin-gstat") + (version "0.101.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu_plugin_gstat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1jpxbgkffwxh02ccjxd9mkb0z1j0c58mh75vw1c62g74775mdkpc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-git2" ,rust-git2-0.19) + ("rust-nu-plugin" ,rust-nu-plugin-0.101) + ("rust-nu-protocol" ,rust-nu-protocol-0.101)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.8 libssh2 openssl zlib)) + (home-page + "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_gstat") + (synopsis "Git status plugin for Nushell") + (description "This package provides a git status plugin for Nushell.") + (license license:expat))) + diff --git a/gnu/packages/patches/maturin-no-cross-compile.patch b/gnu/packages/patches/maturin-no-cross-compile.patch index 98af33d3c7d..d391d4028c5 100644 --- a/gnu/packages/patches/maturin-no-cross-compile.patch +++ b/gnu/packages/patches/maturin-no-cross-compile.patch @@ -2,36 +2,46 @@ Remove dependencies on xwin and zig. We're not offering cross-compilation options using these crates. diff --git a/Cargo.toml b/Cargo.toml -index 6704e46..ff126a9 100644 +index 24305db..c7641f9 100644 --- a/Cargo.toml +++ b/Cargo.toml -@@ -83,16 +83,6 @@ version = "0.1.16" +@@ -95,16 +95,6 @@ version = "0.1.24" [dependencies.cargo-options] version = "0.7.2" -[dependencies.cargo-xwin] --version = "0.16.2" +-version = "0.18.3" -optional = true -default-features = false - -[dependencies.cargo-zigbuild] --version = "0.18.0" +-version = "0.19.7" -optional = true -default-features = false - [dependencies.cargo_metadata] - version = "0.18.0" + version = "0.19.0" + +@@ -364,10 +354,6 @@ version = "7.0.0" -@@ -321,8 +311,6 @@ version = "5.0.0" [features] cli-completion = ["dep:clap_complete_command"] - cross-compile = [ +-cross-compile = [ - "zig", - "xwin", - ] +-] default = [ "full", -@@ -341,7 +329,6 @@ log = ["tracing-subscriber"] + "rustls", +@@ -375,7 +361,6 @@ default = [ + faster-tests = [] + full = [ + "cli-completion", +- "cross-compile", + "scaffolding", + "upload", + ] +@@ -384,7 +369,6 @@ log = [] native-tls = [ "dep:native-tls", "ureq?/native-tls", @@ -39,7 +49,7 @@ index 6704e46..ff126a9 100644 "dep:rustls-pemfile", ] password-storage = [ -@@ -351,7 +338,6 @@ password-storage = [ +@@ -394,7 +378,6 @@ password-storage = [ rustls = [ "dep:rustls", "ureq?/tls", @@ -47,7 +57,7 @@ index 6704e46..ff126a9 100644 "dep:rustls-pemfile", ] scaffolding = [ -@@ -369,5 +355,3 @@ upload = [ +@@ -416,5 +399,3 @@ upload = [ "wild", "dep:dirs", ] diff --git a/gnu/packages/patches/mrustc-patches.patch b/gnu/packages/patches/mrustc-patches.patch new file mode 100644 index 00000000000..626945e2a12 --- /dev/null +++ b/gnu/packages/patches/mrustc-patches.patch @@ -0,0 +1,19 @@ +diff --git a/rustc-1.54.0-src.patch b/rustc-1.54.0-src.patch +index 088c723a..d322fd0d 100644 +--- a/rustc-1.54.0-src.patch ++++ b/rustc-1.54.0-src.patch +@@ -302,14 +302,3 @@ + use self::generic as arch; + + pub use self::arch::{vec128_storage, vec256_storage, vec512_storage}; +- +---- src/llvm-project/llvm/include/llvm/Support/Signals.h +-+++ src/llvm-project/llvm/include/llvm/Support/Signals.h +-@@ -14,6 +14,7 @@ +- #ifndef LLVM_SUPPORT_SIGNALS_H +- #define LLVM_SUPPORT_SIGNALS_H +- +-+#include <cstdint> +- #include <string> +- +- namespace llvm { diff --git a/gnu/packages/patches/rust-cargo-edit-remove-ureq.patch b/gnu/packages/patches/rust-cargo-edit-remove-ureq.patch deleted file mode 100644 index 99c58103c76..00000000000 --- a/gnu/packages/patches/rust-cargo-edit-remove-ureq.patch +++ /dev/null @@ -1,33 +0,0 @@ -This is modeled after the upstream commit which removes ureq as a dependency. - -diff --git a/Cargo.toml b/Cargo.toml -index 5a787e1..27171c7 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -201,26 +201,3 @@ test-external-apis = [] - upgrade = ["cli"] - vendored-libgit2 = ["git2/vendored-libgit2"] - vendored-openssl = ["git2/vendored-openssl"] -- --[target."cfg(any(target_arch = \"x86_64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"aarch64\"))".dependencies.ureq] --version = "2.7.1" --features = [ -- "tls", -- "json", -- "socks", -- "socks-proxy", --] --default-features = false -- --[target."cfg(not(any(target_arch = \"x86_64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"aarch64\")))".dependencies.native-tls] --version = "^0.2" -- --[target."cfg(not(any(target_arch = \"x86_64\", target_arch = \"arm\", target_arch = \"x86\", target_arch = \"aarch64\")))".dependencies.ureq] --version = "2.7.1" --features = [ -- "native-tls", -- "json", -- "socks", -- "socks-proxy", --] --default-features = false diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch new file mode 100644 index 00000000000..24d56925736 --- /dev/null +++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch @@ -0,0 +1,88 @@ +From f940d8c8fa087554583158d50df071af89c516db Mon Sep 17 00:00:00 2001 +From: Simon Lamon <32477463+silamon@users.noreply.github.com> +Date: Sat, 19 Nov 2022 20:32:07 +0100 +Subject: [PATCH] chore: upgrade dependencies (#9) + +Co-authored-by: Markus Siemens <markus@m-siemens.de> +--- + Cargo.toml.orig | 8 ++++---- + src/errors.rs | 6 +++--- + src/reader.rs | 2 +- + src/utils.rs | 5 ++--- + 4 files changed, 10 insertions(+), 11 deletions(-) + +diff --git a/Cargo.toml.orig b/Cargo.toml.orig +index 9afddd0..e302436 100644 +--- a/Cargo.toml.orig ++++ b/Cargo.toml.orig +@@ -14,15 +14,15 @@ categories = ["parser-implementations"] + backtrace = [] + + [dependencies] +-bytes = "0.5" ++bytes = "1.2.0" + encoding_rs = "0.8.31" + enum-primitive-derive = "0.2.2" +-itertools = "0.9.0" ++itertools = "0.10.3" + num-traits = "0.2" + paste = "1.0" + thiserror = "1.0" +-uuid = "0.8" +-widestring = "0.4.3" ++uuid = "1.1.2" ++widestring = "1.0.2" + + [dev-dependencies] + insta = "1.21.1" +diff --git a/src/errors.rs b/src/errors.rs +index 91477b3..50079a3 100644 +--- a/src/errors.rs ++++ b/src/errors.rs +@@ -51,8 +51,8 @@ impl From<std::string::FromUtf16Error> for Error { + } + } + +-impl From<widestring::MissingNulError<u16>> for Error { +- fn from(err: widestring::MissingNulError<u16>) -> Self { ++impl From<widestring::error::MissingNulTerminator> for Error { ++ fn from(err: widestring::error::MissingNulTerminator) -> Self { + ErrorKind::from(err).into() + } + } +@@ -128,6 +128,6 @@ pub enum ErrorKind { + #[error("UTF-16 string is missing null terminator: {err}")] + Utf16MissingNull { + #[from] +- err: widestring::MissingNulError<u16>, ++ err: widestring::error::MissingNulTerminator, + }, + } +diff --git a/src/reader.rs b/src/reader.rs +index 64730d0..318c280 100644 +--- a/src/reader.rs ++++ b/src/reader.rs +@@ -40,7 +40,7 @@ impl<'a> Reader<'a> { + } + + pub(crate) fn bytes(&self) -> &[u8] { +- self.0.bytes() ++ self.0.chunk() + } + + pub(crate) fn remaining(&self) -> usize { +diff --git a/src/utils.rs b/src/utils.rs +index fd77181..074ff50 100644 +--- a/src/utils.rs ++++ b/src/utils.rs +@@ -12,8 +12,7 @@ impl Utf16ToString for &[u8] { + .map(|v| u16::from_le_bytes([v[0], v[1]])) + .collect(); + +- let value = U16CString::from_vec_with_nul(data)?; +- +- Ok(value.to_string()?) ++ let value = U16CString::from_vec_truncate(data); ++ Ok(value.to_string().unwrap()) + } + } diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch new file mode 100644 index 00000000000..77adc550ca3 --- /dev/null +++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch @@ -0,0 +1,52 @@ +From 8b450447e58143004b68dd21c11b710fdb79be92 Mon Sep 17 00:00:00 2001 +From: Micah Snyder <micasnyd@cisco.com> +Date: Mon, 3 Jul 2023 21:44:57 -0700 +Subject: [PATCH] Add ability to parse section from in memory buffer + +Resolves: https://github.com/msiemens/onenote.rs/issues/12 +--- + src/onenote/mod.rs | 23 ++++++++++++++++++++++- + 1 file changed, 22 insertions(+), 1 deletion(-) + +diff --git a/src/onenote/mod.rs b/src/onenote/mod.rs +index de172c9..8bcb62b 100644 +--- a/src/onenote/mod.rs ++++ b/src/onenote/mod.rs +@@ -6,8 +6,9 @@ use crate::onestore::parse_store; + use crate::reader::Reader; + use std::ffi::OsStr; + use std::fs::File; +-use std::io::{BufReader, Read}; ++use std::io::{BufReader, Read, Cursor}; + use std::path::Path; ++use std::str::FromStr; + + pub(crate) mod content; + pub(crate) mod embedded_file; +@@ -76,6 +77,26 @@ impl Parser { + Ok(Notebook { entries: sections }) + } + ++ /// Parse a OneNote section buffer. ++ /// ++ /// The `data` argument must contain a OneNote section. ++ pub fn parse_section_buffer(&mut self, data: &[u8], file_name: &Path) -> Result<Section> { ++ let packaging = OneStorePackaging::parse(&mut Reader::new(data))?; ++ let store = parse_store(&packaging)?; ++ ++ if store.schema_guid() != guid!({1F937CB4-B26F-445F-B9F8-17E20160E461}) { ++ return Err(ErrorKind::NotASectionFile { ++ file: file_name.to_string_lossy().into_owned(), ++ } ++ .into()); ++ } ++ ++ section::parse_section( ++ store, ++ file_name.to_string_lossy().into_owned(), ++ ) ++ } ++ + /// Parse a OneNote section file. + /// + /// The `path` argument must point to a `.one` file that contains a diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch new file mode 100644 index 00000000000..ff94fa26305 --- /dev/null +++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch @@ -0,0 +1,30 @@ +From 29c08532252b917543ff268284f926f30876bb79 Mon Sep 17 00:00:00 2001 +From: Matt Jolly <Matt.Jolly@footclan.ninja> +Date: Mon, 24 Jun 2024 17:34:05 +1000 +Subject: [PATCH] PropertType: Specify type for custom discriminant values + +We use custom discriminant values for enum variants for "PropertType" without specifying the type. +This causes it to default to "isize" which on 64bit platforms is big enough to hold the 32bit constants, +but causes overflow when isize is 32bit. + +This issue was uncovered due to build failures on arm for Gentoo Linux as a dependency of ClamAV. + +Bug: https://bugs.gentoo.org/927214 +Signed-off-by: Matt Jolly <kangie@gentoo.org> +Co-authored-by: Steven Newbury <steve@snewbury.org.uk> +--- + src/one/property/mod.rs | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/one/property/mod.rs b/src/one/property/mod.rs +index 42841c6..fcc0481 100644 +--- a/src/one/property/mod.rs ++++ b/src/one/property/mod.rs +@@ -23,6 +23,7 @@ mod references; + pub(crate) mod simple; + pub(crate) mod time; + ++#[repr(u32)] + #[derive(Debug, Copy, Clone, PartialEq)] + #[allow(dead_code)] + #[allow(clippy::enum_clike_unportable_variant)] diff --git a/gnu/packages/patches/rust-webbrowser-remove-unsupported-os.patch b/gnu/packages/patches/rust-webbrowser-remove-unsupported-os.patch deleted file mode 100644 index 9fea1e16656..00000000000 --- a/gnu/packages/patches/rust-webbrowser-remove-unsupported-os.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- Cargo.toml 2023-05-07 13:39:13.029066693 +0100 -+++ Cargo.toml 2023-05-07 13:39:22.545138206 +0100 -@@ -67,21 +67,3 @@ - [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] - version = "0.3" - features = ["Window"] -- --[target."cfg(target_os = \"android\")".dependencies.jni] --version = "0.21" -- --[target."cfg(target_os = \"android\")".dependencies.ndk-context] --version = "0.1" -- --[target."cfg(target_os = \"android\")".dev-dependencies.ndk-glue] --version = ">= 0.3, <= 0.7" -- --[target."cfg(target_os = \"ios\")".dependencies.objc] --version = "0.2.7" -- --[target."cfg(target_os = \"ios\")".dependencies.raw-window-handle] --version = "0.5.0" -- --[target."cfg(target_os = \"macos\")".dependencies.core-foundation] --version = "0.9" diff --git a/gnu/packages/patches/rustc-1.54.0-src.patch b/gnu/packages/patches/rustc-1.54.0-src.patch deleted file mode 100644 index d322fd0d499..00000000000 --- a/gnu/packages/patches/rustc-1.54.0-src.patch +++ /dev/null @@ -1,304 +0,0 @@ -# mrustc is much better at enum packing, so causes almost all of these to be smaller by one pointer ---- compiler/rustc_ast/src/ast.rs -+++ compiler/rustc_ast/src/ast.rs -@@ -1075,7 +1075,7 @@ pub struct Expr { - } - - // `Expr` is used a lot. Make sure it doesn't unintentionally get bigger. --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(Expr, 104); - - impl Expr { -@@ -2779,7 +2779,7 @@ pub enum AssocItemKind { - MacCall(MacCall), - } - --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(AssocItemKind, 72); - - impl AssocItemKind { -@@ -2831,7 +2831,7 @@ pub enum ForeignItemKind { - MacCall(MacCall), - } - --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler="mrustc"),target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(ForeignItemKind, 72); - - impl From<ForeignItemKind> for ItemKind { - ---- compiler/rustc_hir/src/hir.rs -+++ compiler/rustc_hir/src/hir.rs -@@ -3048,7 +3048,7 @@ impl<'hir> Node<'hir> { - } - - // Some nodes are used a lot. Make sure they don't unintentionally get bigger. --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler="mrustc"),target_arch = "x86_64", target_pointer_width = "64"))] - mod size_asserts { - rustc_data_structures::static_assert_size!(super::Block<'static>, 48); - rustc_data_structures::static_assert_size!(super::Expr<'static>, 64); - ---- compiler/rustc_middle/src/mir/interpret/error.rs -+++ compiler/rustc_middle/src/mir/interpret/error.rs -@@ -449,7 +449,7 @@ impl dyn MachineStopType { - } - } - --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler="mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - static_assert_size!(InterpError<'_>, 64); - - pub enum InterpError<'tcx> { - ---- compiler/rustc_middle/src/mir/mod.rs -+++ compiler/rustc_middle/src/mir/mod.rs -@@ -2200,7 +2200,7 @@ pub enum AggregateKind<'tcx> { - Generator(DefId, SubstsRef<'tcx>, hir::Movability), - } - --#[cfg(target_arch = "x86_64")] -+#[cfg(all(not(rust_compiler="mrustc"), target_arch = "x86_64"))] - static_assert_size!(AggregateKind<'_>, 48); - - #[derive(Copy, Clone, Debug, PartialEq, PartialOrd, Eq, TyEncodable, TyDecodable, Hash, HashStable)] - ---- compiler/rustc_middle/src/thir.rs -+++ compiler/rustc_middle/src/thir.rs -@@ -144,7 +144,7 @@ pub enum StmtKind<'tcx> { - } - - // `Expr` is used a lot. Make sure it doesn't unintentionally get bigger. --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler="mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(Expr<'_>, 144); - - /// The Thir trait implementor lowers their expressions (`&'tcx H::Expr`) - ---- compiler/rustc_mir/src/interpret/operand.rs -+++ compiler/rustc_mir/src/interpret/operand.rs -@@ -32,7 +32,7 @@ pub enum Immediate<Tag = ()> { - ScalarPair(ScalarMaybeUninit<Tag>, ScalarMaybeUninit<Tag>), - } - --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(Immediate, 56); - - impl<Tag> From<ScalarMaybeUninit<Tag>> for Immediate<Tag> { -@@ -87,7 +87,7 @@ pub struct ImmTy<'tcx, Tag = ()> { - pub layout: TyAndLayout<'tcx>, - } - --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(ImmTy<'_>, 72); - - impl<Tag: Copy> std::fmt::Display for ImmTy<'tcx, Tag> { - ---- compiler/rustc_mir/src/interpret/place.rs -+++ compiler/rustc_mir/src/interpret/place.rs -@@ -88,7 +88,7 @@ pub enum Place<Tag = ()> { - Local { frame: usize, local: mir::Local }, - } - --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(Place, 64); - - #[derive(Copy, Clone, Debug)] -@@ -97,7 +97,7 @@ pub struct PlaceTy<'tcx, Tag = ()> { - pub layout: TyAndLayout<'tcx>, - } - --#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))] -+#[cfg(all(not(rust_compiler = "mrustc"), target_arch = "x86_64", target_pointer_width = "64"))] - rustc_data_structures::static_assert_size!(PlaceTy<'_>, 80); - - impl<'tcx, Tag> std::ops::Deref for PlaceTy<'tcx, Tag> { - -# -# Disable std_detect's detection logic (use the same logic as miri) -# ---- library/stdarch/crates/std_detect/src/detect/mod.rs -+++ library/stdarch/crates/std_detect/src/detect/mod.rs -@@ -86,7 +86,7 @@ mod bit; - mod cache; - - cfg_if! { -- if #[cfg(miri)] { -+ if #[cfg(any(miri, rust_compiler = "mrustc"))] { - // When running under miri all target-features that are not enabled at - // compile-time are reported as disabled at run-time. - // - -# -# Disable crc32fast's use of stdarch -# ---- vendor/crc32fast/src/specialized/mod.rs -+++ vendor/crc32fast/src/specialized/mod.rs -@@ -1,5 +1,6 @@ - cfg_if! { - if #[cfg(all( -+ not(rust_compiler = "mrustc"), - crc32fast_stdarchx86, - any(target_arch = "x86", target_arch = "x86_64") - ))] { - -# -# Backport which is required to support arm64 on macOS 12 -# See: https://github.com/alexcrichton/curl-rust/commit/0aea09c428b9bc2bcf46da0fc33959fe3f03c74a -# ---- vendor/curl/src/lib.rs -+++ vendor/curl/src/lib.rs -@@ -82,6 +82,9 @@ pub mod easy; - pub mod multi; - mod panic; - -+#[cfg(test)] -+static INITIALIZED: std::sync::atomic::AtomicBool = std::sync::atomic::AtomicBool::new(false); -+ - /// Initializes the underlying libcurl library. - /// - /// The underlying libcurl library must be initialized before use, and must be -@@ -102,46 +105,62 @@ pub fn init() { - /// Used to prevent concurrent or duplicate initialization. - static INIT: Once = Once::new(); - -- /// An exported constructor function. On supported platforms, this will be -- /// invoked automatically before the program's `main` is called. -- #[cfg_attr( -- any(target_os = "linux", target_os = "freebsd", target_os = "android"), -- link_section = ".init_array" -- )] -- #[cfg_attr(target_os = "macos", link_section = "__DATA,__mod_init_func")] -- #[cfg_attr(target_os = "windows", link_section = ".CRT$XCU")] -- static INIT_CTOR: extern "C" fn() = init_inner; -+ INIT.call_once(|| { -+ #[cfg(need_openssl_init)] -+ openssl_probe::init_ssl_cert_env_vars(); -+ #[cfg(need_openssl_init)] -+ openssl_sys::init(); -+ -+ unsafe { -+ assert_eq!(curl_sys::curl_global_init(curl_sys::CURL_GLOBAL_ALL), 0); -+ } -+ -+ #[cfg(test)] -+ { -+ INITIALIZED.store(true, std::sync::atomic::Ordering::SeqCst); -+ } -+ -+ // Note that we explicitly don't schedule a call to -+ // `curl_global_cleanup`. The documentation for that function says -+ // -+ // > You must not call it when any other thread in the program (i.e. a -+ // > thread sharing the same memory) is running. This doesn't just mean -+ // > no other thread that is using libcurl. -+ // -+ // We can't ever be sure of that, so unfortunately we can't call the -+ // function. -+ }); -+} - -+/// An exported constructor function. On supported platforms, this will be -+/// invoked automatically before the program's `main` is called. This is done -+/// for the convenience of library users since otherwise the thread-safety rules -+/// around initialization can be difficult to fulfill. -+/// -+/// This is a hidden public item to ensure the symbol isn't optimized away by a -+/// rustc/LLVM bug: https://github.com/rust-lang/rust/issues/47384. As long as -+/// any item in this module is used by the final binary (which `init` will be) -+/// then this symbol should be preserved. -+#[used] -+#[doc(hidden)] -+#[cfg_attr( -+ any(target_os = "linux", target_os = "freebsd", target_os = "android"), -+ link_section = ".init_array" -+)] -+#[cfg_attr(target_os = "macos", link_section = "__DATA,__mod_init_func")] -+#[cfg_attr(target_os = "windows", link_section = ".CRT$XCU")] -+pub static INIT_CTOR: extern "C" fn() = { - /// This is the body of our constructor function. - #[cfg_attr( - any(target_os = "linux", target_os = "android"), - link_section = ".text.startup" - )] -- extern "C" fn init_inner() { -- INIT.call_once(|| { -- #[cfg(need_openssl_init)] -- openssl_sys::init(); -- -- unsafe { -- assert_eq!(curl_sys::curl_global_init(curl_sys::CURL_GLOBAL_ALL), 0); -- } -- -- // Note that we explicitly don't schedule a call to -- // `curl_global_cleanup`. The documentation for that function says -- // -- // > You must not call it when any other thread in the program (i.e. -- // > a thread sharing the same memory) is running. This doesn't just -- // > mean no other thread that is using libcurl. -- // -- // We can't ever be sure of that, so unfortunately we can't call the -- // function. -- }); -+ extern "C" fn init_ctor() { -+ init(); - } - -- // We invoke our init function through our static to ensure the symbol isn't -- // optimized away by a bug: https://github.com/rust-lang/rust/issues/47384 -- INIT_CTOR(); --} -+ init_ctor -+}; - - unsafe fn opt_str<'a>(ptr: *const libc::c_char) -> Option<&'a str> { - if ptr.is_null() { -@@ -158,3 +177,20 @@ fn cvt(r: curl_sys::CURLcode) -> Result<(), Error> { - Err(Error::new(r)) - } - } -+ -+#[cfg(test)] -+mod tests { -+ use super::*; -+ -+ #[test] -+ #[cfg(any( -+ target_os = "linux", -+ target_os = "macos", -+ target_os = "windows", -+ target_os = "freebsd", -+ target_os = "android" -+ ))] -+ fn is_initialized_before_main() { -+ assert!(INITIALIZED.load(std::sync::atomic::Ordering::SeqCst)); -+ } -+} - -# PPV-Lite also needs to know that we're pretending to be miri ---- vendor/ppv-lite86/src/lib.rs -+++ vendor/ppv-lite86/src/lib.rs -@@ -9,14 +9,14 @@ mod soft; - mod types; - pub use self::types::*; - --#[cfg(all(feature = "simd", target_arch = "x86_64", not(miri)))] -+#[cfg(all(feature = "simd", target_arch = "x86_64", not(miri), not(rust_compiler = "mrustc")))] - pub mod x86_64; --#[cfg(all(feature = "simd", target_arch = "x86_64", not(miri)))] -+#[cfg(all(feature = "simd", target_arch = "x86_64", not(miri), not(rust_compiler = "mrustc")))] - use self::x86_64 as arch; - --#[cfg(any(miri, not(all(feature = "simd", any(target_arch = "x86_64")))))] -+#[cfg(any(miri, rust_compiler = "mrustc", not(all(feature = "simd", any(target_arch = "x86_64")))))] - pub mod generic; --#[cfg(any(miri, not(all(feature = "simd", any(target_arch = "x86_64")))))] -+#[cfg(any(miri, rust_compiler = "mrustc", not(all(feature = "simd", any(target_arch = "x86_64")))))] - use self::generic as arch; - - pub use self::arch::{vec128_storage, vec256_storage, vec512_storage}; diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 74beeeb9d8e..5b994d408f2 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -40,6 +40,7 @@ #:use-module (gnu packages) #:use-module (gnu packages libffi) #:use-module (gnu packages compression) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages cmake) #:use-module (gnu packages check) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 3cd58bf0ea0..8eb8fd6a6d6 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -72,7 +72,7 @@ #:use-module (gnu packages python-compression) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) - #:use-module (gnu packages rust) + #:use-module (gnu packages rust-apps) #:use-module (gnu packages swig) #:use-module (gnu packages time) #:use-module (gnu packages tls) @@ -519,14 +519,14 @@ is used by the Requests library to verify HTTPS requests.") (define-public python-cryptography-vectors (package (name "python-cryptography-vectors") - (version "42.0.5") + (version "43.0.3") (source (origin (method url-fetch) (uri (pypi-uri "cryptography_vectors" version)) (sha256 (base32 - "1lcflcvv0xjz5cyvf33iav1vd91qzjvl4w7h4qaxlcnbn3ixap2h")))) + "1d46wj4831g2vmixffk2b0bb0x67x5rlnqbpfa8fi17lcm98hspz")))) (build-system pyproject-build-system) (arguments (list #:tests? #f)) ; No tests included. (native-inputs @@ -543,33 +543,61 @@ is used by the Requests library to verify HTTPS requests.") (define-public python-cryptography (package (name "python-cryptography") - (version "42.0.5") + (version "43.0.3") (source (origin (method url-fetch) (uri (pypi-uri "cryptography" version)) (sha256 (base32 - "1qdz0yk5smi0dnywbxmanccwizilmnzgbbihjpmpgm6zjpn7xq3g")))) - (build-system pyproject-build-system) + "01d8anh4crjvpa0s044rxkdi9cjnz4w15dj3yipjljba4q0r0nri")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Help the configure phase. Remove this next release. + (with-output-to-file "Cargo.toml" + (lambda () (newline))) + (for-each delete-file + (find-files "." "Cargo\\.lock$")) + (substitute* "pyproject.toml" + (("locked = true") "offline = true")))))) + (build-system cargo-build-system) (arguments (list - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'disable-rust-extension-build - (lambda _ - ;; The Rust extension is built separately as - ;; 'python-cryptography-rust', so there's no need - ;; to build it here. - (substitute* "pyproject.toml" - (("\\s+\\\"setuptools-rust.*") "")))) - (add-before 'check 'symlink-rust-library - (lambda* (#:key inputs outputs #:allow-other-keys) - (symlink (search-input-file - inputs "lib/libcryptography_rust.so") - (string-append (site-packages inputs outputs) - "/cryptography/hazmat/bindings/" - "_rust.abi3.so"))))))) - + #: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)) + #:cargo-inputs + (list rust-asn1-0.16 + rust-cc-1 + rust-cfg-if-1 + rust-foreign-types-0.3 + rust-foreign-types-shared-0.1 + rust-once-cell-1 + rust-openssl-0.10 + rust-openssl-sys-0.9 + rust-pem-3 + rust-pyo3-0.22 + rust-self-cell-1) + #:install-source? #false + #:phases + #~(modify-phases %standard-phases + (add-after 'configure 'dont-vendor-self + (lambda* (#:key vendor-dir #:allow-other-keys) + ;; Don't keep the whole tarball in the vendor directory + (delete-file-recursively + (string-append vendor-dir "/cryptography-" #$version ".tar.zst")))) + (replace 'build + (assoc-ref py:%standard-phases 'build)) + (delete 'check) + (add-after 'install 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (py:add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest" "tests")))) + (replace 'install + (assoc-ref py:%standard-phases 'install))))) (native-inputs (list python-certifi python-cryptography-vectors @@ -580,7 +608,7 @@ is used by the Requests library to verify HTTPS requests.") python-pytest-subtests python-setuptools python-wheel)) - (inputs (list python-cryptography-rust)) + (inputs (list maturin openssl python-wrapper)) (propagated-inputs (list python-cffi)) (home-page "https://github.com/pyca/cryptography") (synopsis "Cryptographic recipes and primitives for Python") @@ -593,73 +621,17 @@ ciphers, message digests and key derivation functions.") ;; Distributed under either BSD-3 or ASL2.0 (license (list license:bsd-3 license:asl2.0)))) -;;; This is the Rust component of the python-cryptography library, extracted -;;; as a separate package to ease the Rust build. -(define-public python-cryptography-rust - (package - (inherit python-cryptography) - (name "python-cryptography-rust") - (build-system cargo-build-system) - (arguments - (list - #:modules '((guix build cargo-build-system) - (guix build utils) - (srfi srfi-1) - (ice-9 match)) - #:install-source? #f - ;; As seen in noxfile.py - #:cargo-test-flags ''("--release" "--no-default-features") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'chdir - (lambda _ - (chdir "src/rust"))) - (replace 'unpack-rust-crates - ;; This is to avoid the non-crate source from being erroneously - ;; unpacked by this phase, causing an error. - (lambda* (#:key inputs #:allow-other-keys #:rest args) - (apply (assoc-ref %standard-phases 'unpack-rust-crates) - (append args - (list #:inputs (alist-delete "source" inputs)))))) - (replace 'configure - (lambda* (#:key inputs #:allow-other-keys #:rest args) - (apply (assoc-ref %standard-phases 'configure) - (append args - (list #:inputs (alist-delete "source" inputs)))))) - (add-after 'install 'install-shared-library - (lambda _ - (install-file "target/release/libcryptography_rust.so" - (string-append #$output "/lib"))))) - #: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-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. - (inputs (list python rust-openssl-sys-0.9)) - (propagated-inputs '()) - (synopsis "Core implementation of the Cryptography Python library"))) - (define-public python-pyopenssl (package (name "python-pyopenssl") - (version "24.1.0") + (version "24.2.1") (source (origin (method url-fetch) - (uri (pypi-uri "pyOpenSSL" version)) + (uri (pypi-uri "pyopenssl" version)) (sha256 (base32 - "0vqsyji1q4vhd5yxlzks0z6va62knq64mxhfdjhz3yaxmazx9gna")))) + "158fpy6fsmkrci67qpzg06ha3ygh3ah3xzxjrc6md3blwgdz0is2")))) (build-system python-build-system) (arguments (list @@ -671,7 +643,7 @@ ciphers, message digests and key derivation functions.") ;; 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" "2024-03-09" "pytest" "-vv" "-k" + (invoke "faketime" "2024-07-20" "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. diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d0695e39f31..27ac4400145 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3587,13 +3587,13 @@ verification of the SSL peer.") (define-public python-nh3 (package (name "python-nh3") - (version "0.2.17") + (version "0.2.20") (source (origin (method url-fetch) (uri (pypi-uri "nh3" version)) (sha256 - (base32 "0a7hrca5bbbrz20cbqy16n8vaxf4v2q1r9zv9vjlbmn334d79l20")))) + (base32 "1mcf3y5294glji9lhzh57wymw4srbvzdg0kcakm0p2pqgwnw81cp")))) (build-system cargo-build-system) (arguments (list @@ -3615,7 +3615,7 @@ verification of the SSL peer.") (invoke "pytest" "-vv" "tests"))))) #:cargo-inputs `(("rust-ammonia" ,rust-ammonia-4) - ("rust-pyo3" ,rust-pyo3-0.21)) + ("rust-pyo3" ,rust-pyo3-0.23)) #:install-source? #false)) (native-inputs (list maturin python-pytest python-wrapper)) (home-page "https://nh3.readthedocs.io") diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 2944843caf9..69be633c5a9 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.ccom> ;;; Copyright © 2021, 2022 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro> -;;; Copyright © 2021, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2021 jgart <jgart@dismail.de> ;;; Copyright © 2021 Nicolas Graves <ngraves@ngraves.fr> @@ -32,6 +32,8 @@ ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca> ;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo> +;;; Copyright © 2024 normally_js <normally_js@posteo.net> +;;; Copyright © 2025 Divya Ranjan Pattanaik <divya@subvertising.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -68,10 +70,15 @@ #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages crates-apple) + #:use-module (gnu packages crates-audio) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages crates-gtk) + #:use-module (gnu packages crates-shell) #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-vcs) #:use-module (gnu packages crates-web) @@ -92,6 +99,7 @@ #:use-module (gnu packages jemalloc) #:use-module (gnu packages kde) #:use-module (gnu packages libusb) + #:use-module (gnu packages libunwind) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages networking) @@ -115,14 +123,14 @@ (define-public aardvark-dns (package (name "aardvark-dns") - (version "1.12.2") + (version "1.13.0") (source (origin (method url-fetch) (uri (crate-uri "aardvark-dns" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1np7n7hiawllrmli4h0m7vvap10pghyr1rzz09gl4fi93janznn6")) + (base32 "0765p0jscj9c061rvb3dv922lnysvsk2xw88scjf41gr20hly3g6")) (modules '((guix build utils))) (snippet '(begin (substitute* (find-files "." "^Cargo\\.toml$") @@ -142,7 +150,6 @@ ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-nix" ,rust-nix-0.29) - ("rust-resolv-conf" ,rust-resolv-conf-0.7) ("rust-syslog" ,rust-syslog-7) ("rust-tokio" ,rust-tokio-1)))) (home-page "https://github.com/containers/aardvark-dns") @@ -155,14 +162,14 @@ records. It can forward other requests to configured resolvers.") (define-public agate (package (name "agate") - (version "3.3.5") + (version "3.3.11") (source (origin (method url-fetch) (uri (crate-uri "agate" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0ja2lvlcvkcbjn8r9da4k0ppy7pb7xad8j4b0a4fhg0mbp244f9s")))) + (base32 "0m18vsbrs4crg618vckywn5qsy36gd1vb10h4k92q15zaarrv24a")))) (build-system cargo-build-system) (arguments `(#:install-source? #f @@ -174,14 +181,14 @@ records. It can forward other requests to configured resolvers.") ("rust-glob" ,rust-glob-0.3) ("rust-log" ,rust-log-0.4) ("rust-mime-guess" ,rust-mime-guess-2) - ("rust-once-cell" ,rust-once-cell-1) ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-rcgen" ,rust-rcgen-0.12) + ("rust-rcgen" ,rust-rcgen-0.13) ("rust-tokio" ,rust-tokio-1) - ("rust-tokio-rustls" ,rust-tokio-rustls-0.25) + ("rust-tokio-rustls" ,rust-tokio-rustls-0.26) ("rust-url" ,rust-url-2)) - #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-gemini-fetch" ,rust-gemini-fetch-0.2)))) + #:cargo-development-inputs (("rust-trotter" ,rust-trotter-1)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) (home-page "https://github.com/mbrubeck/agate") (synopsis "Very simple server for the Gemini hypertext protocol") (description @@ -194,7 +201,7 @@ low-end hardware and serving many concurrent requests.") (define-public alfis (package (name "alfis") - (version "0.8.4") + (version "0.8.5") (source (origin (method git-fetch) @@ -203,12 +210,14 @@ low-end hardware and serving many concurrent requests.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1zqszjyiab0b76m2b8zfzpndg393hn311whq1fs9syfn53hp7nh4")) + (base32 "189dqgcnl11fdmd6242h1pbawlq7jdm22zykc1kkcj1dv6s55nvs")) (snippet #~(begin (use-modules (guix build utils)) ;; Use a packaged version of web-view. (substitute* "Cargo.toml" - (("git = .*,") "version = \"0.7.3\",")))))) + (("git = .*web-view\",") "version = \"0.7.3\",") + ((", git = .*ureq\"") "") + (("git = .*ecies-ed25519-ng.*version") "version")))))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags @@ -219,13 +228,13 @@ low-end hardware and serving many concurrent requests.") (("rust-getopts" ,rust-getopts-0.2) ("rust-log" ,rust-log-0.4) ("rust-simplelog" ,rust-simplelog-0.12) - ("rust-toml" ,rust-toml-0.7) + ("rust-toml" ,rust-toml-0.8) ("rust-digest" ,rust-digest-0.10) ("rust-sha2" ,rust-sha2-0.10) - ("rust-ed25519-dalek" ,rust-ed25519-dalek-1) - ("rust-x25519-dalek" ,rust-x25519-dalek-1) - ("rust-ecies-ed25519" ,rust-ecies-ed25519-0.5) - ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.9) + ("rust-ed25519-dalek" ,rust-ed25519-dalek-2) + ("rust-x25519-dalek" ,rust-x25519-dalek-2) + ("rust-ecies-ed25519-ng" ,rust-ecies-ed25519-ng-0.5) + ("rust-chacha20poly1305" ,rust-chacha20poly1305-0.10) ("rust-signature" ,rust-signature-2) ("rust-blakeout" ,rust-blakeout-0.3) ("rust-num-cpus" ,rust-num-cpus-1) @@ -234,25 +243,25 @@ low-end hardware and serving many concurrent requests.") ("rust-serde-json" ,rust-serde-json-1) ("rust-bincode" ,rust-bincode-1) ("rust-serde-cbor" ,rust-serde-cbor-0.11) - ("rust-base64" ,rust-base64-0.21) + ("rust-base64" ,rust-base64-0.22) ("rust-num-bigint" ,rust-num-bigint-0.4) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-chrono" ,rust-chrono-0.4) ("rust-rand" ,rust-rand-0.8) - ("rust-rand-0.7" ,rust-rand-0.7) ;For ed25519-dalek - ("rust-sqlite" ,rust-sqlite-0.30) + ("rust-sqlite" ,rust-sqlite-0.36) ("rust-uuid" ,rust-uuid-1) - ("rust-mio" ,rust-mio-0.8) + ("rust-mio" ,rust-mio-1) ("rust-ureq" ,rust-ureq-2) - ("rust-lru" ,rust-lru-0.9) + ("rust-lru" ,rust-lru-0.12) ("rust-derive-more" ,rust-derive-more-0.99) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-spmc" ,rust-spmc-0.3) ("rust-tinyfiledialogs" ,rust-tinyfiledialogs-3) ("rust-web-view" ,rust-web-view-0.7) - ("rust-open" ,rust-open-3) + ("rust-open" ,rust-open-5) ("rust-winapi" ,rust-winapi-0.3) - ("rust-thread-priority" ,rust-thread-priority-0.10) + ("rust-windows-service" ,rust-windows-service-0.7) + ("rust-thread-priority" ,rust-thread-priority-1) ("rust-winres" ,rust-winres-0.1)) #:cargo-development-inputs (("rust-serde-bytes" ,rust-serde-bytes-0.11) @@ -265,7 +274,10 @@ low-end hardware and serving many concurrent requests.") glib pango sqlite - webkitgtk-with-libsoup2)) + webkitgtk-with-libsoup2 + ;; Packaged from a git checkout, so add it here so we can grab the + ;; sources from the cargo tarball we create while building it. + rust-ecies-ed25519-ng-0.5)) (home-page "https://github.com/Revertron/Alfis") (synopsis "Alternative Free Identity System") (description @@ -370,6 +382,116 @@ highlighting for a large number of languages, git integration, and automatic paging.") (license (list license:expat license:asl2.0)))) +(define-public bottom + (package + (name "bottom") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "bottom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0y9wjbzrmcvh0fvfr5cizzwzy6f18hagk970mljwhccrwdsbaapg")))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-test-flags + '("--" + "--skip=valid_config_tests::test_all_proc" + "--skip=valid_config_tests::test_basic" + "--skip=valid_config_tests::test_cpu_doughnut" + "--skip=valid_config_tests::test_empty" + "--skip=valid_config_tests::test_filtering" + "--skip=valid_config_tests::test_many_proc" + "--skip=valid_config_tests::test_styling_sanity_check" + "--skip=valid_config_tests::test_styling_sanity_check_2" + "--skip=valid_config_tests::test_theme") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-backtrace" ,rust-backtrace-0.3) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-complete-fig" ,rust-clap-complete-fig-4) + ("rust-clap-complete-nushell" ,rust-clap-complete-nushell-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) + ("rust-concat-string" ,rust-concat-string-1) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-ctrlc" ,rust-ctrlc-3) + ("rust-dirs" ,rust-dirs-5) + ("rust-fern" ,rust-fern-0.6) + ("rust-filedescriptor" ,rust-filedescriptor-0.8) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-humantime" ,rust-humantime-2) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-indoc" ,rust-indoc-2) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-mach2" ,rust-mach2-0.4) + ("rust-nvml-wrapper" ,rust-nvml-wrapper-0.10) + ("rust-ratatui" ,rust-ratatui-0.27) + ("rust-regex" ,rust-regex-1) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-starship-battery" ,rust-starship-battery-0.9) + ("rust-strum" ,rust-strum-0.26) + ("rust-sysctl" ,rust-sysctl-0.5) + ("rust-sysinfo" ,rust-sysinfo-0.30) + ("rust-time" ,rust-time-0.3) + ("rust-toml-edit" ,rust-toml-edit-0.22) + ("rust-unicode-ellipsis" ,rust-unicode-ellipsis-0.2) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-windows" ,rust-windows-0.58)) + #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-cargo-husky" ,rust-cargo-husky-1) + ("rust-portable-pty" ,rust-portable-pty-0.8) + ("rust-predicates" ,rust-predicates-3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'enable-building-completions + (lambda _ + (setenv "BTM_GENERATE" "true"))) + (add-after 'install 'install-extras + (lambda* (#:key native-inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (man1 (string-append share "/man/man1")) + (bash-completions-dir + (string-append out "/etc/bash_completion.d/")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (elvish-completions-dir + (string-append share "/elvish/lib")) + (nu-completions-dir + (string-append share "/nushell/vendor/autoload"))) + (install-file "target/tmp/bottom/manpage/btm.1" man1) + (install-file "target/tmp/bottom/completion/_btm" + zsh-completions-dir) + (install-file "target/tmp/bottom/completion/btm.fish" + fish-completions-dir) + (mkdir-p bash-completions-dir) + (copy-file "target/tmp/bottom/completion/btm.bash" + (string-append bash-completions-dir "/btm")) + (mkdir-p elvish-completions-dir) + (copy-file "target/tmp/bottom/completion/btm.elv" + (string-append elvish-completions-dir "/btm")) + (mkdir-p nu-completions-dir) + (copy-file "target/tmp/bottom/completion/btm.nu" + (string-append nu-completions-dir "/btm")))))))) + (home-page "https://github.com/ClementTsang/bottom") + (synopsis "Customizable graphical process/system monitor for the terminal") + (description + "This package provides a customizable graphical process/system monitor for +the terminal.") + (license license:expat))) + (define-public cargo-machete (package (name "cargo-machete") @@ -384,7 +506,8 @@ paging.") (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" "--" + '("--" + ;; Not all files are included. "--skip=search_unused::test_crate_renaming_works" "--skip=search_unused::test_false_positive_macro_use" "--skip=search_unused::test_ignore_deps_works" @@ -418,7 +541,7 @@ paging.") (define-public complgen (package (name "complgen") - (version "0.2.0") + (version "0.3.0") (source (origin (method git-fetch) @@ -427,7 +550,7 @@ paging.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "026bv2cync6qgdkn1ifhspy6z9v25plziqhnn58rlgffx2a0dqn2")))) + (base32 "1v94lg7p79j5706d520jfvidpkw5pqv1a8hgg6cy3fpkghgr375j")))) (build-system cargo-build-system) (arguments (list @@ -438,6 +561,7 @@ paging.") ("rust-clap" ,rust-clap-4) ("rust-env-logger" ,rust-env-logger-0.10) ("rust-hashbrown" ,rust-hashbrown-0.13) + ("rust-indexmap" ,rust-indexmap-2) ("rust-itertools" ,rust-itertools-0.10) ("rust-log" ,rust-log-0.4) ("rust-nom" ,rust-nom-7) @@ -734,20 +858,20 @@ console.") (define-public eza (package (name "eza") - (version "0.19.4") + (version "0.20.14") (source (origin (method url-fetch) (uri (crate-uri "eza" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "16zc0j1x7clbjlrg1kc1szy0x1lbsfshij0qhdq8vx0zj6b7dlys")))) + (base32 "0lk94dwala52hc7jfk89wjky0p5szfirm6v3awpwhw99928jsx4n")))) (build-system cargo-build-system) (arguments (list #:install-source? #f #:cargo-inputs `(("rust-ansi-width" ,rust-ansi-width-0.1) - ("rust-chrono" ,rust-chrono-0.4) + ("rust-backtrace" ,rust-backtrace-0.3) ("rust-chrono" ,rust-chrono-0.4) ("rust-dirs" ,rust-dirs-5) ("rust-git2" ,rust-git2-0.19) @@ -768,57 +892,54 @@ console.") ("rust-rayon" ,rust-rayon-1) ("rust-serde" ,rust-serde-1) ("rust-serde-norway" ,rust-serde-norway-0.9) - ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-terminal-size" ,rust-terminal-size-0.4) ("rust-timeago" ,rust-timeago-0.4) - ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.2) ("rust-uutils-term-grid" ,rust-uutils-term-grid-0.6) ("rust-uzers" ,rust-uzers-0.12) ("rust-windows-sys" ,rust-windows-sys-0.59) ("rust-zoneinfo-compiled" ,rust-zoneinfo-compiled-0.5)) #:cargo-development-inputs `(("rust-criterion" ,rust-criterion-0.5) ("rust-trycmd" ,rust-trycmd-0.15)) - #:phases #~(modify-phases %standard-phases - (add-after 'build 'build-manual - (lambda* (#:key inputs #:allow-other-keys) - (when (assoc-ref inputs "pandoc") - (map (lambda (page) - (with-output-to-file page - (lambda _ - (invoke "pandoc" "--standalone" - "-f" "markdown" - "-t" "man" - (string-append "man/" page ".md"))))) - (list "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")) - (share (string-append out "/share")) - (bash-completions-dir (string-append share - "/bash-completion/completions")) - (zsh-completions-dir (string-append share - "/zsh/site-functions")) - (fish-completions-dir (string-append share - "/fish/vendor_completions.d")) - (man1 (string-append share "/man/man1")) - (man5 (string-append share "/man/man5"))) - (when (file-exists? "eza.1") - (install-file "eza.1" man1)) - (when (file-exists? "eza_colors.5") - (install-file "eza_colors.5" man5)) - (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) - (copy-file "completions/bash/eza" - (string-append bash-completions-dir "/eza")) - (copy-file "completions/zsh/_eza" - (string-append zsh-completions-dir "/_eza")) - (copy-file "completions/fish/eza.fish" - (string-append fish-completions-dir - "/eza.fish")))))))) + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'build-manual + (lambda* (#:key inputs #:allow-other-keys) + (when (assoc-ref inputs "pandoc") + (map (lambda (page) + (with-output-to-file page + (lambda _ + (invoke "pandoc" "--standalone" + "-f" "markdown" + "-t" "man" + (string-append "man/" page ".md"))))) + (list "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")) + (share (string-append out "/share")) + (bash-completions-dir + (string-append share "/bash-completion/completions")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (nu-completions-dir + (string-append share "/nushell/vendor/autoload")) + (man1 (string-append share "/man/man1")) + (man5 (string-append share "/man/man5"))) + (when (file-exists? "eza.1") + (install-file "eza.1" man1)) + (when (file-exists? "eza_colors.5") + (install-file "eza_colors.5" man5)) + (when (file-exists? "eza_colors-explanation.5") + (install-file "eza_colors-explanation.5" man5)) + (install-file "completions/bash/eza" bash-completions-dir) + (install-file "completions/zsh/_eza" zsh-completions-dir) + (install-file "completions/fish/eza.fish" fish-completions-dir) + (install-file "completions/nush/eza.nu" nu-completions-dir))))))) (native-inputs (append (list pkg-config) (if (supported-package? pandoc) @@ -1075,41 +1196,36 @@ gitoxide CLI.") (define-public gitui (package (name "gitui") - (version "0.25.2") + (version "0.26.3") (source (origin (method url-fetch) (uri (crate-uri "gitui" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19xv6bvp0hs1m5y8a0myifvh8xrxrv14wd4gknlsrka0l7d8ijg7")))) + (base32 "0pqx3j2spw3xc9wipzcwdxn2l58x2fa803wi528370rl83zznhk6")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version)) + ;; Remove vendor-openssl from the default features. + ((".*\"vendor-openssl\",.*") "")))))) (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" - "--" + `(#:cargo-test-flags + '("--release" "--" ;; 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)))))) + (add-after 'unpack 'set-release-variable + (lambda _ + (setenv "GITUI_RELEASE" "true") + (setenv "BUILD_GIT_COMMIT_ID" "GNUGUIX")))) #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-asyncgit" ,rust-asyncgit-0.25) + ("rust-asyncgit" ,rust-asyncgit-0.26) ("rust-backtrace" ,rust-backtrace-0.3) ("rust-bitflags" ,rust-bitflags-2) ("rust-bugreport" ,rust-bugreport-0.5) @@ -1130,7 +1246,8 @@ gitoxide CLI.") ("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-parking-lot-core" ,rust-parking-lot-core-0.9) + ("rust-ratatui" ,rust-ratatui-0.26) ("rust-rayon-core" ,rust-rayon-core-1) ("rust-ron" ,rust-ron-0.8) ("rust-scopeguard" ,rust-scopeguard-1) @@ -1141,12 +1258,14 @@ gitoxide CLI.") ("rust-struct-patch" ,rust-struct-patch-0.4) ("rust-syntect" ,rust-syntect-5) ("rust-tui-textarea" ,rust-tui-textarea-0.4) + ("rust-two-face" ,rust-two-face-0.4) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) - ("rust-unicode-truncate" ,rust-unicode-truncate-0.2) + ("rust-unicode-truncate" ,rust-unicode-truncate-1) ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-which" ,rust-which-6)) #:cargo-development-inputs - (("rust-pretty-assertions" ,rust-pretty-assertions-1) + (("rust-env-logger" ,rust-env-logger-0.11) + ("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)) @@ -1230,18 +1349,14 @@ gitoxide CLI.") (define-public hexyl (package (name "hexyl") - (version "0.14.0") + (version "0.15.0") (source (origin (method url-fetch) (uri (crate-uri "hexyl" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0fhbc4ibpbbgcgx2v6wzxcn63jz76cvdp2f8jdg747h65hvp5bcm")) - (snippet - #~(begin (use-modules (guix build utils)) - (substitute* "doc/hexyl.1.md" - (("0\\.12\\.0") "0.14.0")))))) + (base32 "19i9g18nnyizas2af2s3ikivcpazmgfh3n71v5fmfm9ibnkjp1a2")))) (build-system cargo-build-system) (arguments `(#:install-source? #f @@ -1250,9 +1365,9 @@ gitoxide CLI.") ("rust-clap" ,rust-clap-4) ("rust-const-format" ,rust-const-format-0.2) ("rust-libc" ,rust-libc-0.2) - ("rust-owo-colors" ,rust-owo-colors-3) - ("rust-supports-color" ,rust-supports-color-2) - ("rust-terminal-size" ,rust-terminal-size-0.2) + ("rust-owo-colors" ,rust-owo-colors-4) + ("rust-supports-color" ,rust-supports-color-3) + ("rust-terminal-size" ,rust-terminal-size-0.4) ("rust-thiserror" ,rust-thiserror-1)) #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) @@ -1499,20 +1614,19 @@ bar. It is also compatible with sway.") (define-public just (package (name "just") - (version "1.35.0") + (version "1.38.0") (source (origin (method url-fetch) (uri (crate-uri "just" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0q5a94wrkvb01q0rcz59w0qzsdh7wp698nk0crdqn0j1vwwy7r50")))) + (base32 "031yn8dijn89cdiwrlsh5l8ah83f2ci51j90z659aqrksflz44vw")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" "--" + '("--" "--skip=backticks::trailing_newlines_are_stripped" "--skip=completions::bash" - "--skip=completions::replacements" "--skip=functions::env_var_functions" "--skip=string::shebang_backtick") #:install-source? #f @@ -1525,7 +1639,7 @@ bar. It is also compatible with sway.") ("rust-clap-complete" ,rust-clap-complete-4) ("rust-clap-mangen" ,rust-clap-mangen-0.2) ("rust-ctrlc" ,rust-ctrlc-3) - ("rust-derivative" ,rust-derivative-2) + ("rust-derive-where" ,rust-derive-where-1) ("rust-dirs" ,rust-dirs-5) ("rust-dotenvy" ,rust-dotenvy-0.15) ("rust-edit-distance" ,rust-edit-distance-2) @@ -1537,6 +1651,7 @@ bar. It is also compatible with sway.") ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-rand" ,rust-rand-0.8) ("rust-regex" ,rust-regex-1) + ("rust-rustversion" ,rust-rustversion-1) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) @@ -1548,13 +1663,13 @@ bar. It is also compatible with sway.") ("rust-target" ,rust-target-2) ("rust-tempfile" ,rust-tempfile-3) ("rust-typed-arena" ,rust-typed-arena-2) - ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-unicode-width" ,rust-unicode-width-0.2) ("rust-uuid" ,rust-uuid-1)) #:cargo-development-inputs (("rust-executable-path" ,rust-executable-path-1) ("rust-pretty-assertions" ,rust-pretty-assertions-1) ("rust-temptree" ,rust-temptree-0.2) - ("rust-which" ,rust-which-6)) + ("rust-which" ,rust-which-7)) #:phases (modify-phases %standard-phases (add-after 'unpack 'replace-hardcoded-paths @@ -1750,36 +1865,35 @@ and some other stuff.") (define-public macchina (package (name "macchina") - (version "6.1.8") + (version "6.4.0") (source (origin (method url-fetch) (uri (crate-uri "macchina" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "044bygdazv8l1d5sf7pxn2xp26pmnx2b65122qzb37m1ylb1ksg6")))) + (base32 "0m1hkf81njdbx69c2k3hp3dslq6xfh14hs8v7iadw3cl44dshb7r")))) (build-system cargo-build-system) (arguments (list #:install-source? #f - #:cargo-inputs `(("rust-ansi-to-tui" ,rust-ansi-to-tui-2) + #:cargo-inputs `(("rust-ansi-to-tui" ,rust-ansi-to-tui-7) ("rust-atty" ,rust-atty-0.2) ("rust-bytesize" ,rust-bytesize-1) ("rust-clap" ,rust-clap-4) - ("rust-color-to-tui" ,rust-color-to-tui-0.2) ("rust-colored" ,rust-colored-2) - ("rust-dirs" ,rust-dirs-4) + ("rust-dirs" ,rust-dirs-5) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libmacchina" ,rust-libmacchina-6) + ("rust-libmacchina" ,rust-libmacchina-8) ("rust-rand" ,rust-rand-0.8) + ("rust-ratatui" ,rust-ratatui-0.29) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-shellexpand" ,rust-shellexpand-3) ("rust-thiserror" ,rust-thiserror-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-tui" ,rust-tui-0.19) + ("rust-toml" ,rust-toml-0.8) ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-vergen" ,rust-vergen-7)) + ("rust-vergen" ,rust-vergen-8)) #:phases #~(modify-phases %standard-phases (add-after 'install 'install-extras (lambda* (#:key outputs #:allow-other-keys) @@ -1801,21 +1915,15 @@ on the terminal in a visually appealing way.") (define-public maturin (package (name "maturin") - (version "1.4.0") + (version "1.8.1") (source (origin (method url-fetch) (uri (crate-uri "maturin" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1ia5xziazpcpc1wwg8jlz5nmza87cz7nb039gg38jgw3704p4dls")) - (patches (search-patches "maturin-no-cross-compile.patch")) - (snippet - #~(begin (use-modules (guix build utils)) - ;; Remove support for x86_64h-apple-darwin. - ;; This target causes maturin to fail to build. - (substitute* "src/target.rs" - (("\\| Architecture::X86_64h ") "")))))) + "1mxgal826395cq9klg9h2f4qvqhi4s0v4x54bhvsikq2bjcf934w")) + (patches (search-patches "maturin-no-cross-compile.patch")))) (build-system cargo-build-system) (arguments `(#:modules ((guix build cargo-build-system) @@ -1826,7 +1934,7 @@ on the terminal in a visually appealing way.") ,@%pyproject-build-system-modules) #:install-source? #f #:cargo-test-flags - '("--release" "--" + '("--" ;; Not all files are included. "--skip=build_options::test::test_find_bridge_bin" "--skip=build_options::test::test_find_bridge_cffi" @@ -1844,13 +1952,13 @@ on the terminal in a visually appealing way.") ("rust-bytesize" ,rust-bytesize-1) ("rust-cargo-config2" ,rust-cargo-config2-0.1) ("rust-cargo-options" ,rust-cargo-options-0.7) - ;("rust-cargo-xwin" ,rust-cargo-xwin-0.16) - ;("rust-cargo-zigbuild" ,rust-cargo-zigbuild-0.18) - ("rust-cargo-metadata" ,rust-cargo-metadata-0.18) - ("rust-cbindgen" ,rust-cbindgen-0.26) + ;("rust-cargo-xwin" ,rust-cargo-xwin-0.18) + ;("rust-cargo-zigbuild" ,rust-cargo-zigbuild-0.19) + ("rust-cargo-metadata" ,rust-cargo-metadata-0.19) + ("rust-cbindgen" ,rust-cbindgen-0.27) ("rust-cc" ,rust-cc-1) ("rust-clap" ,rust-clap-4) - ("rust-clap-complete-command" ,rust-clap-complete-command-0.5) + ("rust-clap-complete-command" ,rust-clap-complete-command-0.6) ("rust-configparser" ,rust-configparser-3) ("rust-console" ,rust-console-0.15) ("rust-dialoguer" ,rust-dialoguer-0.11) @@ -1858,55 +1966,61 @@ on the terminal in a visually appealing way.") ("rust-dunce" ,rust-dunce-1) ("rust-fat-macho" ,rust-fat-macho-0.4) ("rust-flate2" ,rust-flate2-1) - ("rust-fs-err" ,rust-fs-err-2) + ("rust-fs-err" ,rust-fs-err-3) ("rust-glob" ,rust-glob-0.3) - ("rust-goblin" ,rust-goblin-0.7) + ("rust-goblin" ,rust-goblin-0.9) ("rust-ignore" ,rust-ignore-0.4) ("rust-indexmap" ,rust-indexmap-2) ("rust-itertools" ,rust-itertools-0.12) ("rust-keyring" ,rust-keyring-2) ("rust-lddtree" ,rust-lddtree-0.3) - ("rust-minijinja" ,rust-minijinja-1) + ("rust-minijinja" ,rust-minijinja-2) ("rust-multipart" ,rust-multipart-0.18) ("rust-native-tls" ,rust-native-tls-0.2) ("rust-normpath" ,rust-normpath-1) ("rust-once-cell" ,rust-once-cell-1) ("rust-path-slash" ,rust-path-slash-0.2) - ("rust-pep440-rs" ,rust-pep440-rs-0.3) - ("rust-pep508-rs" ,rust-pep508-rs-0.2) + ("rust-pep440-rs" ,rust-pep440-rs-0.6) + ("rust-pep508-rs" ,rust-pep508-rs-0.6) ("rust-platform-info" ,rust-platform-info-2) - ("rust-pyproject-toml" ,rust-pyproject-toml-0.8) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-pyproject-toml" ,rust-pyproject-toml-0.11) ("rust-python-pkginfo" ,rust-python-pkginfo-0.6) ("rust-regex" ,rust-regex-1) ("rust-rustc-version" ,rust-rustc-version-0.4) - ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls" ,rust-rustls-0.23) ("rust-rustls-pemfile" ,rust-rustls-pemfile-2) + ("rust-same-file" ,rust-same-file-1) + ("rust-schemars" ,rust-schemars-0.8) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-sha2" ,rust-sha2-0.10) ("rust-tar" ,rust-tar-0.4) - ("rust-target-lexicon" ,rust-target-lexicon-0.12) + ("rust-target-lexicon" ,rust-target-lexicon-0.13) ("rust-tempfile" ,rust-tempfile-3) ("rust-textwrap" ,rust-textwrap-0.16) - ("rust-thiserror" ,rust-thiserror-1) + ("rust-thiserror" ,rust-thiserror-2) ("rust-time" ,rust-time-0.3) ("rust-toml" ,rust-toml-0.8) - ("rust-toml-edit" ,rust-toml-edit-0.21) + ("rust-toml-edit" ,rust-toml-edit-0.22) ("rust-tracing" ,rust-tracing-0.1) ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) + ("rust-unicode-xid" ,rust-unicode-xid-0.2) ("rust-ureq" ,rust-ureq-2) ("rust-url" ,rust-url-2) ("rust-wild" ,rust-wild-2) - ("rust-zip" ,rust-zip-0.6)) + ("rust-zip" ,rust-zip-2)) #:cargo-development-inputs (("rust-expect-test" ,rust-expect-test-1) + ("rust-fs4" ,rust-fs4-0.12) ("rust-indoc" ,rust-indoc-2) ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rstest" ,rust-rstest-0.22) ("rust-rustversion" ,rust-rustversion-1) ("rust-time" ,rust-time-0.3) - ("rust-trycmd" ,rust-trycmd-0.14) - ("rust-which" ,rust-which-5)) + ("rust-trycmd" ,rust-trycmd-0.15) + ("rust-which" ,rust-which-7)) #:phases (modify-phases %standard-phases (add-after 'build 'build-python-module @@ -1936,10 +2050,10 @@ on the terminal in a visually appealing way.") (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share")) (maturin (string-append out "/bin/maturin"))) - ;; TODO? fig, nushell, powershell - (mkdir-p (string-append share "/bash-completion/completions")) + ;; TODO? fig, powershell + (mkdir-p (string-append out "/etc/bash_completion.d")) (with-output-to-file - (string-append share "/bash-completion/completions/maturin") + (string-append out "/etc/bash_completion.d/maturin") (lambda _ (invoke maturin "completions" "bash"))) (mkdir-p (string-append share "/fish/vendor_completions.d")) (with-output-to-file @@ -1952,7 +2066,11 @@ on the terminal in a visually appealing way.") (mkdir-p (string-append share "/elvish/lib")) (with-output-to-file (string-append share "/elvish/lib/maturin") - (lambda _ (invoke maturin "completions" "elvish"))))))))) + (lambda _ (invoke maturin "completions" "elvish"))) + (mkdir-p (string-append share "/nushell/vendor/autoload")) + (with-output-to-file + (string-append share "/nushell/vendor/autoload/maturin") + (lambda _ (invoke maturin "completions" "nushell"))))))))) (propagated-inputs (list python-tomli)) (inputs (list bzip2)) @@ -1970,14 +2088,14 @@ on the terminal in a visually appealing way.") (define-public netavark (package (name "netavark") - (version "1.10.3") + (version "1.13.1") (source (origin (method url-fetch) (uri (crate-uri "netavark" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1viyj9xqq9hkcsghrfx7wjmky3hkxfr96952f9favd4zg9ih64yw")) + (base32 "1lzw30dfrp8zk181vl25g2dkpj7aq1jkalkikp2vsw33w1b611zi")) (modules '((guix build utils))) (snippet '(begin (substitute* (find-files "." "^Cargo\\.toml$") @@ -1994,32 +2112,33 @@ on the terminal in a visually appealing way.") ("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-hyper-util" ,rust-hyper-util-0.1) ("rust-ipnet" ,rust-ipnet-2) ("rust-iptables" ,rust-iptables-0.5) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-mozim" ,rust-mozim-0.2) ("rust-netlink-packet-core" ,rust-netlink-packet-core-0.7) - ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.18) + ("rust-netlink-packet-route" ,rust-netlink-packet-route-0.21) ("rust-netlink-packet-utils" ,rust-netlink-packet-utils-0.5) ("rust-netlink-sys" ,rust-netlink-sys-0.8) - ("rust-nftables" ,rust-nftables-0.3) + ("rust-nftables" ,rust-nftables-0.5) ("rust-nispor" ,rust-nispor-1) - ("rust-nix" ,rust-nix-0.27) - ("rust-prost" ,rust-prost-0.12) + ("rust-nix" ,rust-nix-0.29) + ("rust-prost" ,rust-prost-0.13) ("rust-rand" ,rust-rand-0.8) ("rust-serde" ,rust-serde-1) ("rust-serde-value" ,rust-serde-value-0.7) ("rust-serde-json" ,rust-serde-json-1) ("rust-sha2" ,rust-sha2-0.10) - ("rust-sysctl" ,rust-sysctl-0.5) + ("rust-sysctl" ,rust-sysctl-0.6) ("rust-tokio" ,rust-tokio-1) ("rust-tokio-stream" ,rust-tokio-stream-0.1) - ("rust-tonic" ,rust-tonic-0.10) - ("rust-tonic-build" ,rust-tonic-build-0.10) - ("rust-tower" ,rust-tower-0.4) + ("rust-tonic" ,rust-tonic-0.12) + ("rust-tonic-build" ,rust-tonic-build-0.12) + ("rust-tower" ,rust-tower-0.5) ("rust-url" ,rust-url-2) - ("rust-zbus" ,rust-zbus-3)) + ("rust-zbus" ,rust-zbus-4)) #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1) ("rust-rand" ,rust-rand-0.8) ("rust-tempfile" ,rust-tempfile-3)))) @@ -2119,6 +2238,115 @@ container management applications.") decompressing files and directories.") (license license:expat))) +(define-public py-spy + (package + (name "py-spy") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "py-spy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fvdmrqp4qand1zb9cwks8hpkysdqajrdh9y7ks15c78985k1x64")))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:cargo-inputs (list rust-anyhow-1 + rust-chrono-0.4 + rust-clap-3 + rust-clap-complete-3 + rust-console-0.15 + rust-cpp-demangle-0.4 + rust-ctrlc-3 + rust-env-logger-0.10 + rust-goblin-0.9 + rust-indicatif-0.17 + rust-inferno-0.11 + rust-lazy-static-1 + rust-libc-0.2 + rust-log-0.4 + rust-lru-0.10 + rust-memmap2-0.9 + rust-num-traits-0.2 + rust-proc-maps-0.4 + rust-rand-0.8 + rust-rand-distr-0.4 + rust-regex-1 + rust-remoteprocess-0.5 + rust-serde-1 + rust-serde-derive-1 + rust-serde-json-1 + rust-tempfile-3 + rust-termios-0.3 + rust-winapi-0.3) + #:cargo-development-inputs (list rust-py-spy-testdata-0.1) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-shell-completions + (lambda* (#:key native-inputs 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")) + (py-spy (if #$(%current-target-system) + (search-input-file native-inputs "/bin/py-spy") + (string-append out "/bin/py-spy")))) + (for-each mkdir-p + (list bash-completions-dir + zsh-completions-dir + fish-completions-dir + elvish-completions-dir)) + (with-output-to-file + (string-append bash-completions-dir "/py-spy") + (lambda _ (invoke py-spy "completions" "bash"))) + (with-output-to-file + (string-append zsh-completions-dir "/_py-spy") + (lambda _ (invoke py-spy "completions" "zsh"))) + (with-output-to-file + (string-append fish-completions-dir "/py-spy.fish") + (lambda _ (invoke py-spy "completions" "fish"))) + (with-output-to-file + (string-append elvish-completions-dir "/py-spy") + (lambda _ (invoke py-spy "completions" "elvish"))))))))) + (native-inputs + (append + (if (%current-target-system) + (list this-package) + '()) + (list python-minimal-wrapper))) + (inputs (list libunwind)) + (home-page "https://github.com/benfred/py-spy") + (synopsis "Sampling profiler for Python programs") + (description + "This package provides a sampling profiler for Python programs.") + (license license:expat))) + +(define-public rust-py-spy-testdata-0.1 + (hidden-package ; Uninteresting for users. + (package + (name "rust-py-spy-testdata") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "py-spy-testdata" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18d880f2rjdd42828srh97vpvlrs9pg23j28gphw9qd2w3bp128q")))) + (build-system cargo-build-system) + (home-page "https://github.com/benfred/py-spy-testdata") + (synopsis "Python coredumps for testing py-spy") + (description "This package provides Python coredumps for testing py-spy.") + (license license:expat)))) + (define-public ripgrep (package (name "ripgrep") @@ -2373,34 +2601,30 @@ browsers.") (define-public rust-cargo-edit (package (name "rust-cargo-edit") - (version "0.12.2") + (version "0.13.0") (source (origin (method url-fetch) (uri (crate-uri "cargo-edit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "03lxi7z1n9xq287lqvqnhzg5r0yv1fi3569ryw3jqcrvv8nqs0c2")) - (patches (search-patches "rust-cargo-edit-remove-ureq.patch")))) + "1mlzszj9sz0fy43xffrpram9nhyvlp4nx95jc5493jjmrqjrpfwz")))) (build-system cargo-build-system) (arguments `(#:install-source? #f - ;; error[E0463]: can't find crate for `cargo_test_macro` - #:tests? #f + ;; Not all files included. + #:cargo-test-flags '("--" "--skip=::case") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-cargo-metadata" ,rust-cargo-metadata-0.15) ("rust-clap" ,rust-clap-4) ("rust-clap-cargo" ,rust-clap-cargo-0.12) ("rust-concolor-control" ,rust-concolor-control-0.0.7) - ("rust-crates-index" ,rust-crates-index-0.19) ("rust-dunce" ,rust-dunce-1) ("rust-env-proxy" ,rust-env-proxy-0.4) - ("rust-git2" ,rust-git2-0.17) ("rust-hex" ,rust-hex-0.4) ("rust-home" ,rust-home-0.5) ("rust-indexmap" ,rust-indexmap-1) - ("rust-native-tls" ,rust-native-tls-0.2) ("rust-pathdiff" ,rust-pathdiff-0.2) ("rust-regex" ,rust-regex-1) ("rust-semver" ,rust-semver-1) @@ -2408,6 +2632,7 @@ browsers.") ("rust-serde-derive" ,rust-serde-derive-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-subprocess" ,rust-subprocess-0.2) + ("rust-tame-index" ,rust-tame-index-0.13) ("rust-termcolor" ,rust-termcolor-1) ("rust-toml" ,rust-toml-0.7) ("rust-toml-edit" ,rust-toml-edit-0.19) @@ -2415,20 +2640,17 @@ browsers.") #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) ("rust-assert-fs" ,rust-assert-fs-1) + ("rust-cargo-test-macro" ,rust-cargo-test-macro-0.3) + ("rust-cargo-test-support" ,rust-cargo-test-support-0.3) ("rust-predicates" ,rust-predicates-3) - ("rust-snapbox" ,rust-snapbox-0.4) + ("rust-snapbox" ,rust-snapbox-0.6) ("rust-trycmd" ,rust-trycmd-0.14) - ("rust-url" ,rust-url-2)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'dont-default-to-vendored-libgit2 - (lambda _ - (substitute* "Cargo.toml" - ((".*\"vendored-libgit2\".*") ""))))))) + ("rust-url" ,rust-url-2)))) (native-inputs (list pkg-config)) (inputs - (list libgit2-1.6 + (list curl + libgit2-1.8 libssh2 openssl zlib)) @@ -2444,7 +2666,7 @@ by modifying your @file{Cargo.toml} file from the command line.") (define-public git-interactive-rebase-tool (package (name "git-interactive-rebase-tool") - (version "2.1.0") + (version "2.4.1") (source (origin ;; crates.io does not provide the test data. @@ -2455,32 +2677,47 @@ by modifying your @file{Cargo.toml} file from the command line.") (file-name (git-file-name name version)) (sha256 (base32 - "173spqqpyc00kvfmldjmjfqizh9b4spq4xw4bskd4dny8qcpz28d")))) + "1asf1nlnbd915hs288ga67sr6540slgi2a0kmvxy7q4skd4w8n9n")))) (build-system cargo-build-system) (arguments - `(#:cargo-test-flags - ;; https://github.com/MitMaro/git-interactive-rebase-tool/issues/586 - '("--release" "--" "--skip=tests::success") + `(#:install-source? #f #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-captur" ,rust-captur-0.1) ("rust-chrono" ,rust-chrono-0.4) - ("rust-clap" ,rust-clap-2) - ("rust-crossterm" ,rust-crossterm-0.19) - ("rust-git2" ,rust-git2-0.13) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-git2" ,rust-git2-0.18) + ("rust-if-chain" ,rust-if-chain-1) + ("rust-lazy-static" ,rust-lazy-static-1) ("rust-num-format" ,rust-num-format-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-pico-args" ,rust-pico-args-0.5) + ("rust-rustc-version" ,rust-rustc-version-0.4) + ("rust-thiserror" ,rust-thiserror-1) ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-uuid" ,rust-uuid-1) + ("rust-version-track" ,rust-version-track-0.1) ("rust-xi-unicode" ,rust-xi-unicode-0.3)) #:cargo-development-inputs - (("rust-concat-idents" ,rust-concat-idents-1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-rstest" ,rust-rstest-0.6) - ("rust-serial-test" ,rust-serial-test-0.5) - ("rust-tempfile" ,rust-tempfile-3)))) + (("rust-claims" ,rust-claims-0.7) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-regex" ,rust-regex-1) + ("rust-rstest" ,rust-rstest-0.19) + ("rust-serial-test" ,rust-serial-test-3) + ("rust-tempfile" ,rust-tempfile-3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-release-variable + (lambda _ + (setenv "GIRT_BUILD_GIT_HASH" "GNUGUIX")))))) (native-inputs (list pkg-config)) (inputs - (list libgit2-1.3 zlib)) + (list libgit2-1.7 zlib)) (home-page "https://gitrebasetool.mitmaro.ca/") (synopsis "Terminal based sequence editor for git interactive rebase") (description @@ -2488,6 +2725,107 @@ by modifying your @file{Cargo.toml} file from the command line.") rebase.") (license license:gpl3+))) +(define-public procs + (package + (name "procs") + (version "0.14.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "procs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06q9ply29745g0yxpvmxmqzr74r7qix6i0m16sj1cn7cg1gmc7h3")))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1) + ("rust-bsd-kvm" ,rust-bsd-kvm-0.1) + ("rust-bsd-kvm-sys" ,rust-bsd-kvm-sys-0.2) + ("rust-byte-unit" ,rust-byte-unit-5) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-console" ,rust-console-0.15) + ("rust-directories" ,rust-directories-5) + ("rust-dockworker" ,rust-dockworker-0.5) + ("rust-errno" ,rust-errno-0.3) + ("rust-getch" ,rust-getch-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-libproc" ,rust-libproc-0.14) + ("rust-minus" ,rust-minus-5) + ("rust-nix" ,rust-nix-0.29) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pager" ,rust-pager-0.16) + ("rust-procfs" ,rust-procfs-0.17) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-termbg" ,rust-termbg-0.6) + ("rust-tokio" ,rust-tokio-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-unicode-width" ,rust-unicode-width-0.2) + ("rust-uzers" ,rust-uzers-0.12) + ("rust-which" ,rust-which-6) + ("rust-windows-sys" ,rust-windows-sys-0.59)) + #:phases #~(modify-phases %standard-phases + (add-after 'install 'install-manual-page + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (man (string-append out "/share/man/man1"))) + (mkdir-p man) + (invoke "a2x" + "--no-xmllint" + "--doctype=manpage" + "--format=manpage" + "man/procs.1.adoc" + (string-append "--destination-dir=" man))))) + (add-after 'install 'install-shell-completions + (lambda* (#:key native-inputs 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")) + (procs (if #$(%current-target-system) + (search-input-file native-inputs "/bin/procs") + (string-append out "/bin/procs")))) + (for-each mkdir-p + (list bash-completions-dir + zsh-completions-dir + fish-completions-dir + elvish-completions-dir)) + (with-output-to-file + (string-append bash-completions-dir "/procs") + (lambda _ (invoke procs "--gen-completion-out" "bash"))) + (with-output-to-file + (string-append zsh-completions-dir "/_procs") + (lambda _ (invoke procs "--gen-completion-out" "zsh"))) + (with-output-to-file + (string-append fish-completions-dir "/procs.fish") + (lambda _ (invoke procs "--gen-completion-out" "fish"))) + (with-output-to-file + (string-append elvish-completions-dir "/procs") + (lambda _ (invoke procs "--gen-completion-out" "elvish"))))))))) + (native-inputs + (append + (if (%current-target-system) + (list this-package) + '()) + (list asciidoc))) + (home-page "https://github.com/dalance/procs") + (synopsis "Modern replacement for @command{ps}") + (description "This package provides a modern replacement for @command{ps} +with colored output, multi-column keyword search, additional information, pager +support, watch support (like @command{top}) and a tree view.") + (license license:expat))) + (define-public rust-cbindgen-0.27 (package (name "rust-cbindgen") @@ -2579,22 +2917,22 @@ rebase.") (define-public rust-bindgen-cli (package (name "rust-bindgen-cli") - (version "0.70.1") + (version "0.71.1") (source (origin (method url-fetch) (uri (crate-uri "bindgen-cli" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1anm1gci1ycbv6sz4a5dan7phqbypcnw48xribxmm1wdsm39wgrk")))) + (base32 "1p2lmkl7vfhpr8gnav11p1jrwrqsmrqwr2fgwp5x1bsn17511vgx")))) (build-system cargo-build-system) (arguments `(#:install-source? #f - #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.70) - ("rust-clap" ,rust-clap-4) + #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.71) ("rust-clap-complete" ,rust-clap-complete-4) ("rust-env-logger" ,rust-env-logger-0.10) ("rust-log" ,rust-log-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-shlex" ,rust-shlex-1)) #:phases (modify-phases %standard-phases @@ -2640,7 +2978,7 @@ command.") (define-public sniffglue (package (name "sniffglue") - (version "0.16.0") + (version "0.16.1") (source (origin (method url-fetch) @@ -2648,7 +2986,7 @@ command.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0q63dysxzzqyknm3kqk0dff1vm8j6g05dkjwn7kqaglmf9ksd7v3")))) + "0dkkw8gwrgawd2s5bg47508i3kjnsv1dwmqa3hlijdvdw4wgm9gz")))) (build-system cargo-build-system) (arguments `(#:install-source? #f @@ -2662,24 +3000,22 @@ command.") ("rust-dhcp4r" ,rust-dhcp4r-0.2) ("rust-dirs-next" ,rust-dirs-next-2) ("rust-dns-parser" ,rust-dns-parser-0.8) - ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-httparse" ,rust-httparse-1) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.27) + ("rust-nix" ,rust-nix-0.29) ("rust-nom" ,rust-nom-7) ("rust-num-cpus" ,rust-num-cpus-1) ("rust-pcap-sys" ,rust-pcap-sys-0.1) ("rust-pktparse" ,rust-pktparse-0.7) - ("rust-reduce" ,rust-reduce-0.1) ("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-syscallz" ,rust-syscallz-0.17) - ("rust-tls-parser" ,rust-tls-parser-0.11) + ("rust-tls-parser" ,rust-tls-parser-0.12) ("rust-toml" ,rust-toml-0.8) - ("rust-uzers" ,rust-uzers-0.11)) + ("rust-uzers" ,rust-uzers-0.12)) #:cargo-development-inputs (("rust-boxxy" ,rust-boxxy-0.13)))) (inputs @@ -2692,67 +3028,137 @@ are parsed concurrently using a thread pool to utilize all cpu cores. A goal of the project is to be runnable on untrusted networks without crashing.") (license license:gpl3))) -(define-public tectonic +(define-public speakersafetyd (package - (name "tectonic") - (version "0.12.0") + (name "speakersafetyd") + (version "1.0.2") (source (origin (method url-fetch) - (uri (crate-uri "tectonic" version)) + (uri (crate-uri "speakersafetyd" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1q4mz2c32gfypx33zlzgd1q9h4322jrk13fzvsf8h676ylclqzpc")))) + (base32 "104xgyqhsg2rxa3ndkizrpndibmcbr25h63phcjswadbm8i790bz")))) (build-system cargo-build-system) (arguments - `(#:install-source? #f + (list + #:install-source? #f + #:cargo-inputs `(("rust-alsa" ,rust-alsa-0.9) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-clap-verbosity-flag" ,rust-clap-verbosity-flag-2) + ("rust-configparser" ,rust-configparser-3) + ("rust-json" ,rust-json-0.12) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-simple-logger" ,rust-simple-logger-4)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda _ + (substitute* "src/main.rs" + (("/usr/local") #$output)))) + (add-after 'unpack 'remove-systemd-udev-rules + (lambda _ + (substitute* "95-speakersafetyd.rules" + ((".*SYSTEMD_WANTS.*") "")))) + (add-after 'install 'install-data + (lambda _ + (setenv "BINDIR" (string-append #$output "/bin")) + (setenv "UNITDIR" (string-append #$output "/lib/systemd/system")) + (setenv "UDEVDIR" (string-append #$output "/lib/udev/rules.d")) + (setenv "TMPFILESDIR" (string-append #$output "/usr/lib/tmpfiles.d")) + (setenv "SHAREDIR" (string-append #$output "/usr/share")) + (setenv "VARDIR" (string-append #$output "/var")) + (invoke "make" "install-data")))))) + (inputs (list alsa-lib)) + (native-inputs (list pkg-config)) + (home-page "https://github.com/AsahiLinux/speakersafetyd/") + (synopsis "Speaker protection daemon") + (description "Speakersafetyd is a userspace daemon written in Rust that +implements an analogue of the Texas Instruments Smart Amp speaker protection +model.") + (license license:expat))) + +(define-public tectonic + (package + (name "tectonic") + (version "0.15.0") + (source + (origin + ;; Grab all the sources instead of each packaged crate in the workspace. + (method git-fetch) + (uri (git-reference + (url "https://github.com/tectonic-typesetting/tectonic") + (commit (string-append name "@" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02wchm7kmfsw8y71x84hlk9qf5ldvj2ir7j8pcq2a09wlj4xi4f5")) + (snippet + #~(begin (use-modules (guix build utils)) + (delete-file-recursively "crates/bridge_harfbuzz/harfbuzz"))))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:features '(list "external-harfbuzz") + #:cargo-test-flags '(list "--features" "external-harfbuzz") #:cargo-inputs - (("rust-atty" ,rust-atty-0.2) - ("rust-byte-unit" ,rust-byte-unit-4) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-error-chain" ,rust-error-chain-0.12) - ("rust-flate2" ,rust-flate2-1) - ("rust-fs2" ,rust-fs2-0.4) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-md-5" ,rust-md-5-0.9) - ("rust-open" ,rust-open-1) - ("rust-quick-xml" ,rust-quick-xml-0.22) - ("rust-serde" ,rust-serde-1) - ("rust-sha2" ,rust-sha2-0.9) - ("rust-structopt" ,rust-structopt-0.3) - ("rust-tectonic-bridge-core" ,rust-tectonic-bridge-core-0.3) - ("rust-tectonic-bundles" ,rust-tectonic-bundles-0.3) - ("rust-tectonic-docmodel" ,rust-tectonic-docmodel-0.2) - ("rust-tectonic-engine-bibtex" ,rust-tectonic-engine-bibtex-0.1) - ("rust-tectonic-engine-spx2html" ,rust-tectonic-engine-spx2html-0.1) - ("rust-tectonic-engine-xdvipdfmx" ,rust-tectonic-engine-xdvipdfmx-0.4) - ("rust-tectonic-engine-xetex" ,rust-tectonic-engine-xetex-0.4) - ("rust-tectonic-errors" ,rust-tectonic-errors-0.2) - ("rust-tectonic-geturl" ,rust-tectonic-geturl-0.3) - ("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-termcolor" ,rust-termcolor-1) - ("rust-toml" ,rust-toml-0.5) - ("rust-url" ,rust-url-2) - ("rust-watchexec" ,rust-watchexec-1) - ("rust-zip" ,rust-zip-0.5)) + (list rust-app-dirs2-2 + rust-anyhow-1 + rust-atty-0.2 + rust-byte-unit-4 + rust-byteorder-1 + rust-cc-1 + rust-cfg-if-1 + rust-curl-0.4 + rust-error-chain-0.12 + rust-flate2-1 + rust-fs2-0.4 + rust-html-escape-0.2 + rust-lazy-static-1 + rust-libc-0.2 + rust-md-5-0.10 + rust-nom-7 + rust-open-4 + rust-percent-encoding-2 + rust-pinot-0.1 + rust-pkg-config-0.3 + rust-quick-xml-0.28 + rust-reqwest-0.11 + rust-serde-1 + rust-serde-json-1 + rust-sha2-0.10 + rust-structopt-0.3 + rust-tempfile-3 + rust-tera-1 + rust-termcolor-1 + rust-thiserror-1 + rust-tokio-1 + rust-toml-0.7 + rust-url-2 + rust-vcpkg-0.2 + rust-watchexec-2 + rust-watchexec-filterer-globset-1 + rust-watchexec-signals-1 + rust-zip-0.6) #:cargo-development-inputs - (("rust-filetime" ,rust-filetime-0.2) - ("rust-futures" ,rust-futures-0.1) - ("rust-headers" ,rust-headers-0.2) - ("rust-hyper" ,rust-hyper-0.12) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-tokio" ,rust-tokio-0.1)) + (list rust-clap-2 + rust-filetime-0.2 + rust-futures-0.3 + rust-headers-0.3 + rust-hyper-0.14 + rust-structopt-0.3 + rust-tempfile-3) #:phases - (modify-phases %standard-phases - (add-after 'install 'install-doc - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (string-append out "/share/doc/" ,name "-" ,version))) - (copy-recursively "docs/src" doc))))))) + #~(modify-phases %standard-phases + (add-after 'install 'install-doc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/" #$name "-" #$version))) + (copy-recursively "docs/src" doc))))))) (native-inputs (list pkg-config)) (inputs @@ -2761,9 +3167,7 @@ of the project is to be runnable on untrusted networks without crashing.") graphite2 harfbuzz icu4c - libpng - openssl - zlib)) + openssl)) (home-page "https://tectonic-typesetting.github.io/") (synopsis "Complete, embeddable TeX/LaTeX engine") (description @@ -2854,6 +3258,14 @@ revert and check changes. (build-system cargo-build-system) (arguments `(#:install-source? #f + #:cargo-test-flags '("--" + ;; Not all files included. + "--skip=tests::test_cli_arg_order_1" + "--skip=tests::test_cli_arg_order_2" + "--skip=tests::test_cli_input_directory" + "--skip=tests::test_cli_input_missing_file" + "--skip=tests::test_cli_input_stdin" + "--skip=tests::test_cli_missing_param_value") #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) ("rust-clap" ,rust-clap-4) @@ -3009,7 +3421,7 @@ runs a command whenever it detects modifications.") (define-public rbw (package (name "rbw") - (version "1.9.0") + (version "1.13.1") (outputs '("out" "scripts")) (source (origin @@ -3017,7 +3429,7 @@ runs a command whenever it detects modifications.") (uri (crate-uri "rbw" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0rlp55kcac9k0rz1zfhyslkfgsim1ka6bkllfzqrayvdfyxqq51i")) + (base32 "1viadih6ijwxlinjshkzfyhxvk00jbm643v6gpwp463ylsjpvvyd")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -3031,17 +3443,17 @@ runs a command whenever it detects modifications.") ("rust-anyhow" ,rust-anyhow-1) ("rust-argon2" ,rust-argon2-0.5) ("rust-arrayvec" ,rust-arrayvec-0.7) - ("rust-async-trait" ,rust-async-trait-0.1) - ("rust-base32" ,rust-base32-0.4) - ("rust-base64" ,rust-base64-0.21) + ("rust-axum" ,rust-axum-0.7) + ("rust-base32" ,rust-base32-0.5) + ("rust-base64" ,rust-base64-0.22) ("rust-block-padding" ,rust-block-padding-0.3) ("rust-cbc" ,rust-cbc-0.1) ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) - ("rust-copypasta" ,rust-copypasta-0.10) + ("rust-cli-clipboard" ,rust-cli-clipboard-0.4) ("rust-daemonize" ,rust-daemonize-0.5) ("rust-directories" ,rust-directories-5) - ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-futures" ,rust-futures-0.3) ("rust-futures-channel" ,rust-futures-channel-0.3) ("rust-futures-util" ,rust-futures-util-0.3) @@ -3051,15 +3463,17 @@ runs a command whenever it detects modifications.") ("rust-is-terminal" ,rust-is-terminal-0.4) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.26) + ("rust-open" ,rust-open-5) ("rust-pbkdf2" ,rust-pbkdf2-0.12) ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-pkcs8" ,rust-pkcs8-0.10) ("rust-rand" ,rust-rand-0.8) + ("rust-regex" ,rust-regex-1) ("rust-region" ,rust-region-3) - ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-reqwest" ,rust-reqwest-0.12) ("rust-rmpv" ,rust-rmpv-1) ("rust-rsa" ,rust-rsa-0.9) + ("rust-rustix" ,rust-rustix-0.38) ("rust-serde" ,rust-serde-1) ("rust-serde-json" ,rust-serde-json-1) ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1) @@ -3067,14 +3481,15 @@ runs a command whenever it detects modifications.") ("rust-sha1" ,rust-sha1-0.10) ("rust-sha2" ,rust-sha2-0.10) ("rust-tempfile" ,rust-tempfile-3) - ("rust-terminal-size" ,rust-terminal-size-0.3) + ("rust-terminal-size" ,rust-terminal-size-0.4) ("rust-textwrap" ,rust-textwrap-0.16) ("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.20) + ("rust-tokio-tungstenite" ,rust-tokio-tungstenite-0.24) ("rust-totp-lite" ,rust-totp-lite-2) ("rust-url" ,rust-url-2) + ("rust-urlencoding" ,rust-urlencoding-2) ("rust-uuid" ,rust-uuid-1) ("rust-zeroize" ,rust-zeroize-1)) #:phases @@ -3086,9 +3501,9 @@ runs a command whenever it detects modifications.") (rbw (if ,(%current-target-system) (search-input-file native-inputs "/bin/rbw") (string-append out "/bin/rbw")))) - (mkdir-p (string-append share "/bash-completion/completions")) + (mkdir-p (string-append out "/etc/bash_completion.d")) (with-output-to-file - (string-append share "/bash-completion/completions/rbw") + (string-append out "/etc/bash_completion.d/rbw") (lambda _ (invoke rbw "gen-completions" "bash"))) (mkdir-p (string-append share "/fish/vendor_completions.d")) (with-output-to-file @@ -3314,40 +3729,63 @@ consecutive lines and since program start.") (define-public skim (package (name "skim") - (version "0.10.4") + (version "0.15.7") (source (origin - (method url-fetch) - (uri (crate-uri "skim" version)) - ;; Keep the same file name as the crate in crates-io - (file-name (string-append "rust-skim-" version ".tar.gz")) + ;; crates.io doesn't have everything needed. + (method git-fetch) + (uri (git-reference + (url "https://github.com/lotabout/skim") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0chgv9nr8cmlf2mg2k94igh3m5svjsfxxwbnl21xsb6blvh8vlp5")))) + (base32 "05j775mgx5a00k2p6nwlgxsdizjlw2380ai5rr5d86n2pg58fhmx")))) (build-system cargo-build-system) (arguments `(#:install-source? #f - #:cargo-inputs (("rust-atty" ,rust-atty-0.2) - ("rust-beef" ,rust-beef-0.5) + #:cargo-inputs (("rust-beef" ,rust-beef-0.5) ("rust-bitflags" ,rust-bitflags-1) ("rust-chrono" ,rust-chrono-0.4) - ("rust-clap" ,rust-clap-3) - ("rust-crossbeam" ,rust-crossbeam-0.8) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-complete-fig" ,rust-clap-complete-fig-4) + ("rust-clap-complete-nushell" ,rust-clap-complete-nushell-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) ("rust-defer-drop" ,rust-defer-drop-1) - ("rust-derive-builder" ,rust-derive-builder-0.11) - ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-derive-builder" ,rust-derive-builder-0.20) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3) + ("rust-indexmap" ,rust-indexmap-2) ("rust-lazy-static" ,rust-lazy-static-1) ("rust-log" ,rust-log-0.4) - ("rust-nix" ,rust-nix-0.25) + ("rust-nix" ,rust-nix-0.29) + ("rust-rand" ,rust-rand-0.8) ("rust-rayon" ,rust-rayon-1) ("rust-regex" ,rust-regex-1) + ("rust-shell-quote" ,rust-shell-quote-0.7) ("rust-shlex" ,rust-shlex-1) + ("rust-tempfile" ,rust-tempfile-3) ("rust-time" ,rust-time-0.3) ("rust-timer" ,rust-timer-0.2) ("rust-tuikit" ,rust-tuikit-0.5) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-vte" ,rust-vte-0.11)) + ("rust-unicode-width" ,rust-unicode-width-0.2) + ("rust-vte" ,rust-vte-0.13) + ("rust-which" ,rust-which-7)) #:phases (modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (sk (car (find-files "target" "^sk$")))) + (install-file sk bin)))) + (add-after 'build 'build-extras + (lambda _ + ;; Delete the manpages and completions before rebuilding. + (for-each delete-file '("man/man1/sk.1" + "shell/completion.bash" + "shell/completion.zsh")) + (invoke "cargo" "run" "--package" "xtask" "mangen") + (invoke "cargo" "run" "--package" "xtask" "compgen"))) (add-after 'install 'install-extras (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -3356,8 +3794,8 @@ consecutive lines and since program start.") (man (string-append out "/share/man")) (vimfiles (string-append share "/vim/vimfiles/pack/guix/start/skim/plugin")) - (bash-completion (string-append share - "/bash-completions/completions")) + (bash-completion (string-append out + "/etc/bash_completion.d")) (zsh-site (string-append share "/zsh/site-functions")) (fish-vendor (string-append share @@ -3456,34 +3894,42 @@ Spotify Connect protocol, which includes the official Spotify mobile apps.") (define-public svd2rust (package (name "svd2rust") - (version "0.19.0") + (version "0.35.0") (source (origin (method url-fetch) (uri (crate-uri "svd2rust" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0q8slfgjfhpljzlk2myb0i538mfq99q1ljn398jm17r1q2pjjxhv")))) + (base32 "0fjkd9b0c2pfxa9czaxjg6bcqy1bnc6s423mv069krbpbyxf2a5g")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:install-source? #f + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-cast" ,rust-cast-0.2) - ("rust-clap" ,rust-clap-2) - ("rust-clap-conf" ,rust-clap-conf-0.1) - ("rust-env-logger" ,rust-env-logger-0.7) + ("rust-clap" ,rust-clap-4) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-inflections" ,rust-inflections-1) + ("rust-irx-config" ,rust-irx-config-3) ("rust-log" ,rust-log-0.4) - ("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-svd-parser" ,rust-svd-parser-0.10) - ("rust-syn" ,rust-syn-1) - ("rust-thiserror" ,rust-thiserror-1)))) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.9) + ("rust-svd-parser" ,rust-svd-parser-0.14) + ("rust-svd-rs" ,rust-svd-rs-0.14) + ("rust-syn" ,rust-syn-2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2)))) (home-page "https://github.com/rust-embedded/svd2rust/") - (synopsis - "Generate Rust register maps (`struct`s) from SVD files") + (synopsis "Generate Rust register maps (`struct`s) from SVD files") (description "This program can be used to generate Rust register maps (`struct`s) from SVD files.") @@ -3533,24 +3979,24 @@ terminal won't have to take up any space.") (define-public swayr (package (name "swayr") - (version "0.27.3") + (version "0.27.4") (source (origin (method url-fetch) (uri (crate-uri "swayr" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1akmq1qa3v8jxn7qgwmr70dhgamb1mvn2jkqdawc6i8accz33gca")))) + (base32 "19p7pwcfbcbia8hbx7ql9krl2fcdib2db9xs57ylv6cfccgipv9q")))) (build-system cargo-build-system) (arguments `(#:cargo-test-flags - '("--release" "--" + '("--" "--skip=config::test_load_swayr_config") #:install-source? #f #:cargo-inputs (("rust-clap" ,rust-clap-4) ("rust-directories" ,rust-directories-5) - ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-log" ,rust-log-0.4) ("rust-once-cell" ,rust-once-cell-1) ("rust-peg" ,rust-peg-0.8) @@ -3643,7 +4089,7 @@ window manager.") (define-public tealdeer (package (name "tealdeer") - (version "1.6.1") + (version "1.7.1") (source (origin ;; Completions aren't in the release tarball. @@ -3654,7 +4100,7 @@ window manager.") (file-name (git-file-name name version)) (sha256 (base32 - "0ipd23b30pqvyh20mxfd13ps0rnvg7zfpysv7wambfbb92xdh36d")))) + "1qwg2xifazg39qxra5r7ficvgcprianzi02frz853s7dly7q10si")))) (build-system cargo-build-system) (arguments `(#:phases @@ -3676,7 +4122,7 @@ window manager.") (string-append zsh "_tealdeer")))))) #:install-source? #f #:cargo-test-flags - '("--release" "--" + '("--" ;; These tests go to the network "--skip=test_quiet_old_cache" "--skip=test_quiet_cache" @@ -3690,23 +4136,22 @@ window manager.") #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) ("rust-app-dirs2" ,rust-app-dirs2-2) - ("rust-atty" ,rust-atty-0.2) - ("rust-clap" ,rust-clap-3) - ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-clap" ,rust-clap-4) + ("rust-env-logger" ,rust-env-logger-0.11) ("rust-log" ,rust-log-0.4) ("rust-pager" ,rust-pager-0.16) - ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-reqwest" ,rust-reqwest-0.12) ("rust-serde" ,rust-serde-1) ("rust-serde-derive" ,rust-serde-derive-1) - ("rust-toml" ,rust-toml-0.5) + ("rust-toml" ,rust-toml-0.8) ("rust-walkdir" ,rust-walkdir-2) - ("rust-yansi" ,rust-yansi-0.5) - ("rust-zip" ,rust-zip-0.6)) + ("rust-yansi" ,rust-yansi-1) + ("rust-zip" ,rust-zip-2)) #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) ("rust-escargot" ,rust-escargot-0.5) ("rust-filetime" ,rust-filetime-0.2) - ("rust-predicates" ,rust-predicates-2) + ("rust-predicates" ,rust-predicates-3) ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list pkg-config)) @@ -3722,7 +4167,7 @@ Full featured offline client with caching support.") (define-public git-absorb (package (name "git-absorb") - (version "0.6.11") + (version "0.6.16") (source (origin ;; crates.io does not include the manual page. @@ -3732,19 +4177,18 @@ Full featured offline client with caching support.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1mgqmbk2rz87blas86k340nshiy0zbw9pq76b8nqknpgghm4k029")) + (base32 "0az15qskgpbsbbm6sx7mqbka85n9j2xk3h2yir0d2wz6myp85475")) (snippet - #~(begin (use-modules (guix build utils)) - (substitute* "Cargo.toml" - (("\"~") "\"")) - (delete-file "Documentation/git-absorb.1"))))) + #~(begin (delete-file "Documentation/git-absorb.1"))))) (build-system cargo-build-system) (arguments `(#:install-source? #f #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-clap" ,rust-clap-2) - ("rust-git2" ,rust-git2-0.18) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-complete-nushell" ,rust-clap-complete-nushell-4) + ("rust-git2" ,rust-git2-0.19) ("rust-memchr" ,rust-memchr-2) ("rust-slog" ,rust-slog-2) ("rust-slog-async" ,rust-slog-async-2) @@ -3755,15 +4199,47 @@ Full featured offline client with caching support.") (modify-phases %standard-phases (add-after 'install 'install-manual-page (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (man (string-append out "/share/man/man1"))) + (let* ((out (assoc-ref outputs "out")) + (man (string-append out "/share/man/man1"))) (with-directory-excursion "Documentation" - (invoke "a2x" "-L" "-d" "manpage" "-f" "manpage" "git-absorb.txt")) - (install-file "Documentation/git-absorb.1" man))))))) + (invoke "a2x" + "--no-xmllint" + "--doctype=manpage" + "--format=manpage" + "git-absorb.txt")) + (install-file "Documentation/git-absorb.1" man)))) + (add-after 'install 'install-completions + (lambda* (#:key native-inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (git-absorb + (if ,(%current-target-system) + (search-input-file native-inputs "/bin/git-absorb") + (string-append out "/bin/git-absorb")))) + (mkdir-p (string-append out "/etc/bash_completion.d")) + (with-output-to-file + (string-append out "/etc/bash_completion.d/git-absorb") + (lambda _ (invoke git-absorb "--gen-completions" "bash"))) + (mkdir-p (string-append share "/fish/vendor_completions.d")) + (with-output-to-file + (string-append share "/fish/vendor_completions.d/git-absorb.fish") + (lambda _ (invoke git-absorb "--gen-completions" "fish"))) + (mkdir-p (string-append share "/zsh/site-functions")) + (with-output-to-file + (string-append share "/zsh/site-functions/_git-absorb") + (lambda _ (invoke git-absorb "--gen-completions" "zsh"))) + (mkdir-p (string-append share "/elvish/lib")) + (with-output-to-file + (string-append share "/elvish/lib/git-absorb") + (lambda _ (invoke git-absorb "--gen-completions" "elvish"))))))))) (native-inputs - (list asciidoc pkg-config)) + (append + (if (%current-target-system) + (list this-package) + '()) + (list asciidoc pkg-config))) (inputs - (list libgit2-1.7 zlib)) + (list libgit2-1.8 zlib)) (home-page "https://github.com/tummychow/git-absorb") (synopsis "Git tool for making automatic fixup commits") (description @@ -3873,10 +4349,115 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for @command{grep} and a stylized box presentation.") (license license:expat))) +(define-public wallust + (package + (name "wallust") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wallust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1frx8py92vn04hc8cq18bs0z5dadx2q271fa3wgsry9bh5qvs6jp")))) + (build-system cargo-build-system) + (arguments + `(#:features (list "buildgen") + #:install-source? #f + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-extras + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (install-man + (lambda (filename) + (install-file filename + (string-append + share "/man/man" + (string-take-right filename 1)))))) + (mkdir-p (string-append out "/etc/bash_completion.d")) + (mkdir-p (string-append share "/elvish/lib")) + (copy-file "completions/wallust.bash" + (string-append out "/etc/bash_completion.d/wallust")) + (copy-file "completions/wallust.elv" + (string-append share "/elvish/lib/wallust")) + (install-file "completions/wallust.fish" + (string-append share "/fish/vendor_completions.d/")) + (install-file "completions/_wallust" + (string-append share "/zsh/site-functions/")) + (with-directory-excursion "man" + (for-each install-man (find-files "."))))))) + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-dirs" ,rust-dirs-5) + ("rust-documented" ,rust-documented-0.6) + ("rust-dunce" ,rust-dunce-1) + ("rust-fast-image-resize" ,rust-fast-image-resize-5) + ("rust-fastrand" ,rust-fastrand-2) + ("rust-glob" ,rust-glob-0.3) + ("rust-image" ,rust-image-0.25) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-kmeans-colors" ,rust-kmeans-colors-0.6) + ("rust-minijinja" ,rust-minijinja-2) + ("rust-new-string-template" ,rust-new-string-template-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-owo-colors" ,rust-owo-colors-4) + ("rust-palette" ,rust-palette-0.7) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-shellexpand" ,rust-shellexpand-3) + ("rust-spinners" ,rust-spinners-4) + ("rust-strum" ,rust-strum-0.26) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-toml-edit" ,rust-toml-edit-0.22) + ("rust-vergen-git2" ,rust-vergen-git2-1) + ("wallust-themes" ,wallust-themes)) + #:cargo-development-inputs (("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-dirs" ,rust-dirs-5) + ("rust-tempfile" ,rust-tempfile-3)))) + (native-inputs (list pkg-config)) + (inputs (list libgit2-1.8 zlib)) + (home-page "https://explosion-mental.codeberg.page/wallust") + (synopsis "Generate themes from images with advanced templating") + (description + "Wallust is a rust-based successor to \"pywal\" which generates color +themes from images with advanced templating and generation options. +Templates are made using either a subset of Jinja2 or pywal syntax. +Color generation may be constrained to obey ANSI color standards, meet +minimum contrast levels, and more.") + (license license:expat))) + +(define-public wallust-themes + (package + (name "wallust-themes") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wallust_themes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kgkggdb78sxz81si3glhvqpxbxhz858p9wzqxd51drzlvwgi1m1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://codeberg.org/explosion-mental/wallust-themes") + (synopsis "Built in colorschemes for Wallust") + (description "This package provides built-in colorschemes for Wallust.") + ;; Only used as an input for wallust. + (properties `((hidden? . #t))) + (license license:expat))) + (define-public rust-xremap (package (name "rust-xremap") - (version "0.10.2") + (version "0.10.3") (source (origin (method url-fetch) @@ -3884,7 +4465,7 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1chh8lcwx167f0bnd1w99rww54g9k9axf7qnxwcgzmg6m0adyx8d")))) + "0whvw9bbgjf5znb3025iqkj2aijasg6fcx9q1jy97kb0s4m996q2")))) (build-system cargo-build-system) (arguments `(#:features '() @@ -4023,20 +4604,19 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for (define-public zoxide (package (name "zoxide") - (version "0.9.2") + (version "0.9.6") (source (origin (method url-fetch) (uri (crate-uri "zoxide" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1dqndbxpnv0g82d52jaszsgh62y9cv9hq8rgypsimgkk9yxhn4rw")))) + (base32 "0r8rhz01s3ar5i2pkmplp36rhspsk65jyp4sq7vav1dr4vx9fs4a")))) (build-system cargo-build-system) (arguments (list #:install-source? #f #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1) - ("rust-askama" ,rust-askama-0.12) ("rust-bincode" ,rust-bincode-1) ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) @@ -4046,10 +4626,11 @@ advanced keybindings, word-level diff highlighting, syntax highlighting for ("rust-dunce" ,rust-dunce-1) ("rust-fastrand" ,rust-fastrand-2) ("rust-glob" ,rust-glob-0.3) - ("rust-nix" ,rust-nix-0.26) - ("rust-ouroboros" ,rust-ouroboros-0.17) + ("rust-nix" ,rust-nix-0.27) + ("rust-ouroboros" ,rust-ouroboros-0.18) + ("rust-rinja" ,rust-rinja-0.3) ("rust-serde" ,rust-serde-1) - ("rust-which" ,rust-which-4)) + ("rust-which" ,rust-which-6)) #:cargo-development-inputs `(("rust-assert-cmd" ,rust-assert-cmd-2) ("rust-rstest" ,rust-rstest-0.18) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 1be020a6bf7..abaf7166fd5 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -128,9 +128,9 @@ ;;; Note: mrustc's only purpose is to be able to bootstap Rust; it's designed ;;; to be used in source form. -(define %mrustc-commit "b6754f574f8846eb842feba4ccbeeecb10bdfacc") +(define %mrustc-commit "5e01a76097265f4bb27b18885b9af3f2778180f9") (define %mrustc-source - (let* ((version "0.10.1") + (let* ((version "0.11.0") (commit %mrustc-commit) (revision "1") (name "mrustc")) @@ -138,11 +138,11 @@ (method git-fetch) (uri (git-reference (url "https://github.com/thepowersgang/mrustc") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) + (commit %mrustc-commit))) + (file-name (git-file-name name (git-version version revision commit))) (sha256 - (base32 - "0rqiif7rb5hg6ik3i1flldj311f014q4n9z8wb50cs8kspjz32di")) + (base32 "1yyjfl1z6d5r9sv7zl90kqyjw1lqd2cqzwh2syi7yvrpslhihrhy")) + (patches (search-patches "mrustc-patches.patch")) (modules '((guix build utils))) (snippet '(begin @@ -150,7 +150,10 @@ ;; by disabling debug by default. (substitute* (find-files "." "Makefile") (("LINKFLAGS := -g") "LINKFLAGS :=") - (("-g ") ""))))))) + (("-g ") "")) + ;; Don't use the vendored openssl sources. + (substitute* "minicargo.mk" + (("--features vendored-openssl") ""))))))) ;;; Rust 1.54 is special in that it is built with mrustc, which shortens the ;;; bootstrap path. @@ -177,26 +180,24 @@ ;; Also remove the bundled (mostly Windows) libraries. ;; find vendor -not -type d -exec file {} \+ | grep PE32 (for-each delete-file - (find-files "vendor" "\\.(a|dll|exe|lib)$")))) - (patches (search-patches "rustc-1.54.0-src.patch")) - (patch-flags '("-p0")))) ;default is -p1 + (find-files "vendor" "\\.(a|dll|exe|lib)$")) + ;; Adjust some sources for llvm-13, see llvm commit + ;; acce401068e78a8c5dc9e06802111ffad3da763f + (substitute* (find-files "." "powerpc64le_unknown_linux_gnu.rs") + (("e-m:e-i64:64-n32:64-v256:256:256-v512:512:512") + "e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512")))))) (outputs '("out" "cargo")) (properties '((hidden? . #t) (timeout . 129600) ;36 hours (max-silent-time . 18000))) ;5 hours (for armel) (build-system gnu-build-system) (inputs - `(("bash-minimal" ,bash-minimal) - ,@(if (or (target-ppc64le?) - (target-riscv64?)) - `(("clang" ,clang-13)) - `()) - ("llvm" ,llvm-13) - ("openssl" ,openssl-1.1) - ("zlib" ,zlib))) + (list bash-minimal + llvm-13 + openssl-1.1 + zlib)) (native-inputs `(("pkg-config" ,pkg-config) - ;; Required for the libstd sources. ("mrustc-source" ,%mrustc-source))) (arguments `(#:imported-modules ,%cargo-utils-modules ;for `generate-all-checksums' @@ -207,86 +208,49 @@ ;; Rust's own .so library files are not found in any RUNPATH, but ;; that doesn't seem to cause issues. #:validate-runpath? #f - ;; Most of the build is single-threaded. This also improves the - ;; build time on machines with "only" 8GB of RAM. - ;; ppc64le regularly sees race conditions between various dependant crates. - #:parallel-build? ,(target-x86-64?) #:make-flags - (list ,(string-append "RUSTC_TARGET=" - (platform-rust-target - (lookup-platform-by-target-or-system - (or (%current-target-system) - (%current-system))))) - ,(string-append "RUSTC_VERSION=" version) - ,(string-append "MRUSTC_TARGET_VER=" - (version-major+minor version)) - ;; mrustc expects a C11 compatible compiler. Use the default - ;; C language dialect from the GCC-10 compiler. - ;; This is necessary for some architectures. - "CFLAGS=-std=gnu11" - "OUTDIR_SUF=") ;do not add version suffix to output dir + ,#~(let ((source #$(package-source this-package))) + (list (string-append "RUSTC_TARGET=" + #$(platform-rust-target + (lookup-platform-by-target-or-system + (or (%current-target-system) + (%current-system))))) + (string-append "RUSTC_VERSION=" #$version) + (string-append "MRUSTC_TARGET_VER=" + #$(version-major+minor version)) + (string-append "RUSTC_SRC_TARBALL=" source) + "OUTDIR_SUF=")) ;do not add version suffix to output dir #:phases (modify-phases %standard-phases - ,@(if (target-ppc64le?) - `((add-after 'unpack 'patch-sources-for-newer-llvm - (lambda _ - ;; Adjust some sources for llvm-13, see llvm commit - ;; acce401068e78a8c5dc9e06802111ffad3da763f - (substitute* (find-files "." "powerpc64le_unknown_linux_gnu.rs") - (("e-m:e-i64:64-n32:64-v256:256:256-v512:512:512") - "e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512"))))) - '()) - (add-after 'unpack 'setup-mrustc-sources - (lambda* (#:key inputs #:allow-other-keys) - (copy-recursively (assoc-ref inputs "mrustc-source") "../mrustc") - ;; The Makefile of mrustc expects the sources directory of rustc - ;; to be at this location, and it simplifies things to make it - ;; so. - (symlink (getcwd) - (string-append "../mrustc/rustc-" ,version "-src")) - (with-output-to-file "dl-version" - (lambda _ - (format #t "~a~%" - ,version))))) - (add-after 'setup-mrustc-sources 'patch-makefiles + (replace 'unpack + (lambda* (#:key source inputs #:allow-other-keys) + ((assoc-ref %standard-phases 'unpack) + #:source (assoc-ref inputs "mrustc-source")))) + (add-after 'unpack 'patch-makefiles ;; This disables building the (unbundled) LLVM. - (lambda* (#:key inputs parallel-build? #:allow-other-keys) - (let ((llvm (assoc-ref inputs "llvm"))) - (with-directory-excursion "../mrustc" - (substitute* '("minicargo.mk" - "run_rustc/Makefile") - ;; Use the system-provided LLVM. - (("LLVM_CONFIG [:|?]= .*") - (string-append "LLVM_CONFIG := " llvm "/bin/llvm-config\n"))) - (substitute* "minicargo.mk" - ;; Do not try to fetch sources from the Internet. - (("@curl.*") "") - (("\\$\\(MINICARGO\\) \\$\\(RUSTC_SRC_DL\\)") - "$(MINICARGO)")) - (substitute* "Makefile" - ;; Patch date and git obtained version information. - ((" -D VERSION_GIT_FULLHASH=.*") - (string-append - " -D VERSION_GIT_FULLHASH=\\\"" ,%mrustc-commit "\\\"" - " -D VERSION_GIT_BRANCH=\\\"master\\\"" - " -D VERSION_GIT_SHORTHASH=\\\"" - ,(string-take %mrustc-commit 7) "\\\"" - " -D VERSION_BUILDTIME=" - "\"\\\"Thu, 01 Jan 1970 00:00:01 +0000\\\"\"" - " -D VERSION_GIT_ISDIRTY=0\n"))) - (substitute* "run_rustc/Makefile" - ;; Patch the shebang of a generated wrapper for rustc - (("#!/bin/sh") - (string-append "#!" (which "sh")))) - (substitute* "run_rustc/rustc_proxy.sh" - (("#!/bin/sh") - (string-append "#!" (which "sh")))))))) - (add-after 'patch-generated-file-shebangs 'patch-cargo-checksums - (lambda _ - (substitute* "Cargo.lock" - (("(checksum = )\".*\"" all name) - (string-append name "\"" ,%cargo-reference-hash "\""))) - (generate-all-checksums "vendor"))) + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("minicargo.mk" + "run_rustc/Makefile") + ;; Use the system-provided LLVM. + (("LLVM_CONFIG [:|?]= .*") + (string-append "LLVM_CONFIG := " + (search-input-file inputs "/bin/llvm-config") "\n"))) + (substitute* "Makefile" + ;; Patch date and git obtained version information. + ((" -D VERSION_GIT_FULLHASH=.*") + (string-append + " -D VERSION_GIT_FULLHASH=\\\"" ,%mrustc-commit "\\\"" + " -D VERSION_GIT_BRANCH=\\\"master\\\"" + " -D VERSION_GIT_SHORTHASH=\\\"" + ,(string-take %mrustc-commit 7) "\\\"" + " -D VERSION_BUILDTIME=" + "\"\\\"Thu, 01 Jan 1970 00:00:01 +0000\\\"\"" + " -D VERSION_GIT_ISDIRTY=0\n"))) + (substitute* '("run_rustc/Makefile" + "run_rustc/rustc_proxy.sh") + ;; Patch the shebang of a generated wrapper for rustc + (("#!/bin/sh") + (string-append "#!" (which "sh")))))) (add-before 'configure 'configure-cargo-home (lambda _ (let ((cargo-home (string-append (getcwd) "/.cargo"))) @@ -294,12 +258,8 @@ (setenv "CARGO_HOME" cargo-home)))) (replace 'configure (lambda _ - ,@(if (or (target-ppc64le?) - (target-riscv64?)) - `((setenv "CC" "clang") - (setenv "CXX" "clang++")) - `((setenv "CC" "gcc") - (setenv "CXX" "g++"))) + (setenv "CC" "gcc") + (setenv "CXX" "g++") ;; The Guix LLVM package installs only shared libraries. (setenv "LLVM_LINK_SHARED" "1") ;; rustc still insists on having 'cc' on PATH in some places @@ -315,7 +275,6 @@ 1))) ;; Adapted from: ;; https://github.com/dtolnay/bootstrap/blob/master/build-1.54.0.sh. - (chdir "../mrustc") ;; Use PARLEVEL since both minicargo and mrustc use it ;; to set the level of parallelism. (setenv "PARLEVEL" (number->string job-count)) @@ -336,15 +295,6 @@ (apply invoke "make" "-f" "minicargo.mk" "output/rustc" make-flags) - ;; We can to continue the build with gcc after building rustc. - ;; librustc_driver.so undefined reference to - ;; `llvm::cfg::Update<llvm::BasicBlock*>::dump() const' - ,@(if (or (target-ppc64le?) - (target-riscv64?)) - `((setenv "CC" "gcc") - (setenv "CXX" "g++")) - `()) - (display "Building cargo...\n") (apply invoke "make" "-f" "minicargo.mk" "output/cargo" make-flags) @@ -537,7 +487,7 @@ ar = \"" binutils "/bin/ar" "\" suffix (,(string-append libc "/lib")))))))))) (native-inputs `(("pkg-config" ,pkg-config) - ("python" ,python-wrapper) + ("python" ,python-minimal-wrapper) ("rustc-bootstrap" ,rust-bootstrap) ("cargo-bootstrap" ,rust-bootstrap "cargo"))) (inputs @@ -1454,7 +1404,19 @@ exec -a \"$0\" \"~a\" \"$@\"" ;; Add test inputs. `("gdb" ,gdb/pinned) `("procps" ,procps) - (package-native-inputs base-rust)))))) + (package-native-inputs base-rust))) + (native-search-paths + (cons + ;; For HTTPS access, Cargo reads from a single-file certificate + ;; specified with $CARGO_HTTP_CAINFO. See + ;; https://doc.rust-lang.org/cargo/reference/environment-variables.html + (search-path-specification + (variable "CARGO_HTTP_CAINFO") + (file-type 'regular) + (separator #f) ;single entry + (files '("etc/ssl/certs/ca-certificates.crt"))) + ;; rustc invokes gcc, so we need to set its search paths accordingly. + %gcc-search-paths))))) (define*-public (make-rust-sysroot target) (make-rust-sysroot/implementation target rust)) diff --git a/gnu/packages/sequoia.scm b/gnu/packages/sequoia.scm index 085f20f61c9..d907a95f845 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 <h.goebel@crazy-compilers.com> -;;; Copyright © 2021, 2023, 2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2021, 2023-2025 Efraim Flashner <efraim@flashner.co.il> ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,13 +21,17 @@ #:use-module (guix build-system cargo) #:use-module (guix build-system trivial) #:use-module (guix download) + #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix gexp) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages base) ; glibc + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-database) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-tls) #:use-module (gnu packages crates-web) @@ -251,17 +255,17 @@ than just headers; it requires tight integration with the MUA.") (description "This package provides Directories used by Sequoia.") (license license:lgpl2.0+))) -(define-public rust-sequoia-gpg-agent-0.4 +(define-public rust-sequoia-gpg-agent-0.5 (package (name "rust-sequoia-gpg-agent") - (version "0.4.2") + (version "0.5.0") (source (origin (method url-fetch) (uri (crate-uri "sequoia-gpg-agent" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "119njpmhg0is0vlba199bmyp7fi19w8y555i89njkyrfv7yvakds")))) + (base32 "1f8vzxzkwdaa1v0yh5c1pb3wry734wrf2wwsa1zvypwxgvs129fc")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") @@ -340,14 +344,14 @@ than just headers; it requires tight integration with the MUA.") (define-public rust-sequoia-keystore-0.6 (package (name "rust-sequoia-keystore") - (version "0.6.1") + (version "0.6.2") (source (origin (method url-fetch) (uri (crate-uri "sequoia-keystore" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "168scr1nv5h1fm67p1p59ym267db07kg3fw3shrramaq0af2smx8")))) + (base32 "1qy3nk2r39m5mzvx58ij7a1r9hiw0fmgmjrad6j4nf8djids5lsx")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") @@ -422,14 +426,14 @@ than just headers; it requires tight integration with the MUA.") (define-public rust-sequoia-keystore-gpg-agent-0.4 (package (name "rust-sequoia-keystore-gpg-agent") - (version "0.4.0") + (version "0.4.1") (source (origin (method url-fetch) (uri (crate-uri "sequoia-keystore-gpg-agent" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0s5spxk7v6cdcfzrya4y1n29m09kkrlmqacnrq2azik92kwva1mk")))) + (base32 "1qnpcydrw0l3i0i082cy9mghjjq3l25clxwfj6gcpf72d6hq0wkq")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") @@ -440,7 +444,7 @@ than just headers; it requires tight integration with the MUA.") ("rust-lazy-static" ,rust-lazy-static-1) ("rust-log" ,rust-log-0.4) ("rust-openpgp-cert-d" ,rust-openpgp-cert-d-0.3) - ("rust-sequoia-gpg-agent" ,rust-sequoia-gpg-agent-0.4) + ("rust-sequoia-gpg-agent" ,rust-sequoia-gpg-agent-0.5) ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35) ("rust-sequoia-keystore-backend" ,rust-sequoia-keystore-backend-0.6) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) @@ -578,17 +582,17 @@ private key store.") "This package provides a TPM backend for Sequoia's private key store.") (license license:lgpl2.0+))) -(define-public rust-sequoia-net-0.28 +(define-public rust-sequoia-net-0.29 (package (name "rust-sequoia-net") - (version "0.28.0") + (version "0.29.0") (source (origin (method url-fetch) (uri (crate-uri "sequoia-net" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0jw1p8gwf505q6dh1281fl7kmh8mr1f4hswl5crrycwqlq5q3gva")))) + (base32 "0xdraqrjlpjpzyn8sc8c8xfq13pr1gp6sd4c0n80x30i6kc60zjl")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") @@ -597,22 +601,25 @@ private key store.") ("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-http" ,rust-http-1) + ("rust-hyper" ,rust-hyper-1) + ("rust-hyper-tls" ,rust-hyper-tls-0.6) ("rust-libc" ,rust-libc-0.2) ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-reqwest" ,rust-reqwest-0.12) ("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) + #:cargo-development-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-rand" ,rust-rand-0.8) - ("rust-reqwest" ,rust-reqwest-0.11) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) + ("rust-reqwest" ,rust-reqwest-0.12) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-tempfile" ,rust-tempfile-3)))) (native-inputs (list clang pkg-config)) (inputs @@ -623,24 +630,57 @@ private key store.") HKP protocol, and searching and publishing Web Key Directories.") (license license:lgpl2.0+))) +(define-public rust-sequoia-net-0.28 + (package + (inherit rust-sequoia-net-0.29) + (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")))) + (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)))))) + (define-public rust-sequoia-openpgp-1 (package (name "rust-sequoia-openpgp") - (version "1.21.2") + (version "1.22.0") (source (origin (method url-fetch) (uri (crate-uri "sequoia-openpgp" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mh2rc7briyggsvwbg34g3vvx6aisisllb9vz4p96kdl2vi1w9hk")))) + (base32 "0ngg32kqcrg6lz1c0g2fkb76cm1ajifb9qcjvv77kw4gwkly8n78")))) (build-system cargo-build-system) (arguments `(#:features '("crypto-nettle") - #:cargo-test-flags - (list "--release" "--" - "--skip=leak_tests::test_aes_256_decryption" - "--skip=leak_tests::test_ed25519") #:cargo-inputs (("rust-aes" ,rust-aes-0.8) ("rust-aes-gcm" ,rust-aes-gcm-0.10) @@ -668,7 +708,7 @@ HKP protocol, and searching and publishing Web Key Directories.") ("rust-flate2" ,rust-flate2-1) ("rust-getrandom" ,rust-getrandom-0.2) ("rust-idea" ,rust-idea-0.5) - ("rust-idna" ,rust-idna-0.5) + ("rust-idna" ,rust-idna-1) ("rust-lalrpop" ,rust-lalrpop-0.20) ("rust-lalrpop-util" ,rust-lalrpop-util-0.20) ("rust-lazy-static" ,rust-lazy-static-1) @@ -722,40 +762,42 @@ defaults). This Guix package is built to use the nettle cryptographic library.") (license license:lgpl2.0+))) -(define-public rust-sequoia-openpgp-0.9 +(define-public rust-sequoia-policy-config-0.7 (package - (inherit rust-sequoia-openpgp-1) - (name "rust-sequoia-openpgp") - (version "0.9.0") + (name "rust-sequoia-policy-config") + (version "0.7.0") (source (origin (method url-fetch) - (uri (crate-uri "sequoia-openpgp" version)) + (uri (crate-uri "sequoia-policy-config" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "007h2pi7lcph5jf5bxjydm7hjwjai33yk6dic3cxknki22lxlkfw")))) + (base32 "17alq9dyg9gd26zbc8bcgm0vgwnlghqp0npvh088fc768c05yzb1")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-base64" ,rust-base64-0.9) - ("rust-buffered-reader" ,rust-buffered-reader-0.9) - ("rust-bzip2" ,rust-bzip2-0.3) - ("rust-failure" ,rust-failure-0.1) - ("rust-flate2" ,rust-flate2-1) - ("rust-idna" ,rust-idna-0.1) - ("rust-lalrpop" ,rust-lalrpop-0.17) - ("rust-lalrpop-util" ,rust-lalrpop-util-0.17) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-memsec" ,rust-memsec-0.5) - ("rust-nettle" ,rust-nettle-5) - ("rust-quickcheck" ,rust-quickcheck-0.8) - ("rust-rand" ,rust-rand-0.6) - ("rust-sequoia-rfc2822" ,rust-sequoia-rfc2822-0.9) - ("rust-time" ,rust-time-0.1)))))) + `(#:features '("sequoia-openpgp/crypto-nettle") + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + ("rust-serde" ,rust-serde-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.5)) + #:cargo-development-inputs + (("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) + (native-inputs + (list clang pkg-config)) + (inputs + (list gmp nettle)) + (home-page "https://sequoia-pgp.org/") + (synopsis "Configure Sequoia using a configuration file") + (description "Configure Sequoia using a configuration file.") + (license license:lgpl2.0+))) (define-public rust-sequoia-policy-config-0.6 (package + (inherit rust-sequoia-policy-config-0.7) (name "rust-sequoia-policy-config") (version "0.6.0") (source (origin @@ -765,7 +807,6 @@ This Guix package is built to use the nettle cryptographic library.") (sha256 (base32 "0x42h22kng4dsbfr0a6zdf2j9bcq14r0yr6xdw6rrggj139lazbm")))) - (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") #:cargo-inputs @@ -778,173 +819,133 @@ This Guix package is built to use the nettle cryptographic library.") #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) - (native-inputs - (list clang pkg-config)) - (inputs - (list gmp nettle)) - (home-page "https://sequoia-pgp.org/") - (synopsis "Configure Sequoia using a configuration file") - (description "Configure Sequoia using a configuration file.") - (license license:lgpl2.0+))) - -(define-public rust-sequoia-rfc2822-0.9 - (package - (name "rust-sequoia-rfc2822") - (version "0.9.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "sequoia-rfc2822" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1aj34i6862718m162rqfv69fkmvdw063s6ws7hbp42n73gb08p5c")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-failure" ,rust-failure-0.1) - ("rust-lalrpop" ,rust-lalrpop-0.17) - ("rust-lalrpop-util" ,rust-lalrpop-util-0.17)))) - (home-page "https://sequoia-pgp.org/") - (synopsis "RFC 2822 name-addr parser") - (description "Currently, this crate only recognizes the RFC 2822 name-addr -and addr-spec productions, i.e., things of the form: @code{Name (Comment) -<email@@example.org>} and @code{email@@example.org} - -Although the above appear simple to parse, RFC 2822's whitespace and comment -rules are rather complex. This crate implements the whole grammar." ) - (license license:gpl3))) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))))) (define-public rust-sequoia-tpm-0.1 (package (name "rust-sequoia-tpm") - (version "0.1.0") + (version "0.1.1") (source (origin (method url-fetch) (uri (crate-uri "sequoia-tpm" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0xh0m7yybkwpc0f858da27y82a2vlsdfch35hjaykih5lf4xmdri")))) + (base32 "0n6qa5kxsq8m2m1b7rqgcdhfjd67jql0vsinl7x0j9vma9r38brk")))) (build-system cargo-build-system) (arguments - `(#:features '("sequoia-openpgp/crypto-nettle") - #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-env-logger" ,rust-env-logger-0.11) - ("rust-hex" ,rust-hex-0.4) - ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) + `(#:cargo-inputs (("rust-hex" ,rust-hex-0.4) ("rust-serde" ,rust-serde-1) - ("rust-serde-yaml" ,rust-serde-yaml-0.8) - ("rust-structopt" ,rust-structopt-0.3) ("rust-tss-esapi" ,rust-tss-esapi-7) - ("rust-tss-esapi-sys" ,rust-tss-esapi-sys-0.5)) - #:cargo-development-inputs - (("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) - (native-inputs (list clang pkg-config)) - (inputs (list nettle tpm2-tss)) + ("rust-tss-esapi-sys" ,rust-tss-esapi-sys-0.5)))) + (native-inputs (list pkg-config)) + (inputs (list tpm2-tss)) (home-page "https://sequoia-pgp.org/") (synopsis "Machinery for working with TPM from Sequoia") (description "This package provides machinery for working with TPM from Sequoia.") (license (list license:lgpl2.0+ license:asl2.0)))) -(define-public rust-sequoia-wot-0.12 +(define-public rust-sequoia-wot-0.13 (package (name "rust-sequoia-wot") - (version "0.12.0") + (version "0.13.2") (source (origin (method url-fetch) (uri (crate-uri "sequoia-wot" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1nrx1cn58d8lkp2g0ahw2320zmil3ryxl13inpwf61v4vqi5svj8")))) + (base32 "17npdicfxfp9v59y6nsr3lhz510c97bicqrzyw0s6infizpshf8b")))) (build-system cargo-build-system) (arguments `(#:features '("sequoia-openpgp/crypto-nettle") - #:cargo-test-flags '("--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-num-cpus" ,rust-num-cpus-1) ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.6) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6) ("rust-thiserror" ,rust-thiserror-1)) - #: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-development-inputs + (("rust-quickcheck" ,rust-quickcheck-1) + ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)))) (inputs (list nettle openssl sqlite)) (native-inputs (list clang pkg-config)) (home-page "https://sequoia-pgp.org/") (synopsis "Implementation of OpenPGP's web of trust") - (description "An implementation of OpenPGP's web of trust.") + (description + "This package provides an implementation of @code{OpenPGP's} web of trust.") (license license:lgpl2.0+))) (define-public sequoia-sq (package (name "sequoia-sq") - (version "0.38.0") + (version "1.1.0") (source (origin (method url-fetch) (uri (crate-uri "sequoia-sq" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "060dsh7ws9mwamc1jcp093j2g54sm9v5fy1mdhlw8kw2wybqybrj")))) + (base32 "00zs8a1b5b6gscgjmrcbayf7r3gyk5j57lsrcawh78735hniljmc")))) (build-system cargo-build-system) (arguments `(#:install-source? #f + #:features '("crypto-nettle" + "sequoia-keystore/gpg-agent" + "sequoia-keystore/openpgp-card" + "sequoia-keystore/softkeys") #:cargo-test-flags - (list "--release" "--" + (list "--" ;; The certificate has an expiration date. "--skip=sq_autocrypt_import") #:cargo-inputs - (("rust-anyhow" ,rust-anyhow-1) + (("rust-aho-corasick" ,rust-aho-corasick-1) + ("rust-anyhow" ,rust-anyhow-1) ("rust-buffered-reader" ,rust-buffered-reader-1) ("rust-cfg-if" ,rust-cfg-if-1) ("rust-chrono" ,rust-chrono-0.4) ("rust-clap" ,rust-clap-4) ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-culpa" ,rust-culpa-1) ("rust-dirs" ,rust-dirs-5) + ("rust-filetime" ,rust-filetime-0.2) ("rust-fs-extra" ,rust-fs-extra-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-gethostname" ,rust-gethostname-0.4) ("rust-humantime" ,rust-humantime-2) ("rust-indicatif" ,rust-indicatif-0.17) ("rust-once-cell" ,rust-once-cell-1) + ("rust-regex" ,rust-regex-1) + ("rust-reqwest" ,rust-reqwest-0.12) ("rust-roff" ,rust-roff-0.2) ("rust-rpassword" ,rust-rpassword-7) + ("rust-rusqlite" ,rust-rusqlite-0.31) ("rust-sequoia-autocrypt" ,rust-sequoia-autocrypt-0.25) ("rust-sequoia-cert-store" ,rust-sequoia-cert-store-0.6) ("rust-sequoia-directories" ,rust-sequoia-directories-0.1) + ("rust-sequoia-ipc" ,rust-sequoia-ipc-0.35) ("rust-sequoia-keystore" ,rust-sequoia-keystore-0.6) - ("rust-sequoia-net" ,rust-sequoia-net-0.28) + ("rust-sequoia-net" ,rust-sequoia-net-0.29) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1) - ("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.6) - ("rust-sequoia-wot" ,rust-sequoia-wot-0.12) + ("rust-sequoia-policy-config" ,rust-sequoia-policy-config-0.7) + ("rust-sequoia-wot" ,rust-sequoia-wot-0.13) ("rust-serde" ,rust-serde-1) - ("rust-subplot-build" ,rust-subplot-build-0.7) - ("rust-subplotlib" ,rust-subplotlib-0.7) + ("rust-subplot-build" ,rust-subplot-build-0.12) + ("rust-subplotlib" ,rust-subplotlib-0.12) ("rust-tempfile" ,rust-tempfile-3) ("rust-termcolor" ,rust-termcolor-1) ("rust-terminal-size" ,rust-terminal-size-0.2) ("rust-textwrap" ,rust-textwrap-0.15) ("rust-thiserror" ,rust-thiserror-1) - ("rust-tokio" ,rust-tokio-1)) + ("rust-tokio" ,rust-tokio-1) + ("rust-toml-edit" ,rust-toml-edit-0.22) + ("rust-typenum" ,rust-typenum-1)) #:cargo-development-inputs (("rust-assert-cmd" ,rust-assert-cmd-2) - ("rust-fehler" ,rust-fehler-1) ("rust-libc" ,rust-libc-0.2) ("rust-predicates" ,rust-predicates-2) ("rust-regex" ,rust-regex-1)) @@ -981,7 +982,7 @@ rules are rather complex. This crate implements the whole grammar." ) (copy-file "target/assets/shell-completions/sq.elv" (string-append elvish-completions-dir "/sq")))))))) (inputs - (list nettle openssl sqlite)) + (list nettle openssl pcsc-lite sqlite)) (native-inputs (list capnproto clang pkg-config)) (home-page "https://sequoia-pgp.org/") @@ -989,7 +990,8 @@ rules are rather complex. This crate implements the whole grammar." ) (description "This package provides the command-line frontend for Sequoia OpenPGP. -This Guix package is built to use the nettle cryptographic library.") +This Guix package is built to use the nettle cryptographic library and the +gpg-agent, openpgp-card and softkeys keystore backends.") (license license:lgpl2.0+))) (define-public sequoia-sqv @@ -1062,15 +1064,48 @@ constraints on the signature into account. This Guix package is built to use the nettle cryptographic library.") (license license:lgpl2.0+))) -(define-public sequoia-wot +;; There hasn't been a release cut since the tools were split from the library +;; so we use the 0.1.0 number from tools/Cargo.toml and the tag from the library. +(define-public sequoia-wot-tools (package - (inherit rust-sequoia-wot-0.12) - (name "sequoia-wot") + (name "sequoia-wot-tools") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/sequoia-pgp/sequoia-wot") + (commit "sequoia-wot/v0.13.2"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0vvq2izz2088x9jvii1xj14z4hls948wn18wb53fpahyhx8kkbvx")))) + (build-system cargo-build-system) (arguments - (substitute-keyword-arguments (package-arguments rust-sequoia-wot-0.12) - ((#:install-source? _ #t) #f) - ((#:phases phases '%standard-phases) - `(modify-phases ,phases + (list + #:features '(list "sequoia-openpgp/crypto-nettle") + #:cargo-test-flags '(list "--" "--skip=gpg_trust_roots") + #:install-source? #f + #:cargo-inputs + (list rust-anyhow-1 + rust-chrono-0.4 + rust-clap-4 + rust-clap-complete-4 + rust-clap-mangen-0.2 + rust-dot-writer-0.1 + rust-enumber-0.3 + rust-sequoia-cert-store-0.6 + rust-sequoia-openpgp-1 + rust-sequoia-policy-config-0.7) + #:cargo-development-inputs + (list rust-assert-cmd-2 + rust-predicates-3 + rust-tempfile-3) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (delete-file "Cargo.lock") + (chdir "tools"))) (add-after 'install 'install-more (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -1091,17 +1126,25 @@ This Guix package is built to use the nettle cryptographic library.") (string-append share "/elvish/lib/sq-wot")) (install-file (car (find-files "target/release" "_sq-wot")) (string-append - share "/zsh/site-functions"))))))))) - (description "An implementation of OpenPGP's web of trust. + share "/zsh/site-functions")))))))) + (inputs + (list nettle openssl sqlite)) + (native-inputs + (list clang pkg-config)) + (home-page "https://sequoia-pgp.org/") + (synopsis "Implementation of OpenPGP's web of trust") + (description + "This package provides an implementation of @code{OpenPGP's} web of trust. -This Guix package is built to use the nettle cryptographic library."))) +This Guix package is built to use the nettle cryptographic library.") + (license license:lgpl2.0+))) ;; (define-public sequoia (package (name "sequoia") - (version "1.21.2") + (version "1.22.0") (source #f) (build-system trivial-build-system) (arguments @@ -1132,7 +1175,7 @@ This Guix package is built to use the nettle cryptographic library."))) (list ;glibc ;; for ldconfig in make-dynamic-linker-cache sequoia-sq sequoia-sqv - sequoia-wot)) + sequoia-wot-tools)) (home-page "https://sequoia-pgp.org") (synopsis "New OpenPGP implementation (meta-package)") (description "Sequoia is a new OpenPGP implementation, written in Rust, diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index dc011f69709..7763c2729b5 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -49,16 +49,8 @@ #: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 crypto) #:use-module (gnu packages curl) #:use-module (gnu packages documentation) @@ -77,16 +69,12 @@ #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) - #:use-module (gnu packages rust) - #:use-module (gnu packages rust-apps) #:use-module (gnu packages scheme) #:use-module (gnu packages terminals) - #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (gnu packages texinfo) - #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) @@ -1032,1012 +1020,3 @@ designed to be capable of bootstrapping their standard GNU counterparts. Underpinning these utilities are many Scheme interfaces for manipulating files and text.") (license license:gpl3+))) - -(define-public nushell - (package - (name "nushell") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1zrw4jv57iwijd684vf43rw5sc9r0aq38shaizj96jqrgb8g9nja")))) - (build-system cargo-build-system) - (arguments - `(#: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-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-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 - "Nu draws inspiration from projects like PowerShell, functional -programming languages, and modern CLI tools. Rather than thinking of files -and services as raw streams of text, Nu looks at each input as something with -structure. For example, when you list the contents of a directory, what you -get back is a table of rows, where each row represents an item in that -directory. These values can be piped through a series of steps, in a series -of commands called a ``pipeline''.") - (license license:expat))) - -(define-public rust-nu-ansi-term-0.50 - (package - (name "rust-nu-ansi-term") - (version "0.50.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-ansi-term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16a3isvbxx8pa3lk71h3cq2fsx2d17zzq42j4mhpxy81gl2qx8nl")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-serde" ,rust-serde-1) - ("rust-windows-sys" ,rust-windows-sys-0.52)) - #:cargo-development-inputs (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-serde-json" ,rust-serde-json-1)))) - (home-page "https://github.com/nushell/nu-ansi-term") - (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 - (origin - (method url-fetch) - (uri (crate-uri "nu-ansi-term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0s2svfnircd9jp06wk55qcbb9v5cadkfcjfg99vm21qdjg0x6wy0")))) - (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)))))) - -(define-public rust-nu-ansi-term-0.46 - (package - (inherit rust-nu-ansi-term-0.49) - (name "rust-nu-ansi-term") - (version "0.46.0") - (source (origin - (method url-fetch) - (uri (crate-uri "nu-ansi-term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "115sywxh53p190lyw97alm14nc004qj5jm5lvdj608z84rbida3p")))) - (arguments - `(#:cargo-inputs - (("rust-overload" ,rust-overload-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-regex" ,rust-regex-1) - ("rust-serde-json" ,rust-serde-json-1)))))) - -(define-public rust-nu-ansi-term-0.44 - (package - (inherit rust-nu-ansi-term-0.49) - (name "rust-nu-ansi-term") - (version "0.44.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-ansi-term" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1lmc9rdqnw586gv4a0c2gbg3x4a04fy65xk3fczby8lq84rz41i3")))) - (build-system cargo-build-system) - (arguments - `(#:skip-build? #t - #:cargo-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-overload" ,rust-overload-0.1) - ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))))) - -(define-public rust-nu-cli-0.91 - (package - (name "rust-nu-cli") - (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 "1v7xz13n5gzhwkn4d8wq1v22zbdvfqd2zxnqf2q3k8cnnj51ql63")))) - (build-system cargo-build-system) - (arguments - `(#: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-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.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-command" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0jiz6bndkwfnhs4cc74am8krnhyb5kyq310nf7ma5038q6vqs8q9")))) - (build-system cargo-build-system) - (arguments - `(#: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-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-engine-0.91 - (package - (name "rust-nu-engine") - (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 "0j4g3nhg9yw7nilnf3n1k4yfn5glmd3vbap1zxwzz24xw7ap62c7")))) - (build-system cargo-build-system) - (arguments - `(#: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-explore-0.91 - (package - (name "rust-nu-explore") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-explore" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0j1xry4idjxrnyfz9l227s5hd82635dqc72gyw4zwq35izjrgqmm")))) - (build-system cargo-build-system) - (arguments - `(#: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-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.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-json" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1ga6kmmavd3rxjkk3j7jm6kjg2ny066a713ccca9nj0i9gbm6b1h")))) - (build-system cargo-build-system) - (arguments - `(#: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-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.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-parser" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "110jgz6lr0bi6904k63yqbsrcgfrpn044j2xz9if8akprk4p5w4z")))) - (build-system cargo-build-system) - (arguments - `(#: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.91 - (package - (name "rust-nu-path") - (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 "146lm48vna9w5kr46dclqmzl1cbz5k7j1zz6jl8i6d83np4nn1sa")))) - (build-system cargo-build-system) - (arguments - `(#: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.91 - (package - (name "rust-nu-plugin") - (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 "054hmmz78njl6qhpcbbifip5r879ipa2j3y5ndlj588b9qaijvva")))) - (build-system cargo-build-system) - (arguments - `(#: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 contains functionality for building Nushell plugins.") - (license license:expat))) - -(define-public rust-nu-pretty-hex-0.91 - (package - (name "rust-nu-pretty-hex") - (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 "1iq8amp5hqf2xxp5n74l5sgqv2bj204zwbjcnarhy88ijzjicrl6")))) - (build-system cargo-build-system) - (arguments - `(#: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 package provides pretty hex dump of bytes slice in the common style.") - (license license:expat))) - -(define-public rust-nu-protocol-0.91 - (package - (name "rust-nu-protocol") - (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 "0h6ikglmx79w5izcb7jv66s7cdsq6302pgwzyjyaxyw8jyprvx2g")))) - (build-system cargo-build-system) - (arguments - `(#: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 package provides nushell's internal protocols, including its abstract -syntax tree.") - (license license:expat))) - -(define-public rust-nu-std-0.91 - (package - (name "rust-nu-std") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-std" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1igdid80qbfgqdmcg6szq2rsi7i5qlyhplw74byh81vkqsn5z74w")))) - (build-system cargo-build-system) - (arguments - `(#: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-system-0.91 - (package - (name "rust-nu-system") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-system" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1jq87rjbmgpkf2cr2ajfs12f3wzpsh43m0drmrgj7b8lk2g6q9by")))) - (build-system cargo-build-system) - (arguments - `(#: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.91 - (package - (name "rust-nu-table") - (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 "0r3b0lvkmjfkkcpxq6pls0sc5jp08a25ykfi0hifn0lsb9nady9m")))) - (build-system cargo-build-system) - (arguments - `(#: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 "This package provides nushell table printing.") - (license license:expat))) - -(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.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-test-support" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "146ncw3318hcbhb7cpz3bdz0ypd8x4cpzhhl0q55r2mxxci7ik38")))) - (build-system cargo-build-system) - (arguments - `(#: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 contains support for writing Nushell tests.") - (license license:expat))) - -(define-public rust-nu-utils-0.91 - (package - (name "rust-nu-utils") - (version "0.91.0") - (source - (origin - (method url-fetch) - (uri (crate-uri "nu-utils" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0xlnhli0zmv4nxznmjb2azq62ywq252zqvpx4668xv70japd74ag")))) - (build-system cargo-build-system) - (arguments - `(#: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/shellutils.scm b/gnu/packages/shellutils.scm index 740c4fab88f..dc9a51e25f1 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2024 Brian Kubisiak <brian@kubisiak.com> +;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo> ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,6 +44,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cargo) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) @@ -52,6 +54,13 @@ #:use-module (gnu packages base) #:use-module (gnu packages bison) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-crypto) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-shell) + #:use-module (gnu packages crates-vcs) + #:use-module (gnu packages crates-windows) #:use-module (gnu packages flex) #:use-module (gnu packages golang-build) #:use-module (gnu packages golang-check) @@ -68,6 +77,7 @@ #:use-module (gnu packages shells) #:use-module (gnu packages textutils) #:use-module (gnu packages tmux) + #:use-module (gnu packages version-control) #:use-module (gnu packages vim)) (define-public ascii @@ -463,6 +473,149 @@ Shell}, @url{https://www.gnu.org/software/bash/,Bash}, and @url{http://www.mirbsd.org/mksh.htm,mksh}.") (license license:bsd-3))) +(define-public starship + (package + (name "starship") + (version "1.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "starship" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ikdy6jwlc36add55acxlba6f009dln9iyz368c1ndbfpgn4n42g")))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-completions + (lambda* (#:key native-inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (starship-bin + (if #$(%current-target-system) + (search-input-file native-inputs "/bin/starship") + (string-append out "/bin/starship"))) + (share (string-append out "/share")) + (bash-completion-dir + (string-append out "/etc/bash-completion.d/")) + (zsh-completion-dir + (string-append share "/zsh/site-functions/")) + (fish-completion-dir + (string-append share "/fish/vendor_completions.d/")) + (elvish-completion-dir + (string-append share "/elvish/lib"))) + ;; Make the directories + (mkdir-p bash-completion-dir) + (mkdir-p zsh-completion-dir) + (mkdir-p fish-completion-dir) + (mkdir-p elvish-completion-dir) + ;; Use the built starship to generate the completions. + (with-output-to-file + (string-append bash-completion-dir "/starship") + (lambda _ (invoke starship-bin "completions" "bash"))) + (with-output-to-file + (string-append zsh-completion-dir "/_starship") + (lambda _(invoke starship-bin "completions" "zsh"))) + (with-output-to-file + (string-append fish-completion-dir "/starship.fish") + (lambda _ (invoke starship-bin "completions" "fish"))) + (with-output-to-file + (string-append elvish-completion-dir "/starship") + (lambda _ (invoke starship-bin "completions" "elvish")))))) + ;; Some tests require a writable home directory + (add-after 'unpack 'patch-test-shell + (lambda* (#:key inputs #:allow-other-keys) + ;; search through the rust files and then replace `/bin/sh' + ;; with the path to the `/bin/sh' in the drv inputs + (let ((rust-files (find-files "." "\\.rs$"))) + (for-each (lambda (file) + (substitute* file + (("/bin/sh") + (search-input-file inputs "/bin/sh")))) + rust-files)))) + ;; Set "HOME" to be located inside the cwd so it is writable + ;; for tests checking for user-configs + (add-before 'check 'set-test-env-vars + (lambda _ + (setenv "HOME" + (string-append (getcwd) "/.test-home"))))) + #:cargo-inputs `(("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-deelevate" ,rust-deelevate-0.2) + ("rust-dirs" ,rust-dirs-5) + ("rust-dunce" ,rust-dunce-1) + ("rust-gix" ,rust-gix-0.66) + ("rust-gix-features" ,rust-gix-features-0.38) + ("rust-guess-host-triple" ,rust-guess-host-triple-0.1) + ("rust-home" ,rust-home-0.5) + ("rust-indexmap" ,rust-indexmap-2) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.29) + ("rust-notify-rust" ,rust-notify-rust-4) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.50) + ("rust-open" ,rust-open-5) + ("rust-os-info" ,rust-os-info-3) + ("rust-path-slash" ,rust-path-slash-0.2) + ("rust-pest" ,rust-pest-2) + ("rust-pest-derive" ,rust-pest-derive-2) + ("rust-process-control" ,rust-process-control-5) + ("rust-quick-xml" ,rust-quick-xml-0.36) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-rust-ini" ,rust-rust-ini-0.21) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-shadow-rs" ,rust-shadow-rs-0.35) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-starship-battery" ,rust-starship-battery-0.10) + ("rust-strsim" ,rust-strsim-0.11) + ("rust-systemstat" ,rust-systemstat-0.2) + ("rust-terminal-size" ,rust-terminal-size-0.4) + ("rust-toml" ,rust-toml-0.8) + ("rust-toml-edit" ,rust-toml-edit-0.22) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.2) + ("rust-urlencoding" ,rust-urlencoding-2) + ("rust-versions" ,rust-versions-6) + ("rust-which" ,rust-which-6) + ("rust-whoami" ,rust-whoami-1) + ("rust-windows" ,rust-windows-0.58) + ("rust-winres" ,rust-winres-0.1) + ("rust-yaml-rust2" ,rust-yaml-rust2-0.9)) + #:cargo-development-inputs `(("rust-mockall" ,rust-mockall-0.13) + ("rust-tempfile" ,rust-tempfile-3)))) + (inputs (list cmake-minimal)) + (native-inputs + (append + (if (%current-target-system) + (list this-package) + '()) + (list git-minimal))) + (home-page "https://starship.rs") + (synopsis + "The minimal, blazing-fast, and infinitely customizable prompt for any shell!") + (description + "This package provides The minimal, blazing-fast, and infinitely customizable +prompt for any shell! + +@itemize +@item Fast: it's fast - *really really* fast :rocket: +@item Customizable: configure every aspect of your prompt +@item Universal: works on any shell, on any operating system +@item Intelligent: shows relevant information at a glance +@item Feature rich: support for all your favorite tools +@item Easy: quick to install - start using it in minutes +@end itemize + +Note: users must have a nerd font installed and enabled in their terminal") + (license license:isc))) (define-public envstore (package diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index fdd67a8aa23..a84893786c4 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -46,6 +46,7 @@ #:use-module (gnu packages cmake) #:use-module (gnu packages crates-crypto) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-web) #:use-module (gnu packages curl) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) @@ -236,23 +237,24 @@ cards.") (define-public newsboat (package (name "newsboat") - (version "2.36.1") + (version "2.38") (source (origin (method url-fetch) (uri (string-append "https://newsboat.org/releases/" version "/newsboat-" version ".tar.xz")) (sha256 - (base32 "1pgi19y1ym5dhh0szs0w0cjbvx83bzq30af24h73nwdalkwb3nhl")))) + (base32 "11fv2klyc16sfma0zy8phmp4x61w0hswxfwdds10gwa8i7qgdznn")))) (build-system cargo-build-system) (native-inputs - `(("gettext" ,gettext-minimal) - ("openssl" ,openssl) - ("pkg-config" ,pkg-config) + (append + (list gettext-minimal + openssl + pkg-config) ;; For building documentation. - ,@(if (supported-package? ruby-asciidoctor) - `(("asciidoctor" ,ruby-asciidoctor)) - `()))) + (if (supported-package? ruby-asciidoctor) + (list ruby-asciidoctor) + '()))) (inputs (list curl json-c @@ -261,71 +263,74 @@ cards.") stfl sqlite)) (arguments - `(#:modules ((guix build cargo-build-system) - (guix build utils) - ((guix build gnu-build-system) #:prefix gnu:)) + (list + #:modules '((guix build cargo-build-system) + (guix build utils) + ((guix build gnu-build-system) #:prefix gnu:)) #:install-source? #f #:cargo-inputs - (("rust-backtrace" ,rust-backtrace-0.3) - ("rust-bitflags" ,rust-bitflags-2) - ("rust-chrono" ,rust-chrono-0.4) - ("rust-curl-sys" ,rust-curl-sys-0.4) - ("rust-cxx" ,rust-cxx-1) - ("rust-cxx-build" ,rust-cxx-build-1) - ("rust-fastrand" ,rust-fastrand-2) - ("rust-gettext-rs" ,rust-gettext-rs-0.7) - ("rust-lexopt" ,rust-lexopt-0.3) - ("rust-libc" ,rust-libc-0.2) - ("rust-md5" ,rust-md5-0.7) - ("rust-natord" ,rust-natord-1) - ("rust-nom" ,rust-nom-7) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-url" ,rust-url-2) - ("rust-unicode-width" ,rust-unicode-width-0.1) - ("rust-xdg" ,rust-xdg-2)) + (list rust-backtrace-0.3 + rust-bitflags-2 + rust-chrono-0.4 + rust-curl-sys-0.4 + rust-cxx-1 + rust-cxx-build-1 + rust-fastrand-2 + rust-gettext-rs-0.7 + rust-httpmock-0.7 + rust-lexopt-0.3 + rust-libc-0.2 + rust-md5-0.7 + rust-natord-1 + rust-nom-7 + rust-percent-encoding-2 + rust-url-2 + rust-unicode-width-0.1 + rust-unicode-segmentation-1 + rust-xdg-2) #:cargo-development-inputs - (("rust-tempfile" ,rust-tempfile-3) - ("rust-proptest" ,rust-proptest-1) - ("rust-section-testing" ,rust-section-testing-0.0.5)) + (list rust-tempfile-3 + rust-proptest-1 + rust-section-testing-0.0.5) #:phases - (modify-phases %standard-phases - ,@(if (not (assoc-ref inputs "asciidoctor")) - `((add-after 'unpack 'dont-use-asciidoctor - (lambda _ - (substitute* "config.sh" - ((".*asciidoctor.*") "")) - (substitute* "Makefile" - (("^doc:.*") "doc:\n") - (("install-podboat install-docs") "install-podboat"))))) - '()) - (add-after 'unpack 'pre-build - (lambda* (#:key inputs #:allow-other-keys) - (setenv "CXX" ,(cxx-for-target)) - (setenv "CXX_FOR_BUILD" (which "g++")) - (substitute* "config.sh" - (("if curl-config") - (string-append - "if " (search-input-file inputs "/bin/curl-config")))))) - (add-after 'configure 'dont-vendor-self - (lambda* (#:key vendor-dir #:allow-other-keys) - ;; Don't keep the whole tarball in the vendor directory - (delete-file-recursively - (string-append vendor-dir "/" ,name "-" ,version ".tar.xz")))) - (add-after 'unpack 'patch-source - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "Makefile" - (("Cargo.lock") "") - ;; Replace the prefix in the Makefile. - (("/usr/local") (assoc-ref outputs "out"))))) - (replace 'build - (assoc-ref gnu:%standard-phases 'build)) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys #:rest args) - (when tests? - ((assoc-ref gnu:%standard-phases 'check) - #:test-target "test")))) - (replace 'install - (assoc-ref gnu:%standard-phases 'install))))) + #~(modify-phases %standard-phases + #$@(if (not (this-package-native-input "asciidoctor")) + #~((add-after 'unpack 'dont-use-asciidoctor + (lambda _ + (substitute* "config.sh" + ((".*asciidoctor.*") "")) + (substitute* "Makefile" + (("^doc:.*") "doc:\n") + (("install-podboat install-docs") "install-podboat"))))) + #~()) + (add-after 'unpack 'pre-build + (lambda* (#:key inputs #:allow-other-keys) + (setenv "CXX" #$(cxx-for-target)) + (setenv "CXX_FOR_BUILD" (which "g++")) + (substitute* "config.sh" + (("if curl-config") + (string-append + "if " (search-input-file inputs "/bin/curl-config")))))) + (add-after 'configure 'dont-vendor-self + (lambda* (#:key vendor-dir #:allow-other-keys) + ;; Don't keep the whole tarball in the vendor directory + (delete-file-recursively + (string-append vendor-dir "/" #$name "-" #$version ".tar.xz")))) + (add-after 'unpack 'patch-source + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("Cargo.lock") "") + ;; Replace the prefix in the Makefile. + (("/usr/local") (assoc-ref outputs "out"))))) + (replace 'build + (assoc-ref gnu:%standard-phases 'build)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys #:rest args) + (when tests? + ((assoc-ref gnu:%standard-phases 'check) + #:test-target "test")))) + (replace 'install + (assoc-ref gnu:%standard-phases 'install))))) (native-search-paths ;; Newsboat respects CURL_CA_BUNDLE. (list (search-path-specification diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 755485fa851..f40fbcbc5d9 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1558,6 +1558,10 @@ basic input/output.") (build-system cargo-build-system) (arguments `(#:install-source? #f + #:cargo-test-flags + '("--release" "--" + ;; Changes in clap regularly break this test. + "--skip=cli::tests::completions") #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8) ("rust-base64" ,rust-base64-0.22) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index bb5b821cf58..1fde977dff2 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2023 David Pflug <david@pflug.io> ;;; Copyright © 2024 Herman Rimm <herman@rimm.ee> ;;; Copyright © 2024 Spencer King <spencer.king@wustl.edu> +;;; Copyright © 2024 Murilo <murilo@disroot.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -76,6 +77,8 @@ #:use-module (gnu packages compression) #:use-module (gnu packages cpp) #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-vcs) #:use-module (gnu packages crates-web) #:use-module (gnu packages crates-windows) #:use-module (gnu packages crypto) @@ -376,7 +379,7 @@ competitive (as in keystroke count) with Vim.") (define-public kak-lsp (package (name "kak-lsp") - (version "9.0.0") + (version "18.1.1") (source (origin (method git-fetch) @@ -384,32 +387,49 @@ competitive (as in keystroke count) with Vim.") (url "https://github.com/kak-lsp/kak-lsp") (commit (string-append "v" version)))) (file-name (git-file-name name version)) - (sha256 "1wfv2fy5ga6kc51zka3pak0hq97csm2l11bz74w3n1hrf5q9nnf8"))) + (sha256 "1dinxd3h0dllws1v28l1igvns94j91kifv1bxjds6859q22yhhpd"))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4) - ("rust-clap" ,rust-clap-2) - ("rust-daemonize" ,rust-daemonize-0.4) - ("rust-dirs" ,rust-dirs-2) - ("rust-enum_primitive" ,rust-enum-primitive-0.1) + `(#:install-source? #f + #:cargo-inputs + (("rust-clap" ,rust-clap-4) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-daemonize" ,rust-daemonize-0.5) + ("rust-diffs" ,rust-diffs-0.5) + ("rust-dirs" ,rust-dirs-5) + ("rust-enum-primitive" ,rust-enum-primitive-0.1) + ("rust-fs4" ,rust-fs4-0.8) ("rust-glob" ,rust-glob-0.3) - ("rust-itertools" ,rust-itertools-0.9) - ("rust-lsp-types" ,rust-lsp-types-0.80) - ("rust-jsonrpc-core" ,rust-jsonrpc-core-14) + ("rust-indoc" ,rust-indoc-2) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-jsonrpc-core" ,rust-jsonrpc-core-18) + ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) - ("rust-rand" ,rust-rand-0.7) + ("rust-lsp-types" ,rust-lsp-types-0.95) + ("rust-mio" ,rust-mio-1) + ("rust-notify-debouncer-full" ,rust-notify-debouncer-full-0.3) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9) + ("rust-rand" ,rust-rand-0.8) ("rust-regex" ,rust-regex-1) ("rust-ropey" ,rust-ropey-1) + ;("rust-sentry" ,rust-sentry-0.35) ("rust-serde" ,rust-serde-1) - ("rust-serde_derive" ,rust-serde-derive-1) - ("rust-serde_json" ,rust-serde-json-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-repr" ,rust-serde-repr-0.1) ("rust-slog" ,rust-slog-2) ("rust-slog-scope" ,rust-slog-scope-4) - ("rust-sloggers" ,rust-sloggers-1) - ("rust-toml" ,rust-toml-0.5) + ("rust-sloggers" ,rust-sloggers-2) + ("rust-toml" ,rust-toml-0.8) + ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-url" ,rust-url-2) - ("rust-whoami" ,rust-whoami-0.8)))) + ("rust-whoami" ,rust-whoami-1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-optional-crash-reporting + (lambda _ + (substitute* "Cargo.toml" + ((".*sentry.*") ""))))))) (home-page "https://github.com/kak-lsp/kak-lsp") (synopsis "Language Server Protocol (LSP) client for Kakoune") (description @@ -514,6 +534,110 @@ library intended to be loaded by the @command{emacs-parinfer-rust-mode} Emacs plugin, though a standalone binary is built also.") (license license:isc))) +(define-public helix + (package + (name "helix") + (version "23.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/helix-editor/helix") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gl5iplj9x58pgqvb296d70xgq8fslqk8chai2arn65bcbgaw014")))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-grammar-build + (lambda _ + (setenv "HELIX_DISABLE_AUTO_GRAMMAR_BUILD" "1"))) + (replace 'install + (lambda _ + (let* ((bin (string-append #$output "/bin")) + (hx (string-append bin "/hx")) + (share (string-append #$output "/share/helix")) + (runtime (string-append share "/runtime")) + (applications (string-append share "/applications"))) + (install-file "target/release/hx" bin) + (install-file "contrib/Helix.desktop" applications) + (copy-recursively "runtime" runtime) + (wrap-program hx + `("HELIX_RUNTIME" prefix + (,runtime))))))) + #:cargo-inputs + (list rust-ahash-0.8 + rust-anyhow-1 + rust-arc-swap-1 + rust-bitflags-2 + rust-cassowary-0.3 + rust-cc-1 + rust-chardetng-0.1 + rust-chrono-0.4 + rust-clipboard-win-4 + rust-content-inspector-0.2 + rust-crossterm-0.27 + rust-dunce-1 + rust-encoding-rs-0.8 + rust-etcetera-0.8 + rust-fern-0.6 + rust-futures-executor-0.3 + rust-futures-util-0.3 + rust-gix-0.55 + rust-globset-0.4 + rust-grep-regex-0.1 + rust-grep-searcher-0.1 + rust-hashbrown-0.14 + rust-ignore-0.4 + rust-imara-diff-0.1 + rust-libc-0.2 + rust-libloading-0.8 + rust-log-0.4 + rust-lsp-types-0.94 + rust-nucleo-0.2 + rust-once-cell-1 + rust-parking-lot-0.12 + rust-pulldown-cmark-0.9 + rust-regex-1 + rust-ropey-1 + rust-rustix-0.38 + rust-serde-1 + rust-serde-json-1 + rust-signal-hook-0.3 + rust-signal-hook-tokio-0.3 + rust-slotmap-1 + rust-smallvec-1 + rust-smartstring-1 + rust-tempfile-3 + rust-termini-1 + rust-textwrap-0.16 + rust-thiserror-1 + rust-threadpool-1 + rust-tokio-1 + rust-tokio-stream-0.1 + rust-toml-0.7 + rust-tree-sitter-0.20 + rust-unicode-general-category-0.6 + rust-unicode-segmentation-1 + rust-unicode-width-0.1 + rust-url-2 + rust-which-4) + #:cargo-development-inputs + (list rust-fern-0.6 + rust-indoc-2 + rust-quickcheck-1 + rust-smallvec-1 + rust-tempfile-3))) + (inputs (list bash-minimal)) + (home-page "https://helix-editor.com/") + (synopsis "Post-modern modal text editor") + (description "A Kakoune / Neovim inspired editor, written in Rust.") + (license (list license:mpl2.0)))) + (define-public joe (package (name "joe") diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 8f5bcb88277..1fcc5533c9c 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/packages/tree-sitter.scm @@ -168,7 +168,7 @@ This package includes the @code{libtree-sitter} runtime library.") (arguments (list #:cargo-test-flags - ''("--release" "--" + ''("--" ;; Skip tests which rely on downloading grammar fixtures. It is ;; difficult to support such tests given upstream does not encode ;; which version of the grammars are expected. diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index e63a843fc3b..e2c1295a605 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org> ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2016, 2019, 2021 Eric Bavier <bavier@posteo.net> -;;; Copyright © 2015-2024 Flashner <efraim@flashner.co.il> +;;; Copyright © 2015-2025 Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2018, 2020, 2021, 2022 Kyle Meyer <kyle@kyleam.com> ;;; Copyright © 2015, 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2016, 2017 Leo Famulari <leo@famulari.name> @@ -103,8 +103,10 @@ #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages cook) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-vcs) + #:use-module (gnu packages crates-web) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages databases) @@ -3368,6 +3370,127 @@ a built-in wiki, built-in file browsing, built-in tickets system, etc.") (license (list license:public-domain ;src/miniz.c, src/shell.c license:bsd-2)))) +(define-public pijul + (package + (name "pijul") + (version "1.0.0-beta.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "pijul" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lk261rrk4xy60d4akfn8mrrqxls28kf9mzrjcrxdzbdysml66n5")) + (snippet + #~(begin (use-modules (guix build utils)) + (substitute* "Cargo.toml" + (("\"= ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version) + (string-append "\"^" version))))))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:cargo-inputs + (list rust-anyhow-1 + rust-async-trait-0.1 + rust-atty-0.2 + rust-byteorder-1 + rust-bytes-1 + rust-canonical-path-2 + rust-chrono-0.4 + rust-clap-4 + rust-clap-complete-4 + rust-ctrlc-3 + rust-data-encoding-2 + rust-dateparser-0.1 + rust-dirs-next-2 + rust-edit-0.1 + rust-env-logger-0.8 + rust-futures-0.3 + rust-futures-util-0.3 + rust-git2-0.13 + rust-human-panic-1 + rust-hyper-0.14 + rust-ignore-0.4 + rust-keyring-2 + rust-lazy-static-1 + rust-libpijul-1 + rust-log-0.4 + rust-open-3 + rust-pager-0.16 + rust-path-slash-0.1 + rust-pijul-config-0.0.1 + rust-pijul-identity-0.0.1 + rust-pijul-interaction-0.0.1 + rust-pijul-remote-1 + rust-pijul-repository-0.0.1 + rust-ptree-0.4 + rust-rand-0.8 + rust-regex-1 + rust-reqwest-0.11 + rust-sanakirja-1 + rust-serde-1 + rust-serde-derive-1 + rust-serde-json-1 + rust-tempfile-3 + rust-termcolor-1 + rust-thiserror-1 + rust-thrussh-0.33 + rust-thrussh-config-0.5 + rust-thrussh-keys-0.21 + rust-tokio-1 + rust-toml-0.5 + rust-url-2 + rust-validator-0.15 + rust-whoami-1) + #:cargo-development-inputs + (list rust-exitcode-1 + rust-expectrl-0.7) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-extras + (lambda* (#:key native-inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (share (string-append out "/share")) + (bash-completions-dir + (string-append 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")) + (pijul (if #$(%current-target-system) + (search-input-file native-inputs "/bin/pijul") + (string-append out "/bin/pijul")))) + (mkdir-p bash-completions-dir) + (with-output-to-file + (string-append bash-completions-dir "/pijul") + (lambda _ (invoke pijul "completion" "bash"))) + (mkdir-p zsh-completions-dir) + (with-output-to-file + (string-append zsh-completions-dir "/_pijul") + (lambda _ (invoke pijul "completion" "zsh"))) + (mkdir-p fish-completions-dir) + (with-output-to-file + (string-append fish-completions-dir "/pijul.fish") + (lambda _ (invoke pijul "completion" "fish"))) + (mkdir-p elvish-completions-dir) + (with-output-to-file + (string-append elvish-completions-dir "/pijul") + (lambda _ (invoke pijul "completion" "elvish"))))))))) + (native-inputs + (append (if (%current-target-system) + (list this-package) + '()) + (list pkg-config))) + (inputs (list libsodium openssl)) + (home-page "https://nest.pijul.com/pijul/pijul") + (synopsis "Distributed version control system") + (description "This package provides pijul, a sound and fast distributed +version control system based on a mathematical theory of asynchronous work.") + (license license:gpl2+))) + (define-public stagit (package (name "stagit") diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 5c878bfcb9c..b113bcd2546 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -130,6 +130,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) + #:use-module (gnu packages crates-check) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages curl) @@ -1318,14 +1319,17 @@ on the Invidious instances only as a fallback method.") (build-system cmake-build-system) (native-inputs ;; XXX: ASM optimization fails on i686-linux, see <https://bugs.gnu.org/41768>. - (if (string-prefix? "i686" (%current-system)) - '() - `(("nasm" ,nasm)))) + (if (target-x86-64?) + (list nasm) + '())) (arguments `(#:tests? #f ; tests are skipped if ENABLE_ASSEMBLY is TRUE. #:configure-flags - ;; Ensure position independent code for everyone. (list "-DENABLE_PIC=TRUE" + "-DLINKED_10BIT=ON" + "-DLINKED_12BIT=ON" + "-DEXTRA_LIB=x265_main10.a;x265_main12.a" + "-DEXTRA_LINK_FLAGS=-L../build-10bit -L../build-12bit" (string-append "-DCMAKE_INSTALL_PREFIX=" (assoc-ref %outputs "out"))) #:phases @@ -1344,7 +1348,7 @@ on the Invidious instances only as a fallback method.") (lambda* (#:key (configure-flags '()) #:allow-other-keys #:rest args) (mkdir "../build-12bit") (with-directory-excursion "../build-12bit" - (apply invoke + (invoke "cmake" "../source" ,@(if (target-aarch64?) '("-DENABLE_ASSEMBLY=OFF") @@ -1356,8 +1360,9 @@ on the Invidious instances only as a fallback method.") "-DHIGH_BIT_DEPTH=ON" "-DEXPORT_C_API=OFF" "-DENABLE_CLI=OFF" - "-DMAIN12=ON" - configure-flags) + "-DENABLE_SHARED=OFF" + "-DENABLE_PIC=TRUE" + "-DMAIN12=ON") (substitute* (cons "cmake_install.cmake" (append (find-files "CMakeFiles/x265-shared.dir") @@ -1368,7 +1373,7 @@ on the Invidious instances only as a fallback method.") (lambda* (#:key (configure-flags '()) #:allow-other-keys #:rest args) (mkdir "../build-10bit") (with-directory-excursion "../build-10bit" - (apply invoke + (invoke "cmake" "../source" ,@(if (target-aarch64?) '("-DENABLE_ASSEMBLY=OFF") @@ -1380,19 +1385,14 @@ on the Invidious instances only as a fallback method.") "-DHIGH_BIT_DEPTH=ON" "-DEXPORT_C_API=OFF" "-DENABLE_CLI=OFF" - configure-flags) + "-DENABLE_SHARED=OFF" + "-DENABLE_PIC=TRUE") (substitute* (cons "cmake_install.cmake" (append (find-files "CMakeFiles/x265-shared.dir") (find-files "CMakeFiles/x265-static.dir"))) (("libx265") "libx265_main10")) ((assoc-ref %standard-phases 'build))))) - (add-after 'install 'install-more-libs - (lambda args - (with-directory-excursion "../build-12bit" - ((assoc-ref %standard-phases 'install))) - (with-directory-excursion "../build-10bit" - ((assoc-ref %standard-phases 'install))))) (add-before 'strip 'move-static-libs (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) @@ -6537,7 +6537,7 @@ result in several formats: '()) (list pkg-config rust-cargo-c))) (inputs - (list libgit2-1.7 zlib)) + (list libgit2-1.8 zlib)) (home-page "https://github.com/xiph/rav1e/") (synopsis "Fast and safe AV1 encoder") (description "@code{rav1e} is an AV1 video encoder. It is designed to diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 8f816acfd90..ce58ee10fe9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -477,7 +477,7 @@ replacing them with data URIs.") (define-public monolith (package (name "monolith") - (version "2.8.1") + (version "2.8.3") (source (origin (method git-fetch) @@ -486,24 +486,33 @@ replacing them with data URIs.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0xr63302yb5k9c2sihd1iy97j5c44d4jrzfaiwm81d9li577ih58")))) + (base32 "082xh0zmmy9abz7y3zjybbwffq7d0j1jl78ggzbwwanvam65v0dp")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:install-source? #f + #:cargo-inputs (("rust-atty" ,rust-atty-0.2) - ("rust-base64" ,rust-base64-0.21) + ("rust-base64" ,rust-base64-0.22) ("rust-chrono" ,rust-chrono-0.4) ("rust-clap" ,rust-clap-3) - ("rust-cssparser" ,rust-cssparser-0.33) + ("rust-cssparser" ,rust-cssparser-0.34) ("rust-encoding-rs" ,rust-encoding-rs-0.8) - ("rust-html5ever" ,rust-html5ever-0.24) + ("rust-html5ever" ,rust-html5ever-0.27) + ("rust-markup5ever-rcdom" ,rust-markup5ever-rcdom-0.3) + ("rust-openssl" ,rust-openssl-0.10) ("rust-percent-encoding" ,rust-percent-encoding-2) ("rust-regex" ,rust-regex-1) - ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-reqwest" ,rust-reqwest-0.12) ("rust-sha2" ,rust-sha2-0.10) ("rust-url" ,rust-url-2)) #:cargo-development-inputs - (("rust-assert-cmd" ,rust-assert-cmd-2)))) + (("rust-assert-cmd" ,rust-assert-cmd-2)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'dont-default-to-vendored-openssl + (lambda _ + (substitute* "Cargo.toml" + ((".*\"vendored-openssl\".*") ""))))))) (native-inputs (list pkg-config)) (inputs @@ -7379,7 +7388,13 @@ file links.") #~(modify-phases %standard-phases (add-after 'unpack 'relax-cargo-requirements (lambda _ - (substitute* "Cargo.toml" (("~") ""))))) + (substitute* "Cargo.toml" (("~") "")))) + (add-after 'install 'install-data + (lambda _ + (invoke "make" (string-append "PREFIX=" #$output) + "copy-data")))) + #:parallel-tests? #f ; As per the Makefile + #:install-source? #f #:cargo-inputs `(("rust-ansi-parser" ,rust-ansi-parser-0.6) ("rust-dirs" ,rust-dirs-3) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 1da2e752ff5..35ce18cffed 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -124,6 +124,8 @@ #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) + #:use-module (gnu packages crates-check) + #:use-module (gnu packages crates-compression) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-graphics) #:use-module (gnu packages datastructures) |