guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

185/272: gnu: Add rust-postgres-0.15.


From: guix-commits
Subject: 185/272: gnu: Add rust-postgres-0.15.
Date: Sat, 13 Feb 2021 05:54:55 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 04661b6931eb3968e6de5cffd444315a82de2a6e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Feb 10 17:44:32 2021 +0100

    gnu: Add rust-postgres-0.15.
    
    * gnu/packages/crates-io.scm (rust-postgres-0.15): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 427efbd..8401586 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27984,6 +27984,38 @@ overloading without macros in Rust.")
 UDP.")
     (license license:unlicense)))
 
+(define-public rust-postgres-0.15
+  (package
+    (name "rust-postgres")
+    (version "0.15.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "postgres" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1id6jb56jack7kxivpp3rnjjmkmymmxqadf0h0smgbsixy8dwp8i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bytes" ,rust-bytes-0.4)
+        ("rust-fallible-iterator" ,rust-fallible-iterator-0.1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-native-tls" ,rust-native-tls-0.1)
+        ("rust-openssl" ,rust-openssl-0.9)
+        ("rust-postgres-protocol" ,rust-postgres-protocol-0.3)
+        ("rust-postgres-shared" ,rust-postgres-shared-0.4)
+        ("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)))
+
 (define-public rust-postgres-protocol-0.3
   (package
     (name "rust-postgres-protocol")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]