* [bug#72467] [PATCH 0/7] Add complgen.
@ 2024-08-04 16:36 Suhail Singh
2024-08-04 16:39 ` [bug#72467] [PATCH 1/7] gnu: Add rust-chic-1 Suhail Singh
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Suhail Singh @ 2024-08-04 16:36 UTC (permalink / raw)
To: 72467; +Cc: Efraim Flashner
Hi Guix,
This patch series adds complgen, which is a tool to generate shell
completions using a grammar definition.
Cheers
Suhail (7):
gnu: Add rust-chic-1.
gnu: Add rust-nom-locate-4.
gnu: Add rust-railroad-0.2.
gnu: Add rust-roaring-0.10.
gnu: Add rust-slice-group-by-0.3.
gnu: Add rust-ustr-0.9.
gnu: Add complgen.
gnu/packages/crates-io.scm | 388 +++++++++++++++++++++++++++++++++++++
gnu/packages/rust-apps.scm | 44 +++++
2 files changed, 432 insertions(+)
base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8
--
2.46.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#72467] [PATCH 1/7] gnu: Add rust-chic-1.
2024-08-04 16:36 [bug#72467] [PATCH 0/7] Add complgen Suhail Singh
@ 2024-08-04 16:39 ` Suhail Singh
2024-08-04 16:42 ` [bug#72467] [PATCH 2/7] gnu: Add rust-nom-locate-4 Suhail Singh
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Suhail Singh @ 2024-08-04 16:39 UTC (permalink / raw)
To: 72467; +Cc: Efraim Flashner
* gnu/packages/crates-io.scm (rust-chic-1): New variable.
(rust-annotate-snippets-0.6): New variable.
Change-Id: Ibf939b8a15a9135a66bf41e3a39ed1c25c32dbaf
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 22c6136852..757bdfe3f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1727,6 +1727,27 @@ (define-public rust-annotate-snippets-0.9
("rust-toml" ,rust-toml-0.5)
("rust-yansi-term" ,rust-yansi-term-0.1))))))
+(define-public rust-annotate-snippets-0.6
+ (package
+ (name "rust-annotate-snippets")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "annotate-snippets" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19x7ldklprdgf8pam8b3lfhrxqw5yldcvk5j0bw2agsajbj1q0n7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.11))))
+ (home-page "https://github.com/rust-lang/annotate-snippets-rs")
+ (synopsis "Library for building code annotations")
+ (description
+ "This package provides Library for building code annotations.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-ansi-parser-0.8
(package
(name "rust-ansi-parser")
@@ -12259,6 +12280,25 @@ (define-public rust-chrono-0.4
(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")
--
2.46.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72467] [PATCH 2/7] gnu: Add rust-nom-locate-4.
2024-08-04 16:36 [bug#72467] [PATCH 0/7] Add complgen Suhail Singh
2024-08-04 16:39 ` [bug#72467] [PATCH 1/7] gnu: Add rust-chic-1 Suhail Singh
@ 2024-08-04 16:42 ` Suhail Singh
2024-08-04 16:43 ` [bug#72467] [PATCH 3/7] gnu: Add rust-railroad-0.2 Suhail Singh
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Suhail Singh @ 2024-08-04 16:42 UTC (permalink / raw)
To: 72467; +Cc: Efraim Flashner
* gnu/packages/crates-io.scm (rust-nom-locate-4): New variable.
Change-Id: I5237f0b6e3463bbd5cd2048060334f88cf75d27a
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 757bdfe3f1..d1bd708f64 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46698,6 +46698,29 @@ (define-public rust-nom-derive-impl-0.10
(description "This package provides custom derive nom parsers from structs.")
(license (list license:expat license:asl2.0))))
+(define-public rust-nom-locate-4
+ (package
+ (name "rust-nom-locate")
+ (version "4.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nom_locate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wx87c2pm84h63rb4rsjrqzgx574x1zy93av1jk3swdhag086g0y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytecount" ,rust-bytecount-0.6)
+ ("rust-memchr" ,rust-memchr-1)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))))
+ (home-page "https://github.com/fflorent/nom_locate")
+ (synopsis "special input type for nom to locate tokens")
+ (description
+ "This package provides a special input type for nom to locate tokens.")
+ (license license:expat)))
+
(define-public rust-nonempty-0.7
(package
(name "rust-nonempty")
--
2.46.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72467] [PATCH 3/7] gnu: Add rust-railroad-0.2.
2024-08-04 16:36 [bug#72467] [PATCH 0/7] Add complgen Suhail Singh
2024-08-04 16:39 ` [bug#72467] [PATCH 1/7] gnu: Add rust-chic-1 Suhail Singh
2024-08-04 16:42 ` [bug#72467] [PATCH 2/7] gnu: Add rust-nom-locate-4 Suhail Singh
@ 2024-08-04 16:43 ` Suhail Singh
2024-08-04 16:43 ` [bug#72467] [PATCH 4/7] gnu: Add rust-roaring-0.10 Suhail Singh
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Suhail Singh @ 2024-08-04 16:43 UTC (permalink / raw)
To: 72467; +Cc: Efraim Flashner
* gnu/packages/crates-io.scm (rust-railroad-0.2): New variable.
(rust-railroad-verification-0.1): New variable.
Change-Id: If4a5b474cff1e78ff156b56e4192842e1b20155b
---
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1bd708f64..2007a1586a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60079,6 +60079,51 @@ (define-public rust-radix-trie-0.2
learnt from TrieMap and Sequence Trie.")
(license license:expat)))
+(define-public rust-railroad-0.2
+ (package
+ (name "rust-railroad")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "railroad" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08y86hb3vp0i9k9dkz3lbfhrd8x051f6pcg3p87z65ss3shdmzh1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-htmlescape" ,rust-htmlescape-0.3)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-railroad-verification" ,rust-railroad-verification-0.1))))
+ (home-page "https://github.com/lukaslueg/railroad")
+ (synopsis "library to create syntax-diagrams as Scalable Vector Graphics")
+ (description
+ "This package provides a library to create syntax-diagrams as Scalable Vector
+Graphics.")
+ (license license:expat)))
+
+(define-public rust-railroad-verification-0.1
+ (package
+ (name "rust-railroad-verification")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "railroad_verification" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "131qx7xjs06gmna8xvnw6js31y9wmhayaiykssv45qrh3gr7c9dr"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/lukaslueg/railroad-verification")
+ (synopsis "Common verification against SVG11-DTD for `railroad`")
+ (description
+ "This package provides Common verification against SVG11-DTD for `railroad`.")
+ (license license:expat)))
+
(define-public rust-rand-0.8
(package
(name "rust-rand")
--
2.46.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72467] [PATCH 4/7] gnu: Add rust-roaring-0.10.
2024-08-04 16:36 [bug#72467] [PATCH 0/7] Add complgen Suhail Singh
` (2 preceding siblings ...)
2024-08-04 16:43 ` [bug#72467] [PATCH 3/7] gnu: Add rust-railroad-0.2 Suhail Singh
@ 2024-08-04 16:43 ` Suhail Singh
2024-08-04 16:44 ` [bug#72467] [PATCH 5/7] gnu: Add rust-slice-group-by-0.3 Suhail Singh
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Suhail Singh @ 2024-08-04 16:43 UTC (permalink / raw)
To: 72467; +Cc: Efraim Flashner
* gnu/packages/crates-io.scm (rust-roaring-0.10): New variable.
(rust-retain-mut-0.1.7): New variable.
Change-Id: I71b582e85384caecbfff08f3b4fbac899e71255b
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2007a1586a..16b5c7dc6f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62689,6 +62689,19 @@ (define-public rust-retain-mut-0.1
functionality as retain but gives mutable borrow to the predicate.")
(license license:expat)))
+(define-public rust-retain-mut-0.1.7
+ (package
+ (inherit rust-retain-mut-0.1)
+ (name "rust-retain-mut")
+ (version "0.1.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "retain_mut" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11j09lp1wqwc2r9bw58my2474zj95jz5fihff3ldv3rz0g2baccc"))))))
+
(define-public rust-rfc2047-decoder-0.2
(package
(name "rust-rfc2047-decoder")
@@ -62999,6 +63012,32 @@ (define-public rust-roadmap-0.5
(description "Model a project roadmap as a directed acyclic graph.")
(license license:expat-0)))
+(define-public rust-roaring-0.10
+ (package
+ (name "rust-roaring")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "roaring" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wcgprdw49xy7w00zzspbhrq8f1kvlwqasmfxh8y1gd84vlba3zg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-retain-mut" ,rust-retain-mut-0.1.7)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://github.com/RoaringBitmap/roaring-rs")
+ (synopsis "better compressed bitset - pure Rust implementation")
+ (description
+ "This package provides a better compressed bitset - pure Rust implementation.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rodio-0.15
(package
(name "rust-rodio")
--
2.46.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72467] [PATCH 5/7] gnu: Add rust-slice-group-by-0.3.
2024-08-04 16:36 [bug#72467] [PATCH 0/7] Add complgen Suhail Singh
` (3 preceding siblings ...)
2024-08-04 16:43 ` [bug#72467] [PATCH 4/7] gnu: Add rust-roaring-0.10 Suhail Singh
@ 2024-08-04 16:44 ` Suhail Singh
2024-08-04 16:44 ` [bug#72467] [PATCH 6/7] gnu: Add rust-ustr-0.9 Suhail Singh
2024-08-04 16:46 ` [bug#72467] [PATCH 7/7] gnu: Add complgen Suhail Singh
6 siblings, 0 replies; 9+ messages in thread
From: Suhail Singh @ 2024-08-04 16:44 UTC (permalink / raw)
To: 72467; +Cc: Efraim Flashner
* gnu/packages/crates-io.scm (rust-slice-group-by-0.3): New variable.
Change-Id: Ib044c37db12f93a9ebe1cd1457055ef1c3b5d763
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16b5c7dc6f..5476688197 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71862,6 +71862,26 @@ (define-public rust-slice-deque-0.2
("rust-mach" ,rust-mach-0.2)
("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-slice-group-by-0.3
+ (package
+ (name "rust-slice-group-by")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "slice-group-by" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19vbyyxqvc25fv2dmhlxijlk5sa9j34yb6hyydb9vf89kh36fqc2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs (("rust-rand" ,rust-rand-0.6))))
+ (home-page "https://github.com/Kerollmops/slice-group-by")
+ (synopsis "Iterators over groups in slices and strs")
+ (description
+ "This package provides Iterators over groups in slices and strs.")
+ (license license:expat)))
+
(define-public rust-slog-2
(package
(name "rust-slog")
--
2.46.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72467] [PATCH 6/7] gnu: Add rust-ustr-0.9.
2024-08-04 16:36 [bug#72467] [PATCH 0/7] Add complgen Suhail Singh
` (4 preceding siblings ...)
2024-08-04 16:44 ` [bug#72467] [PATCH 5/7] gnu: Add rust-slice-group-by-0.3 Suhail Singh
@ 2024-08-04 16:44 ` Suhail Singh
2024-08-04 16:46 ` [bug#72467] [PATCH 7/7] gnu: Add complgen Suhail Singh
6 siblings, 0 replies; 9+ messages in thread
From: Suhail Singh @ 2024-08-04 16:44 UTC (permalink / raw)
To: 72467; +Cc: Efraim Flashner
* gnu/packages/crates-io.scm (rust-bindgen-0.53): New variable.
(rust-cexpr-0.2): New variable.
(rust-clang-sys-0.23): New variable.
(rust-fasthash-0.4): New variable.
(rust-fasthash-sys-0.3): New variable.
(rust-spin-0.7): New variable.
(rust-string-cache-shared-0.3): New variable.
(rust-ustr-0.9): New variable.
(rust-which-1): New variable.
(rust-xoroshiro128-0.3): New variable.
Change-Id: I69588de3aa84215f613500a14851be7d1754463f
---
gnu/packages/crates-io.scm | 221 +++++++++++++++++++++++++++++++++++++
1 file changed, 221 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5476688197..148e474993 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7572,6 +7572,34 @@ (define-public rust-bindgen-0.53
("rust-diff" ,rust-diff-0.1)
("rust-shlex" ,rust-shlex-0.1))))))
+(define-public rust-bindgen-0.37
+ (package
+ (inherit rust-bindgen-0.53)
+ (name "rust-bindgen")
+ (version "0.37.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08f2cyzr8fc027mzj2lhmn5j3w318g2ql7yfw5ngxa3yhy1an98v"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cexpr" ,rust-cexpr-0.2)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-clang-sys" ,rust-clang-sys-0.23)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-env-logger" ,rust-env-logger-0.5)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
+ ("rust-proc-macro2" ,rust-proc-macro2-0.3)
+ ("rust-quote" ,rust-quote-0.5)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-which" ,rust-which-1))))))
+
(define-public rust-bio-types-1
(package
(name "rust-bio-types")
@@ -11923,6 +11951,23 @@ (define-public rust-cexpr-0.4
#:cargo-development-inputs
(("rust-clang-sys" ,rust-clang-sys-0.28))))))
+(define-public rust-cexpr-0.2
+ (package
+ (inherit rust-cexpr-0.6)
+ (name "rust-cexpr")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cexpr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0v1xa3758czmj8h97gh548mr8g0v13ixxvrlm1s79nb7jmgc9aj2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-nom" ,rust-nom-3))))))
+
(define-public rust-cfg-aliases-0.1
(package
(name "rust-cfg-aliases")
@@ -12679,6 +12724,25 @@ (define-public rust-clang-sys-1
(description "This package provides Rust bindings for libclang.")
(license license:asl2.0)))
+(define-public rust-clang-sys-0.23
+ (package
+ (inherit rust-clang-sys-1)
+ (name "rust-clang-sys")
+ (version "0.23.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clang-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hjr333izzhs6bic84qwnyzy5xzmvasib8f3zkzj4ln3a97c1xyp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glob" ,rust-glob-0.2)
+ ("rust-glob" ,rust-glob-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.5))))))
+
(define-public rust-claxon-0.4
(package
(name "rust-claxon")
@@ -25705,6 +25769,55 @@ (define-public rust-fast-float-0.2
(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")
@@ -73114,6 +73227,19 @@ (define-public rust-spin-0.9
initializers are available.")
(license license:expat)))
+(define-public rust-spin-0.7
+ (package
+ (inherit rust-spin-0.9)
+ (name "rust-spin")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qjips9f6fsvkyd7wj3a4gzaqknn2q4kkb19957pl86im56pna0k"))))))
+
(define-public rust-spin-0.5
(package
(inherit rust-spin-0.9)
@@ -74574,6 +74700,31 @@ (define-public rust-string-cache-shared-0.3
"Code share between string_cache and string_cache_codegen.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-string-interner-0.12
+ (package
+ (name "rust-string-interner")
+ (version "0.12.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "string-interner" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "021whb6wrfq4mbdcdlrm6f01ncvh23yd2r08kxpyw5v5hz8rcc9q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-hashbrown" ,rust-hashbrown-0.9)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/robbepop/string-interner")
+ (synopsis "Efficient string interner with minimal memory footprint
+and fast access to the underlying strings.")
+ (description
+ "This package provides Efficient string interner with minimal memory
+footprint and fast access to the underlying strings.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-stringprep-0.1
(package
(name "rust-stringprep")
@@ -86882,6 +87033,39 @@ (define-public rust-users-0.11
Unix users and groups.")
(license license:expat)))
+(define-public rust-ustr-0.9
+ (package
+ (name "rust-ustr")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ustr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "177sfj2gcxcxbyw756k4r7dbpsnkjrb62nrqvibdx019kw4kc51p"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-ahash" ,rust-ahash-0.7)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-fasthash" ,rust-fasthash-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-spin" ,rust-spin-0.7))
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+ ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-string-interner" ,rust-string-interner-0.12)
+ ("rust-string-cache" ,rust-string-cache-0.8))))
+ (home-page "https://github.com/anderslanglands/ustr")
+ (synopsis "Fast, FFI-friendly string interning")
+ (description "This package provides Fast, FFI-friendly string interning.")
+ (license (license:non-copyleft
+ "https://spdx.org/licenses/BSD-2-Clause-Patent.html"))))
+
(define-public rust-utf-8-0.7
(package
(name "rust-utf-8")
@@ -89870,6 +90054,23 @@ (define-public rust-which-2
#:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3))))))
+(define-public rust-which-1
+ (package
+ (inherit rust-which-4)
+ (name "rust-which")
+ (version "1.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "which" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1cjwa57kzfgzs681a27m5pjmq580pv3hkcg23smf270bgqz60jp8"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
+
(define-public rust-whoami-1
(package
(name "rust-whoami")
@@ -90251,6 +90452,26 @@ (define-public rust-wyz-0.2
"This package provides a collection of utility functions.")
(license license:expat)))
+(define-public rust-xoroshiro128-0.3
+ (package
+ (name "rust-xoroshiro128")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xoroshiro128" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1kfzanis2v39r8q963q161izv0hmfsdxa11cxgqw8jgcp8sdmvp0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-rand" ,rust-rand-0.4))))
+ (home-page "https://github.com/mscharley/rust-xoroshiro128")
+ (synopsis "Fast psuedo-random number generators")
+ (description "This package provides Fast psuedo-random number generators.")
+ (license license:expat)))
+
(define-public rust-x86-0.52
(package
(name "rust-x86")
--
2.46.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#72467] [PATCH 7/7] gnu: Add complgen.
2024-08-04 16:36 [bug#72467] [PATCH 0/7] Add complgen Suhail Singh
` (5 preceding siblings ...)
2024-08-04 16:44 ` [bug#72467] [PATCH 6/7] gnu: Add rust-ustr-0.9 Suhail Singh
@ 2024-08-04 16:46 ` Suhail Singh
2024-08-30 20:57 ` bug#72467: [PATCH 0/7] " Nicolas Goaziou via Guix-patches via
6 siblings, 1 reply; 9+ messages in thread
From: Suhail Singh @ 2024-08-04 16:46 UTC (permalink / raw)
To: 72467; +Cc: Efraim Flashner
* gnu/packages/rust-apps.scm (complgen): New variable.
Change-Id: Icfd633a7f0038e4f19afe6af6921f117e188fd50
---
gnu/packages/rust-apps.scm | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 7de25356c7..7045da36d6 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -390,6 +390,50 @@ (define-public cargo-machete
(description "@code{cargo-machete} finds unused dependencies in Cargo.toml.")
(license (list license:expat license:asl2.0))))
+(define-public complgen
+ (package
+ (name "complgen")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/adaszko/complgen")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "026bv2cync6qgdkn1ifhspy6z9v25plziqhnn58rlgffx2a0dqn2"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bumpalo" ,rust-bumpalo-3)
+ ("rust-chic" ,rust-chic-1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-hashbrown" ,rust-hashbrown-0.13)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-nom-locate" ,rust-nom-locate-4)
+ ("rust-railroad" ,rust-railroad-0.2)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-roaring" ,rust-roaring-0.10)
+ ("rust-slice-group-by" ,rust-slice-group-by-0.3)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-ustr" ,rust-ustr-0.9))
+ #:cargo-development-inputs `(("rust-proptest" ,rust-proptest-1))))
+ (native-inputs (list git))
+ (home-page "https://github.com/adaszko/complgen")
+ (synopsis "Declarative bash/fish/zsh completions without writing shell
+scripts")
+ (description
+ "@command{complgen} is a tool that allows you to generate
+completion scripts for all major shells (@code{bash}, @code{fish}, @code{zsh})
+from a single, concise, @code{EBNF}-like grammar.")
+ (license license:asl2.0)))
+
(define-public diffr
(package
(name "diffr")
--
2.46.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* bug#72467: [PATCH 0/7] Add complgen.
2024-08-04 16:46 ` [bug#72467] [PATCH 7/7] gnu: Add complgen Suhail Singh
@ 2024-08-30 20:57 ` Nicolas Goaziou via Guix-patches via
0 siblings, 0 replies; 9+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-08-30 20:57 UTC (permalink / raw)
To: 72467-done; +Cc: Suhail Singh
Hello,
> * gnu/packages/rust-apps.scm (complgen): New variable.
Applied, with a few tweaks (synopses, descriptions, alphabetical order
for packages). Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-08-30 20:59 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-04 16:36 [bug#72467] [PATCH 0/7] Add complgen Suhail Singh
2024-08-04 16:39 ` [bug#72467] [PATCH 1/7] gnu: Add rust-chic-1 Suhail Singh
2024-08-04 16:42 ` [bug#72467] [PATCH 2/7] gnu: Add rust-nom-locate-4 Suhail Singh
2024-08-04 16:43 ` [bug#72467] [PATCH 3/7] gnu: Add rust-railroad-0.2 Suhail Singh
2024-08-04 16:43 ` [bug#72467] [PATCH 4/7] gnu: Add rust-roaring-0.10 Suhail Singh
2024-08-04 16:44 ` [bug#72467] [PATCH 5/7] gnu: Add rust-slice-group-by-0.3 Suhail Singh
2024-08-04 16:44 ` [bug#72467] [PATCH 6/7] gnu: Add rust-ustr-0.9 Suhail Singh
2024-08-04 16:46 ` [bug#72467] [PATCH 7/7] gnu: Add complgen Suhail Singh
2024-08-30 20:57 ` bug#72467: [PATCH 0/7] " Nicolas Goaziou via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).