Subject: bug#53117: closed (Re: [bug#53075] [PATCH 1/41] gnu: rust-rbw: adding rust-zeroize-1.4)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 19 Jan 2022 13:30:17 +0000

Your bug report

#53075: [PATCH 41/41] gnu: adding rust-rbw

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
53075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53075
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#53075] [PATCH 1/41] gnu: rust-rbw: adding rust-zeroize-1.4
From: Nicolas Goaziou <[email-masked]>
To: Nicolas Graves via Guix-patches via <[email-masked]>
Cc: Nicolas Graves <[email-masked]>, [email-masked]
Date: Wed, 19 Jan 2022 14:29:32 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Nicolas Graves via Guix-patches via <[email-masked]> writes:

> From 117ac2e745d1e9e2122bdf5859ae2b2781ca01c4 Mon Sep 17 00:00:00 2001
> From: Nicolas Graves <[email-masked]>
> Date: Thu, 6 Jan 2022 23:16:42 +0100
> Subject: [PATCH 02/42] rust-rbw dependencies : adding rust-zeroize-1.4

Thank you. First some general notes about your patches.

The first thing is that your patch set should have gone under the same
bug number. You created more than 40 bugs for rbw. You may want to look
at "Contributing" section of the Guix manual for details.

Also, commit messages are normalized in Guix. You should look at what
I wrote instead of yours to get a feel about it.

Eventually, descriptions should consist of full sentences.

Now about this patch.

Unless under exceptional circumstances, we don't add a new package for
a change below the first non-zero digit. In this case, the common way is
to simply update rust-zeroize-1 to 1.4.3.

Therefore, I dropped this patch and did the above.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH 41/41] gnu: adding rust-rbw
From: Nicolas Graves <[email-masked]>
To: [email-masked]
Date: Fri, 07 Jan 2022 15:32:30 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

>From ac3677579d9b0b8485deda8f2a14507f070b4bdd Mon Sep 17 00:00:00 2001
From: Nicolas Graves <[email-masked]>
Date: Fri, 7 Jan 2022 14:05:13 +0100
Subject: [PATCH 42/42] adding package rust-rbw-1

---
 gnu/packages/crates-io.scm | 65 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d77e8727b3..b66b39e9d3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43503,6 +43503,71 @@ (define-public rust-rayon-core-1
     (description "This package provides core APIs for Rayon.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-rbw-1
+  (package
+   (name "rust-rbw")
+   (version "1.4.1")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (crate-uri "rbw" version))
+     (file-name (string-append name "-" version ".tar.gz"))
+     (sha256
+      (base32 "0zszp9hvilpikbd66b5zbvspks0spv8dh0yry0sxnc5yqvl2ixnf"))))
+   (build-system cargo-build-system)
+   (arguments
+    `(#:cargo-inputs
+      (("rust-aes" ,rust-aes-0.7)
+       ("rust-anyhow" ,rust-anyhow-1)
+       ("rust-arrayvec" ,rust-arrayvec-0.7)
+       ("rust-async-trait" ,rust-async-trait-0.1)
+       ("rust-base32" ,rust-base32-0.4)
+       ("rust-base64" ,rust-base64-0.13)
+       ("rust-block-modes" ,rust-block-modes-0.8)
+       ("rust-block-padding" ,rust-block-padding-0.2)
+       ("rust-daemonize" ,rust-daemonize-0.4)
+       ("rust-directories" ,rust-directories-4)
+       ("rust-env-logger" ,rust-env-logger-0.9)
+       ("rust-hkdf" ,rust-hkdf-0.11)
+       ("rust-hmac" ,rust-hmac-0.11)
+       ("rust-humantime" ,rust-humantime-2)
+       ("rust-libc" ,rust-libc-0.2)
+       ("rust-log" ,rust-log-0.4)
+       ("rust-nix" ,rust-nix-0.23)
+       ("rust-paw" ,rust-paw-1)
+       ("rust-pbkdf2" ,rust-pbkdf2-0.9)
+       ("rust-percent-encoding" ,rust-percent-encoding-2)
+       ("rust-rand" ,rust-rand-0.8)
+       ("rust-region" ,rust-region-3)
+       ("rust-reqwest" ,rust-reqwest-0.11)
+       ("rust-rsa" ,rust-rsa-0.5)
+       ("rust-serde" ,rust-serde-1)
+       ("rust-serde-json" ,rust-serde-json-1)
+       ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
+       ("rust-serde-repr" ,rust-serde-repr-0.1)
+       ("rust-sha-1" ,rust-sha-1-0.9)
+       ("rust-sha2" ,rust-sha2-0.9)
+       ("rust-structopt" ,rust-structopt-0.3)
+       ("rust-tempfile" ,rust-tempfile-3)
+       ("rust-term-size" ,rust-term-size-0.3)
+       ("rust-textwrap" ,rust-textwrap-0.11)
+       ("rust-thiserror" ,rust-thiserror-1)
+       ("rust-tokio" ,rust-tokio-1)
+       ("rust-totp-lite" ,rust-totp-lite-1)
+       ("rust-url" ,rust-url-2)
+       ("rust-uuid" ,rust-uuid-0.8)
+       ("rust-zeroize" ,rust-zeroize-1.4))))
+   (home-page "https://git.tozt.net/rbw")
+   (synopsis "Unofficial Bitwarden CLI")
+   (description "This package is an unofficial command line client for
+Bitwarden. Although it does come with its own command line client, this client
+is limited by being stateless, which makes it very difficult to use. This
+client avoids this problem by maintaining a background process which is able
+to hold the keys in memory, similar to the way that ssh-agent or gpg-agent
+work. This allows the client to be used in a much simpler way, with the
+background agent taking care of maintaining the necessary state.")
+   (license license:expat)))
+
 (define-public rust-rctree-0.3
   (package
     (name "rust-rctree")
-- 
2.34.0