[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/23: gnu: Add rust-postgres-protocol-0.6.
From: |
guix-commits |
Subject: |
12/23: gnu: Add rust-postgres-protocol-0.6. |
Date: |
Tue, 13 Jul 2021 08:16:09 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 63fab9e16ce7b1b566d72bf30191543ab8c5a05a
Author: Domagoj Stolfa <domagoj.stolfa@gmail.com>
AuthorDate: Sun Jul 11 15:55:47 2021 +0100
gnu: Add rust-postgres-protocol-0.6.
* gnu/packages/crates-io.scm (rust-postgres-protocol-0.6): New variable.
(rust-postgres-protocol-0.3): Inherit from rust-postgres-protocol-0.6.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++-------
1 file changed, 34 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0d4a107..868a85d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32865,8 +32865,41 @@ UDP.")
"This is an internal crate used by postgres-types.")
(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
+ "This package provides low level Postgres protocol APIs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-postgres-protocol-0.3
(package
+ (inherit rust-postgres-protocol-0.6)
(name "rust-postgres-protocol")
(version "0.3.2")
(source
@@ -32876,7 +32909,6 @@ UDP.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04kkznbhwspfn0hdja3jsv37l6g5gz7a625z8yra325zamjfd1r4"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
@@ -32890,12 +32922,7 @@ UDP.")
("rust-memchr" ,rust-memchr-1)
("rust-rand" ,rust-rand-0.3)
("rust-sha2" ,rust-sha2-0.7)
- ("rust-stringprep" ,rust-stringprep-0.1))))
- (home-page "https://github.com/sfackler/rust-postgres")
- (synopsis "Low level Postgres protocol APIs")
- (description
- "This package provides low level Postgres protocol APIs.")
- (license (list license:expat license:asl2.0))))
+ ("rust-stringprep" ,rust-stringprep-0.1))))))
(define-public rust-postgres-shared-0.4
(package
- branch master updated (5346e13 -> 61a8c91), guix-commits, 2021/07/13
- 01/23: gnu: Add rust-pdqselect-0.1., guix-commits, 2021/07/13
- 02/23: gnu: Add rust-postgres-derive-0.4., guix-commits, 2021/07/13
- 04/23: gnu: Add rust-rstar-0.8., guix-commits, 2021/07/13
- 03/23: gnu: Add rust-rstar-0.9., guix-commits, 2021/07/13
- 05/23: gnu: Add rust-geo-types-0.7, guix-commits, 2021/07/13
- 09/23: gnu: Add rust-streebog-0.9., guix-commits, 2021/07/13
- 12/23: gnu: Add rust-postgres-protocol-0.6.,
guix-commits <=
- 13/23: gnu: Add rust-eui48-0.4., guix-commits, 2021/07/13
- 06/23: gnu: Add rust-bit-vec-0.6., guix-commits, 2021/07/13
- 15/23: gnu: Add rust-postgres-types-0.2., guix-commits, 2021/07/13
- 08/23: gnu: Add rust-crypto-mac-0.11., guix-commits, 2021/07/13
- 19/23: gnu: Add rust-statistical-1., guix-commits, 2021/07/13
- 10/23: gnu: Add rust-hmac-0.11., guix-commits, 2021/07/13
- 14/23: gnu: Add rust-geo-types-0.6., guix-commits, 2021/07/13
- 16/23: gnu: Add rust-socket2-0.4., guix-commits, 2021/07/13
- 17/23: gnu: Add rust-tokio-postgres-0.7., guix-commits, 2021/07/13
- 07/23: gnu: Add rust-cipher-0.3., guix-commits, 2021/07/13