[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/23: gnu: Add rust-postgres-0.19.
From: |
guix-commits |
Subject: |
18/23: gnu: Add rust-postgres-0.19. |
Date: |
Tue, 13 Jul 2021 08:16:12 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit c52cba9847023fb3e37a3a149dff1a91a5b6e881
Author: Domagoj Stolfa <domagoj.stolfa@gmail.com>
AuthorDate: Sun Jul 11 15:55:54 2021 +0100
gnu: Add rust-postgres-0.19.
* gnu/packages/crates-io.scm (rust-postgres-0.19): New variable.
(rust-postgres-0.15): Inherit from rust-postgres-0.19.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++------
1 file changed, 34 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 31d0c5a..a8e1d20 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32832,8 +32832,41 @@ overloading without macros in Rust.")
UDP.")
(license license:unlicense)))
+(define-public rust-postgres-0.19
+ (package
+ (name "rust-postgres")
+ (version "0.19.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "postgres" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1hnid1d78zrr8ph12lpvp5b2cpx2fsqqgqs2yn1q23c6g7jix1y7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:rust ,rust-1.46 ; or later
+ #:tests? #f ; tests require postgres server.
+ #:cargo-inputs
+ (("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-tokio" ,rust-tokio-1)
+ ("rust-tokio-postgres" ,rust-tokio-postgres-0.7))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3))))
+ (home-page "https://github.com/sfackler/rust-postgres")
+ (synopsis "Native, synchronous PostgreSQL client")
+ (description
+ "This package provides a native, synchronous PostgreSQL client.")
+ (license license:expat)))
+
(define-public rust-postgres-0.15
(package
+ (inherit rust-postgres-0.19)
(name "rust-postgres")
(version "0.15.2")
(source
@@ -32857,12 +32890,7 @@ UDP.")
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
("rust-schannel" ,rust-schannel-0.1)
("rust-security-framework" ,rust-security-framework-0.1)
- ("rust-socket2" ,rust-socket2-0.3))))
- (home-page "https://github.com/sfackler/rust-postgres")
- (synopsis "Native, synchronous PostgreSQL client")
- (description
- "This package provides a native, synchronous PostgreSQL client.")
- (license license:expat)))
+ ("rust-socket2" ,rust-socket2-0.3))))))
(define-public rust-postgres-derive-0.4
(package
- 06/23: gnu: Add rust-bit-vec-0.6., (continued)
- 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
- 11/23: gnu: Add rust-hmac-0.10., guix-commits, 2021/07/13
- 18/23: gnu: Add rust-postgres-0.19.,
guix-commits <=
- 21/23: gnu: Add rust-colored-2., guix-commits, 2021/07/13
- 22/23: gnu: Add hyperfine., guix-commits, 2021/07/13
- 23/23: gnu: hyperfine: Install completions., guix-commits, 2021/07/13
- 20/23: gnu: Add rust-rust-decimal-1., guix-commits, 2021/07/13