GNU bug report logs - #49388
[PATCH 07/21] gnu: Add rust-postgres-protocol-0.6

Previous Next

Package: guix-patches;

Reported by: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>

Date: Sun, 4 Jul 2021 16:33:06 UTC

Severity: normal

Tags: patch

Merged with 49382, 49383, 49384, 49385, 49386, 49387, 49389, 49390, 49391, 49392, 49393, 49394, 49395, 49396, 49397, 49398, 49399, 49400, 49401, 49402, 49403

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH 07/21] gnu: Add rust-postgres-protocol-0.6
Date: Sun,  4 Jul 2021 17:31:49 +0100
* gnu/packages/crates-io.scm (rust-postgres-protocol-0.6): New public variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 359b48542d..e998ad334f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32581,6 +32581,39 @@ UDP.")
      "This package provides low level Postgres protocol APIs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-postgres-protocol-0.6
+  (package
+    (name "rust-postgres-protocol")
+    (version "0.6.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "postgres-protocol" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1wxzs78zvz00bh3bhbbp9hnq9hg77f8h5pzjmcy9481fsdq0ygpz"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-base64" ,rust-base64-0.13)
+         ("rust-byteorder" ,rust-byteorder-1)
+         ("rust-bytes" ,rust-bytes-1)
+         ("rust-fallible-iterator"
+          ,rust-fallible-iterator-0.2)
+         ("rust-hmac" ,rust-hmac-0.10)
+         ("rust-md-5" ,rust-md-5-0.9)
+         ("rust-memchr" ,rust-memchr-2)
+         ("rust-rand" ,rust-rand-0.8)
+         ("rust-sha2" ,rust-sha2-0.9)
+         ("rust-stringprep" ,rust-stringprep-0.1))))
+    (home-page
+      "https://github.com/sfackler/rust-postgres")
+    (synopsis "Low level Postgres protocol APIs")
+    (description "Low level Postgres protocol APIs")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-postgres-shared-0.4
   (package
     (name "rust-postgres-shared")
-- 
2.32.0





This bug report was last modified 4 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.