From 17040cb14671ba8ea443b750e7c6bf2b8a626d9a Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Thu, 14 Dec 2023 21:24:27 +0100 Subject: [PATCH] Some Rust stuff --- zilti/packages/rust.scm | 2289 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 2282 insertions(+), 7 deletions(-) diff --git a/zilti/packages/rust.scm b/zilti/packages/rust.scm index 169df39..a6bbb32 100644 --- a/zilti/packages/rust.scm +++ b/zilti/packages/rust.scm @@ -116,10 +116,10 @@ little-endian.") #:cargo-development-inputs (("rust-serde" ,rust-serde-1)))) (home-page "https://serde.rs") - (synopsis "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]") + (synopsis "Macros 1.1 implementation of #[derive(Serialize,Deserialize)]") (description "This package provides the macros 1.1 implementation of -@code{#[derive(Serialize, Deserialize)]}.") +@code{#[derive(Serialize,Deserialize)]}.") (license (list license:expat license:asl2.0)))) (define-public rust-anstream-0.6 @@ -185,7 +185,7 @@ text to a terminal.") (home-page "https://clap.rs/") (synopsis "Command Line Argument Parser") (description - "This package provides a simple to use, efficient, and full-featured + "This package provides a simple to use,efficient,and full-featured Command Line Argument Parser.") (license (list license:expat license:asl2.0)))) @@ -230,7 +230,7 @@ Command Line Argument Parser.") (home-page "https://github.com/clap-rs/clap") (synopsis "Full-featured Command Line Argument Parser") (description - "This package provides a simple to use, efficient, and full-featured + "This package provides a simple to use,efficient,and full-featured Command Line Argument Parser.") (license (list license:expat license:asl2.0)))) @@ -275,7 +275,7 @@ Command Line Argument Parser.") (synopsis "Command line parser for Clap") (description "This package provides a parser for command line options. As opposed -to a declarative parser, @code{rust-clap-lex} processes arguments as a +to a declarative parser,@code{rust-clap-lex} processes arguments as a stream of tokens.") ;; The user can choose either license. (license (list license:expat license:asl2.0)))) @@ -477,7 +477,7 @@ crate.") (home-page "https://github.com/microsoft/windows-rs") (synopsis "Rust for Windows") (description "The windows crate lets you call any Windows API past, -present, and future using code generated on the fly directly from the metadata +present,and future using code generated on the fly directly from the metadata describing the API and right into your Rust package where you can call them as if they were just another Rust module.") (license (list license:expat license:asl2.0)))) @@ -528,5 +528,2280 @@ if they were just another Rust module.") ("rust-anstream" ,rust-anstream-0.6)))) (home-page "https://gitlab.com/hyask/swaysome") (synopsis "An awesome way to manage your workspaces on sway.") - (description "This binary helps you configure sway to work a bit more like AwesomeWM. This means that workspaces are namespaced in what are called workspace groups, and workspace groups can be moved around the differents outputs easily.") + (description "This binary helps you configure sway to work a bit more like AwesomeWM. This means that workspaces are namespaced in what are called workspace groups,and workspace groups can be moved around the differents outputs easily.") + (license license:expat))) + +;; Starship + +;;; Dependencies + +;;;; rust-shadow-rs +(define-public rust-shadow-rs-0.23 + (package + (name "rust-shadow-rs") + (version "0.23.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "shadow-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0013fhbpgravpbwidrqgghg6dysacy09zf4cxjs0pzan8xq3h1cp")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-git2" ,rust-git2-0.13) + ("rust-is-debug" ,rust-is-debug-1)))) + (home-page "https://github.com/baoyachi/shadow-rs") + (synopsis "Recall properties of the build process at run time") + (description + "@code{shadow-rs} allows you to recall properties of the build process +and environment at run time. You can use this tool to check in production +exactly where a binary came from and how it was built.") + (license (list license:expat license:asl2.0)))) + +;;;; rust-chrono + +(define-public rust-chrono-0.4 + (package + (name "rust-chrono") + (version "0.4.31") + (source + (origin + (method url-fetch) + (uri (crate-uri "chrono" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0f6vg67pipm8cziad2yms6a639pssnvysk1m05dd9crymmdnhb3z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-criterion" ,rust-criterion-0.4) + ("rust-iana-time-zone" ,rust-iana-time-zone-0.1) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-num-integer" ,rust-num-integer-0.1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-pure-rust-locales" ,rust-pure-rust-locales-0.5) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-serde" ,rust-serde-1) + ("rust-time" ,rust-time-0.1) + ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-num-iter" ,rust-num-iter-0.1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3)) + #:features '("unstable-locales") + #:tests? #f)) + (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)))) + +;;;; New Package - rust-deelevate + +(define-public rust-pathsearch-0.2 + (package + (name "rust-pathsearch") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pathsearch" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-libc" ,rust-libc-0.2)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Search for files in PATH") + (home-page "https://crates.io/crates/pathsearch") + (description "Search for files in PATH.") + (license license:expat))) + +(define-public rust-filedescriptor-0.8 + (package + (name "rust-filedescriptor") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "filedescriptor" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "More ergonomic wrappers around RawFd and RawHandle") + (home-page "https://crates.io/crates/filedescriptor") + (description "More ergonomic wrappers around RawFd and RawHandle.") + (license license:expat))) + +(define-public rust-memmem-0.1 + (package + (name "rust-memmem") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "memmem" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + () + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.9)) + #:cargo-build-inputs + ())) + (synopsis "Substring searching") + (home-page "https://crates.io/crates/memmem") + (description "Substring searching.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-ordered-float-2 + (package + (inherit rust-ordered-float-3) + (name "rust-ordered-float") + (version "2.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ordered-float" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0632g8bacvras6nig1bb1ihgc560476jkrb3is6n542ll86q8vvn")))) + (arguments + `(#:skip-build? + #t + #:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-test" ,rust-serde-test-1)))))) + +(define-public rust-vtparse-0.6 + (package + (name "rust-vtparse") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "vtparse" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-utf8parse" ,rust-utf8parse-0.2)) + #:cargo-development-inputs + (("rust-k9" ,rust-k9-0.11)) + #:cargo-build-inputs + ())) + (synopsis "Low level escape sequence parser") + (home-page "https://crates.io/crates/vtparse") + (description "Low level escape sequence parser.") + (license license:expat))) + +(define-public rust-leb128-0.2 + (package + (name "rust-leb128") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "leb128" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + () + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-0.8)) + #:cargo-build-inputs + ())) + (synopsis "Read and write DWARF's \"Little Endian Base 128\" (LEB128) variable length integer +encoding") + (home-page "https://crates.io/crates/leb128") + (description "Read and write DWARF's \"Little Endian Base 128\" (LEB128) variable length integer +encoding.") + (license license:expat))) + +(define-public rust-varbincode-0.1 + (package + (name "rust-varbincode") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "varbincode" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-leb128" ,rust-leb128-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-derive" ,rust-serde-derive-1)) + #:cargo-build-inputs + ())) + (synopsis "A binary encoder / decoder with variable length integer encoding") + (home-page "https://crates.io/crates/varbincode") + (description "A binary encoder / decoder with variable length integer encoding.") + (license license:expat))) + +(define-public rust-termwiz-0.15 + (package + (name "rust-termwiz") + (version "0.15.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "termwiz" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-base64" ,rust-base64-0.13) + ("rust-bitflags" ,rust-bitflags-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-filedescriptor" ,rust-filedescriptor-0.8) + ("rust-hex" ,rust-hex-0.4) + ("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-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) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-fnv" ,rust-fnv-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6) + ("rust-varbincode" ,rust-varbincode-0.1)) + #:cargo-build-inputs + ())) + (synopsis "Terminal Wizardry for Unix and Windows") + (home-page "https://crates.io/crates/termwiz") + (description "Terminal Wizardry for Unix and Windows.") + (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)) + (sha256 + (base32 + "0f6vg67pipm8cziad2yms6a639pssnvysk1m05dd9crymmdnhb3z")))) + (build-system cargo-build-system) + (arguments + `(#: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 "Drop privileges on Windows.") + (license license:expat))) + +;;; gethostname +;;;; new package +(define-public rust-gethostname-0.4 + (package + (name "rust-gethostname") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gethostname" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-windows-targets" ,rust-windows-targets-0.48)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "gethostname for all platforms") + (home-page "https://crates.io/crates/gethostname") + (description "gethostname for all platforms.") + (license license:asl2.0))) + +;;; Gix +;;;; new packages + +(define-public rust-btoi-0.4 + (package + (name "rust-btoi") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "btoi" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.2)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1) + ("rust-quickcheck" ,rust-quickcheck-1)) + #:cargo-build-inputs + ())) + (synopsis "Parse integers directly from ASCII byte slices") + (home-page "https://crates.io/crates/btoi") + (description "Parse integers directly from ASCII byte slices.") + (license (list license:asl2.0 license:expat)))) + +;; bstr gets updated +(define-public rust-bstr-1 + (package + (name "rust-bstr") + (version "1.8.0") + (source (origin + (method url-fetch) + (uri (crate-uri "bstr" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01bvsr3x9n75klbwxym0zf939vzim0plsmy786p0zzzvrj6i9637")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-memchr" ,rust-memchr-2) + ("rust-regex-automata" ,rust-regex-automata-0.3) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-1) + ("rust-ucd-parse" ,rust-ucd-parse-0.1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)))) + (home-page "https://github.com/BurntSushi/bstr") + (synopsis "String type that is not required to be valid UTF-8") + (description + "This package provides a string type that is not required to be valid +UTF-8.") + (license (list license:expat license:asl2.0)))) + +;; time also gets updated +(define-public rust-time-0.3 + (package + (name "rust-time") + (version "0.3.30") + (source + (origin + (method url-fetch) + (uri (crate-uri "time" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hnnp3138zxk42r077jxhk1kma16bn9di1w5k3yzi3zd7wxhl9ak")) + (modules '((guix build utils))) + (snippet + '(begin (substitute* "Cargo.toml" + (("=0\\.2\\.7") "^0.2.7")))))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-itoa" ,rust-itoa-1) + ("rust-js-sys" ,rust-js-sys-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-num-threads" ,rust-num-threads-0.1) + ("rust-quickcheck" ,rust-quickcheck-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-time-core" ,rust-time-core-0.1) + ("rust-time-macros" ,rust-time-macros-0.2)))) + (home-page "https://github.com/time-rs/time") + (synopsis "Date and time library") + (description "This package provides a date and time library. It is fully +interoperable with the standard library,and is mostly compatible with +@code{#![no_std]}.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-date-0.7 + (package + (name "rust-gix-date") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-date" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-itoa" ,rust-itoa-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-time" ,rust-time-0.3) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-once-cell" ,rust-once-cell-1)) + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project parsing dates the way git does") + (home-page "https://crates.io/crates/gix-date") + (description "A crate of the gitoxide project parsing dates the way git does.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-gix-actor-0.24 + (package + (name "rust-gix-actor") + (version "0.24.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-actor" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-gix-date" ,rust-gix-date-0.7) + ("rust-itoa" ,rust-itoa-1) + ("rust-nom" ,rust-nom-7) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)) + #:cargo-build-inputs + ())) + (synopsis "A way to identify git actors") + (home-page "https://crates.io/crates/gix-actor") + (description "A way to identify git actors.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-gix-hash-0.11 + (package + (name "rust-gix-hash") + (version "0.11.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-hash" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-hex" ,rust-hex-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Borrowed and owned git hash digests used to identify git objects") + (home-page "https://crates.io/crates/gix-hash") + (description "Borrowed and owned git hash digests used to identify git objects.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-gix-trace-0.1 + (package + (name "rust-gix-trace") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-trace" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-document-features" ,rust-document-features-0.2) + ("rust-tracing-core" ,rust-tracing-core-0.1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate to provide minimal `tracing` support that can be turned off to zero cost") + (home-page "https://crates.io/crates/gix-trace") + (description "A crate to provide minimal `tracing` support that can be turned off to zero cost.") + (license (list license:asl2.0 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)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (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)) + #:cargo-build-inputs + ())) + (synopsis "Filesystem walk performed in parallel with streamed and sorted results") + (home-page "https://crates.io/crates/jwalk") + (description "Filesystem walk performed in parallel with streamed and sorted results.") + (license license:expat))) + +(define-public rust-gix-features-0.32 + (package + (name "rust-gix-features") + (version "0.32.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-features" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-bytes" ,rust-bytes-1) + ("rust-bytesize" ,rust-bytesize-1) + ("rust-crc32fast" ,rust-crc32fast-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-flate2" ,rust-flate2-1) + ("rust-jwalk" ,rust-jwalk-0.8) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha1-smol" ,rust-sha1-smol-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-development-inputs + (("rust-bstr" ,rust-bstr-1)) + #:cargo-build-inputs + ())) + (synopsis "A crate to integrate various capabilities using compile-time feature flags") + (home-page "https://crates.io/crates/gix-features") + (description "A crate to integrate various capabilities using compile-time feature flags.") + (license (list license:asl2.0 license:expat)))) + +;; Just Update +(define-public rust-home-0.5 + (package + (name "rust-home") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "home" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0m3nfcksrj784liji1c5j47dymxw2l7hqy5fj90piadnwvrawmi4")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/brson/home") + (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-gix-path-0.8 + (package + (name "rust-gix-path") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-path" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-home" ,rust-home-0.5) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)) + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project dealing paths and their conversions") + (home-page "https://crates.io/crates/gix-path") + (description "A crate of the gitoxide project dealing paths and their conversions.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-gix-glob-0.10 + (package + (name "rust-gix-glob") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-glob" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project dealing with pattern matching") + (home-page "https://crates.io/crates/gix-glob") + (description "A crate of the gitoxide project dealing with pattern matching.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-gix-quote-0.4 + (package + (name "rust-gix-quote") + (version "0.4.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-quote" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project dealing with various quotations used by git") + (home-page "https://crates.io/crates/gix-quote") + (description "A crate of the gitoxide project dealing with various quotations used by git.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-unicode-bom-2 + (package + (name "rust-unicode-bom") + (version "2.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "unicode-bom" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + () + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Unicode byte-order mark detection for files and byte arrays") + (home-page "https://crates.io/crates/unicode-bom") + (description "Unicode byte-order mark detection for files and byte arrays.") + (license license:asl2.0))) + +(define-public rust-gix-attributes-0.16 + (package + (name "rust-gix-attributes") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-attributes" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-glob" ,rust-gix-glob-0.10) + ("rust-gid-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-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-bom" ,rust-unicode-bom-2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project dealing .gitattributes files") + (home-page "https://crates.io/crates/gix-attributes") + (description "A crate of the gitoxide project dealing .gitattributes files.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-gix-chunk-0.4 + (package + (name "rust-gix-chunk") + (version "0.4.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-chunk" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Interact with the git chunk file format used in multi-pack index and commit-graph +files") + (home-page "https://crates.io/crates/gix-chunk") + (description "Interact with the git chunk file format used in multi-pack index and commit-graph +files.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-commitgraph-0.18 + (package + (name "rust-gix-commitgraph") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-commitgraph" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-chunk" ,rust-gix-chunk-0.4) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Read-only access to the git commitgraph file format") + (home-page "https://crates.io/crates/gix-commitgraph") + (description "Read-only access to the git commitgraph file format.") + (license (list license:expat license:asl2.0)))) + +;; Just update +(define-public rust-winnow-0.5 + (package + (name "rust-winnow") + (version "0.5.28") + (source (origin + (method url-fetch) + (uri (crate-uri "winnow" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0a2b9f0n6fpn2a88jfbp1kdjj6xrhvf8arnny67qsjb6djrp12df")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Cut the dependency graph. + #:cargo-inputs + (("rust-anstyle" ,rust-anstyle-0.2) + ("rust-concolor" ,rust-concolor-0.0.8) + ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-terminal-size" ,rust-terminal-size-0.2)))) + (home-page "https://github.com/winnow-rs/winnow") + (synopsis "Byte-oriented,zero-copy,parser combinators library") + (description "This package provides a byte-oriented,zero-copy,parser +combinators library.") + (license license:expat))) + +(define-public rust-gix-config-value-0.12 + (package + (name "rust-gix-config-value") + (version "0.12.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config-value" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project providing git-config value parsing") + (home-page "https://crates.io/crates/gix-config-value") + (description "A crate of the gitoxide project providing git-config value parsing.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-fs-0.4 + (package + (name "rust-gix-fs") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-fs" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-features" ,rust-gix-features-0.32)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)) + #:cargo-build-inputs + ())) + (synopsis "A crate providing file system specific utilities to `gitoxide`") + (home-page "https://crates.io/crates/gix-fs") + (description "A crate providing file system specific utilities to `gitoxide`.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-tempfile-7 + (package + (name "rust-gix-tempfile") + (version "7.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-tempfile" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-fs" ,rust-gix-fs-0.4) + ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-dashmap" ,rust-dashmap-5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-signal-hook" ,rust-signal-hook-0.3) + ("rust-signal-hook-registry" ,rust-signal-hook-registry-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A tempfile implementation with a global registry to assure cleanup") + (home-page "https://crates.io/crates/gix-tempfile") + (description "A tempfile implementation with a global registry to assure cleanup.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-utils-0.1 + (package + (name "rust-gix-utils") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-utils" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-fastrand" ,rust-fastrand-2)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate with `gitoxide` utilities that don't need feature toggles") + (home-page "https://crates.io/crates/gix-utils") + (description "A crate with `gitoxide` utilities that don't need feature toggles.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-lock-7 + (package + (name "rust-gix-lock") + (version "7.0.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-lock" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-tempfile" ,rust-gix-tempfile-7) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)) + #:cargo-build-inputs + ())) + (synopsis "A git-style lock-file implementation") + (home-page "https://crates.io/crates/gix-lock") + (description "A git-style lock-file implementation.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-validate-0.7 + (package + (name "rust-gix-validate") + (version "0.7.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-validate" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Validation functions for various kinds of names in git") + (home-page "https://crates.io/crates/gix-validate") + (description "Validation functions for various kinds of names in git.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-iota-1 + (package + (name "rust-iota") + (version "1.0.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "iota" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-no-panic" ,rust-no-panic-0.1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Fast integer primitive to string conversion") + (home-page "https://crates.io/crates/iota") + (description "Fast integer primitive to string conversion.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-object-0.33 + (package + (name "rust-gix-object") + (version "0.33.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-object" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-gix-actor" ,rust-gix-actor-0.24) + ("rust-gix-date" ,rust-gix-date-0.7) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-validate" ,rust-gix-validate-0.7) + ("rust-hex" ,rust-hex-0.4) + ("rust-iota" ,rust-iota-1) + ("rust-nom" ,rust-nom-7) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-1)) + #:cargo-build-inputs + ())) + (synopsis "Immutable and mutable git objects with decoding and encoding support") + (home-page "https://crates.io/crates/gix-object") + (description "Immutable and mutable git objects with decoding and encoding support.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-ref-0.33 + (package + (name "rust-gix-ref") + (version "0.33.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ref" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-actor" ,rust-gix-actor-0.24) + ("rust-gix-date" ,rust-gix-date-0.7) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-fs" ,rust-gix-fs-0.4) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-lock" ,rust-gix-lock-7) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-tempfile" ,rust-gix-tempfile-7) + ("rust-gix-validate" ,rust-gix-validate-0.7) + ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-nom" ,rust-nom-7) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)) + #:cargo-build-inputs + ())) + (synopsis "A crate to handle git references") + (home-page "https://crates.io/crates/gix-ref") + (description "A crate to handle git references.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-sec-0.8 + (package + (name "rust-gix-sec") + (version "0.8.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-sec" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-libc" ,rust-libc-0.2) + ("rust-windows" ,rust-windows-0.52) + ("rust-document-features" ,rust-document-features-0.2) + (("rust-serde" ,rust-serde-1))) + #:cargo-development-inputs + (("rust-tempfile" ,rust-tempfile-3)) + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project providing a shared trust model") + (home-page "https://crates.io/crates/gix-sec") + (description "A crate of the gitoxide project providing a shared trust model.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-config-0.26 + (package + (name "rust-gix-config") + (version "0.26.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-config" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-config-value" ,rust-gix-config-value-0.12) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-glob" ,rust-gix-glob-0.10) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-ref" ,rust-gix-ref-0.33) + ("rust-gix-sec" ,rust-gix-sec-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-memchr" ,rust-memchr-2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-unicode-bom" ,rust-unicode-bom-2) + ("rust-winnow" ,rust-winnow-0.5) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5)) + #:cargo-build-inputs + ())) + (synopsis "A git-config file parser and editor from the gitoxide project") + (home-page "https://crates.io/crates/gix-config") + (description "A git-config file parser and editor from the gitoxide project.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-command-0.2 + (package + (name "rust-gix-command") + (version "0.2.10") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-command" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project handling internal git command execution") + (home-page "https://crates.io/crates/gix-command") + (description "A crate of the gitoxide project handling internal git command execution.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-conpty-0.5 + (package + (name "rust-conpty") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "conpty" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-windows" ,rust-windows-0.46)) + #:cargo-development-inputs + (("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)) + #:cargo-build-inputs + ())) + (synopsis "A library which provides an interface for ConPTY") + (home-page "https://crates.io/crates/conpty") + (description "A library which provides an interface for ConPTY.") + (license license:expat))) + +(define-public rust-ptyprocess-0.4 + (package + (name "rust-ptyprocess") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ptyprocess" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-nix" ,rust-nix-0.26)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A library to work with PTY/TTY on Unix systems") + (home-page "https://crates.io/crates/ptyprocess") + (description "A library to work with PTY/TTY on Unix systems.") + (license license:expat))) + +;; Just update +(define-public rust-blocking-1 + (package + (name "rust-blocking") + (version "1.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "blocking" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s9myg9gqmwzrbc38p23bh4vkc8w4pbpddqrcrrl1xz1xpdp1qf5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-async-channel" ,rust-async-channel-1) + ("rust-async-task" ,rust-async-task-4) + ("rust-atomic-waker" ,rust-atomic-waker-1) + ("rust-fastrand" ,rust-fastrand-1) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-once-cell" ,rust-once-cell-1)))) + (home-page "https://github.com/stjepang/blocking") + (synopsis "Thread pool for isolating blocking I/O in async programs") + (description + "This package provides a thread pool for isolating blocking I/O in async +programs.") + (license (list license:asl2.0 license:expat)))) + +;; Just update +(define-public rust-polling-2 + (package + (name "rust-polling") + (version "2.8.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "polling" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1r5xm3f6qs84ibg09nw1cz78r883521l3jaiakj35ri959mvr9x2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-wepoll-sys" ,rust-wepoll-sys-3) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-easy-parallel" ,rust-easy-parallel-3)))) + (home-page "https://github.com/stjepang/polling") + (synopsis "Portable interface to epoll, kqueue, event ports, and wepoll") + (description + "This package provides a portable interface to @code{epoll}, +@code{kqueue}, @code{event ports}, and @code{wepoll}.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-expectrl-0.7 + (package + (name "rust-expectrl") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "expectrl" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-conpty" ,rust-conpty-0.5) + ("rust-nix" ,rust-nix-0.26) + ("rust-ptyprocess" ,rust-ptyprocess-0.4) + ("rust-regex" ,rust-regex-1) + ("rust-async-io" ,rust-async-io-1) + ("rust-blocking" ,rust-blocking-1) + ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-futures-lite" ,rust-futures-lite-1) + ("rust-futures-timer" ,rust-futures-timer-3) + ("rust-polling" ,rust-polling-2)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A tool for automating terminal applications in Unix like Don libes expect") + (home-page "https://crates.io/crates/expectrl") + (description "A tool for automating terminal applications in Unix like Don libes expect.") + (license license:expat))) + +(define-public rust-gix-prompt-0.5 + (package + (name "rust-gix-prompt") + (version "0.5.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-prompt" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-config-value" ,rust-gix-config-value-0.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)) + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project for handling prompts in the terminal") + (home-page "https://crates.io/crates/gix-prompt") + (description "A crate of the gitoxide project for handling prompts in the terminal.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-url-0.21 + (package + (name "rust-gix-url") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-url" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-home" ,rust-home-0.5) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-url" ,rust-url-2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project implementing parsing and serialization of gix-url") + (home-page "https://crates.io/crates/gix-url") + (description "A crate of the gitoxide project implementing parsing and serialization of +gix-url.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-credentials-0.17 + (package + (name "rust-gix-credentials") + (version "0.17.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-credentials" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("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.21) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project to interact with git credentials helpers") + (home-page "https://crates.io/crates/gix-credentials") + (description "A crate of the gitoxide project to interact with git credentials helpers.") + (license (list license:expat license:asl2.0)))) + +#;(define-public rust-git-repository-0.25 + (package + (name "rust-git-repository") + (version "0.25.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "git-repository" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-byte-unit" ,rust-byte-unit-4) + ("rust-clru" ,rust-clru-0.5) + ("rust-git-actor" ,rust-git-actor-0.13) + ("rust-git-attributes" ,rust-git-attributes-0.5) + ("rust-git-config" ,rust-git-config-0.9) + ("rust-git-credentials" ,rust-git-credentials-0.6) + ("rust-git-date" ,rust-git-date-0.2) + ("rust-git-diff" ,rust-git-diff-0.20) + ("rust-git-discover" ,rust-git-discover-0.6) + ("rust-git-features" ,rust-git-features-0.23) + ("rust-git-glob" ,rust-git-glob-0.4) + ("rust-git-hash" ,rust-git-hash-0.9) + ("rust-git-index" ,rust-git-index-0.6) + ("rust-git-lock" ,rust-git-lock-2) + ("rust-git-mailmap" ,rust-git-mailmap-0.5) + ("rust-git-object" ,rust-git-object-0.22) + ("rust-git-odb" ,rust-git-odb-0.34) + ("rust-git-pack" ,rust-git-pack-0.24) + ("rust-git-path" ,rust-git-path-0.5) + ("rust-git-prompt" ,rust-git-prompt-0.1) + ("rust-git-ref" ,rust-git-ref-0.17) + ("rust-git-refspec" ,rust-git-refspec-0.3) + ("rust-git-revision" ,rust-git-revision-0.6) + ("rust-git-sec" ,rust-git-sec-0.4) + ("rust-git-tempfile" ,rust-git-tempfile-2) + ("rust-git-traverse" ,rust-git-traverse-0.18) + ("rust-git-url" ,rust-git-url-0.10) + ("rust-git-validate" ,rust-git-validate-0.6) + ("rust-git-worktree" ,rust-git-worktree-0.6) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-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) + ("rust-async-std" ,rust-async-std-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-git-prodocol" ,rust-git-prodocol-0.21) + ("rust-git-transport" ,rust-git-transport-0.21) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-is-ci" ,rust-is-ci-1) + ("rust-serial-test" ,rust-serial-test-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-walkdir" ,rust-walkdir-2)) + #:cargo-build-inputs + ())) + (synopsis "This crate is now named 'gix' and not available under this name anymore") + (home-page "https://crates.io/crates/git-repository") + (description "This crate is now named 'gix' and not available under this name anymore.") + (license license:asl2.0))) + +(define-public rust-imara-diff-0.1 + (package + (name "rust-imara-diff") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "imara-diff" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ahash" ,rust-ahash-0.8) + ("rust-hashbrown" ,rust-hashbrown-0.12)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-expect-test" ,rust-expect-test-1) + #;("rust-git-repository" ,rust-git-repository-0.25) + ("rust-gix" ,rust-gix-0.50) + ("rust-similar" ,rust-similar-2)) + #:cargo-build-inputs + ())) + (synopsis "Minimal terminfo libary") + (home-page "https://crates.io/crates/imara-diff") + (description "Minimal terminfo libary.") + (license license:asl2.0))) + +(define-public rust-gix-diff-0.33 + (package + (name "rust-gix-diff") + (version "0.33.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-diff" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-imara-diff" ,rust-imara-diff-0.1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-getrandom" ,rust-getrandom-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Calculate differences between various git objects") + (home-page "https://crates.io/crates/gix-diff") + (description "Calculate differences between various git objects.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-defer-0.1 + (package + (name "rust-defer") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "defer" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + () + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Utility to defer excecution of code, inspired by go's defer statement") + (home-page "https://crates.io/crates/defer") + (description "Utility to defer excecution of code, inspired by go's defer statement.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-discover-0.22 + (package + (name "rust-gix-discover") + (version "0.22.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-discover" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-dunce" ,rust-dunce-1) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-ref" ,rust-gix-ref-0.33) + ("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-1) + ("rust-tempfile" ,rust-tempfile-3)) + #:cargo-build-inputs + ())) + (synopsis "Discover git repositories and check if a directory is a git repository") + (home-page "https://crates.io/crates/gix-discover") + (description "Discover git repositories and check if a directory is a git repository.") + (license (list license:expat license:asl2.0)))) + +;; Downgrade +(define-public rust-rustc-hex-1 + (package + (name "rust-rustc-hex") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mkjy2vbn5kzg67wgngwddlk4snmd8mkjkql2dzrzzfh6ajzcx9y")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/debris/rustc-hex") + (synopsis "@code{rustc-serialize} compatible hex conversion traits") + (description "This Rust library provides @code{rustc-serialize} compatible +hex conversion traits.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-faster-hex-0.8 + (package + (name "rust-faster-hex") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "faster-hex" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-hex" ,rust-hex-0.3) + ("rust-proptest" ,rust-proptest-1) + ("rust-rustc-hex" ,rust-rustc-hex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)) + #:cargo-build-inputs + ())) + (synopsis "Fast hex encoding") + (home-page "https://crates.io/crates/faster-hex") + (description "Fast hex encoding.") + (license license:expat))) + +(define-public rust-gix-packetline-blocking-0.16 + (package + (name "rust-gix-packetline-blocking") + (version "0.16.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-packetline-blocking" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-faster-hex" ,rust-faster-hex-0.8) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A duplicate of `gix-packetline` with the `blocking-io` feature pre-selected") + (home-page "https://crates.io/crates/gix-packetline-blocking") + (description "A duplicate of `gix-packetline` with the `blocking-io` feature pre-selected.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-filter-0.2 + (package + (name "rust-gix-filter") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-filter" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-encoding-rs" ,rust-encoding-rs-0.8) + ("rust-gix-attributes" ,rust-gix-attributes-0.16) + ("rust-gix-command" ,rust-gix-command-0.2) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-gix-packetline-blocking" ,rust-gix-packetline-blocking-0.16) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-once-cell" ,rust-once-cell-1)) + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project implementing git filters") + (home-page "https://crates.io/crates/gix-filter") + (description "A crate of the gitoxide project implementing git filters.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-hashtable-0.2 + (package + (name "rust-gix-hashtable") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-hashtable" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-hashbrown" ,rust-hashbrown-0.14) + ("rust-parking-lot" ,rust-parking-lot-0.12)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate that provides hashtable based data structures optimized to utilize ObjectId +keys") + (home-page "https://crates.io/crates/gix-hashtable") + (description "A crate that provides hashtable based data structures optimized to utilize +ObjectId keys.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-ignore-0.5 + (package + (name "rust-gix-ignore") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-ignore" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-glob" ,rust-gix-glob-0.10) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-unicode-bom" ,rust-unicode-bom-2) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project dealing .gitignore files") + (home-page "https://crates.io/crates/gix-ignore") + (description "A crate of the gitoxide project dealing .gitignore files.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-bitmap-0.2 + (package + (name "rust-gix-bitmap") + (version "0.2.8") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-bitmap" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project dedicated implementing the standard git bitmap +format") + (home-page "https://crates.io/crates/gix-bitmap") + (description "A crate of the gitoxide project dedicated implementing the standard git bitmap +format.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-revwalk-0.4 + (package + (name "rust-gix-revwalk") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-revwalk" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.18) + ("rust-gix-date" ,rust-gix-date-0.7) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate providing utilities for walking the revision graph") + (home-page "https://crates.io/crates/gix-revwalk") + (description "A crate providing utilities for walking the revision graph.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-traverse-0.30 + (package + (name "rust-gix-traverse") + (version "0.30.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-traverse" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-commitgraph" ,rust-gix-commitgraph-0.18) + ("rust-gix-date" ,rust-gix-date-0.7) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.4) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project") + (home-page "https://crates.io/crates/gix-traverse") + (description "A crate of the gitoxide project.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-index-0.21 + (package + (name "rust-gix-index") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-index" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-bstr" ,rust-bstr-1) + ("rust-btoi" ,rust-btoi-0.4) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-gix-bitmap" ,rust-gix-bitmap-0.2) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-fs" ,rust-gix-fs-0.4) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-lock" ,rust-gix-lock-7) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-gix-traverse" ,rust-gix-traverse-0.30) + ("rust-itoa" ,rust-itoa-1) + ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A work-in-progress crate of the gitoxide project dedicated implementing the git index +file") + (home-page "https://crates.io/crates/gix-index") + (description "A work-in-progress crate of the gitoxide project dedicated implementing the git +index file.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-mailmap-0.16 + (package + (name "rust-gix-mailmap") + (version "0.16.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-mailmap" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bstr" ,rust-bstr-1) + ("rust-gix-actor" ,rust-gix-actor-0.24) + ("rust-gix-date" ,rust-gix-date-0.7) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project for parsing mailmap files") + (home-page "https://crates.io/crates/gix-mailmap") + (description "A crate of the gitoxide project for parsing mailmap files.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-negotiate-0.5 + (package + (name "rust-gix-negotiate") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-negotiate" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.18) + ("rust-gix-date" ,rust-gix-date-0.7) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-gix-revwalk" ,rust-gix-revwalk-0.4) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A crate of the gitoxide project implementing negotiation algorithms") + (home-page "https://crates.io/crates/gix-negotiate") + (description "A crate of the gitoxide project implementing negotiation algorithms.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-clru-0.6 + (package + (name "rust-clru") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "clru" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + () + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "An LRU cache implementation with constant time operations and weighted semantic") + (home-page "https://crates.io/crates/clru") + (description "An LRU cache implementation with constant time operations and weighted semantic.") + (license license:expat))) + +(define-public rust-uluru-3 + (package + (name "rust-uluru") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "uluru" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arrayvec" ,rust-arrayvec-0.7)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "A simple, fast, LRU cache implementation") + (home-page "https://crates.io/crates/uluru") + (description "A simple, fast, LRU cache implementation.") + (license license:mpl2.0))) + +(define-public rust-gix-pack-0.40 + (package + (name "rust-gix-pack") + (version "0.40.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-pack" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-chunk" ,rust-gix-chunk-0.4) + ("rust-gix-diff" ,rust-gix-diff-0.33) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-tempfile" ,rust-gix-tempfile-7) + ("rust-gix-traverse" ,rust-gix-traverse-0.30) + ("rust-memmap2" ,rust-memmap2-0.7) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-clru" ,rust-clru-0.6) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-1) + ("rust-uluru" ,rust-uluru-3)) + #:cargo-development-inputs + () + #:cargo-build-inputs + ())) + (synopsis "Implements git packs and related data structures") + (home-page "https://crates.io/crates/gix-pack") + (description "Implements git packs and related data structures.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-odb-0.50 + (package + (name "rust-gix-odb") + (version "0.50.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix-odb" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-gix-date" ,rust-gix-date-0.7) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-git-pack" ,rust-gix-pack-0.40) + ("rust-git-path" ,rust-gix-path-0.8) + ("rust-gix-quote" ,rust-gix-quote-0.4) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-serde" ,rust-serde-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)) + #:cargo-build-inputs + ())) + (synopsis "Implements various git object databases") + (home-page "https://crates.io/crates/gix-odb") + (description "Implements various git object databases.") + (license (list license:expat license:asl2.0)))) + +(define-public rust-gix-0.50 + (package + (name "rust-gix") + (version "0.50.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gix" version)) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-gix-actor" ,rust-gix-actor-0.24) + ("rust-gix-attributes" ,rust-gix-attributes-0.16) + ("rust-gix-commitgraph" ,rust-gix-commitgraph-0.18) + ("rust-gix-config" ,rust-gix-config-0.26) + ("rust-gix-credentials" ,rust-gix-credentials-0.17) + ("rust-gix-date" ,rust-gix-date-0.7) + ("rust-gix-diff" ,rust-gix-diff-0.33) + ("rust-gix-discover" ,rust-gix-discover-0.22) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-gix-filter" ,rust-gix-filter-0.2) + ("rust-gix-fs" ,rust-gix-fs-0.4) + ("rust-gix-glob" ,rust-gix-glob-0.10) + ("rust-gix-hash" ,rust-gix-hash-0.11) + ("rust-gix-hashtable" ,rust-gix-hashtable-0.2) + ("rust-gix-ignore" ,rust-gix-ignore-0.5) + ("rust-gix-index" ,rust-gix-index-0.21) + ("rust-gix-lock" ,rust-gix-lock-7) + ("rust-gix-mailmap" ,rust-gix-mailmap-0.16) + ("rust-gix-negotiate" ,rust-gix-negotiate-0.5) + ("rust-gix-object" ,rust-gix-object-0.33) + ("rust-gix-odb" ,rust-gix-odb-0.50) + ("rust-gix-pack" ,rust-gix-pack-0.40) + ("rust-gix-path" ,rust-gix-path-0.8) + ("rust-gix-prompt" ,rust-gix-prompt-0.5) + ("rust-gix-ref" ,rust-gix-ref-0.33) + ("rust-gix-refspec" ,rust-gix-refspec-0.14) + ("rust-gix-revision" ,rust-gix-revision-0.18) + ("rust-gix-sec" ,rust-gix-sec-0.8) + ("rust-gix-tempfile" ,rust-gix-tempfile-7) + ("rust-gix-trace" ,rust-gix-trace-0.1) + ("rust-gix-traverse" ,rust-gix-traverse-0.30) + ("rust-gix-url" ,rust-gix-url-0.21) + ("rust-gix-utils" ,rust-gix-utils-0.1) + ("rust-gix-validate" ,rust-gix-validate-0.7) + ("rust-gix-worktree" ,rust-gix-worktree-0.23) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-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)) + #:cargo-build-inputs + ())) + (synopsis "Interact with git repositories just like git would") + (home-page "https://crates.io/crates/gix") + (description "Interact with git repositories just like git would.") + (license (list license:asl2.0 license:expat)))) + +;;; Starship + +(define-public rust-starship + (package + (name "rust-starship") + (version "1.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "starship" version)) + (sha256 + (base32 + "19v0fv400bmp4niqpzxnhg83vz12mmqv7l2l8vi80qcdxj0lpm8w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-mockall" ,rust-mockall-0.11) + ("rust-tempfile" ,rust-tempfile-3)) + #:cargo-build-inputs + (("rust-dunce" ,rust-dunce-1) + ("rust-shadow-rs" ,rust-shadow-rs-0.23) + ("rust-winres" ,rust-winres-0.1)) + #: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-next" ,rust-dirs-next-2) + ("rust-dunce" ,rust-dunce-1) + ("rust-gethostname" ,rust-gethostname-0.4) + ("rust-gix" ,rust-gix-0.5) + ("rust-guess-host-triple" ,rust-guess-host-triple-0.1) + ("rust-home" ,rust-home-0.5) + ("rust-indexmap" ,rust-indexmap-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.26) + ("rust-nu-ansi-term" ,rust-nu-ansi-term-0.49) + ("rust-once-cell" ,rust-once-cell-1) + ("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-4) + ("rust-quick-xml" ,rust-quick-xml-0.30) + ("rust-rand" ,rust-rand-0.8) + ("rust-rayon" ,rust-rayon-1) + ("rust-regex" ,rust-regex-1) + ("rust-rust-ini" ,rust-rust-ini-0.19) + ("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.23) + ("rust-shell-words" ,rust-shell-words-1) + ("rust-strsim" ,rust-strsim-0.10) + ("rust-systemstat" ,rust-systemstat-0.2.3) + ("rust-terminal-size" ,rust-terminal-size-0.2) + ("rust-toml" ,rust-toml-0.7) + ("rust-toml-edit" ,rust-toml-edit-0.19) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-urlencoding" ,rust-urlencoding-2) + ("rust-versions" ,rust-versions-5) + ("rust-which" ,rust-which-4) + ("rust-windows" ,rust-windows-0.52) + ("rust-yaml-rust" ,rust-yaml-rust-0.4) + ("rust-gix-features" ,rust-gix-features-0.32) + ("rust-notify-rust" ,rust-notify-rust-4) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-starship-battery" ,rust-starship-battery)))) + (home-page "https://starship.rs/") + (synopsis "The minimal,blazing-fast,and infinitely customizable prompt for any shell!") + (description "The minimal,blazing-fast,and infinitely customizable prompt for any shell!") (license license:expat)))