* [bug#66802] [PATCH 01/21] gnu: Add rust-pretty-assertions-0.5
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:38 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:38 ` [bug#66802] [PATCH 02/21] gnu: Add rust-tempfile-2 Jaeme Sifat via Guix-patches via
` (19 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:38 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.5): New variable.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.7): Inherit
rust-pretty-assertions-1.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.6): Inherit
rust-pretty-assertions-1.
* gnu/packages/crates-io.scm (rust-pretty-assertions-0.4): Inherit
rust-pretty-assertions-1.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I7c41823d489c2a7ca60a9aa6b825acce0babb4f8
---
gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++----------
1 file changed, 22 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc26147157..c77851df38 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52681,6 +52681,7 @@ (define-public rust-pretty-assertions-1
(define-public rust-pretty-assertions-0.7
(package
+ (inherit rust-pretty-assertions-1)
(name "rust-pretty-assertions")
(version "0.7.2")
(source
@@ -52692,23 +52693,17 @@ (define-public rust-pretty-assertions-0.7
(sha256
(base32
"12yris0ni87wvzhj23a5nnz7amskvahhnpikx5snhdyg09y0xaqw"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-ansi-term" ,rust-ansi-term-0.12)
("rust-ctor" ,rust-ctor-0.1)
("rust-diff" ,rust-diff-0.1)
- ("rust-output-vt100" ,rust-output-vt100-0.1))))
- (home-page "https://github.com/colin-kiegel/rust-pretty-assertions")
- (synopsis "Drop-in replacements for assert_eq! and assert_ne!")
- (description
- "Overwrite @code{assert_eq!} and @code{assert_ne!} with drop-in
-replacements, adding colorful diffs.")
- (license (list license:expat license:asl2.0))))
+ ("rust-output-vt100" ,rust-output-vt100-0.1))))))
+
(define-public rust-pretty-assertions-0.6
(package
- (inherit rust-pretty-assertions-0.7)
+ (inherit rust-pretty-assertions-1)
(name "rust-pretty-assertions")
(version "0.6.1")
(source
@@ -52728,9 +52723,26 @@ (define-public rust-pretty-assertions-0.6
("rust-ansi-term" ,rust-ansi-term-0.11)
("rust-difference" ,rust-difference-2))))))
+(define-public rust-pretty-assertions-0.5
+ (package
+ (inherit rust-pretty-assertions-1)
+ (name "rust-pretty-assertions")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pretty_assertions" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ins6swkpxmrh8q5h96h8nv0497d3dclsiyx2lyvqi6py0q980is"))))
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.11)
+ ("rust-difference" ,rust-difference-2))))))
+
(define-public rust-pretty-assertions-0.4
(package
- (inherit rust-pretty-assertions-0.6)
+ (inherit rust-pretty-assertions-1)
(name "rust-pretty-assertions")
(version "0.4.1")
(source
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 02/21] gnu: Add rust-tempfile-2.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
2023-10-28 22:38 ` [bug#66802] [PATCH 01/21] gnu: Add rust-pretty-assertions-0.5 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:38 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:39 ` [bug#66802] [PATCH 03/21] gnu: Add rust-lazy-static-1.1 Jaeme Sifat via Guix-patches via
` (18 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:38 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-tempfile-2): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Ie95154dfd7ec161edfcd95a36a417cb0b4746ad8
---
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 c77851df38..f6491a487d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72512,6 +72512,26 @@ (define-public rust-tempfile-3
(license (list license:asl2.0
license:expat))))
+(define-public rust-tempfile-2
+ (package
+ (inherit rust-tempfile-3)
+ (name "rust-tempfile")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tempfile" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1q61byf232rra0vqxp4qp10wwwqsqqd45qjj80ql5f34vgljzkhi"))))
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-kernel32-sys" ,rust-kernel32-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-rand" ,rust-rand-0.3)
+ ("rust-redox-syscall" ,rust-redox-syscall-0.1)
+ ("rust-winapi" ,rust-winapi-0.2))))))
+
(define-public rust-tempfile-fast-0.3
(package
(name "rust-tempfile-fast")
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 03/21] gnu: Add rust-lazy-static-1.1.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
2023-10-28 22:38 ` [bug#66802] [PATCH 01/21] gnu: Add rust-pretty-assertions-0.5 Jaeme Sifat via Guix-patches via
2023-10-28 22:38 ` [bug#66802] [PATCH 02/21] gnu: Add rust-tempfile-2 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:39 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:39 ` [bug#66802] [PATCH 04/21] gnu: Add rust-nix-0.11 Jaeme Sifat via Guix-patches via
` (17 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:39 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-lazy-static-1.1): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Iaa9eaf25638111e9e5d829083f852098ef978797
---
gnu/packages/crates-io.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6491a487d..e171656543 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36441,6 +36441,22 @@ (define-public rust-lazy-static-1
(license (list license:asl2.0
license:expat))))
+(define-public rust-lazy-static-1.1
+ (package
+ (inherit rust-lazy-static-1)
+ (name "rust-lazy-static")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lazy_static" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0az813wdll13lksglr7wj1lr5iiyvx4ya127rx4zpbhr69ldm7nq"))))
+ (arguments
+ `(#:cargo-inputs (("rust-spin" ,rust-spin-0.4)
+ ("rust-version-check" ,rust-version-check-0.1))))))
+
(define-public rust-lazy-static-0.2
(package
(inherit rust-lazy-static-1)
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 04/21] gnu: Add rust-nix-0.11.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (2 preceding siblings ...)
2023-10-28 22:39 ` [bug#66802] [PATCH 03/21] gnu: Add rust-lazy-static-1.1 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:39 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:39 ` [bug#66802] [PATCH 05/21] gnu: Add rust-os-pipe-0.6 Jaeme Sifat via Guix-patches via
` (16 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:39 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-nix-0.11): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Idfcf52168aecdbbf6a69bbbcf4136ba6ddabaa6a
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e171656543..a19e8b1feb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44432,6 +44432,33 @@ (define-public rust-nix-0.14
(base32
"1kmxdlmvnmq8cfpmr3g6wk37rwi2ybdvp1z6z3831m1p23p2nwkc"))))))
+(define-public rust-nix-0.11
+ (package
+ (inherit rust-nix-0.14)
+ (name "rust-nix")
+ (version "0.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0p06wvrg172gb4z59nvsnab9xkxqqq74ibf773px471gcrynbjxy"))))
+ (arguments
+ (list
+ #:tests? #f
+ #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-void" ,rust-void-1))
+ #:cargo-development-inputs `(("rust-bytes" ,rust-bytes-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1.1)
+ ("rust-rand" ,rust-rand-0.4)
+ ("rust-sysctl" ,rust-sysctl-0.1)
+ ("rust-tempdir" ,rust-tempdir-0.3)
+ ("rust-tempfile" ,rust-tempfile-2))))))
+
(define-public rust-nix-0.8
(package
(inherit rust-nix-0.15)
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 05/21] gnu: Add rust-os-pipe-0.6.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (3 preceding siblings ...)
2023-10-28 22:39 ` [bug#66802] [PATCH 04/21] gnu: Add rust-nix-0.11 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:39 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:43 ` [bug#66802] [PATCH 06/21] gnu: Add rust-lazycell-0.6 Jaeme Sifat via Guix-patches via
` (15 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:39 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-os-pipe-0.6): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Id890a2383d0ec3d550235f331b1cdd08a135a401
---
gnu/packages/crates-io.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a19e8b1feb..605ffd3b1e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47786,6 +47786,22 @@ (define-public rust-os-pipe-0.8
`(("rust-nix" ,rust-nix-0.15)
("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-os-pipe-0.6
+ (package
+ (inherit rust-os-pipe-0.8)
+ (name "rust-os-pipe")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "os_pipe" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0gr59gkbmq69cjh52wg3wx4crvqsxb9d3zr2xcz2q133sljk40zy"))))
+ (arguments
+ `(#:cargo-inputs (("rust-nix" ,rust-nix-0.11)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-os-pipe-0.5
(package
(inherit rust-os-pipe-0.8)
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 06/21] gnu: Add rust-lazycell-0.6.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (4 preceding siblings ...)
2023-10-28 22:39 ` [bug#66802] [PATCH 05/21] gnu: Add rust-os-pipe-0.6 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:43 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:43 ` [bug#66802] [PATCH 07/21] gnu: Add rust-duct-0.10 Jaeme Sifat via Guix-patches via
` (14 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:43 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-lazycell-0.6): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I0beb715c7d1596cdae9649aed8e7515ec0fb5049
---
gnu/packages/crates-io.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 605ffd3b1e..7b0b913303 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36515,6 +36515,21 @@ (define-public rust-lazycell-1
"This package provides a library providing a lazily filled Cell struct.")
(license (list license:expat license:asl2.0))))
+(define-public rust-lazycell-0.6
+ (package
+ (inherit rust-lazycell-1)
+ (name "rust-lazycell")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "lazycell" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vy0gxy28z8afkqhvgl6x895k72i1wsxarnmw4zlmvvhphwqiw56"))))
+ (arguments
+ `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0))))))
+
(define-public rust-lazycell-0.5
(package
(inherit rust-lazycell-1)
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 07/21] gnu: Add rust-duct-0.10.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (5 preceding siblings ...)
2023-10-28 22:43 ` [bug#66802] [PATCH 06/21] gnu: Add rust-lazycell-0.6 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:43 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:47 ` [bug#66802] [PATCH 08/21] gnu: Add rust-roff-0.1 Jaeme Sifat via Guix-patches via
` (13 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:43 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-duct-0.10): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Idbe3851b19f7fdd6061f173f74f3855dfd78eaff
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b0b913303..812a14f878 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22512,6 +22512,31 @@ (define-public rust-duct-0.13
"A library for running child processes.")
(license license:expat)))
+(define-public rust-duct-0.10
+ (package
+ (inherit rust-duct-0.13)
+ (name "rust-duct")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "duct" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08x48npncnyf0f8yn223qjnwbiw7x0i2yb4ngfcyaksvgk0rhqhn"))))
+ (arguments
+ `(#:cargo-test-flags `("--" "--skip=test::test_capture_both"
+ "--skip=test::test_pipe"
+ "--skip=test::test_sh"
+ "--skip=test::test_stderr"
+ "--skip=test::test_swapping"
+ "--skip=test::test_then")
+ #:cargo-inputs (("rust-lazycell" ,rust-lazycell-0.6)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-os-pipe" ,rust-os-pipe-0.6)
+ ("rust-shared-child" ,rust-shared-child-0.3))
+ #:cargo-development-inputs (("rust-tempdir" ,rust-tempdir-0.3))))))
+
(define-public rust-duct-0.8
(package
(inherit rust-duct-0.13)
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 08/21] gnu: Add rust-roff-0.1.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (6 preceding siblings ...)
2023-10-28 22:43 ` [bug#66802] [PATCH 07/21] gnu: Add rust-duct-0.10 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:47 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:47 ` [bug#66802] [PATCH 09/21] gnu: Add rust-man-0.3 Jaeme Sifat via Guix-patches via
` (12 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:47 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-roff-0.1): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I14a965fb25677844713fc0d3386dd667dce6717f
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 812a14f878..aa241a2918 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58750,6 +58750,24 @@ (define-public rust-roff-0.2
(description "ROFF (man page format) generation library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-roff-0.1
+ (package
+ (inherit rust-roff-0.2)
+ (name "rust-roff")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "roff" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0pk76fw9hqnvr8qbd5r8yq08zpgymk14wgkn5h2qhs54gfrlygp3"))))
+ (arguments
+ `(#:tests? #f
+ #:cargo-development-inputs
+ (("rust-duct" ,rust-duct-0.10)
+ ("rust-pretty-assertions" ,rust-pretty-assertions-0.5))))))
+
(define-public rust-romio-0.3
(package
(name "rust-romio")
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 09/21] gnu: Add rust-man-0.3.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (7 preceding siblings ...)
2023-10-28 22:47 ` [bug#66802] [PATCH 08/21] gnu: Add rust-roff-0.1 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:47 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:51 ` [bug#66802] [PATCH 10/21] gnu: Add rust-page-size-0.5 Jaeme Sifat via Guix-patches via
` (11 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:47 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-man-0.3): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I967043e4cb97a8622e0c0df350debeba42c1ef1d
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa241a2918..34982f04f4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39789,6 +39789,27 @@ (define-public rust-malloc-buf-0.0
"This package provides structs for handling malloc'd memory passed to Rust.")
(license license:expat)))
+(define-public rust-man-0.3
+ (package
+ (name "rust-man")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "man" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jd103brl70sh1hxm2w3n6z3pzazrznsl45cn53h3a47a5wzmxgb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-roff" ,rust-roff-0.1))))
+ (home-page "https://github.com/rust-clique/man")
+ (synopsis "Generate structured man pages")
+ (description
+ "This package provides a way to generate structured man pages using
+@code{roff-rs}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-maplit-1
(package
(name "rust-maplit")
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 10/21] gnu: Add rust-page-size-0.5.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (8 preceding siblings ...)
2023-10-28 22:47 ` [bug#66802] [PATCH 09/21] gnu: Add rust-man-0.3 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:51 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:51 ` [bug#66802] [PATCH 11/21] gnu: Add rust-fuser-0.13 Jaeme Sifat via Guix-patches via
` (10 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:51 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-page-size-0.5): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I25f9a0595afd0dfd27cace3f0edb81c6a1cc6d01
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 34982f04f4..ff4de868f5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48407,6 +48407,23 @@ (define-public rust-page-size-0.6
memory page size.")
(license (list license:expat license:asl2.0))))
+(define-public rust-page-size-0.5
+ (package
+ (inherit rust-page-size-0.6)
+ (name "rust-page-size")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "page_size" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qdm2b6h63bwxy8s6jccd1v30f6dysbq9ylfs0cdikwhs75n6xhv"))))
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-spin" ,rust-spin-0.9)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-page-size-0.4
(package
(inherit rust-page-size-0.6)
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 11/21] gnu: Add rust-fuser-0.13.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (9 preceding siblings ...)
2023-10-28 22:51 ` [bug#66802] [PATCH 10/21] gnu: Add rust-page-size-0.5 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:51 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:51 ` [bug#66802] [PATCH 12/21] gnu: Add rust-fuser-0.11 Jaeme Sifat via Guix-patches via
` (9 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:51 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-fuser-0.13): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I0dee8618d327cf15ce19809716bffe8b9dec3737
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff4de868f5..7a9c5c12ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27360,6 +27360,43 @@ (define-public rust-funty-1.1
`(#:cargo-development-inputs
(("rust-static-assertions" ,rust-static-assertions-1))))))
+(define-public rust-fuser-0.13
+ (package
+ (name "rust-fuser")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fuser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16qny3f5snpjzvv33x7wfvs42nf5qjzsdcnz6vmchhh6cj20ydr1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags `("--"
+ "--skip=mnt::test::mount_unmount"
+ "--skip=unmount_no_send")
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-page-size" ,rust-page-size-0.5)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-zerocopy" ,rust-zerocopy-0.6))
+ #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (inputs (list fuse))
+ (native-inputs (list pkg-config))
+ (home-page "https://github.com/cberner/fuser")
+ (synopsis "Filesystem in Userspace (FUSE) for Rust")
+ (description
+ "This package provides the Filesystem in Userspace (FUSE) for Rust.")
+ (license license:expat)))
+
(define-public rust-futf-0.1
(package
(name "rust-futf")
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 12/21] gnu: Add rust-fuser-0.11.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (10 preceding siblings ...)
2023-10-28 22:51 ` [bug#66802] [PATCH 11/21] gnu: Add rust-fuser-0.13 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:51 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 13/21] gnu: Add rust-fuse-mt-0.6 Jaeme Sifat via Guix-patches via
` (8 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:51 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-fuser-0.11): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Ia0e08a98a082823e36fbacb0f5ba0196a17fb0ae
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7a9c5c12ec..4ede7f5720 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27397,6 +27397,37 @@ (define-public rust-fuser-0.13
"This package provides the Filesystem in Userspace (FUSE) for Rust.")
(license license:expat)))
+(define-public rust-fuser-0.11
+ (package
+ (inherit rust-fuser-0.13)
+ (name "rust-fuser")
+ (version "0.11.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fuser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16a5d4118rjzcksnrqi0whnpddc2kqiangydc989ghib327xakhh"))))
+ (arguments
+ `(#:cargo-test-flags `("--"
+ "--skip=mnt::test::mount_unmount"
+ "--skip=unmount_no_send")
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-page-size" ,rust-page-size-0.4)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-users" ,rust-users-0.11)
+ ("rust-zerocopy" ,rust-zerocopy-0.6))
+ #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+ ("rust-clap" ,rust-clap-3)
+ ("rust-env-logger" ,rust-env-logger-0.9)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-futf-0.1
(package
(name "rust-futf")
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 13/21] gnu: Add rust-fuse-mt-0.6.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (11 preceding siblings ...)
2023-10-28 22:51 ` [bug#66802] [PATCH 12/21] gnu: Add rust-fuser-0.11 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:53 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 14/21] gnu: Add rust-wsl-0.1 Jaeme Sifat via Guix-patches via
` (7 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:53 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-fuse-mt-0.6): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I97d57004117b264ae9ef1df9c0320f0448a9574b
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4ede7f5720..f6b008baf8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27360,6 +27360,33 @@ (define-public rust-funty-1.1
`(#:cargo-development-inputs
(("rust-static-assertions" ,rust-static-assertions-1))))))
+(define-public rust-fuse-mt-0.6
+ (package
+ (name "rust-fuse-mt")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "fuse_mt" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0j296nfz2bs3f6kc4r1w4f8q279727pxz34w3nirnbnk9kfbi670"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-fuser" ,rust-fuser-0.13)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-threadpool" ,rust-threadpool-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list fuse))
+ (home-page "https://github.com/wfraser/fuse-mt")
+ (synopsis "Higher-level FUSE filesystem library with multi-threading and
+inode->path translation for Rust.")
+ (description
+ "This package provides a higher-level FUSE filesystem library with
+multi-threading and inode->path translation.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fuser-0.13
(package
(name "rust-fuser")
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 14/21] gnu: Add rust-wsl-0.1.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (12 preceding siblings ...)
2023-10-28 22:53 ` [bug#66802] [PATCH 13/21] gnu: Add rust-fuse-mt-0.6 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:53 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 15/21] gnu: rust-signature-derive-1: Update to 1.0.0-pre.7 Jaeme Sifat via Guix-patches via
` (6 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:53 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-wsl-0.1): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Iff92993f04acc771d5c942548160041275d6d515
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6b008baf8..4d9fdb9a50 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84329,6 +84329,28 @@ (define-public rust-ws2-32-sys-0.2
"Contains function definitions for the Windows API library ws2_32.")
(license license:expat)))
+(define-public rust-wsl-0.1
+ (package
+ (name "rust-wsl")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wsl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1m2hg4sfnrwm67fb1vsgycy36l2hbgmcpgllcpmbs427hsnbgnpq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/Dentosal/wsl-rs")
+ (synopsis
+ "Detect if the program is running under Windows Subsystem for Linux")
+ (description
+ "This package detects if the program is running under Windows Subsystem
+for Linux")
+ (license license:expat)))
+
(define-public rust-wycheproof-0.5
(package
(name "rust-wycheproof")
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 15/21] gnu: rust-signature-derive-1: Update to 1.0.0-pre.7.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (13 preceding siblings ...)
2023-10-28 22:53 ` [bug#66802] [PATCH 14/21] gnu: Add rust-wsl-0.1 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:53 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 16/21] gnu: rust-signature-1: Update to 1.6.4 Jaeme Sifat via Guix-patches via
` (5 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:53 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-signature-derive-1): Update to 1.0.0-pre.7.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Ie06432676fdd90442b2a9d9b2f872a8f634ff1ec
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4d9fdb9a50..e2939f3ec7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66307,14 +66307,14 @@ (define-public rust-signature-derive-1
(package
(inherit rust-signature-derive-2)
(name "rust-signature-derive")
- (version "1.0.0-pre.4")
+ (version "1.0.0-pre.7")
(source
(origin
(method url-fetch)
(uri (crate-uri "signature-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0p1x0wv6grrgdn226m9rsqpcnpfwkpji7rjpalkbk1ynv0xpvf57"))))
+ (base32 "03wj342zvljknqwg3qbc9acrcsrzhdp1d2d6pfrh4p1b087k3rln"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 16/21] gnu: rust-signature-1: Update to 1.6.4.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (14 preceding siblings ...)
2023-10-28 22:53 ` [bug#66802] [PATCH 15/21] gnu: rust-signature-derive-1: Update to 1.0.0-pre.7 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:53 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 17/21] gnu: Add rust-pkcs1-0.4 Jaeme Sifat via Guix-patches via
` (4 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:53 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-signature-1): Update to 1.6.4.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I8696992b8beb1785ec398af9a2b022283da0c475
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e2939f3ec7..7137582746 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66261,14 +66261,14 @@ (define-public rust-signature-1
(package
(inherit rust-signature-2)
(name "rust-signature")
- (version "1.5.0")
+ (version "1.6.4")
(source
(origin
(method url-fetch)
(uri (crate-uri "signature" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1r4x94n6ibdd1f85cwmvi29jvyyf1l379n9yybb7jlg9lv0wcm7h"))))
+ (base32 "0z3xg405pg827g6hfdprnszsdqkkbrsfx7f1dl04nv9g7cxks8vl"))))
(arguments
`(#:skip-build? #t
#:cargo-inputs
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 17/21] gnu: Add rust-pkcs1-0.4.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (15 preceding siblings ...)
2023-10-28 22:53 ` [bug#66802] [PATCH 16/21] gnu: rust-signature-1: Update to 1.6.4 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:53 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 18/21] gnu: Add rust-rsa-0.7 Jaeme Sifat via Guix-patches via
` (3 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:53 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-pkcs1-0.4): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I32b754b838ebf331d36a93beac412e95229c4bcb
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7137582746..e4a02ab28e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51578,6 +51578,27 @@ (define-public rust-pkcs1-0.7
(RFC 8017).")
(license (list license:asl2.0 license:expat))))
+(define-public rust-pkcs1-0.4
+ (package
+ (inherit rust-pkcs1-0.7)
+ (name "rust-pkcs1")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pkcs1" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06gpasl1v2d2r74xa8vm72vqy6ryxjynwxna5s5cjk65vzdkpwzg"))))
+ (arguments
+ `(#:cargo-inputs (("rust-der" ,rust-der-0.6)
+ ("rust-pkcs8" ,rust-pkcs8-0.9)
+ ("rust-spki" ,rust-spki-0.6)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-const-oid" ,rust-const-oid-0.9)
+ ("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-pkcs1-0.2
(package
(inherit rust-pkcs1-0.7)
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 18/21] gnu: Add rust-rsa-0.7.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (16 preceding siblings ...)
2023-10-28 22:53 ` [bug#66802] [PATCH 17/21] gnu: Add rust-pkcs1-0.4 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:53 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 19/21] gnu: Add rust-secrecy-0.8 Jaeme Sifat via Guix-patches via
` (2 subsequent siblings)
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:53 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-rsa-0.7): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: I34684a6751cc15152770f9f9578a5b11021c6623
---
gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e4a02ab28e..d08b5395e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59180,6 +59180,44 @@ (define-public rust-rsa-0.9
(description "This package provides a pure Rust RSA implementation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rsa-0.7
+ (package
+ (inherit rust-rsa-0.9)
+ (name "rust-rsa")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rsa" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1709a7gcb2h4r95qyrkdz8nz3jb8k4hafj5q3ibfzg0c8zam4h09"))))
+ (arguments
+ `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-digest" ,rust-digest-0.10)
+ ("rust-num-bigint-dig" ,rust-num-bigint-dig-0.8)
+ ("rust-num-integer" ,rust-num-integer-0.1)
+ ("rust-num-iter" ,rust-num-iter-0.1)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-pkcs1" ,rust-pkcs1-0.4)
+ ("rust-pkcs8" ,rust-pkcs8-0.9)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-signature" ,rust-signature-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-subtle" ,rust-subtle-2)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rand-chacha" ,rust-rand-chacha-0.3)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
+ ("rust-serde-test" ,rust-serde-test-1)
+ ("rust-sha1" ,rust-sha1-0.10)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-sha3" ,rust-sha3-0.10))))))
+
(define-public rust-rsa-0.5
(package
(inherit rust-rsa-0.9)
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 19/21] gnu: Add rust-secrecy-0.8.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (17 preceding siblings ...)
2023-10-28 22:53 ` [bug#66802] [PATCH 18/21] gnu: Add rust-rsa-0.7 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:53 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 20/21] gnu: Add rust-pinentry-0.5 Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 21/21] gnu: Add rust-find-crate-0.6 Jaeme Sifat via Guix-patches via
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:53 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-secrecy-0.8): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Id5b73ee7ece0f00bb8af3a29201436baedbd50e1
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d08b5395e2..c6646278e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63177,6 +63177,31 @@ (define-public rust-seccomp-sys-0.1
(description "This package provides low-level bindings to libseccomp.")
(license license:lgpl2.1)))
+(define-public rust-secrecy-0.8
+ (package
+ (name "rust-secrecy")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "secrecy" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07p9h2bpkkg61f1fzzdqqbf74kwv1gg095r1cdmjzzbcl17cblcv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://github.com/iqlusioninc/crates/")
+ (synopsis "Wrapper types and traits for secret management in Rust")
+ (description
+ "This package provides wrapper types and traits for secret management
+which help ensure they aren't accidentally copied, logged, or otherwise
+exposed (as much as possible), and also ensure secrets are securely wiped from
+memory when dropped.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-secret-service-3
(package
(name "rust-secret-service")
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 20/21] gnu: Add rust-pinentry-0.5.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (18 preceding siblings ...)
2023-10-28 22:53 ` [bug#66802] [PATCH 19/21] gnu: Add rust-secrecy-0.8 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:53 ` Jaeme Sifat via Guix-patches via
2023-10-28 22:53 ` [bug#66802] [PATCH 21/21] gnu: Add rust-find-crate-0.6 Jaeme Sifat via Guix-patches via
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:53 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-pinentry-0.5): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Iba023a2a45e4c541a1d755f90eb4dceef5298707
---
gnu/packages/crates-io.scm | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6646278e7..c77bebbcc8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51334,6 +51334,30 @@ (define-public rust-pin-project-1
"This package provides a crate for safe and ergonomic pin-projection.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-pinentry-0.5
+ (package
+ (name "rust-pinentry")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pinentry" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j4grhhn4q3f4dycnkxr0lcvlv417ysnvs2fm0mmwsmyd2ybi9dz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-percent-encoding" ,rust-percent-encoding-2)
+ ("rust-secrecy" ,rust-secrecy-0.8)
+ ("rust-which" ,rust-which-4)
+ ("rust-zeroize" ,rust-zeroize-1))))
+ (home-page "https://github.com/str4d/pinentry-rs")
+ (synopsis "API for interacting with pinentry binaries")
+ (description "This package provides an API for interacting with pinentry binaries.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ping-0.4
(package
(name "rust-ping")
@@ -84432,7 +84456,7 @@ (define-public rust-wsl-0.1
"Detect if the program is running under Windows Subsystem for Linux")
(description
"This package detects if the program is running under Windows Subsystem
-for Linux")
+for Linux.")
(license license:expat)))
(define-public rust-wycheproof-0.5
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread
* [bug#66802] [PATCH 21/21] gnu: Add rust-find-crate-0.6.
2023-10-28 22:36 [bug#66802] [PATCH 00/21] Add More Rust Crates Jaeme Sifat via Guix-patches via
` (19 preceding siblings ...)
2023-10-28 22:53 ` [bug#66802] [PATCH 20/21] gnu: Add rust-pinentry-0.5 Jaeme Sifat via Guix-patches via
@ 2023-10-28 22:53 ` Jaeme Sifat via Guix-patches via
20 siblings, 0 replies; 22+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-28 22:53 UTC (permalink / raw)
To: 66802; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-find-crate-0.6): New variable.
Signed-off-by: Jaeme Sifat <jaeme@runbox.com>
Change-Id: Iec69b833eb9f4cd0fd195d9b636cd173fb502f57
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c77bebbcc8..ac91d8554d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25903,6 +25903,30 @@ (define-public rust-field-offset-0.3
implementation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-find-crate-0.6
+ (package
+ (name "rust-find-crate")
+ (version "0.6.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "find-crate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ljpkh11gj7940xwz47xjhsvfbl93c2q0ql7l2v0w77amjx8paar"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-toml" ,rust-toml-0.5))
+ #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-semver" ,rust-semver-0.11))))
+ (home-page "https://github.com/taiki-e/find-crate")
+ (synopsis "Find the crate name from the current Cargo.toml")
+ (description
+ "This package provides a way to find the crate name from the current
+Cargo.toml.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-findshlibs-0.10
(package
(name "rust-findshlibs")
--
2.41.0
^ permalink raw reply related [flat|nested] 22+ messages in thread