[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19
From: |
Domagoj Stolfa |
Subject: |
[bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19 |
Date: |
Sun, 11 Jul 2021 15:55:54 +0100 |
* gnu/packages/crates-io.scm (rust-postgres-0.19): New public variable.
---
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 4224cf525d..e4d33adfdd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32852,8 +32852,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
+ `(#:skip-build? #t
+ #: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
@@ -32877,12 +32910,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
--
2.32.0
- [bug#49383] [PATCH v2 04/26] gnu: Add rust-geo-types-0.7, (continued)
- [bug#49383] [PATCH v2 04/26] gnu: Add rust-geo-types-0.7, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 06/26] gnu: Add rust-cipher-0.3, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 07/26] gnu: rust-crypto-mac-0.10: Use rust-cipher-0.3., Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 08/26] gnu: rust-ctr-0.6: Use rust-cipher-0.3., Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 10/26] gnu: rust-win-crypto-ng-0.4: Use rust-cipher-0.3., Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 16/26] gnu: Add rust-eui48-0.4, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 17/26] gnu: Add rust-rstar-0.8, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 18/26] gnu: Add rust-geo-types-0.6, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 21/26] gnu: Add rust-tokio-postgres-0.7, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19,
Domagoj Stolfa <=
- [bug#49383] [PATCH v2 23/26] gnu: Add rust-statistical-1, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 15/26] gnu: Add rust-postgres-protocol-0.6, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 24/26] gnu: Add rust-rust-decimal-1, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 25/26] gnu: Add rust-colored-2, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 19/26] gnu: Add rust-postgres-types-0.2, Domagoj Stolfa, 2021/07/11
- [bug#49383] [PATCH v2 26/26] gnu: Add hyperfine., Domagoj Stolfa, 2021/07/11
- bug#49383: [PATCH v2 00/26] Addressing comments, Efraim Flashner, 2021/07/13