Subject: bug#49387: closed (Re: [bug#49383] [PATCH v2 00/26] Addressing comments)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 13 Jul 2021 12:18:02 +0000

Your bug report

#49383: [PATCH 06/21] gnu: Add rust-tokio-postgres-0.7

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].

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

Subject: Re: [bug#49383] [PATCH v2 00/26] Addressing comments
From: Efraim Flashner <[email-masked]>
To: Domagoj Stolfa <[email-masked]>
Cc: [email-masked], Domagoj Stolfa <[email-masked]>
Date: Tue, 13 Jul 2021 15:15:49 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Patches pushed. Some of the patches which changed some crates from using
rust-cipher-0.2 to 0.3 I skipped since they no longer built after the
change.

Thanks!

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH 06/21] gnu: Add rust-tokio-postgres-0.7
From: Domagoj Stolfa <[email-masked]>
To: [email-masked]
Cc: Domagoj Stolfa <[email-masked]>
Date: Sun, 4 Jul 2021 17:31:48 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/crates-io.scm (rust-tokio-postgres-0.7): New public variable.
---
 gnu/packages/crates-io.scm | 56 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b77c044dbf..359b48542d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48294,6 +48294,62 @@ OpenSSL.")
        #:cargo-development-inputs
        (("rust-tokio" ,rust-tokio-0.1))))))
 
+(define-public rust-tokio-postgres-0.7
+  (package
+    (name "rust-tokio-postgres")
+    (version "0.7.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "tokio-postgres" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "12rb390i3af7zb0z2idhaf6l2m6snypwdiwjw84rmyz4qy1i6ard"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-async-trait" ,rust-async-trait-0.1)
+         ("rust-byteorder" ,rust-byteorder-1)
+         ("rust-bytes" ,rust-bytes-1)
+         ("rust-fallible-iterator"
+          ,rust-fallible-iterator-0.2)
+         ("rust-futures" ,rust-futures-0.3)
+         ("rust-log" ,rust-log-0.4)
+         ("rust-parking-lot" ,rust-parking-lot-0.11)
+         ("rust-percent-encoding"
+          ,rust-percent-encoding-2)
+         ("rust-phf" ,rust-phf-0.8)
+         ("rust-pin-project-lite"
+          ,rust-pin-project-lite-0.2)
+         ("rust-postgres-protocol"
+          ,rust-postgres-protocol-0.6)
+         ("rust-postgres-types" ,rust-postgres-types-0.2)
+         ("rust-socket2" ,rust-socket2-0.4)
+         ("rust-tokio" ,rust-tokio-1)
+         ("rust-tokio-util" ,rust-tokio-util-0.6))
+        #:cargo-development-inputs
+        (("rust-bit-vec" ,rust-bit-vec-0.6)
+         ("rust-chrono" ,rust-chrono-0.4)
+         ("rust-criterion" ,rust-criterion-0.3)
+         ("rust-env-logger" ,rust-env-logger-0.8)
+         ("rust-eui48" ,rust-eui48-0.4)
+         ("rust-geo-types" ,rust-geo-types-0.7)
+         ("rust-geo-types" ,rust-geo-types-0.6)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-time" ,rust-time-0.2)
+         ("rust-tokio" ,rust-tokio-1)
+         ("rust-uuid" ,rust-uuid-0.8))))
+    (home-page
+      "https://github.com/sfackler/rust-postgres")
+    (synopsis
+      "A native, asynchronous PostgreSQL client")
+    (description
+      "This package provides a native, asynchronous PostgreSQL client")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-tokio-process-0.2
   (package
     (name "rust-tokio-process")
-- 
2.32.0