guix-commits
[Top][All Lists]
Advanced

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

184/272: gnu: Add rust-postgres-shared-0.4.


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

ngz pushed a commit to branch master
in repository guix.

commit 773ef90517dba73b350479d1004b96d436af1617
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Feb 10 17:44:18 2021 +0100

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 411cd67..427efbd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28016,6 +28016,41 @@ UDP.")
      "This package provides low level Postgres protocol APIs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-postgres-shared-0.4
+  (package
+    (name "rust-postgres-shared")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "postgres-shared" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vzk1njkqkd2xxz34jnax29z4179ni4j3f534i6416q2w2rkbb7z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bit-vec" ,rust-bit-vec-0.4)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-eui48" ,rust-eui48-0.3)
+        ("rust-fallible-iterator" ,rust-fallible-iterator-0.1)
+        ("rust-geo" ,rust-geo-0.4)
+        ("rust-hex" ,rust-hex-0.2)
+        ("rust-phf" ,rust-phf-0.7)
+        ("rust-postgres-protocol" ,rust-postgres-protocol-0.3)
+        ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-time" ,rust-time-0.1)
+        ("rust-uuid" ,rust-uuid-0.5))))
+    (home-page "https://github.com/sfackler/rust-postgres";)
+    (synopsis
+     "Internal crate used by @code{postgres} and @code{postgres-tokio}")
+    (description
+     "This is an internal crate used by @code{postgres} and
+@code{postgres-tokio}.")
+    (license license:expat)))
+
 (define-public rust-ppv-lite86-0.2
   (package
     (name "rust-ppv-lite86")



reply via email to

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