summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/crates-audio.scm1
-rw-r--r--gnu/packages/crates-check.scm172
-rw-r--r--gnu/packages/crates-io.scm167
-rw-r--r--gnu/packages/shellutils.scm1
4 files changed, 173 insertions, 168 deletions
diff --git a/gnu/packages/crates-audio.scm b/gnu/packages/crates-audio.scm
index 2b8e7d124b5..7a1c31937b0 100644
--- a/gnu/packages/crates-audio.scm
+++ b/gnu/packages/crates-audio.scm
@@ -1,3 +1,4 @@
1;;; GNU Guix --- Functional package management for GNU
1;;; Copyright © 2023 Steve George <steve@futurile.net> 2;;; Copyright © 2023 Steve George <steve@futurile.net>
2;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il> 3;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il>
3;;; Copyright © 2024 Roman Scherer <roman@burningswell.com> 4;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
diff --git a/gnu/packages/crates-check.scm b/gnu/packages/crates-check.scm
index 50e92f3cddf..ed972f7da8d 100644
--- a/gnu/packages/crates-check.scm
+++ b/gnu/packages/crates-check.scm
@@ -1,10 +1,13 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2019 John Soo <jsoo1@asu.edu> 2;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
3;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> 3;;; Copyright © 2020, 2023, 2024 Efraim Flashner <efraim@flashner.co.il>
4;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com> 4;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
5;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> 5;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
6;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> 6;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
7;;; Copyright © 2023 Steve George <steve@futurile.net>
7;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com> 8;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
9;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
10;;; Copyright © 2024 Jordan Moore <lockbox@struct.foo>
8;;; 11;;;
9;;; This file is part of GNU Guix. 12;;; This file is part of GNU Guix.
10;;; 13;;;
@@ -81,6 +84,173 @@
81(proc-macro crate).") 84(proc-macro crate).")
82 (license (list license:expat license:asl2.0)))) 85 (license (list license:expat license:asl2.0))))
83 86
87(define-public rust-mock-instant-0.3
88 (package
89 (name "rust-mock-instant")
90 (version "0.3.2")
91 (source
92 (origin
93 (method url-fetch)
94 (uri (crate-uri "mock_instant" version))
95 (file-name (string-append name "-" version ".tar.gz"))
96 (sha256
97 (base32 "180yr3i44a98w1mj36dd8xmym33rbzndpj0j1g13di52n8g8crlk"))))
98 (build-system cargo-build-system)
99 (arguments
100 `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
101 (home-page "https://github.com/museun/mock_instant")
102 (synopsis "Mock an std::time::Instant")
103 (description
104 "This package provides a simple way to mock an std::time::Instant in Rust.")
105 (license license:bsd-0)))
106
107(define-public rust-mock-instant-0.2
108 (package
109 (inherit rust-mock-instant-0.3)
110 (name "rust-mock-instant")
111 (version "0.2.1")
112 (source (origin
113 (method url-fetch)
114 (uri (crate-uri "mock_instant" version))
115 (file-name (string-append name "-" version ".tar.gz"))
116 (sha256
117 (base32 "0vg0kmz96zazjdq57l57nm24mc2in57y090ywcq827xq8fi2jzki"))))
118 (arguments
119 `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))))
120
121(define-public rust-mockall-0.13
122 (package
123 (name "rust-mockall")
124 (version "0.13.1")
125 (source
126 (origin
127 (method url-fetch)
128 (uri (crate-uri "mockall" version))
129 (file-name (string-append name "-" version ".tar.gz"))
130 (sha256
131 (base32 "1lir70dd9cnsjlf20gi3i51ha9n7mlrkx74bx5gfszlcdk6bz9ir"))))
132 (build-system cargo-build-system)
133 (arguments
134 `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
135 ("rust-downcast" ,rust-downcast-0.11)
136 ("rust-fragile" ,rust-fragile-2)
137 ("rust-mockall-derive" ,rust-mockall-derive-0.13)
138 ("rust-predicates" ,rust-predicates-3)
139 ("rust-predicates-tree" ,rust-predicates-tree-1))
140 #:cargo-development-inputs (("rust-async-trait" ,rust-async-trait-0.1)
141 ("rust-auto-enums" ,rust-auto-enums-0.8)
142 ("rust-futures" ,rust-futures-0.3)
143 ("rust-mockall-double" ,rust-mockall-double-0.3)
144 ("rust-serde" ,rust-serde-1)
145 ("rust-serde-derive" ,rust-serde-derive-1)
146 ("rust-serde-json" ,rust-serde-json-1)
147 ("rust-tracing" ,rust-tracing-0.1))))
148 (home-page "https://github.com/asomers/mockall")
149 (synopsis "Powerful mock object library for Rust")
150 (description
151 "This package provides a powerful mock object library for Rust.")
152 (license (list license:expat license:asl2.0))))
153
154(define-public rust-mockall-0.11
155 (package
156 (inherit rust-mockall-0.13)
157 (name "rust-mockall")
158 (version "0.11.4")
159 (source (origin
160 (method url-fetch)
161 (uri (crate-uri "mockall" version))
162 (file-name (string-append name "-" version ".tar.gz"))
163 (sha256
164 (base32
165 "15kww0a3wv300wkksc6zj0kz1jwk0hyly48daxs2vvpj300lk12c"))))
166 (arguments
167 `(#:tests? #f ; Not all files included.
168 #:cargo-inputs
169 (("rust-cfg-if" ,rust-cfg-if-1)
170 ("rust-downcast" ,rust-downcast-0.11)
171 ("rust-fragile" ,rust-fragile-2)
172 ("rust-lazy-static" ,rust-lazy-static-1)
173 ("rust-mockall-derive" ,rust-mockall-derive-0.11)
174 ("rust-predicates" ,rust-predicates-2)
175 ("rust-predicates-tree" ,rust-predicates-tree-1))
176 #:cargo-development-inputs
177 (("rust-async-trait" ,rust-async-trait-0.1)
178 ("rust-futures" ,rust-futures-0.3)
179 ("rust-mockall-double" ,rust-mockall-double-0.3)
180 ("rust-serde" ,rust-serde-1)
181 ("rust-serde-derive" ,rust-serde-derive-1)
182 ("rust-serde-json" ,rust-serde-json-1)
183 ("rust-tracing" ,rust-tracing-0.1))))))
184
185(define-public rust-mockall-derive-0.13
186 (package
187 (name "rust-mockall-derive")
188 (version "0.13.1")
189 (source
190 (origin
191 (method url-fetch)
192 (uri (crate-uri "mockall_derive" version))
193 (file-name (string-append name "-" version ".tar.gz"))
194 (sha256
195 (base32 "1608qajqrz23xbvv81alc6wm4l24as1bsqg4shdh3sggq8231ji5"))))
196 (build-system cargo-build-system)
197 (arguments
198 `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
199 ("rust-proc-macro2" ,rust-proc-macro2-1)
200 ("rust-quote" ,rust-quote-1)
201 ("rust-syn" ,rust-syn-2))
202 #:cargo-development-inputs
203 (("rust-pretty-assertions" ,rust-pretty-assertions-1))))
204 (home-page "https://github.com/asomers/mockall")
205 (synopsis "Procedural macros for Mockall")
206 (description "This package provides procedural macros for Mockall.")
207 (license (list license:expat license:asl2.0))))
208
209(define-public rust-mockall-derive-0.11
210 (package
211 (inherit rust-mockall-derive-0.13)
212 (name "rust-mockall-derive")
213 (version "0.11.4")
214 (source (origin
215 (method url-fetch)
216 (uri (crate-uri "mockall_derive" version))
217 (file-name (string-append name "-" version ".tar.gz"))
218 (sha256
219 (base32
220 "1fvc9kwjcc9ia6ng7z9z02b4qkl9dvsx9m4z51xz9i0mj1k7bki2"))))
221 (arguments
222 `(#:cargo-inputs
223 (("rust-cfg-if" ,rust-cfg-if-1)
224 ("rust-proc-macro2" ,rust-proc-macro2-1)
225 ("rust-quote" ,rust-quote-1)
226 ("rust-syn" ,rust-syn-1))
227 #:cargo-development-inputs
228 (("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
229
230(define-public rust-mockall-double-0.3
231 (package
232 (name "rust-mockall-double")
233 (version "0.3.1")
234 (source (origin
235 (method url-fetch)
236 (uri (crate-uri "mockall_double" version))
237 (file-name (string-append name "-" version ".tar.gz"))
238 (sha256
239 (base32
240 "1s0k85929bf8afvdgq8m2vs8haqpkg9ysdimw7inl99mmkjrdjpi"))))
241 (build-system cargo-build-system)
242 (arguments
243 `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
244 ("rust-proc-macro2" ,rust-proc-macro2-1)
245 ("rust-quote" ,rust-quote-1)
246 ("rust-syn" ,rust-syn-2))))
247 (home-page "https://github.com/asomers/mockall")
248 (synopsis "Double test adapter that works well with Mockall")
249 (description
250 "This crate makes it even easier to use mocking by providing a way to
251select the mock struct at compile time. Used with the Mockall crate.")
252 (license (list license:expat license:asl2.0))))
253
84(define-public rust-quickcheck-1 254(define-public rust-quickcheck-1
85 (package 255 (package
86 (name "rust-quickcheck") 256 (name "rust-quickcheck")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5abbe414718..60ac5d890ae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47509,173 +47509,6 @@ possible over the OS abstractions.")
47509 "This package provides a library for dealing with memory-mapped I/O.") 47509 "This package provides a library for dealing with memory-mapped I/O.")
47510 (license license:expat))) 47510 (license license:expat)))
47511 47511
47512(define-public rust-mock-instant-0.3
47513 (package
47514 (name "rust-mock-instant")
47515 (version "0.3.2")
47516 (source
47517 (origin
47518 (method url-fetch)
47519 (uri (crate-uri "mock_instant" version))
47520 (file-name (string-append name "-" version ".tar.gz"))
47521 (sha256
47522 (base32 "180yr3i44a98w1mj36dd8xmym33rbzndpj0j1g13di52n8g8crlk"))))
47523 (build-system cargo-build-system)
47524 (arguments
47525 `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
47526 (home-page "https://github.com/museun/mock_instant")
47527 (synopsis "Mock an std::time::Instant")
47528 (description
47529 "This package provides a simple way to mock an std::time::Instant in Rust.")
47530 (license license:bsd-0)))
47531
47532(define-public rust-mock-instant-0.2
47533 (package
47534 (inherit rust-mock-instant-0.3)
47535 (name "rust-mock-instant")
47536 (version "0.2.1")
47537 (source (origin
47538 (method url-fetch)
47539 (uri (crate-uri "mock_instant" version))
47540 (file-name (string-append name "-" version ".tar.gz"))
47541 (sha256
47542 (base32 "0vg0kmz96zazjdq57l57nm24mc2in57y090ywcq827xq8fi2jzki"))))
47543 (arguments
47544 `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))))
47545
47546(define-public rust-mockall-0.13
47547 (package
47548 (name "rust-mockall")
47549 (version "0.13.1")
47550 (source
47551 (origin
47552 (method url-fetch)
47553 (uri (crate-uri "mockall" version))
47554 (file-name (string-append name "-" version ".tar.gz"))
47555 (sha256
47556 (base32 "1lir70dd9cnsjlf20gi3i51ha9n7mlrkx74bx5gfszlcdk6bz9ir"))))
47557 (build-system cargo-build-system)
47558 (arguments
47559 `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
47560 ("rust-downcast" ,rust-downcast-0.11)
47561 ("rust-fragile" ,rust-fragile-2)
47562 ("rust-mockall-derive" ,rust-mockall-derive-0.13)
47563 ("rust-predicates" ,rust-predicates-3)
47564 ("rust-predicates-tree" ,rust-predicates-tree-1))
47565 #:cargo-development-inputs (("rust-async-trait" ,rust-async-trait-0.1)
47566 ("rust-auto-enums" ,rust-auto-enums-0.8)
47567 ("rust-futures" ,rust-futures-0.3)
47568 ("rust-mockall-double" ,rust-mockall-double-0.3)
47569 ("rust-serde" ,rust-serde-1)
47570 ("rust-serde-derive" ,rust-serde-derive-1)
47571 ("rust-serde-json" ,rust-serde-json-1)
47572 ("rust-tracing" ,rust-tracing-0.1))))
47573 (home-page "https://github.com/asomers/mockall")
47574 (synopsis "Powerful mock object library for Rust")
47575 (description
47576 "This package provides a powerful mock object library for Rust.")
47577 (license (list license:expat license:asl2.0))))
47578
47579(define-public rust-mockall-0.11
47580 (package
47581 (inherit rust-mockall-0.13)
47582 (name "rust-mockall")
47583 (version "0.11.4")
47584 (source (origin
47585 (method url-fetch)
47586 (uri (crate-uri "mockall" version))
47587 (file-name (string-append name "-" version ".tar.gz"))
47588 (sha256
47589 (base32
47590 "15kww0a3wv300wkksc6zj0kz1jwk0hyly48daxs2vvpj300lk12c"))))
47591 (arguments
47592 `(#:tests? #f ; Not all files included.
47593 #:cargo-inputs
47594 (("rust-cfg-if" ,rust-cfg-if-1)
47595 ("rust-downcast" ,rust-downcast-0.11)
47596 ("rust-fragile" ,rust-fragile-2)
47597 ("rust-lazy-static" ,rust-lazy-static-1)
47598 ("rust-mockall-derive" ,rust-mockall-derive-0.11)
47599 ("rust-predicates" ,rust-predicates-2)
47600 ("rust-predicates-tree" ,rust-predicates-tree-1))
47601 #:cargo-development-inputs
47602 (("rust-async-trait" ,rust-async-trait-0.1)
47603 ("rust-futures" ,rust-futures-0.3)
47604 ("rust-mockall-double" ,rust-mockall-double-0.3)
47605 ("rust-serde" ,rust-serde-1)
47606 ("rust-serde-derive" ,rust-serde-derive-1)
47607 ("rust-serde-json" ,rust-serde-json-1)
47608 ("rust-tracing" ,rust-tracing-0.1))))))
47609
47610(define-public rust-mockall-derive-0.13
47611 (package
47612 (name "rust-mockall-derive")
47613 (version "0.13.1")
47614 (source
47615 (origin
47616 (method url-fetch)
47617 (uri (crate-uri "mockall_derive" version))
47618 (file-name (string-append name "-" version ".tar.gz"))
47619 (sha256
47620 (base32 "1608qajqrz23xbvv81alc6wm4l24as1bsqg4shdh3sggq8231ji5"))))
47621 (build-system cargo-build-system)
47622 (arguments
47623 `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
47624 ("rust-proc-macro2" ,rust-proc-macro2-1)
47625 ("rust-quote" ,rust-quote-1)
47626 ("rust-syn" ,rust-syn-2))
47627 #:cargo-development-inputs
47628 (("rust-pretty-assertions" ,rust-pretty-assertions-1))))
47629 (home-page "https://github.com/asomers/mockall")
47630 (synopsis "Procedural macros for Mockall")
47631 (description "This package provides procedural macros for Mockall.")
47632 (license (list license:expat license:asl2.0))))
47633
47634(define-public rust-mockall-derive-0.11
47635 (package
47636 (inherit rust-mockall-derive-0.13)
47637 (name "rust-mockall-derive")
47638 (version "0.11.4")
47639 (source (origin
47640 (method url-fetch)
47641 (uri (crate-uri "mockall_derive" version))
47642 (file-name (string-append name "-" version ".tar.gz"))
47643 (sha256
47644 (base32
47645 "1fvc9kwjcc9ia6ng7z9z02b4qkl9dvsx9m4z51xz9i0mj1k7bki2"))))
47646 (arguments
47647 `(#:cargo-inputs
47648 (("rust-cfg-if" ,rust-cfg-if-1)
47649 ("rust-proc-macro2" ,rust-proc-macro2-1)
47650 ("rust-quote" ,rust-quote-1)
47651 ("rust-syn" ,rust-syn-1))
47652 #:cargo-development-inputs
47653 (("rust-pretty-assertions" ,rust-pretty-assertions-1))))))
47654
47655(define-public rust-mockall-double-0.3
47656 (package
47657 (name "rust-mockall-double")
47658 (version "0.3.1")
47659 (source (origin
47660 (method url-fetch)
47661 (uri (crate-uri "mockall_double" version))
47662 (file-name (string-append name "-" version ".tar.gz"))
47663 (sha256
47664 (base32
47665 "1s0k85929bf8afvdgq8m2vs8haqpkg9ysdimw7inl99mmkjrdjpi"))))
47666 (build-system cargo-build-system)
47667 (arguments
47668 `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
47669 ("rust-proc-macro2" ,rust-proc-macro2-1)
47670 ("rust-quote" ,rust-quote-1)
47671 ("rust-syn" ,rust-syn-2))))
47672 (home-page "https://github.com/asomers/mockall")
47673 (synopsis "Double test adapter that works well with Mockall")
47674 (description
47675 "This crate makes it even easier to use mocking by providing a way to
47676select the mock struct at compile time. Used with the Mockall crate.")
47677 (license (list license:expat license:asl2.0))))
47678
47679(define-public rust-modifier-0.1 47512(define-public rust-modifier-0.1
47680 (package 47513 (package
47681 (name "rust-modifier") 47514 (name "rust-modifier")
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 23ed9e22ddb..2cc9d32f921 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -55,6 +55,7 @@
55 #:use-module (gnu packages bison) 55 #:use-module (gnu packages bison)
56 #:use-module (gnu packages check) 56 #:use-module (gnu packages check)
57 #:use-module (gnu packages cmake) 57 #:use-module (gnu packages cmake)
58 #:use-module (gnu packages crates-check)
58 #:use-module (gnu packages crates-crypto) 59 #:use-module (gnu packages crates-crypto)
59 #:use-module (gnu packages crates-io) 60 #:use-module (gnu packages crates-io)
60 #:use-module (gnu packages crates-vcs) 61 #:use-module (gnu packages crates-vcs)