all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#49383] [PATCH 00/21] Add hyperfine
@ 2021-07-04 16:31 Domagoj Stolfa
  2021-07-04 16:31 ` [bug#49382] [PATCH 01/21] gnu: " Domagoj Stolfa
                   ` (22 more replies)
  0 siblings, 23 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

Hyperfine is a rust utility used for benchmarking, see:
https://github.com/sharkdp/hyperfine.

This patch series packages hyperfine in Guix, and each patch is adding the
necessary dependencies for hyperfine to build.

I've tested 5 rounds of building hyperfine and everything seems to be in order
and have been using it locally.

Domagoj Stolfa (21):
  gnu: Add hyperfine.
  gnu: Add rust-colored-2
  gnu: Add rust-rust-decimal-1
  gnu: Add rust-statistical-1
  gnu: Add rust-postgres-0.19
  gnu: Add rust-tokio-postgres-0.7
  gnu: Add rust-postgres-protocol-0.6
  gnu: Add rust-postgres-types-0.2
  gnu: Add rust-socket2-0.4
  gnu: Add rust-hmac-0.11
  gnu: Add rust-crypto-mac-0.11
  gnu: Add rust-cipher-0.3
  gnu: Add rust-streebog-0.9
  gnu: Add rust-hmac-0.10
  gnu: Add rust-bit-vec-0.6
  gnu: Add rust-eui48-0.4
  gnu: Add rust-geo-types-0.7
  gnu: Add rust-geo-types-0.6
  gnu: Add rust-rstar-0.8
  gnu: Add rust-postgres-derive-0.4
  gnu: Add rust-pdqselect-0.1

 gnu/packages/crates-io.scm | 628 +++++++++++++++++++++++++++++++++++++
 gnu/packages/rust-apps.scm |  40 +++
 2 files changed, 668 insertions(+)

-- 
2.32.0





^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49382] [PATCH 01/21] gnu: Add hyperfine.
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-04 16:31 ` [bug#49384] [PATCH 02/21] gnu: Add rust-colored-2 Domagoj Stolfa
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49382; +Cc: Domagoj Stolfa

* gnu/packages/rust-apps.scm (hyperfine): New public variable.
---
 gnu/packages/rust-apps.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 5108ade3c9..f3edfabbaa 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -377,6 +377,46 @@ for distinguishing different kinds of bytes such as NULL bytes, printable ASCII
 characters, ASCII whitespace characters, other ASCII characters and non-ASCII.")
     (license (list license:expat license:asl2.0))))
 
+(define-public hyperfine
+  (package
+    (name "hyperfine")
+    (version "1.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "hyperfine" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0m5lrvx6wwkxqdc5digm1k4diiaqcg5j4pia77s5nw1aam7k51hy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52
+       #:cargo-inputs
+       (("rust-atty" ,rust-atty-0.2)
+        ("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-clap" ,rust-clap-2)
+        ("rust-colored" ,rust-colored-2)
+        ("rust-csv" ,rust-csv-1)
+        ("rust-indicatif" ,rust-indicatif-0.15)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-rand" ,rust-rand-0.7)
+        ("rust-rust-decimal" ,rust-rust-decimal-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-statistical" ,rust-statistical-1)
+        ("rust-version-check" ,rust-version-check-0.9)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-approx" ,rust-approx-0.3))))
+    (home-page
+     "https://github.com/sharkdp/hyperfine")
+    (synopsis "A command-line benchmarking tool")
+    (description
+     "This package provides a command-line benchmarking tool")
+    (license (list license:expat license:asl2.0))))
+
 (define-public ripgrep
   (package
     (name "ripgrep")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49384] [PATCH 02/21] gnu: Add rust-colored-2
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
  2021-07-04 16:31 ` [bug#49382] [PATCH 01/21] gnu: " Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  8:50   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49391] [PATCH 03/21] gnu: Add rust-rust-decimal-1 Domagoj Stolfa
                   ` (20 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49384; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-colored-2): New public variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b3fea5859..842400c13d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8603,6 +8603,35 @@ colors.")
        (sha256
         (base32 "0fildacm47g86acmx44yvxx6cka8fdym5qkgfm8x8gh2hsrghc7r"))))))
 
+(define-public rust-colored-2
+  (package
+    (name "rust-colored")
+    (version "2.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "colored" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1gbcijscmznzy42rn213yp9ima7210zakgaqibgg1n441dsnyqdk"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-atty" ,rust-atty-0.2)
+         ("rust-lazy-static" ,rust-lazy-static-1)
+         ("rust-winapi" ,rust-winapi-0.3))
+        #:cargo-development-inputs
+        (("rust-ansi-term" ,rust-ansi-term-0.12)
+         ("rust-rspec" ,rust-rspec-1))))
+    (home-page "https://github.com/mackwic/colored")
+    (synopsis
+      "The most simple way to add colors in your terminal")
+    (description
+      "The most simple way to add colors in your terminal")
+    (license license:mpl2.0)))
+
 (define-public rust-combine-4
   (package
     (name "rust-combine")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49391] [PATCH 03/21] gnu: Add rust-rust-decimal-1
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
  2021-07-04 16:31 ` [bug#49382] [PATCH 01/21] gnu: " Domagoj Stolfa
  2021-07-04 16:31 ` [bug#49384] [PATCH 02/21] gnu: Add rust-colored-2 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  8:51   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49385] [PATCH 04/21] gnu: Add rust-statistical-1 Domagoj Stolfa
                   ` (19 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49391; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-rust-decimal-1): New public variable.
---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 842400c13d..7e0ed9e504 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37357,6 +37357,48 @@ password hashing function.")
 suitable for financial calculations.")
     (license license:expat)))
 
+(define-public rust-rust-decimal-1
+  (package
+    (name "rust-rust-decimal")
+    (version "1.14.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rust-decimal" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "10k58hf367626d4akl7ifyk5qwqphfs5x6z1yay22pkyc6w7q4h1"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-arbitrary" ,rust-arbitrary-1)
+         ("rust-arrayvec" ,rust-arrayvec-0.5)
+         ("rust-byteorder" ,rust-byteorder-1)
+         ("rust-bytes" ,rust-bytes-1)
+         ("rust-diesel" ,rust-diesel-1)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-postgres" ,rust-postgres-0.19)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-tokio-postgres" ,rust-tokio-postgres-0.7))
+        #:cargo-development-inputs
+        (("rust-bincode" ,rust-bincode-1)
+         ("rust-bytes" ,rust-bytes-1)
+         ("rust-csv" ,rust-csv-1)
+         ("rust-futures" ,rust-futures-0.3)
+         ("rust-serde-derive" ,rust-serde-derive-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-tokio" ,rust-tokio-1))))
+    (home-page
+      "https://github.com/paupino/rust-decimal")
+    (synopsis
+      "A Decimal Implementation written in pure Rust suitable for financial calculations.")
+    (description
+      "This package provides a Decimal Implementation written in pure Rust suitable for financial calculations.")
+    (license license:expat)))
+
 (define-public rust-rust-embed-5
   (package
     (name "rust-rust-embed")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49385] [PATCH 04/21] gnu: Add rust-statistical-1
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (2 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49391] [PATCH 03/21] gnu: Add rust-rust-decimal-1 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  8:52   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49386] [PATCH 05/21] gnu: Add rust-postgres-0.19 Domagoj Stolfa
                   ` (18 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49385; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-statistical-1): New public variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7e0ed9e504..61641c9a05 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43499,6 +43499,31 @@ are met.")
 map.")
     (license license:expat)))
 
+(define-public rust-statistical-1
+  (package
+    (name "rust-statistical")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "statistical" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0wm35q6p6jcq1r1darczv4if7qss460kd391nlw5x3hjpc17kma9"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-num" ,rust-num-0.2)
+         ("rust-rand" ,rust-rand-0.6))))
+    (home-page
+      "https://github.com/JeffBelgum/statistical")
+    (synopsis "A simple statistics library")
+    (description
+      "This package provides a simple statistics library")
+    (license license:expat)))
+
 (define-public rust-stb-truetype-0.3
   (package
     (name "rust-stb-truetype")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49386] [PATCH 05/21] gnu: Add rust-postgres-0.19
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (3 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49385] [PATCH 04/21] gnu: Add rust-statistical-1 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  8:53   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49387] [PATCH 06/21] gnu: Add rust-tokio-postgres-0.7 Domagoj Stolfa
                   ` (17 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49386; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-postgres-0.19): New public variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 61641c9a05..b77c044dbf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32516,6 +32516,39 @@ UDP.")
      "This package provides a native, synchronous PostgreSQL client.")
     (license license:expat)))
 
+(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
+      `(#: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
+      "A native, synchronous PostgreSQL client")
+    (description
+      "This package provides a native, synchronous PostgreSQL client")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-postgres-protocol-0.3
   (package
     (name "rust-postgres-protocol")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49387] [PATCH 06/21] gnu: Add rust-tokio-postgres-0.7
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (4 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49386] [PATCH 05/21] gnu: Add rust-postgres-0.19 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  8:54   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49388] [PATCH 07/21] gnu: Add rust-postgres-protocol-0.6 Domagoj Stolfa
                   ` (16 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49387; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-tokio-postgres-0.7): New public variable.
---
 gnu/packages/crates-io.scm | 56 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b77c044dbf..359b48542d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48294,6 +48294,62 @@ OpenSSL.")
        #:cargo-development-inputs
        (("rust-tokio" ,rust-tokio-0.1))))))
 
+(define-public rust-tokio-postgres-0.7
+  (package
+    (name "rust-tokio-postgres")
+    (version "0.7.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "tokio-postgres" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "12rb390i3af7zb0z2idhaf6l2m6snypwdiwjw84rmyz4qy1i6ard"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-async-trait" ,rust-async-trait-0.1)
+         ("rust-byteorder" ,rust-byteorder-1)
+         ("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-parking-lot" ,rust-parking-lot-0.11)
+         ("rust-percent-encoding"
+          ,rust-percent-encoding-2)
+         ("rust-phf" ,rust-phf-0.8)
+         ("rust-pin-project-lite"
+          ,rust-pin-project-lite-0.2)
+         ("rust-postgres-protocol"
+          ,rust-postgres-protocol-0.6)
+         ("rust-postgres-types" ,rust-postgres-types-0.2)
+         ("rust-socket2" ,rust-socket2-0.4)
+         ("rust-tokio" ,rust-tokio-1)
+         ("rust-tokio-util" ,rust-tokio-util-0.6))
+        #:cargo-development-inputs
+        (("rust-bit-vec" ,rust-bit-vec-0.6)
+         ("rust-chrono" ,rust-chrono-0.4)
+         ("rust-criterion" ,rust-criterion-0.3)
+         ("rust-env-logger" ,rust-env-logger-0.8)
+         ("rust-eui48" ,rust-eui48-0.4)
+         ("rust-geo-types" ,rust-geo-types-0.7)
+         ("rust-geo-types" ,rust-geo-types-0.6)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-time" ,rust-time-0.2)
+         ("rust-tokio" ,rust-tokio-1)
+         ("rust-uuid" ,rust-uuid-0.8))))
+    (home-page
+      "https://github.com/sfackler/rust-postgres")
+    (synopsis
+      "A native, asynchronous PostgreSQL client")
+    (description
+      "This package provides a native, asynchronous PostgreSQL client")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-tokio-process-0.2
   (package
     (name "rust-tokio-process")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49388] [PATCH 07/21] gnu: Add rust-postgres-protocol-0.6
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (5 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49387] [PATCH 06/21] gnu: Add rust-tokio-postgres-0.7 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  8:54   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49389] [PATCH 08/21] gnu: Add rust-postgres-types-0.2 Domagoj Stolfa
                   ` (15 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49388; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-postgres-protocol-0.6): New public variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 359b48542d..e998ad334f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32581,6 +32581,39 @@ UDP.")
      "This package provides low level Postgres protocol APIs.")
     (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 "Low level Postgres protocol APIs")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-postgres-shared-0.4
   (package
     (name "rust-postgres-shared")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49389] [PATCH 08/21] gnu: Add rust-postgres-types-0.2
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (6 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49388] [PATCH 07/21] gnu: Add rust-postgres-protocol-0.6 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  8:55   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4 Domagoj Stolfa
                   ` (14 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49389; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-postgres-types-0.2): New public variable.
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e998ad334f..79937fb40a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32649,6 +32649,46 @@ UDP.")
 @code{postgres-tokio}.")
     (license license:expat)))
 
+(define-public rust-postgres-types-0.2
+  (package
+    (name "rust-postgres-types")
+    (version "0.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "postgres-types" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0brsqkydz0grfy60nc1d0hxa9jbpim0c7c52v467nrdpw4ql23s3"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-bit-vec" ,rust-bit-vec-0.6)
+         ("rust-bytes" ,rust-bytes-1)
+         ("rust-chrono" ,rust-chrono-0.4)
+         ("rust-eui48" ,rust-eui48-0.4)
+         ("rust-fallible-iterator"
+          ,rust-fallible-iterator-0.2)
+         ("rust-geo-types" ,rust-geo-types-0.7)
+         ("rust-geo-types" ,rust-geo-types-0.6)
+         ("rust-postgres-derive"
+          ,rust-postgres-derive-0.4)
+         ("rust-postgres-protocol"
+          ,rust-postgres-protocol-0.6)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-time" ,rust-time-0.2)
+         ("rust-uuid" ,rust-uuid-0.8))))
+    (home-page
+      "https://github.com/sfackler/rust-postgres")
+    (synopsis
+      "Conversions between Rust and Postgres values")
+    (description
+      "Conversions between Rust and Postgres values")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ppv-lite86-0.2
   (package
     (name "rust-ppv-lite86")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (7 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49389] [PATCH 08/21] gnu: Add rust-postgres-types-0.2 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  8:59   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49393] [PATCH 10/21] gnu: Add rust-hmac-0.11 Domagoj Stolfa
                   ` (13 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49390; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-socket2-0.4): New public variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 79937fb40a..055730505b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43154,6 +43154,36 @@ maximal amount of configuration possible intended.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-socket2-0.4
+  (package
+    (name "rust-socket2")
+    (version "0.4.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "socket2" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-libc" ,rust-libc-0.2)
+         ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page
+      "https://github.com/rust-lang/socket2")
+    (synopsis
+      "Utilities for handling networking sockets with a maximal amount of configuration
+possible intended.
+")
+    (description
+      "Utilities for handling networking sockets with a maximal amount of configuration
+possible intended.
+")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-socks-0.3
   (package
     (name "rust-socks")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49393] [PATCH 10/21] gnu: Add rust-hmac-0.11
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (8 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  9:04   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49392] [PATCH 11/21] gnu: Add rust-crypto-mac-0.11 Domagoj Stolfa
                   ` (12 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49393; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-hmac-0.11): New public variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 055730505b..4dfaa544e8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19986,6 +19986,36 @@ Derivation Function (HKDF).")
        (("rust-digest" ,rust-digest-0.8)
         ("rust-hmac" ,rust-hmac-0.7))))))
 
+(define-public rust-hmac-0.11
+  (package
+    (name "rust-hmac")
+    (version "0.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "hmac" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.11)
+         ("rust-digest" ,rust-digest-0.9))
+        #:cargo-development-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.11)
+         ("rust-md-5" ,rust-md-5-0.9)
+         ("rust-sha2" ,rust-sha2-0.9)
+         ("rust-streebog" ,rust-streebog-0.9))))
+    (home-page "https://github.com/RustCrypto/MACs")
+    (synopsis
+      "Generic implementation of Hash-based Message Authentication Code (HMAC)")
+    (description
+      "Generic implementation of Hash-based Message Authentication Code (HMAC)")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hmac-0.8
   (package
     (name "rust-hmac")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49392] [PATCH 11/21] gnu: Add rust-crypto-mac-0.11
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (9 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49393] [PATCH 10/21] gnu: Add rust-hmac-0.11 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  9:05   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49395] [PATCH 12/21] gnu: Add rust-cipher-0.3 Domagoj Stolfa
                   ` (11 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49392; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-crypto-mac-0.11): New public variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4dfaa544e8..1542178724 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10838,6 +10838,34 @@ number ``crunching``.")
 common cryptographic algorithms.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-crypto-mac-0.11
+  (package
+    (name "rust-crypto-mac")
+    (version "0.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "crypto-mac" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-blobby" ,rust-blobby-0.3)
+         ("rust-cipher" ,rust-cipher-0.3)
+         ("rust-generic-array" ,rust-generic-array-0.14)
+         ("rust-subtle" ,rust-subtle-2))))
+    (home-page
+      "https://github.com/RustCrypto/traits")
+    (synopsis
+      "Trait for Message Authentication Code (MAC) algorithms")
+    (description
+      "Trait for Message Authentication Code (MAC) algorithms")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-crypto-mac-0.10
   (package
     (name "rust-crypto-mac")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49395] [PATCH 12/21] gnu: Add rust-cipher-0.3
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (10 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49392] [PATCH 11/21] gnu: Add rust-crypto-mac-0.11 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  9:06   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49394] [PATCH 13/21] gnu: Add rust-streebog-0.9 Domagoj Stolfa
                   ` (10 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49395; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-cipher-0.3): New public variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1542178724..c2221bb87d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7785,6 +7785,32 @@ coding.")
     (description "This package provides Rust bindings for libclang.")
     (license license:asl2.0)))
 
+(define-public rust-cipher-0.3
+  (package
+    (name "rust-cipher")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "cipher" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-blobby" ,rust-blobby-0.3)
+         ("rust-generic-array" ,rust-generic-array-0.14))))
+    (home-page
+      "https://github.com/RustCrypto/traits")
+    (synopsis
+      "Traits for describing block ciphers and stream ciphers")
+    (description
+      "Traits for describing block ciphers and stream ciphers")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-cipher-0.2
   (package
     (name "rust-cipher")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49394] [PATCH 13/21] gnu: Add rust-streebog-0.9
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (11 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49395] [PATCH 12/21] gnu: Add rust-cipher-0.3 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  9:09   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49396] [PATCH 14/21] gnu: Add rust-hmac-0.10 Domagoj Stolfa
                   ` (9 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49394; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-streebog-0.9): New public variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c2221bb87d..b4609f0f52 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44056,6 +44056,36 @@ UTF-8.")
     (license (list license:unlicense
                    license:expat))))
 
+(define-public rust-streebog-0.9
+  (package
+    (name "rust-streebog")
+    (version "0.9.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "streebog" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-block-buffer" ,rust-block-buffer-0.9)
+         ("rust-digest" ,rust-digest-0.9)
+         ("rust-opaque-debug" ,rust-opaque-debug-0.3))
+        #:cargo-development-inputs
+        (("rust-digest" ,rust-digest-0.9)
+         ("rust-hex-literal" ,rust-hex-literal-0.2))))
+    (home-page
+      "https://github.com/RustCrypto/hashes")
+    (synopsis
+      "Streebog (GOST R 34.11-2012) hash function")
+    (description
+      "Streebog (GOST R 34.11-2012) hash function")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-string-0.2
   (package
     (name "rust-string")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49396] [PATCH 14/21] gnu: Add rust-hmac-0.10
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (12 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49394] [PATCH 13/21] gnu: Add rust-streebog-0.9 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  9:10   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49397] [PATCH 15/21] gnu: Add rust-bit-vec-0.6 Domagoj Stolfa
                   ` (8 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49396; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-hmac-0.10): New public variable.
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b4609f0f52..9e38efb765 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20070,6 +20070,35 @@ Derivation Function (HKDF).")
       "Generic implementation of Hash-based Message Authentication Code (HMAC)")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hmac-0.10
+  (package
+    (name "rust-hmac")
+    (version "0.10.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "hmac" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0plh47p6ryab7sc2i49jg4l8apzasw48axr37ba2c2fvai72dvzf"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.10)
+         ("rust-digest" ,rust-digest-0.9))
+        #:cargo-development-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.10)
+         ("rust-md-5" ,rust-md-5-0.9)
+         ("rust-sha2" ,rust-sha2-0.9))))
+    (home-page "https://github.com/RustCrypto/MACs")
+    (synopsis
+      "Generic implementation of Hash-based Message Authentication Code (HMAC)")
+    (description
+      "Generic implementation of Hash-based Message Authentication Code (HMAC)")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hmac-0.8
   (package
     (name "rust-hmac")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49397] [PATCH 15/21] gnu: Add rust-bit-vec-0.6
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (13 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49396] [PATCH 14/21] gnu: Add rust-hmac-0.10 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  9:11   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49398] [PATCH 16/21] gnu: Add rust-eui48-0.4 Domagoj Stolfa
                   ` (7 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49397; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-bit-vec-0.6): New public variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9e38efb765..2fa1b00228 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4950,6 +4950,34 @@ types.")
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.3))))))
 
+(define-public rust-bit-vec-0.6
+  (package
+    (name "rust-bit-vec")
+    (version "0.6.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "bit-vec" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1ywqjnv60cdh1slhz67psnp422md6jdliji6alq0gmly2xm9p7rl"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-rand" ,rust-rand-0.7)
+         ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+         ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page
+      "https://github.com/contain-rs/bit-vec")
+    (synopsis "A vector of bits")
+    (description
+      "This package provides a vector of bits")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-bit-vec-0.5
   (package
     (name "rust-bit-vec")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49398] [PATCH 16/21] gnu: Add rust-eui48-0.4
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (14 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49397] [PATCH 15/21] gnu: Add rust-bit-vec-0.6 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  9:15   ` Xinglu Chen
  2021-07-04 16:31 ` [bug#49399] [PATCH 17/21] gnu: Add rust-geo-types-0.7 Domagoj Stolfa
                   ` (6 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49398; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-eui48-0.4): New public variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2fa1b00228..bd8778921d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15168,6 +15168,39 @@ deserialized from environment variables.")
        (("rust-serde" ,rust-serde-1)
         ("rust-serde-json" ,rust-serde-json-1))))))
 
+(define-public rust-eui48-0.4
+  (package
+    (name "rust-eui48")
+    (version "0.4.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "eui48" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0sqbmcnvilanzjagknmpf85pnji2b9hn2pqzd5rygrfkwikghk4c"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-rustc-serialize"
+          ,rust-rustc-serialize-0.3)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/abaumhauer/eui48")
+    (synopsis
+      "A library to generate and parse IEEE EUI-48 and EUI-64, also known as MAC-48 media access
+control addresses. The IEEE claims trademarks on the names EUI-48 and EUI-64, in which EUI is an
+abbreviation for Extended Unique Identifier.
+")
+    (description
+      "This package provides a library to generate and parse IEEE EUI-48 and EUI-64, also known as MAC-48 media access
+control addresses.  The IEEE claims trademarks on the names EUI-48 and EUI-64, in which EUI is an
+abbreviation for Extended Unique Identifier.
+")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-event-listener-2
   (package
     (name "rust-event-listener")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49399] [PATCH 17/21] gnu: Add rust-geo-types-0.7
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (15 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49398] [PATCH 16/21] gnu: Add rust-eui48-0.4 Domagoj Stolfa
@ 2021-07-04 16:31 ` Domagoj Stolfa
  2021-07-11  9:15   ` Xinglu Chen
  2021-07-04 16:32 ` [bug#49401] [PATCH 18/21] gnu: Add rust-geo-types-0.6 Domagoj Stolfa
                   ` (5 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:31 UTC (permalink / raw)
  To: 49399; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-geo-types-0.7): New public variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bd8778921d..b01ea4405a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17976,6 +17976,34 @@ API library @code{gdi32}.")
      "This package provides geospatial primitives and algorithms.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-geo-types-0.7
+  (package
+    (name "rust-geo-types")
+    (version "0.7.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "geo-types" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1fyj8ldl4xirhr8aawwiaslkklkzml2r5var87vqyp4zvnajxgfq"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-approx" ,rust-approx-0.4)
+         ("rust-arbitrary" ,rust-arbitrary-1)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-rstar" ,rust-rstar-0.8)
+         ("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-approx" ,rust-approx-0.4))))
+    (home-page "https://github.com/georust/geo")
+    (synopsis "Geospatial primitive data types")
+    (description "Geospatial primitive data types")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-getch-0.2
   (package
     (name "rust-getch")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49401] [PATCH 18/21] gnu: Add rust-geo-types-0.6
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (16 preceding siblings ...)
  2021-07-04 16:31 ` [bug#49399] [PATCH 17/21] gnu: Add rust-geo-types-0.7 Domagoj Stolfa
@ 2021-07-04 16:32 ` Domagoj Stolfa
  2021-07-11  9:16   ` Xinglu Chen
  2021-07-04 16:32 ` [bug#49400] [PATCH 19/21] gnu: Add rust-rstar-0.8 Domagoj Stolfa
                   ` (4 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:32 UTC (permalink / raw)
  To: 49401; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-geo-types-0.6): New public variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b01ea4405a..5c8e10a772 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18004,6 +18004,33 @@ API library @code{gdi32}.")
     (description "Geospatial primitive data types")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-geo-types-0.6
+  (package
+    (name "rust-geo-types")
+    (version "0.6.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "geo-types" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1wivy6r2bzc32gxp5g5j689qz6p9ls5qgq0z8q64aayv3xd950vm"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-approx" ,rust-approx-0.3)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-rstar" ,rust-rstar-0.8)
+         ("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-approx" ,rust-approx-0.3))))
+    (home-page "https://github.com/georust/geo")
+    (synopsis "Geospatial primitive data types")
+    (description "Geospatial primitive data types")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-getch-0.2
   (package
     (name "rust-getch")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49400] [PATCH 19/21] gnu: Add rust-rstar-0.8
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (17 preceding siblings ...)
  2021-07-04 16:32 ` [bug#49401] [PATCH 18/21] gnu: Add rust-geo-types-0.6 Domagoj Stolfa
@ 2021-07-04 16:32 ` Domagoj Stolfa
  2021-07-11  9:16   ` Xinglu Chen
  2021-07-04 16:32 ` [bug#49403] [PATCH 20/21] gnu: Add rust-postgres-derive-0.4 Domagoj Stolfa
                   ` (3 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:32 UTC (permalink / raw)
  To: 49400; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-rstar-0.8): New public variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5c8e10a772..8ec8506c94 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37209,6 +37209,39 @@ wildcard segments")
 rust.")
     (license license:mpl2.0)))
 
+(define-public rust-rstar-0.8
+  (package
+    (name "rust-rstar")
+    (version "0.8.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rstar" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-heapless" ,rust-heapless-0.6)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-pdqselect" ,rust-pdqselect-0.1)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-smallvec" ,rust-smallvec-1))
+        #:cargo-development-inputs
+        (("rust-approx" ,rust-approx-0.3)
+         ("rust-rand" ,rust-rand-0.7)
+         ("rust-rand-hc" ,rust-rand-hc-0.2)
+         ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/Stoeoef/rstar")
+    (synopsis
+      "R*-tree library for the rust ecosystem")
+    (description
+      "R*-tree library for the rust ecosystem")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rpassword-5
   (package
     (name "rust-rpassword")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49403] [PATCH 20/21] gnu: Add rust-postgres-derive-0.4
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (18 preceding siblings ...)
  2021-07-04 16:32 ` [bug#49400] [PATCH 19/21] gnu: Add rust-rstar-0.8 Domagoj Stolfa
@ 2021-07-04 16:32 ` Domagoj Stolfa
  2021-07-11  9:19   ` Xinglu Chen
  2021-07-04 16:32 ` [bug#49402] [PATCH 21/21] gnu: Add rust-pdqselect-0.1 Domagoj Stolfa
                   ` (2 subsequent siblings)
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:32 UTC (permalink / raw)
  To: 49403; +Cc: Domagoj Stolfa

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8ec8506c94..ab2e6dbb01 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32778,6 +32778,33 @@ UDP.")
       "This package provides a native, synchronous PostgreSQL client")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-postgres-derive-0.4
+  (package
+    (name "rust-postgres-derive")
+    (version "0.4.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "postgres-derive" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0xqlf1gffy3q8hra3fm0vm9x8i5fkvi0qjl99d0xirxh3hidsmy8"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-proc-macro2" ,rust-proc-macro2-1)
+         ("rust-quote" ,rust-quote-1)
+         ("rust-syn" ,rust-syn-1))))
+    (home-page
+      "https://github.com/sfackler/rust-postgres")
+    (synopsis
+      "An internal crate used by postgres-types")
+    (description
+      "An internal crate used by postgres-types")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-postgres-protocol-0.3
   (package
     (name "rust-postgres-protocol")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49402] [PATCH 21/21] gnu: Add rust-pdqselect-0.1
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (19 preceding siblings ...)
  2021-07-04 16:32 ` [bug#49403] [PATCH 20/21] gnu: Add rust-postgres-derive-0.4 Domagoj Stolfa
@ 2021-07-04 16:32 ` Domagoj Stolfa
  2021-07-11  9:20   ` Xinglu Chen
  2021-07-11  9:26 ` [bug#49383] [PATCH 00/21] Add hyperfine Xinglu Chen
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
  22 siblings, 1 reply; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-04 16:32 UTC (permalink / raw)
  To: 49402; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-pdqselect-0.1): New public variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ab2e6dbb01..47ed59ddb0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31281,6 +31281,27 @@ in pure Rust.")
      "This package provides FFI bindings for PDCurses implementation.")
     (license license:expat)))
 
+(define-public rust-pdqselect-0.1
+  (package
+    (name "rust-pdqselect")
+    (version "0.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "pdqselect" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "09vwywzavhgqgr3vi2ycgv2nd0067jirv36fb3jvp860xikigjaf"))))
+    (build-system cargo-build-system)
+    (home-page "")
+    (synopsis
+      "Selects the kth smallest element of a slice, based on Orson Peters's pdqsort")
+    (description
+      "Selects the kth smallest element of a slice, based on Orson Peters's pdqsort")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-pear-0.1
   (package
     (name "rust-pear")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49384] [PATCH 02/21] gnu: Add rust-colored-2
  2021-07-04 16:31 ` [bug#49384] [PATCH 02/21] gnu: Add rust-colored-2 Domagoj Stolfa
@ 2021-07-11  8:50   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  8:50 UTC (permalink / raw)
  To: Domagoj Stolfa, 49384; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-colored-2): New public variable.
> ---
>  gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 7b3fea5859..842400c13d 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -8603,6 +8603,35 @@ colors.")
>         (sha256
>          (base32 "0fildacm47g86acmx44yvxx6cka8fdym5qkgfm8x8gh2hsrghc7r"))))))
>  
> +(define-public rust-colored-2
> +  (package
> +    (name "rust-colored")
> +    (version "2.0.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "colored" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "1gbcijscmznzy42rn213yp9ima7210zakgaqibgg1n441dsnyqdk"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-atty" ,rust-atty-0.2)
> +         ("rust-lazy-static" ,rust-lazy-static-1)
> +         ("rust-winapi" ,rust-winapi-0.3))
> +        #:cargo-development-inputs
> +        (("rust-ansi-term" ,rust-ansi-term-0.12)
> +         ("rust-rspec" ,rust-rspec-1))))
> +    (home-page "https://github.com/mackwic/colored")
> +    (synopsis
> +      "The most simple way to add colors in your terminal")
> +    (description
> +      "The most simple way to add colors in your terminal")

The description should consist of one or more full sentences, see
“16.4.4 Synopses and Descriptions” in the manual.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49391] [PATCH 03/21] gnu: Add rust-rust-decimal-1
  2021-07-04 16:31 ` [bug#49391] [PATCH 03/21] gnu: Add rust-rust-decimal-1 Domagoj Stolfa
@ 2021-07-11  8:51   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  8:51 UTC (permalink / raw)
  To: Domagoj Stolfa, 49391; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 2309 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-rust-decimal-1): New public variable.
> ---
>  gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 842400c13d..7e0ed9e504 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -37357,6 +37357,48 @@ password hashing function.")
>  suitable for financial calculations.")
>      (license license:expat)))
>  
> +(define-public rust-rust-decimal-1
> +  (package
> +    (name "rust-rust-decimal")
> +    (version "1.14.3")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "rust-decimal" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "10k58hf367626d4akl7ifyk5qwqphfs5x6z1yay22pkyc6w7q4h1"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-arbitrary" ,rust-arbitrary-1)
> +         ("rust-arrayvec" ,rust-arrayvec-0.5)
> +         ("rust-byteorder" ,rust-byteorder-1)
> +         ("rust-bytes" ,rust-bytes-1)
> +         ("rust-diesel" ,rust-diesel-1)
> +         ("rust-num-traits" ,rust-num-traits-0.2)
> +         ("rust-postgres" ,rust-postgres-0.19)
> +         ("rust-serde" ,rust-serde-1)
> +         ("rust-serde-json" ,rust-serde-json-1)
> +         ("rust-tokio-postgres" ,rust-tokio-postgres-0.7))
> +        #:cargo-development-inputs
> +        (("rust-bincode" ,rust-bincode-1)
> +         ("rust-bytes" ,rust-bytes-1)
> +         ("rust-csv" ,rust-csv-1)
> +         ("rust-futures" ,rust-futures-0.3)
> +         ("rust-serde-derive" ,rust-serde-derive-1)
> +         ("rust-serde-json" ,rust-serde-json-1)
> +         ("rust-tokio" ,rust-tokio-1))))
> +    (home-page
> +      "https://github.com/paupino/rust-decimal")
> +    (synopsis
> +      "A Decimal Implementation written in pure Rust suitable for financial calculations.")
> +    (description
> +      "This package provides a Decimal Implementation written in pure Rust suitable for financial calculations.")

Line break at 80 characters :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49385] [PATCH 04/21] gnu: Add rust-statistical-1
  2021-07-04 16:31 ` [bug#49385] [PATCH 04/21] gnu: Add rust-statistical-1 Domagoj Stolfa
@ 2021-07-11  8:52   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  8:52 UTC (permalink / raw)
  To: Domagoj Stolfa, 49385; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1329 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-statistical-1): New public variable.
> ---
>  gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 7e0ed9e504..61641c9a05 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -43499,6 +43499,31 @@ are met.")
>  map.")
>      (license license:expat)))
>  
> +(define-public rust-statistical-1
> +  (package
> +    (name "rust-statistical")
> +    (version "1.0.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "statistical" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "0wm35q6p6jcq1r1darczv4if7qss460kd391nlw5x3hjpc17kma9"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-num" ,rust-num-0.2)
> +         ("rust-rand" ,rust-rand-0.6))))
> +    (home-page
> +      "https://github.com/JeffBelgum/statistical")
> +    (synopsis "A simple statistics library")
> +    (description
> +      "This package provides a simple statistics library")

Missing period.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49386] [PATCH 05/21] gnu: Add rust-postgres-0.19
  2021-07-04 16:31 ` [bug#49386] [PATCH 05/21] gnu: Add rust-postgres-0.19 Domagoj Stolfa
@ 2021-07-11  8:53   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  8:53 UTC (permalink / raw)
  To: Domagoj Stolfa, 49386; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1872 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-postgres-0.19): New public variable.
> ---
>  gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 61641c9a05..b77c044dbf 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -32516,6 +32516,39 @@ UDP.")
>       "This package provides a native, synchronous PostgreSQL client.")
>      (license license:expat)))
>  
> +(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
> +      `(#: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
> +      "A native, synchronous PostgreSQL client")

Avoid words like “a” and “the” in the synopsis, see “16.4.4 Synopses and
Descriptions” in the manual.

> +    (description
> +      "This package provides a native, synchronous PostgreSQL client")

Missing period.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49387] [PATCH 06/21] gnu: Add rust-tokio-postgres-0.7
  2021-07-04 16:31 ` [bug#49387] [PATCH 06/21] gnu: Add rust-tokio-postgres-0.7 Domagoj Stolfa
@ 2021-07-11  8:54   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  8:54 UTC (permalink / raw)
  To: Domagoj Stolfa, 49387; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 2832 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-tokio-postgres-0.7): New public variable.
> ---
>  gnu/packages/crates-io.scm | 56 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 56 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index b77c044dbf..359b48542d 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -48294,6 +48294,62 @@ OpenSSL.")
>         #:cargo-development-inputs
>         (("rust-tokio" ,rust-tokio-0.1))))))
>  
> +(define-public rust-tokio-postgres-0.7
> +  (package
> +    (name "rust-tokio-postgres")
> +    (version "0.7.2")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "tokio-postgres" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "12rb390i3af7zb0z2idhaf6l2m6snypwdiwjw84rmyz4qy1i6ard"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-async-trait" ,rust-async-trait-0.1)
> +         ("rust-byteorder" ,rust-byteorder-1)
> +         ("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-parking-lot" ,rust-parking-lot-0.11)
> +         ("rust-percent-encoding"
> +          ,rust-percent-encoding-2)
> +         ("rust-phf" ,rust-phf-0.8)
> +         ("rust-pin-project-lite"
> +          ,rust-pin-project-lite-0.2)
> +         ("rust-postgres-protocol"
> +          ,rust-postgres-protocol-0.6)
> +         ("rust-postgres-types" ,rust-postgres-types-0.2)
> +         ("rust-socket2" ,rust-socket2-0.4)
> +         ("rust-tokio" ,rust-tokio-1)
> +         ("rust-tokio-util" ,rust-tokio-util-0.6))
> +        #:cargo-development-inputs
> +        (("rust-bit-vec" ,rust-bit-vec-0.6)
> +         ("rust-chrono" ,rust-chrono-0.4)
> +         ("rust-criterion" ,rust-criterion-0.3)
> +         ("rust-env-logger" ,rust-env-logger-0.8)
> +         ("rust-eui48" ,rust-eui48-0.4)
> +         ("rust-geo-types" ,rust-geo-types-0.7)
> +         ("rust-geo-types" ,rust-geo-types-0.6)
> +         ("rust-serde" ,rust-serde-1)
> +         ("rust-serde-json" ,rust-serde-json-1)
> +         ("rust-time" ,rust-time-0.2)
> +         ("rust-tokio" ,rust-tokio-1)
> +         ("rust-uuid" ,rust-uuid-0.8))))
> +    (home-page
> +      "https://github.com/sfackler/rust-postgres")
> +    (synopsis
> +      "A native, asynchronous PostgreSQL client")
> +    (description
> +      "This package provides a native, asynchronous PostgreSQL client")

Same comments as [05/21].

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49388] [PATCH 07/21] gnu: Add rust-postgres-protocol-0.6
  2021-07-04 16:31 ` [bug#49388] [PATCH 07/21] gnu: Add rust-postgres-protocol-0.6 Domagoj Stolfa
@ 2021-07-11  8:54   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  8:54 UTC (permalink / raw)
  To: Domagoj Stolfa, 49388; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-postgres-protocol-0.6): New public variable.
> ---
>  gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 359b48542d..e998ad334f 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -32581,6 +32581,39 @@ UDP.")
>       "This package provides low level Postgres protocol APIs.")
>      (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 "Low level Postgres protocol APIs")

Full sentence.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49389] [PATCH 08/21] gnu: Add rust-postgres-types-0.2
  2021-07-04 16:31 ` [bug#49389] [PATCH 08/21] gnu: Add rust-postgres-types-0.2 Domagoj Stolfa
@ 2021-07-11  8:55   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  8:55 UTC (permalink / raw)
  To: Domagoj Stolfa, 49389; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 2043 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-postgres-types-0.2): New public variable.
> ---
>  gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index e998ad334f..79937fb40a 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -32649,6 +32649,46 @@ UDP.")
>  @code{postgres-tokio}.")
>      (license license:expat)))
>  
> +(define-public rust-postgres-types-0.2
> +  (package
> +    (name "rust-postgres-types")
> +    (version "0.2.1")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "postgres-types" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "0brsqkydz0grfy60nc1d0hxa9jbpim0c7c52v467nrdpw4ql23s3"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-bit-vec" ,rust-bit-vec-0.6)
> +         ("rust-bytes" ,rust-bytes-1)
> +         ("rust-chrono" ,rust-chrono-0.4)
> +         ("rust-eui48" ,rust-eui48-0.4)
> +         ("rust-fallible-iterator"
> +          ,rust-fallible-iterator-0.2)
> +         ("rust-geo-types" ,rust-geo-types-0.7)
> +         ("rust-geo-types" ,rust-geo-types-0.6)
> +         ("rust-postgres-derive"
> +          ,rust-postgres-derive-0.4)
> +         ("rust-postgres-protocol"
> +          ,rust-postgres-protocol-0.6)
> +         ("rust-serde" ,rust-serde-1)
> +         ("rust-serde-json" ,rust-serde-json-1)
> +         ("rust-time" ,rust-time-0.2)
> +         ("rust-uuid" ,rust-uuid-0.8))))
> +    (home-page
> +      "https://github.com/sfackler/rust-postgres")
> +    (synopsis
> +      "Conversions between Rust and Postgres values")
> +    (description
> +      "Conversions between Rust and Postgres values")

Full sentence; I think you get the idea :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4
  2021-07-04 16:31 ` [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4 Domagoj Stolfa
@ 2021-07-11  8:59   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  8:59 UTC (permalink / raw)
  To: Domagoj Stolfa, 49390; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1708 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-socket2-0.4): New public variable.
> ---
>  gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 79937fb40a..055730505b 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -43154,6 +43154,36 @@ maximal amount of configuration possible intended.")
>      (license (list license:asl2.0
>                     license:expat))))
>  
> +(define-public rust-socket2-0.4
> +  (package
> +    (name "rust-socket2")
> +    (version "0.4.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "socket2" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-libc" ,rust-libc-0.2)
> +         ("rust-winapi" ,rust-winapi-0.3))))
> +    (home-page
> +      "https://github.com/rust-lang/socket2")
> +    (synopsis
> +      "Utilities for handling networking sockets with a maximal amount of configuration
> +possible intended.

The synopsis is a bit long, the GitHub repo says

  Advanced configuration options for sockets

maybe we can use that instead?

> +    (description
> +      "Utilities for handling networking sockets with a maximal amount of configuration
> +possible intended.
> +")

Full sentence, and don’t forget line break.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49393] [PATCH 10/21] gnu: Add rust-hmac-0.11
  2021-07-04 16:31 ` [bug#49393] [PATCH 10/21] gnu: Add rust-hmac-0.11 Domagoj Stolfa
@ 2021-07-11  9:04   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:04 UTC (permalink / raw)
  To: Domagoj Stolfa, 49393; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1951 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-hmac-0.11): New public variable.
> ---
>  gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 055730505b..4dfaa544e8 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -19986,6 +19986,36 @@ Derivation Function (HKDF).")
>         (("rust-digest" ,rust-digest-0.8)
>          ("rust-hmac" ,rust-hmac-0.7))))))
>  
> +(define-public rust-hmac-0.11
> +  (package
> +    (name "rust-hmac")
> +    (version "0.11.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "hmac" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-crypto-mac" ,rust-crypto-mac-0.11)
> +         ("rust-digest" ,rust-digest-0.9))
> +        #:cargo-development-inputs
> +        (("rust-crypto-mac" ,rust-crypto-mac-0.11)
> +         ("rust-md-5" ,rust-md-5-0.9)
> +         ("rust-sha2" ,rust-sha2-0.9)
> +         ("rust-streebog" ,rust-streebog-0.9))))
> +    (home-page "https://github.com/RustCrypto/MACs")
> +    (synopsis
> +      "Generic implementation of Hash-based Message Authentication Code (HMAC)")
> +    (description
> +      "Generic implementation of Hash-based Message Authentication Code (HMAC)")

Full sentence and period.

>  (define-public rust-hmac-0.8
>    (package
>      (name "rust-hmac")

Looks like we already have a ‘rust-hmac’ package, I am not familiar with
Rust stuff in Guix, but would it be possible to update that package
instead of adding a new one?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49392] [PATCH 11/21] gnu: Add rust-crypto-mac-0.11
  2021-07-04 16:31 ` [bug#49392] [PATCH 11/21] gnu: Add rust-crypto-mac-0.11 Domagoj Stolfa
@ 2021-07-11  9:05   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:05 UTC (permalink / raw)
  To: Domagoj Stolfa, 49392; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1783 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-crypto-mac-0.11): New public variable.
> ---
>  gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 4dfaa544e8..1542178724 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -10838,6 +10838,34 @@ number ``crunching``.")
>  common cryptographic algorithms.")
>      (license (list license:expat license:asl2.0))))
>  
> +(define-public rust-crypto-mac-0.11
> +  (package
> +    (name "rust-crypto-mac")
> +    (version "0.11.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "crypto-mac" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-blobby" ,rust-blobby-0.3)
> +         ("rust-cipher" ,rust-cipher-0.3)
> +         ("rust-generic-array" ,rust-generic-array-0.14)
> +         ("rust-subtle" ,rust-subtle-2))))
> +    (home-page
> +      "https://github.com/RustCrypto/traits")
> +    (synopsis
> +      "Trait for Message Authentication Code (MAC) algorithms")
> +    (description
> +      "Trait for Message Authentication Code (MAC) algorithms")
> +    (license (list license:expat license:asl2.0))))
> +
>  (define-public rust-crypto-mac-0.10
>    (package
>      (name "rust-crypto-mac")

There is already a ‘rust-crypto-mac’ package; would it be possible to
update that one instead?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49395] [PATCH 12/21] gnu: Add rust-cipher-0.3
  2021-07-04 16:31 ` [bug#49395] [PATCH 12/21] gnu: Add rust-cipher-0.3 Domagoj Stolfa
@ 2021-07-11  9:06   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:06 UTC (permalink / raw)
  To: Domagoj Stolfa, 49395; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1625 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-cipher-0.3): New public variable.
> ---
>  gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 1542178724..c2221bb87d 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -7785,6 +7785,32 @@ coding.")
>      (description "This package provides Rust bindings for libclang.")
>      (license license:asl2.0)))
>  
> +(define-public rust-cipher-0.3
> +  (package
> +    (name "rust-cipher")
> +    (version "0.3.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "cipher" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-blobby" ,rust-blobby-0.3)
> +         ("rust-generic-array" ,rust-generic-array-0.14))))
> +    (home-page
> +      "https://github.com/RustCrypto/traits")
> +    (synopsis
> +      "Traits for describing block ciphers and stream ciphers")
> +    (description
> +      "Traits for describing block ciphers and stream ciphers")
> +    (license (list license:expat license:asl2.0))))
> +
>  (define-public rust-cipher-0.2
>    (package
>      (name "rust-cipher")

Same as the previous two; update ‘rust-cipher-0.2’ instead?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49394] [PATCH 13/21] gnu: Add rust-streebog-0.9
  2021-07-04 16:31 ` [bug#49394] [PATCH 13/21] gnu: Add rust-streebog-0.9 Domagoj Stolfa
@ 2021-07-11  9:09   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:09 UTC (permalink / raw)
  To: Domagoj Stolfa, 49394; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-streebog-0.9): New public variable.
> ---
>  gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index c2221bb87d..b4609f0f52 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -44056,6 +44056,36 @@ UTF-8.")
>      (license (list license:unlicense
>                     license:expat))))
>  
> +(define-public rust-streebog-0.9
> +  (package
> +    (name "rust-streebog")
> +    (version "0.9.2")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "streebog" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-block-buffer" ,rust-block-buffer-0.9)
> +         ("rust-digest" ,rust-digest-0.9)
> +         ("rust-opaque-debug" ,rust-opaque-debug-0.3))
> +        #:cargo-development-inputs
> +        (("rust-digest" ,rust-digest-0.9)
> +         ("rust-hex-literal" ,rust-hex-literal-0.2))))
> +    (home-page
> +      "https://github.com/RustCrypto/hashes")
> +    (synopsis
> +      "Streebog (GOST R 34.11-2012) hash function")
> +    (description
> +      "Streebog (GOST R 34.11-2012) hash function")

Full sentence and period.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49396] [PATCH 14/21] gnu: Add rust-hmac-0.10
  2021-07-04 16:31 ` [bug#49396] [PATCH 14/21] gnu: Add rust-hmac-0.10 Domagoj Stolfa
@ 2021-07-11  9:10   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:10 UTC (permalink / raw)
  To: Domagoj Stolfa, 49396; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-hmac-0.10): New public variable.
> ---
>  gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index b4609f0f52..9e38efb765 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -20070,6 +20070,35 @@ Derivation Function (HKDF).")
>        "Generic implementation of Hash-based Message Authentication Code (HMAC)")
>      (license (list license:expat license:asl2.0))))
>  
> +(define-public rust-hmac-0.10

‘rust-hmac-0.11’ was added in [10/21], is there any reason for not using
that package?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49397] [PATCH 15/21] gnu: Add rust-bit-vec-0.6
  2021-07-04 16:31 ` [bug#49397] [PATCH 15/21] gnu: Add rust-bit-vec-0.6 Domagoj Stolfa
@ 2021-07-11  9:11   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:11 UTC (permalink / raw)
  To: Domagoj Stolfa, 49397; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-bit-vec-0.6): New public variable.
> ---
>  gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 9e38efb765..2fa1b00228 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -4950,6 +4950,34 @@ types.")
>         #:cargo-development-inputs
>         (("rust-rand" ,rust-rand-0.3))))))
>  
> +(define-public rust-bit-vec-0.6
> +  (package
> +    (name "rust-bit-vec")
> +    (version "0.6.3")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "bit-vec" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "1ywqjnv60cdh1slhz67psnp422md6jdliji6alq0gmly2xm9p7rl"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-serde" ,rust-serde-1))
> +        #:cargo-development-inputs
> +        (("rust-rand" ,rust-rand-0.7)
> +         ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
> +         ("rust-serde-json" ,rust-serde-json-1))))
> +    (home-page
> +      "https://github.com/contain-rs/bit-vec")
> +    (synopsis "A vector of bits")
> +    (description
> +      "This package provides a vector of bits")

missing period.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49398] [PATCH 16/21] gnu: Add rust-eui48-0.4
  2021-07-04 16:31 ` [bug#49398] [PATCH 16/21] gnu: Add rust-eui48-0.4 Domagoj Stolfa
@ 2021-07-11  9:15   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:15 UTC (permalink / raw)
  To: Domagoj Stolfa, 49398; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 2140 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-eui48-0.4): New public variable.
> ---
>  gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 2fa1b00228..bd8778921d 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -15168,6 +15168,39 @@ deserialized from environment variables.")
>         (("rust-serde" ,rust-serde-1)
>          ("rust-serde-json" ,rust-serde-json-1))))))
>  
> +(define-public rust-eui48-0.4
> +  (package
> +    (name "rust-eui48")
> +    (version "0.4.6")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "eui48" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "0sqbmcnvilanzjagknmpf85pnji2b9hn2pqzd5rygrfkwikghk4c"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-rustc-serialize"
> +          ,rust-rustc-serialize-0.3)
> +         ("rust-serde" ,rust-serde-1)
> +         ("rust-serde-json" ,rust-serde-json-1))))
> +    (home-page "https://github.com/abaumhauer/eui48")
> +    (synopsis
> +      "A library to generate and parse IEEE EUI-48 and EUI-64, also known as MAC-48 media access
> +control addresses. The IEEE claims trademarks on the names EUI-48 and EUI-64, in which EUI is an
> +abbreviation for Extended Unique Identifier.
> +")

The synopsis is way too long, maybe something like:

  Rust implementation of IEEE EUI-48 datatype
  
> +    (description
> +      "This package provides a library to generate and parse IEEE EUI-48 and EUI-64, also known as MAC-48 media access
> +control addresses.  The IEEE claims trademarks on the names EUI-48 and EUI-64, in which EUI is an
> +abbreviation for Extended Unique Identifier.

Line break at 80 characters.

I don’t feel like the second sentence is that relevant to this package,
probably better to drop it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49399] [PATCH 17/21] gnu: Add rust-geo-types-0.7
  2021-07-04 16:31 ` [bug#49399] [PATCH 17/21] gnu: Add rust-geo-types-0.7 Domagoj Stolfa
@ 2021-07-11  9:15   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:15 UTC (permalink / raw)
  To: Domagoj Stolfa, 49399; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1622 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-geo-types-0.7): New public variable.
> ---
>  gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index bd8778921d..b01ea4405a 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -17976,6 +17976,34 @@ API library @code{gdi32}.")
>       "This package provides geospatial primitives and algorithms.")
>      (license (list license:expat license:asl2.0))))
>  
> +(define-public rust-geo-types-0.7
> +  (package
> +    (name "rust-geo-types")
> +    (version "0.7.2")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "geo-types" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "1fyj8ldl4xirhr8aawwiaslkklkzml2r5var87vqyp4zvnajxgfq"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-approx" ,rust-approx-0.4)
> +         ("rust-arbitrary" ,rust-arbitrary-1)
> +         ("rust-num-traits" ,rust-num-traits-0.2)
> +         ("rust-rstar" ,rust-rstar-0.8)
> +         ("rust-serde" ,rust-serde-1))
> +        #:cargo-development-inputs
> +        (("rust-approx" ,rust-approx-0.4))))
> +    (home-page "https://github.com/georust/geo")
> +    (synopsis "Geospatial primitive data types")
> +    (description "Geospatial primitive data types")

Full sentence.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49401] [PATCH 18/21] gnu: Add rust-geo-types-0.6
  2021-07-04 16:32 ` [bug#49401] [PATCH 18/21] gnu: Add rust-geo-types-0.6 Domagoj Stolfa
@ 2021-07-11  9:16   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:16 UTC (permalink / raw)
  To: Domagoj Stolfa, 49401; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-geo-types-0.6): New public variable.
> ---
>  gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index b01ea4405a..5c8e10a772 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -18004,6 +18004,33 @@ API library @code{gdi32}.")
>      (description "Geospatial primitive data types")
>      (license (list license:expat license:asl2.0))))
>  
> +(define-public rust-geo-types-0.6

‘rust-geo-types-0.7’ was just added in the previous commit, why not just
use that?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49400] [PATCH 19/21] gnu: Add rust-rstar-0.8
  2021-07-04 16:32 ` [bug#49400] [PATCH 19/21] gnu: Add rust-rstar-0.8 Domagoj Stolfa
@ 2021-07-11  9:16   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:16 UTC (permalink / raw)
  To: Domagoj Stolfa, 49400; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1710 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-rstar-0.8): New public variable.
> ---
>  gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 5c8e10a772..8ec8506c94 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -37209,6 +37209,39 @@ wildcard segments")
>  rust.")
>      (license license:mpl2.0)))
>  
> +(define-public rust-rstar-0.8
> +  (package
> +    (name "rust-rstar")
> +    (version "0.8.3")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "rstar" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-heapless" ,rust-heapless-0.6)
> +         ("rust-num-traits" ,rust-num-traits-0.2)
> +         ("rust-pdqselect" ,rust-pdqselect-0.1)
> +         ("rust-serde" ,rust-serde-1)
> +         ("rust-smallvec" ,rust-smallvec-1))
> +        #:cargo-development-inputs
> +        (("rust-approx" ,rust-approx-0.3)
> +         ("rust-rand" ,rust-rand-0.7)
> +         ("rust-rand-hc" ,rust-rand-hc-0.2)
> +         ("rust-serde-json" ,rust-serde-json-1))))
> +    (home-page "https://github.com/Stoeoef/rstar")
> +    (synopsis
> +      "R*-tree library for the rust ecosystem")
> +    (description
> +      "R*-tree library for the rust ecosystem")

Full sentence.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49403] [PATCH 20/21] gnu: Add rust-postgres-derive-0.4
  2021-07-04 16:32 ` [bug#49403] [PATCH 20/21] gnu: Add rust-postgres-derive-0.4 Domagoj Stolfa
@ 2021-07-11  9:19   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:19 UTC (permalink / raw)
  To: Domagoj Stolfa, 49403; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1566 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-postgres-derive-0.4): New public variable.
> ---
>  gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index 8ec8506c94..ab2e6dbb01 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -32778,6 +32778,33 @@ UDP.")
>        "This package provides a native, synchronous PostgreSQL client")
>      (license (list license:expat license:asl2.0))))
>  
> +(define-public rust-postgres-derive-0.4
> +  (package
> +    (name "rust-postgres-derive")
> +    (version "0.4.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "postgres-derive" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "0xqlf1gffy3q8hra3fm0vm9x8i5fkvi0qjl99d0xirxh3hidsmy8"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +      `(#:cargo-inputs
> +        (("rust-proc-macro2" ,rust-proc-macro2-1)
> +         ("rust-quote" ,rust-quote-1)
> +         ("rust-syn" ,rust-syn-1))))
> +    (home-page
> +      "https://github.com/sfackler/rust-postgres")
> +    (synopsis
> +      "An internal crate used by postgres-types")

Avoid using words like “an” and “the” in the synopsis.

> +    (description
> +      "An internal crate used by postgres-types")

Full sentence.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49402] [PATCH 21/21] gnu: Add rust-pdqselect-0.1
  2021-07-04 16:32 ` [bug#49402] [PATCH 21/21] gnu: Add rust-pdqselect-0.1 Domagoj Stolfa
@ 2021-07-11  9:20   ` Xinglu Chen
  0 siblings, 0 replies; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:20 UTC (permalink / raw)
  To: Domagoj Stolfa, 49402; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1323 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> * gnu/packages/crates-io.scm (rust-pdqselect-0.1): New public variable.
> ---
>  gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>
> diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
> index ab2e6dbb01..47ed59ddb0 100644
> --- a/gnu/packages/crates-io.scm
> +++ b/gnu/packages/crates-io.scm
> @@ -31281,6 +31281,27 @@ in pure Rust.")
>       "This package provides FFI bindings for PDCurses implementation.")
>      (license license:expat)))
>  
> +(define-public rust-pdqselect-0.1
> +  (package
> +    (name "rust-pdqselect")
> +    (version "0.1.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (crate-uri "pdqselect" version))
> +        (file-name
> +          (string-append name "-" version ".tar.gz"))
> +        (sha256
> +          (base32
> +            "09vwywzavhgqgr3vi2ycgv2nd0067jirv36fb3jvp860xikigjaf"))))
> +    (build-system cargo-build-system)
> +    (home-page "")

Where is the home-page?

> +    (synopsis
> +      "Selects the kth smallest element of a slice, based on Orson Peters's pdqsort")
> +    (description
> +      "Selects the kth smallest element of a slice, based on Orson Peters's pdqsort")

Full sentence.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH 00/21] Add hyperfine
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (20 preceding siblings ...)
  2021-07-04 16:32 ` [bug#49402] [PATCH 21/21] gnu: Add rust-pdqselect-0.1 Domagoj Stolfa
@ 2021-07-11  9:26 ` Xinglu Chen
  2021-07-11 11:27   ` Domagoj Stolfa
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
  22 siblings, 1 reply; 72+ messages in thread
From: Xinglu Chen @ 2021-07-11  9:26 UTC (permalink / raw)
  To: Domagoj Stolfa, 49383; +Cc: Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

On Sun, Jul 04 2021, Domagoj Stolfa wrote:

> Hyperfine is a rust utility used for benchmarking, see:
> https://github.com/sharkdp/hyperfine.
>
> This patch series packages hyperfine in Guix, and each patch is adding the
> necessary dependencies for hyperfine to build.
>
> I've tested 5 rounds of building hyperfine and everything seems to be in order
> and have been using it locally.
>
> Domagoj Stolfa (21):
>   gnu: Add hyperfine.
>   gnu: Add rust-colored-2
>   gnu: Add rust-rust-decimal-1
>   gnu: Add rust-statistical-1
>   gnu: Add rust-postgres-0.19
>   gnu: Add rust-tokio-postgres-0.7
>   gnu: Add rust-postgres-protocol-0.6
>   gnu: Add rust-postgres-types-0.2
>   gnu: Add rust-socket2-0.4
>   gnu: Add rust-hmac-0.11
>   gnu: Add rust-crypto-mac-0.11
>   gnu: Add rust-cipher-0.3
>   gnu: Add rust-streebog-0.9
>   gnu: Add rust-hmac-0.10
>   gnu: Add rust-bit-vec-0.6
>   gnu: Add rust-eui48-0.4
>   gnu: Add rust-geo-types-0.7
>   gnu: Add rust-geo-types-0.6
>   gnu: Add rust-rstar-0.8
>   gnu: Add rust-postgres-derive-0.4
>   gnu: Add rust-pdqselect-0.1

Ideally, the patches should be in the reverse order, so that the
dependencies of ‘hyperfine’ gets added before ‘hyperfine’ itself gets
added.

A more general suggestion after reviewing the patches is to run ‘guix
lint’ after adding new packages, it will often catch a lot of the
common mistakes people make; don’t just rely on the importer to do
everything.

I didn’t build any of the packages as I was building GHC while reviewing
the packages, hopefully I will get to that.  :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH 00/21] Add hyperfine
  2021-07-11  9:26 ` [bug#49383] [PATCH 00/21] Add hyperfine Xinglu Chen
@ 2021-07-11 11:27   ` Domagoj Stolfa
  0 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 11:27 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 49383, Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]

Hi Xinglu:

Thanks for taking the effort to look through everything!

Regarding the multiple versions, when I'd tried building with the same versions
of things already imported (e.g. hmac-0.11 and hmac-0.10) it didn't work.
Same is true for rust-geo-types. I'll investigate if maybe it was caused by
some oversight on my end and try to eleminate as many duplicates as possible.

> Ideally, the patches should be in the reverse order, so that the
> dependencies of ‘hyperfine’ gets added before ‘hyperfine’ itself gets
> added.

ACK.

> A more general suggestion after reviewing the patches is to run ‘guix
> lint’ after adding new packages, it will often catch a lot of the
> common mistakes people make; don’t just rely on the importer to do
> everything.

Will do, I'd ran it for hyperfine itself and had an (in retrospect, a very
silly) assumption that it would lint the dependencies too.

Will update the patches based on your comments and send them in as soon as I
have something working with the updated patch set.

Thanks again!

--
Domagoj

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 00/26] Addressing comments
  2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
                   ` (21 preceding siblings ...)
  2021-07-11  9:26 ` [bug#49383] [PATCH 00/21] Add hyperfine Xinglu Chen
@ 2021-07-11 14:55 ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 01/26] gnu: Add rust-pdqselect-0.1 Domagoj Stolfa
                     ` (26 more replies)
  22 siblings, 27 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

Hi:

I've gone through the comments and made sure that every `guix lint` and
`guix build` is happy. I've update what made sense to update for this patch,
however for anything that I could not update (e.g. there are too many packages
depending on it) -- I simply added a new version and inherited from it in other
versions.

For rust-cipher, I added a new package, rust-cipher-0.3 and then moved all the
packages that use rust-cipher-0.2 to use rust-cipher-0.3. I don't know if there
is anything else that depends on rust-cipher-0.2, so I did not remove it.

Any duplicate package with different versions must unfortunately be added in
order for things to build (e.g. geo-types@0.7 and geo-types@0.6). I've tried
everything, but cargo is generally unhappy about not having a particular
version.

Domagoj Stolfa (26):
  gnu: Add rust-pdqselect-0.1
  gnu: Add rust-postgres-derive-0.4
  gnu: Add rust-rstar-0.9
  gnu: Add rust-geo-types-0.7
  gnu: Add rust-bit-vec-0.6
  gnu: Add rust-cipher-0.3
  gnu: rust-crypto-mac-0.10: Use rust-cipher-0.3.
  gnu: rust-ctr-0.6: Use rust-cipher-0.3.
  gnu: rust-eax-0.3: Use rust-cipher-0.3.
  gnu: rust-win-crypto-ng-0.4: Use rust-cipher-0.3.
  gnu: Add rust-crypto-mac-0.11
  gnu: Add rust-streebog-0.9
  gnu: Add rust-hmac-0.11
  gnu: Add rust-hmac-0.10
  gnu: Add rust-postgres-protocol-0.6
  gnu: Add rust-eui48-0.4
  gnu: Add rust-rstar-0.8
  gnu: Add rust-geo-types-0.6
  gnu: Add rust-postgres-types-0.2
  gnu: Add rust-socket2-0.4
  gnu: Add rust-tokio-postgres-0.7
  gnu: Add rust-postgres-0.19
  gnu: Add rust-statistical-1
  gnu: Add rust-rust-decimal-1
  gnu: Add rust-colored-2
  gnu: Add hyperfine.

 gnu/packages/crates-graphics.scm |  38 +-
 gnu/packages/crates-io.scm       | 701 ++++++++++++++++++++++++++++---
 gnu/packages/rust-apps.scm       |  40 ++
 3 files changed, 713 insertions(+), 66 deletions(-)

-- 
2.32.0





^ permalink raw reply	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 01/26] gnu: Add rust-pdqselect-0.1
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 02/26] gnu: Add rust-postgres-derive-0.4 Domagoj Stolfa
                     ` (25 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-pdqselect-0.1): New public variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b97ef478a4..c4ec0ea1c5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31225,6 +31225,28 @@ in pure Rust.")
      "This package provides FFI bindings for PDCurses implementation.")
     (license license:expat)))
 
+(define-public rust-pdqselect-0.1
+  (package
+    (name "rust-pdqselect")
+    (version "0.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "pdqselect" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "09vwywzavhgqgr3vi2ycgv2nd0067jirv36fb3jvp860xikigjaf"))))
+    (build-system cargo-build-system)
+    (home-page "https://crates.io/crates/pdqselect")
+    (synopsis
+      "Selects the kth smallest element of a slice")
+    (description
+      "Selects the kth smallest element of a slice, based on Orson Peters's
+pdqsort.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-pear-0.1
   (package
     (name "rust-pear")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 02/26] gnu: Add rust-postgres-derive-0.4
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 01/26] gnu: Add rust-pdqselect-0.1 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 03/26] gnu: Add rust-rstar-0.9 Domagoj Stolfa
                     ` (24 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c4ec0ea1c5..9e2e3d6b18 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32711,6 +32711,33 @@ UDP.")
      "This package provides a native, synchronous PostgreSQL client.")
     (license license:expat)))
 
+(define-public rust-postgres-derive-0.4
+  (package
+    (name "rust-postgres-derive")
+    (version "0.4.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "postgres-derive" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0xqlf1gffy3q8hra3fm0vm9x8i5fkvi0qjl99d0xirxh3hidsmy8"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-proc-macro2" ,rust-proc-macro2-1)
+         ("rust-quote" ,rust-quote-1)
+         ("rust-syn" ,rust-syn-1))))
+    (home-page
+      "https://github.com/sfackler/rust-postgres")
+    (synopsis
+      "Internal crate used by postgres-types")
+    (description
+      "Internal crate used by postgres-types.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-postgres-protocol-0.3
   (package
     (name "rust-postgres-protocol")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 03/26] gnu: Add rust-rstar-0.9
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 01/26] gnu: Add rust-pdqselect-0.1 Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 02/26] gnu: Add rust-postgres-derive-0.4 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 04/26] gnu: Add rust-geo-types-0.7 Domagoj Stolfa
                     ` (23 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-rstar-0.9): New public variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9e2e3d6b18..3389f12725 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37137,6 +37137,39 @@ wildcard segments")
 rust.")
     (license license:mpl2.0)))
 
+(define-public rust-rstar-0.9
+  (package
+    (name "rust-rstar")
+    (version "0.9.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rstar" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1bdby74j2h7rizs6p81xxilnjsi6w1z2xx2vigaw2gkj5cvlp3km"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-heapless" ,rust-heapless-0.6)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-pdqselect" ,rust-pdqselect-0.1)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-smallvec" ,rust-smallvec-1))
+        #:cargo-development-inputs
+        (("rust-approx" ,rust-approx-0.3)
+         ("rust-rand" ,rust-rand-0.7)
+         ("rust-rand-hc" ,rust-rand-hc-0.2)
+         ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/georust/rstar")
+    (synopsis
+      "R*-tree library for the rust ecosystem")
+    (description
+      "R*-tree library for the rust ecosystem.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rpassword-5
   (package
     (name "rust-rpassword")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 04/26] gnu: Add rust-geo-types-0.7
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (2 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 03/26] gnu: Add rust-rstar-0.9 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 05/26] gnu: Add rust-bit-vec-0.6 Domagoj Stolfa
                     ` (22 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-geo-types-0.7): New public variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3389f12725..a725e6940c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18035,6 +18035,34 @@ API library @code{gdi32}.")
      "This package provides geospatial primitives and algorithms.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-geo-types-0.7
+  (package
+    (name "rust-geo-types")
+    (version "0.7.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "geo-types" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1fyj8ldl4xirhr8aawwiaslkklkzml2r5var87vqyp4zvnajxgfq"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-approx" ,rust-approx-0.4)
+         ("rust-arbitrary" ,rust-arbitrary-1)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-rstar" ,rust-rstar-0.9)
+         ("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-approx" ,rust-approx-0.4))))
+    (home-page "https://github.com/georust/geo")
+    (synopsis "Geospatial primitive data types")
+    (description "This package provides geospatial primitive data types.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-getch-0.2
   (package
     (name "rust-getch")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 05/26] gnu: Add rust-bit-vec-0.6
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (3 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 04/26] gnu: Add rust-geo-types-0.7 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 06/26] gnu: Add rust-cipher-0.3 Domagoj Stolfa
                     ` (21 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-bit-vec-0.6): New public variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a725e6940c..43b2a75eb9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5209,6 +5209,34 @@ streams in big-endian and little-endian formats.")
          "00a6wy54s1dmadm5xz8k2cbsd7ixvm48mlc45bk0fdy0pbra6jk1"))))
     (arguments `(#:skip-build? #t))))
 
+(define-public rust-bit-vec-0.6
+  (package
+    (name "rust-bit-vec")
+    (version "0.6.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "bit-vec" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1ywqjnv60cdh1slhz67psnp422md6jdliji6alq0gmly2xm9p7rl"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-rand" ,rust-rand-0.7)
+         ("rust-rand-xorshift" ,rust-rand-xorshift-0.2)
+         ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page
+      "https://github.com/contain-rs/bit-vec")
+    (synopsis "Rust implementation of a vector of bits")
+    (description
+      "This package provides a vector of bits.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-bitvec-0.19
   (package
     (name "rust-bitvec")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 06/26] gnu: Add rust-cipher-0.3
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (4 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 05/26] gnu: Add rust-bit-vec-0.6 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 07/26] gnu: rust-crypto-mac-0.10: Use rust-cipher-0.3 Domagoj Stolfa
                     ` (20 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-cipher-0.3): New public variable.
---
 gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 43b2a75eb9..2545e95a7e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7848,10 +7848,10 @@ coding.")
     (description "This package provides Rust bindings for libclang.")
     (license license:asl2.0)))
 
-(define-public rust-cipher-0.2
+(define-public rust-cipher-0.3
   (package
     (name "rust-cipher")
-    (version "0.2.5")
+    (version "0.3.0")
     (source
       (origin
         (method url-fetch)
@@ -7859,11 +7859,11 @@ coding.")
         (file-name
           (string-append name "-" version ".tar.gz"))
         (sha256
-          (base32 "00b8imbmdg7zdrbaczlivmdfdy09xldg95wl4iijl15xgjcfgy0j"))))
+          (base32 "1dyzsv0c84rgz98d5glnhsz4320wl24x3bq511vnyf0mxir21rby"))))
     (build-system cargo-build-system)
     (arguments
-      `(#:skip-build? #t
-        #:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
         (("rust-blobby" ,rust-blobby-0.3)
          ("rust-generic-array" ,rust-generic-array-0.14))))
     (home-page "https://docs.rs/cipher/")
@@ -7874,6 +7874,26 @@ RustCrypto/stream-ciphers for algorithm implementations which use these
 traits.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-cipher-0.2
+  (package
+    (inherit rust-cipher-0.3)
+    (name "rust-cipher")
+    (version "0.2.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "cipher" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "00b8imbmdg7zdrbaczlivmdfdy09xldg95wl4iijl15xgjcfgy0j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-blobby" ,rust-blobby-0.3)
+        ("rust-generic-array" ,rust-generic-array-0.14))))))
+
 (define-public rust-clang-sys-0.29
   (package
     (inherit rust-clang-sys-1)
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 07/26] gnu: rust-crypto-mac-0.10: Use rust-cipher-0.3.
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (5 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 06/26] gnu: Add rust-cipher-0.3 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 08/26] gnu: rust-ctr-0.6: " Domagoj Stolfa
                     ` (19 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-crypto-mac-0.10): Update rust-cipher-0.2 to
rust-cipher-0.3.
---
 gnu/packages/crates-io.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2545e95a7e..8e02adf46d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10909,7 +10909,7 @@ common cryptographic algorithms.")
      `(#:skip-build? #t
        #:cargo-inputs
         (("rust-blobby" ,rust-blobby-0.3)
-         ("rust-cipher" ,rust-cipher-0.2)
+         ("rust-cipher" ,rust-cipher-0.3)
          ("rust-generic-array" ,rust-generic-array-0.14)
          ("rust-subtle" ,rust-subtle-2))))
     (home-page "https://github.com/RustCrypto/traits")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 08/26] gnu: rust-ctr-0.6: Use rust-cipher-0.3.
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (6 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 07/26] gnu: rust-crypto-mac-0.10: Use rust-cipher-0.3 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 09/26] gnu: rust-eax-0.3: " Domagoj Stolfa
                     ` (18 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-ctr-0.6): Update rust-cipher-0.2 to
rust-cipher-0.3.
---
 gnu/packages/crates-io.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8e02adf46d..30c7de46ff 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11437,7 +11437,7 @@ use with sct crate.")
     (arguments
       `(#:skip-build? #t
         #:cargo-inputs
-        (("rust-cipher" ,rust-cipher-0.2))))
+        (("rust-cipher" ,rust-cipher-0.3))))
     (home-page "https://docs.rs/ctr/")
     (synopsis "CTR block mode of operation")
     (description "This package provides a generic implementations of CTR mode
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 09/26] gnu: rust-eax-0.3: Use rust-cipher-0.3.
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (7 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 08/26] gnu: rust-ctr-0.6: " Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 10/26] gnu: rust-win-crypto-ng-0.4: " Domagoj Stolfa
                     ` (17 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-eax-0.3): Update rust-cipher-0.2 to
rust-cipher-0.3.
---
 gnu/packages/crates-io.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30c7de46ff..e014dccea4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14225,7 +14225,7 @@ easy.")
       `(#:skip-build? #t
         #:cargo-inputs
         (("rust-aead" ,rust-aead-0.3)
-         ("rust-cipher" ,rust-cipher-0.2)
+         ("rust-cipher" ,rust-cipher-0.3)
          ("rust-cmac" ,rust-cmac-0.5)
          ("rust-ctr" ,rust-ctr-0.6)
          ("rust-subtle" ,rust-subtle-2))))
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 10/26] gnu: rust-win-crypto-ng-0.4: Use rust-cipher-0.3.
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (8 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 09/26] gnu: rust-eax-0.3: " Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 11/26] gnu: Add rust-crypto-mac-0.11 Domagoj Stolfa
                     ` (16 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-win-crypto-ng-0.4): Update rust-cipher-0.2 to
rust-cipher-0.3.
---
 gnu/packages/crates-io.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e014dccea4..d34b84b58b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54395,7 +54395,7 @@ color in a Windows console.")
     (arguments
       `(#:skip-build? #t
         #:cargo-inputs
-        (("rust-cipher" ,rust-cipher-0.2)
+        (("rust-cipher" ,rust-cipher-0.3)
          ("rust-doc-comment" ,rust-doc-comment-0.3)
          ("rust-rand-core" ,rust-rand-core-0.5)
          ("rust-winapi" ,rust-winapi-0.3)
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 11/26] gnu: Add rust-crypto-mac-0.11
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (9 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 10/26] gnu: rust-win-crypto-ng-0.4: " Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 12/26] gnu: Add rust-streebog-0.9 Domagoj Stolfa
                     ` (15 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-crypto-mac-0.11): New public variable.
---
 gnu/packages/crates-io.scm | 41 +++++++++++++++++++++++++++++---------
 1 file changed, 32 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d34b84b58b..b963d389f4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10892,8 +10892,36 @@ number ``crunching``.")
 common cryptographic algorithms.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-crypto-mac-0.11
+  (package
+    (name "rust-crypto-mac")
+    (version "0.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "crypto-mac" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0ghh3qmjf7hv580zqdk4yrbg99v57jx773zb7lzi7j4hj24bdyi5"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-blobby" ,rust-blobby-0.3)
+         ("rust-cipher" ,rust-cipher-0.3)
+         ("rust-generic-array" ,rust-generic-array-0.14)
+         ("rust-subtle" ,rust-subtle-2))))
+    (home-page
+      "https://github.com/RustCrypto/traits")
+    (synopsis "Trait for Message Authentication Code (MAC) algorithms")
+    (description "This package provides trait for @dfn{Message Authentication
+Code} (MAC) algorithms.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-crypto-mac-0.10
   (package
+    (inherit rust-crypto-mac-0.11)
     (name "rust-crypto-mac")
     (version "0.10.0")
     (source
@@ -10911,16 +10939,11 @@ common cryptographic algorithms.")
         (("rust-blobby" ,rust-blobby-0.3)
          ("rust-cipher" ,rust-cipher-0.3)
          ("rust-generic-array" ,rust-generic-array-0.14)
-         ("rust-subtle" ,rust-subtle-2))))
-    (home-page "https://github.com/RustCrypto/traits")
-    (synopsis "Trait for Message Authentication Code (MAC) algorithms")
-    (description "This package provides trait for @dfn{Message Authentication
-Code} (MAC) algorithms.")
-    (license (list license:expat license:asl2.0))))
+         ("rust-subtle" ,rust-subtle-2))))))
 
 (define-public rust-crypto-mac-0.8
   (package
-    (inherit rust-crypto-mac-0.10)
+    (inherit rust-crypto-mac-0.11)
     (name "rust-crypto-mac")
     (version "0.8.0")
     (source
@@ -10940,7 +10963,7 @@ Code} (MAC) algorithms.")
 
 (define-public rust-crypto-mac-0.7
   (package
-    (inherit rust-crypto-mac-0.8)
+    (inherit rust-crypto-mac-0.11)
     (name "rust-crypto-mac")
     (version "0.7.0")
     (source
@@ -10960,7 +10983,7 @@ Code} (MAC) algorithms.")
 
 (define-public rust-crypto-mac-0.5
   (package
-    (inherit rust-crypto-mac-0.10)
+    (inherit rust-crypto-mac-0.11)
     (name "rust-crypto-mac")
     (version "0.5.2")
     (source
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 12/26] gnu: Add rust-streebog-0.9
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (10 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 11/26] gnu: Add rust-crypto-mac-0.11 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 13/26] gnu: Add rust-hmac-0.11 Domagoj Stolfa
                     ` (14 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-streebog-0.9): New public variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b963d389f4..62f4309772 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44182,6 +44182,36 @@ UTF-8.")
     (license (list license:unlicense
                    license:expat))))
 
+(define-public rust-streebog-0.9
+  (package
+    (name "rust-streebog")
+    (version "0.9.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "streebog" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0lz7ajfqdqbrnj01m1xc01ch1g0s9391ma36qqkiyf1074d1r8nr"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-block-buffer" ,rust-block-buffer-0.9)
+         ("rust-digest" ,rust-digest-0.9)
+         ("rust-opaque-debug" ,rust-opaque-debug-0.3))
+        #:cargo-development-inputs
+        (("rust-digest" ,rust-digest-0.9)
+         ("rust-hex-literal" ,rust-hex-literal-0.2))))
+    (home-page
+      "https://github.com/RustCrypto/hashes")
+    (synopsis
+      "Streebog (GOST R 34.11-2012) hash function")
+    (description
+      "This package provides a streebog (GOST R 34.11-2012) hash function.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-string-0.2
   (package
     (name "rust-string")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 13/26] gnu: Add rust-hmac-0.11
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (11 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 12/26] gnu: Add rust-streebog-0.9 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 14/26] gnu: Add rust-hmac-0.10 Domagoj Stolfa
                     ` (13 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-hmac-0.11): New public variable.
---
 gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++---------
 1 file changed, 36 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62f4309772..c6ca1f8948 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20259,8 +20259,40 @@ Derivation Function (HKDF).")
        (("rust-digest" ,rust-digest-0.8)
         ("rust-hmac" ,rust-hmac-0.7))))))
 
+(define-public rust-hmac-0.11
+  (package
+    (name "rust-hmac")
+    (version "0.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "hmac" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "16z61aibdg4di40sqi4ks2s4rz6r29w4sx4gvblfph3yxch26aia"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.11)
+         ("rust-digest" ,rust-digest-0.9))
+        #:cargo-development-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.11)
+         ("rust-md-5" ,rust-md-5-0.9)
+         ("rust-sha2" ,rust-sha2-0.9)
+         ("rust-streebog" ,rust-streebog-0.9))))
+    (home-page "https://github.com/RustCrypto/MACs")
+    (synopsis
+      "Generic implementation of Hash-based Message Authentication Code")
+    (description
+     "This package provides a generic implementation of @acronym{HMAC,
+Hash-based Message Authentication Code}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hmac-0.8
   (package
+    (inherit rust-hmac-0.11)
     (name "rust-hmac")
     (version "0.8.1")
     (source
@@ -20280,17 +20312,11 @@ Derivation Function (HKDF).")
        #:cargo-development-inputs
        (("rust-crypto-mac" ,rust-crypto-mac-0.8)
         ("rust-md-5" ,rust-md-5-0.9)
-        ("rust-sha2" ,rust-sha2-0.9))))
-    (home-page "https://github.com/RustCrypto/MACs")
-    (synopsis "Generic implementation of Hash-based Message Authentication Code")
-    (description
-     "This package provides a generic implementation of @acronym{HMAC,
-Hash-based Message Authentication Code}.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-sha2" ,rust-sha2-0.9))))))
 
 (define-public rust-hmac-0.7
   (package
-    (inherit rust-hmac-0.8)
+    (inherit rust-hmac-0.11)
     (name "rust-hmac")
     (version "0.7.1")
     (source
@@ -20313,7 +20339,7 @@ Hash-based Message Authentication Code}.")
 
 (define-public rust-hmac-0.5
   (package
-    (inherit rust-hmac-0.8)
+    (inherit rust-hmac-0.11)
     (name "rust-hmac")
     (version "0.5.0")
     (source
@@ -20331,7 +20357,7 @@ Hash-based Message Authentication Code}.")
 
 (define-public rust-hmac-0.4
   (package
-    (inherit rust-hmac-0.8)
+    (inherit rust-hmac-0.11)
     (name "rust-hmac")
     (version "0.4.2")
     (source
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 14/26] gnu: Add rust-hmac-0.10
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (12 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 13/26] gnu: Add rust-hmac-0.11 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 15/26] gnu: Add rust-postgres-protocol-0.6 Domagoj Stolfa
                     ` (12 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-hmac-0.10): New public variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6ca1f8948..9ad90bc45f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20290,6 +20290,30 @@ Derivation Function (HKDF).")
 Hash-based Message Authentication Code}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hmac-0.10
+  (package
+    (inherit rust-hmac-0.11)
+    (name "rust-hmac")
+    (version "0.10.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "hmac" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "058yxq54x7xn0gk2vy9bl51r32c9z7qlcl2b80bjh3lk3rmiqi61"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.10)
+         ("rust-digest" ,rust-digest-0.9))
+        #:cargo-development-inputs
+        (("rust-crypto-mac" ,rust-crypto-mac-0.10)
+         ("rust-md-5" ,rust-md-5-0.9)
+         ("rust-sha2" ,rust-sha2-0.9))))))
+
 (define-public rust-hmac-0.8
   (package
     (inherit rust-hmac-0.11)
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 15/26] gnu: Add rust-postgres-protocol-0.6
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (13 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 14/26] gnu: Add rust-hmac-0.10 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 16/26] gnu: Add rust-eui48-0.4 Domagoj Stolfa
                     ` (11 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-postgres-protocol-0.6): New public variable.
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++------
 1 file changed, 35 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9ad90bc45f..18b5977ee3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32887,8 +32887,42 @@ UDP.")
       "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
@@ -32912,12 +32946,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
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 16/26] gnu: Add rust-eui48-0.4
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (14 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 15/26] gnu: Add rust-postgres-protocol-0.6 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 17/26] gnu: Add rust-rstar-0.8 Domagoj Stolfa
                     ` (10 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-graphics.scm (rust-eui48-0.4): New public variable.
---
 gnu/packages/crates-graphics.scm | 38 ++++++++++++++++++++++++++------
 1 file changed, 31 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index bc47bf1287..329b3b7372 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -628,8 +628,38 @@ and iOS.")
     (description "Geometry primitives written in Rust.")
     (license (list license:expat license:asl2.0))))
 
+
+(define-public rust-eui48-0.4
+  (package
+    (name "rust-eui48")
+    (version "0.4.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "eui48" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "0sqbmcnvilanzjagknmpf85pnji2b9hn2pqzd5rygrfkwikghk4c"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-regex" ,rust-regex-1)
+         ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1))
+        #:cargo-development-inputs
+        (("rust-bincode" ,rust-bincode-1))))
+    (home-page "https://github.com/abaumhauer/eui48")
+    (synopsis "Library to generate and parse IEEE EUI-48 and EUI-64")
+    (description
+     "This package provides a library to generate and parse IEEE EUI-48 and
+EUI-64, also known as MAC-48 media access control addresses.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-eui48-0.3
   (package
+    (inherit rust-eui48-0.4)
     (name "rust-eui48")
     (version "0.3.2")
     (source
@@ -644,13 +674,7 @@ and iOS.")
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
-        ("rust-serde" ,rust-serde-1))))
-    (home-page "https://github.com/abaumhauer/eui48")
-    (synopsis "Library to generate and parse IEEE EUI-48 and EUI-64")
-    (description
-     "This package provides a library to generate and parse IEEE EUI-48 and
-EUI-64, also known as MAC-48 media access control addresses.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-serde" ,rust-serde-1))))))
 
 (define-public rust-gfx-0.18
   (package
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 17/26] gnu: Add rust-rstar-0.8
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (15 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 16/26] gnu: Add rust-eui48-0.4 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 18/26] gnu: Add rust-geo-types-0.6 Domagoj Stolfa
                     ` (9 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-rstar-0.8): New public variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 18b5977ee3..fe2f1467bd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37348,6 +37348,34 @@ rust.")
       "R*-tree library for the rust ecosystem.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rstar-0.8
+  (package
+    (inherit rust-rstar-0.9)
+    (name "rust-rstar")
+    (version "0.8.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rstar" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-heapless" ,rust-heapless-0.6)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-pdqselect" ,rust-pdqselect-0.1)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-smallvec" ,rust-smallvec-1))
+        #:cargo-development-inputs
+        (("rust-approx" ,rust-approx-0.3)
+         ("rust-rand" ,rust-rand-0.7)
+         ("rust-rand-hc" ,rust-rand-hc-0.2)
+         ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-rpassword-5
   (package
     (name "rust-rpassword")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 18/26] gnu: Add rust-geo-types-0.6
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (16 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 17/26] gnu: Add rust-rstar-0.8 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 19/26] gnu: Add rust-postgres-types-0.2 Domagoj Stolfa
                     ` (8 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-geo-types-0.6): New public variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe2f1467bd..83937a19cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18134,6 +18134,30 @@ API library @code{gdi32}.")
     (description "This package provides geospatial primitive data types.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-geo-types-0.6
+  (package
+    (inherit rust-geo-types-0.7)
+    (name "rust-geo-types")
+    (version "0.6.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "geo-types" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1wivy6r2bzc32gxp5g5j689qz6p9ls5qgq0z8q64aayv3xd950vm"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-approx" ,rust-approx-0.3)
+         ("rust-num-traits" ,rust-num-traits-0.2)
+         ("rust-rstar" ,rust-rstar-0.8)
+         ("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-approx" ,rust-approx-0.3))))))
+
 (define-public rust-getch-0.2
   (package
     (name "rust-getch")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 19/26] gnu: Add rust-postgres-types-0.2
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (17 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 18/26] gnu: Add rust-geo-types-0.6 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4 Domagoj Stolfa
                     ` (7 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-postgres-types-0.2): New public variable.
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 83937a19cb..84e1ebd906 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33007,6 +33007,47 @@ UDP.")
 @code{postgres-tokio}.")
     (license license:expat)))
 
+(define-public rust-postgres-types-0.2
+  (package
+    (name "rust-postgres-types")
+    (version "0.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "postgres-types" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0brsqkydz0grfy60nc1d0hxa9jbpim0c7c52v467nrdpw4ql23s3"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-bit-vec" ,rust-bit-vec-0.6)
+         ("rust-bytes" ,rust-bytes-1)
+         ("rust-chrono" ,rust-chrono-0.4)
+         ("rust-eui48" ,rust-eui48-0.4)
+         ("rust-fallible-iterator"
+          ,rust-fallible-iterator-0.2)
+         ("rust-geo-types" ,rust-geo-types-0.7)
+         ("rust-geo-types" ,rust-geo-types-0.6)
+         ("rust-postgres-derive"
+          ,rust-postgres-derive-0.4)
+         ("rust-postgres-protocol"
+          ,rust-postgres-protocol-0.6)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-time" ,rust-time-0.2)
+         ("rust-uuid" ,rust-uuid-0.8))))
+    (home-page
+      "https://github.com/sfackler/rust-postgres")
+    (synopsis
+      "Conversions between Rust and Postgres values")
+    (description
+      "This package provides a Rust implementation for conversions between Rust
+and Postgres values.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ppv-lite86-0.2
   (package
     (name "rust-ppv-lite86")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (18 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 19/26] gnu: Add rust-postgres-types-0.2 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 21/26] gnu: Add rust-tokio-postgres-0.7 Domagoj Stolfa
                     ` (6 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-socket2-0.4): New public variable.
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++--------
 1 file changed, 29 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 84e1ebd906..00cc397ec9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43563,8 +43563,36 @@ escaped text to recover the original string.")
 algorithm.  Includes streaming compression and decompression.")
     (license license:bsd-3)))
 
+(define-public rust-socket2-0.4
+  (package
+    (name "rust-socket2")
+    (version "0.4.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "socket2" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/rust-lang/socket2")
+    (synopsis "Networking sockets in Rust")
+    (description
+     "This package provides utilities for handling networking sockets with a
+maximal amount of configuration possible intended.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-socket2-0.3
   (package
+    (inherit rust-socket2-0.4)
     (name "rust-socket2")
     (version "0.3.19")
     (source
@@ -43582,14 +43610,7 @@ algorithm.  Includes streaming compression and decompression.")
         ("rust-libc" ,rust-libc-0.2)
         ("rust-winapi" ,rust-winapi-0.3))
        #:cargo-development-inputs
-       (("rust-tempdir" ,rust-tempdir-0.3))))
-    (home-page "https://github.com/alexcrichton/socket2-rs")
-    (synopsis "Networking sockets in Rust")
-    (description
-     "This package provides utilities for handling networking sockets with a
-maximal amount of configuration possible intended.")
-    (license (list license:asl2.0
-                   license:expat))))
+       (("rust-tempdir" ,rust-tempdir-0.3))))))
 
 (define-public rust-socks-0.3
   (package
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 21/26] gnu: Add rust-tokio-postgres-0.7
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (19 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19 Domagoj Stolfa
                     ` (5 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-tokio-postgres-0.7): New public variable.
---
 gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 00cc397ec9..4224cf525d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48844,6 +48844,65 @@ OpenSSL.")
        #:cargo-development-inputs
        (("rust-tokio" ,rust-tokio-0.1))))))
 
+(define-public rust-tokio-postgres-0.7
+  (package
+    (name "rust-tokio-postgres")
+    (version "0.7.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "tokio-postgres" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "12rb390i3af7zb0z2idhaf6l2m6snypwdiwjw84rmyz4qy1i6ard"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52
+       #:tests? #f                      ;require postgresql
+       #:cargo-inputs
+       (("rust-async-trait" ,rust-async-trait-0.1)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("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-parking-lot" ,rust-parking-lot-0.11)
+        ("rust-percent-encoding"
+         ,rust-percent-encoding-2)
+        ("rust-phf" ,rust-phf-0.8)
+        ("rust-pin-project-lite"
+         ,rust-pin-project-lite-0.2)
+        ("rust-postgres-protocol"
+         ,rust-postgres-protocol-0.6)
+        ("rust-postgres-types" ,rust-postgres-types-0.2)
+        ("rust-socket2" ,rust-socket2-0.4)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tokio-util" ,rust-tokio-util-0.6))
+       #:cargo-development-inputs
+       (("rust-bit-vec" ,rust-bit-vec-0.6)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-criterion" ,rust-criterion-0.3)
+        ("rust-env-logger" ,rust-env-logger-0.8)
+        ("rust-eui48" ,rust-eui48-0.4)
+        ("rust-geo-types" ,rust-geo-types-0.7)
+        ("rust-geo-types" ,rust-geo-types-0.6)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-time" ,rust-time-0.2)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-uuid" ,rust-uuid-0.8))))
+    (home-page
+     "https://github.com/sfackler/rust-postgres")
+    (synopsis
+     "Native, asynchronous PostgreSQL client")
+    (description
+     "This package provides a native, asynchronous PostgreSQL client implemented
+in Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-tokio-process-0.2
   (package
     (name "rust-tokio-process")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (20 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 21/26] gnu: Add rust-tokio-postgres-0.7 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 23/26] gnu: Add rust-statistical-1 Domagoj Stolfa
                     ` (4 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* 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





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 23/26] gnu: Add rust-statistical-1
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (21 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 24/26] gnu: Add rust-rust-decimal-1 Domagoj Stolfa
                     ` (3 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-statistical-1): New public variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e4d33adfdd..0e7384051a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44091,6 +44091,29 @@ are met.")
 map.")
     (license license:expat)))
 
+(define-public rust-statistical-1
+  (package
+    (name "rust-statistical")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "statistical" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0wm35q6p6jcq1r1darczv4if7qss460kd391nlw5x3hjpc17kma9"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-num" ,rust-num-0.2)
+         ("rust-rand" ,rust-rand-0.6))))
+    (home-page "https://github.com/JeffBelgum/statistical")
+    (synopsis "Simple Rust statistics library")
+    (description "This package provides a simple statistics library")
+    (license license:expat)))
+
 (define-public rust-stb-truetype-0.3
   (package
     (name "rust-stb-truetype")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 24/26] gnu: Add rust-rust-decimal-1
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (22 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 23/26] gnu: Add rust-statistical-1 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 25/26] gnu: Add rust-colored-2 Domagoj Stolfa
                     ` (2 subsequent siblings)
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-rust-decimal-1): New public variable.
---
 gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++------
 1 file changed, 44 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0e7384051a..7f68e4e4eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37925,8 +37925,51 @@ password hashing function.")
  Currently the conversion uses the Bitcoin base58 alphabet.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-rust-decimal-1
+  (package
+    (name "rust-rust-decimal")
+    (version "1.14.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "rust-decimal" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "10k58hf367626d4akl7ifyk5qwqphfs5x6z1yay22pkyc6w7q4h1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-arbitrary" ,rust-arbitrary-1)
+        ("rust-arrayvec" ,rust-arrayvec-0.5)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-diesel" ,rust-diesel-1)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-postgres" ,rust-postgres-0.19)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-tokio-postgres" ,rust-tokio-postgres-0.7))
+       #:cargo-development-inputs
+       (("rust-bincode" ,rust-bincode-1)
+        ("rust-bytes" ,rust-bytes-1)
+        ("rust-csv" ,rust-csv-1)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/paupino/rust-decimal")
+    (synopsis "Decimal implementation suitable for financial calculations")
+    (description
+     "This package provides a decimal implementation written in pure Rust
+suitable for financial calculations.")
+    (license license:expat)))
+
 (define-public rust-rust-decimal-0.10
   (package
+    (inherit rust-rust-decimal-1)
     (name "rust-rust-decimal")
     (version "0.10.2")
     (source
@@ -37944,13 +37987,7 @@ password hashing function.")
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-num" ,rust-num-0.2)
         ("rust-postgres" ,rust-postgres-0.15)
-        ("rust-serde" ,rust-serde-1))))
-    (home-page "https://github.com/paupino/rust-decimal")
-    (synopsis "Decimal implementation suitable for financial calculations")
-    (description
-     "This package provides a decimal implementation written in pure Rust
-suitable for financial calculations.")
-    (license license:expat)))
+        ("rust-serde" ,rust-serde-1))))))
 
 (define-public rust-rust-embed-5
   (package
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 25/26] gnu: Add rust-colored-2
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (23 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 24/26] gnu: Add rust-rust-decimal-1 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 26/26] gnu: Add hyperfine Domagoj Stolfa
  2021-07-13 12:15   ` bug#49383: [PATCH v2 00/26] Addressing comments Efraim Flashner
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

* gnu/packages/crates-io.scm (rust-colored-2): New public variable.
---
 gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++------
 1 file changed, 38 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f68e4e4eb..7fdbe1658f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8637,19 +8637,19 @@ diagnostics easy and relatively painless for everyone!")
 colors.")
     (license license:expat)))
 
-(define-public rust-colored-1
+(define-public rust-colored-2
   (package
     (name "rust-colored")
-    (version "1.9.3")
+    (version "2.0.0")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "colored" version))
         (file-name
-         (string-append name "-" version ".tar.gz"))
+          (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32
-          "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl"))))
+          (base32
+            "1gbcijscmznzy42rn213yp9ima7210zakgaqibgg1n441dsnyqdk"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f
@@ -8673,9 +8673,41 @@ colors.")
      "The most simple way to add colors in your terminal.")
     (license license:mpl2.0)))
 
+(define-public rust-colored-1
+  (package
+    (inherit rust-colored-2)
+    (name "rust-colored")
+    (version "1.9.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "colored" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs
+       (("rust-atty" ,rust-atty-0.2)
+        ("rust-winapi" ,rust-winapi-0.3)
+        ("rust-lazy-static" ,rust-lazy-static-1))
+       #:cargo-development-inputs
+       (("rust-ansi-term" ,rust-ansi-term-0.12)
+        ("rust-rspec" ,rust-rspec-1))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-version-requirements
+           (lambda _
+             (substitute* "Cargo.toml"
+               (("1.0.0-beta.3") ,(package-version rust-rspec-1)))
+             #t)))))))
+
 (define-public rust-colored-1.9.1
   (package
-    (inherit rust-colored-1)
+    (inherit rust-colored-2)
     (name "rust-colored")
     (version "1.9.1")
     (source
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* [bug#49383] [PATCH v2 26/26] gnu: Add hyperfine.
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (24 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 25/26] gnu: Add rust-colored-2 Domagoj Stolfa
@ 2021-07-11 14:55   ` Domagoj Stolfa
  2021-07-13 12:15   ` bug#49383: [PATCH v2 00/26] Addressing comments Efraim Flashner
  26 siblings, 0 replies; 72+ messages in thread
From: Domagoj Stolfa @ 2021-07-11 14:55 UTC (permalink / raw)
  To: 49383; +Cc: Domagoj Stolfa

From: Domagoj Stolfa <domagoj.stolfa@gmail.com>

* gnu/packages/rust-apps.scm (hyperfine): New public variable.
---
 gnu/packages/rust-apps.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 699d2d7059..9257c8b140 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -377,6 +377,46 @@ for distinguishing different kinds of bytes such as NULL bytes, printable ASCII
 characters, ASCII whitespace characters, other ASCII characters and non-ASCII.")
     (license (list license:expat license:asl2.0))))
 
+(define-public hyperfine
+  (package
+    (name "hyperfine")
+    (version "1.11.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "hyperfine" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0m5lrvx6wwkxqdc5digm1k4diiaqcg5j4pia77s5nw1aam7k51hy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:rust ,rust-1.52
+       #:cargo-inputs
+       (("rust-atty" ,rust-atty-0.2)
+        ("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-clap" ,rust-clap-2)
+        ("rust-colored" ,rust-colored-2)
+        ("rust-csv" ,rust-csv-1)
+        ("rust-indicatif" ,rust-indicatif-0.15)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-rand" ,rust-rand-0.7)
+        ("rust-rust-decimal" ,rust-rust-decimal-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-statistical" ,rust-statistical-1)
+        ("rust-version-check" ,rust-version-check-0.9)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-approx" ,rust-approx-0.3))))
+    (home-page
+     "https://github.com/sharkdp/hyperfine")
+    (synopsis "A command-line benchmarking tool")
+    (description
+     "This package provides a command-line benchmarking tool")
+    (license (list license:expat license:asl2.0))))
+
 (define-public ripgrep
   (package
     (name "ripgrep")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 72+ messages in thread

* bug#49383: [PATCH v2 00/26] Addressing comments
  2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
                     ` (25 preceding siblings ...)
  2021-07-11 14:55   ` [bug#49383] [PATCH v2 26/26] gnu: Add hyperfine Domagoj Stolfa
@ 2021-07-13 12:15   ` Efraim Flashner
  26 siblings, 0 replies; 72+ messages in thread
From: Efraim Flashner @ 2021-07-13 12:15 UTC (permalink / raw)
  To: Domagoj Stolfa; +Cc: 49383-done, Domagoj Stolfa

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

Patches pushed. Some of the patches which changed some crates from using
rust-cipher-0.2 to 0.3 I skipped since they no longer built after the
change.

Thanks!

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 72+ messages in thread

end of thread, other threads:[~2021-07-13 12:18 UTC | newest]

Thread overview: 72+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-04 16:31 [bug#49383] [PATCH 00/21] Add hyperfine Domagoj Stolfa
2021-07-04 16:31 ` [bug#49382] [PATCH 01/21] gnu: " Domagoj Stolfa
2021-07-04 16:31 ` [bug#49384] [PATCH 02/21] gnu: Add rust-colored-2 Domagoj Stolfa
2021-07-11  8:50   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49391] [PATCH 03/21] gnu: Add rust-rust-decimal-1 Domagoj Stolfa
2021-07-11  8:51   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49385] [PATCH 04/21] gnu: Add rust-statistical-1 Domagoj Stolfa
2021-07-11  8:52   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49386] [PATCH 05/21] gnu: Add rust-postgres-0.19 Domagoj Stolfa
2021-07-11  8:53   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49387] [PATCH 06/21] gnu: Add rust-tokio-postgres-0.7 Domagoj Stolfa
2021-07-11  8:54   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49388] [PATCH 07/21] gnu: Add rust-postgres-protocol-0.6 Domagoj Stolfa
2021-07-11  8:54   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49389] [PATCH 08/21] gnu: Add rust-postgres-types-0.2 Domagoj Stolfa
2021-07-11  8:55   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4 Domagoj Stolfa
2021-07-11  8:59   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49393] [PATCH 10/21] gnu: Add rust-hmac-0.11 Domagoj Stolfa
2021-07-11  9:04   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49392] [PATCH 11/21] gnu: Add rust-crypto-mac-0.11 Domagoj Stolfa
2021-07-11  9:05   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49395] [PATCH 12/21] gnu: Add rust-cipher-0.3 Domagoj Stolfa
2021-07-11  9:06   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49394] [PATCH 13/21] gnu: Add rust-streebog-0.9 Domagoj Stolfa
2021-07-11  9:09   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49396] [PATCH 14/21] gnu: Add rust-hmac-0.10 Domagoj Stolfa
2021-07-11  9:10   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49397] [PATCH 15/21] gnu: Add rust-bit-vec-0.6 Domagoj Stolfa
2021-07-11  9:11   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49398] [PATCH 16/21] gnu: Add rust-eui48-0.4 Domagoj Stolfa
2021-07-11  9:15   ` Xinglu Chen
2021-07-04 16:31 ` [bug#49399] [PATCH 17/21] gnu: Add rust-geo-types-0.7 Domagoj Stolfa
2021-07-11  9:15   ` Xinglu Chen
2021-07-04 16:32 ` [bug#49401] [PATCH 18/21] gnu: Add rust-geo-types-0.6 Domagoj Stolfa
2021-07-11  9:16   ` Xinglu Chen
2021-07-04 16:32 ` [bug#49400] [PATCH 19/21] gnu: Add rust-rstar-0.8 Domagoj Stolfa
2021-07-11  9:16   ` Xinglu Chen
2021-07-04 16:32 ` [bug#49403] [PATCH 20/21] gnu: Add rust-postgres-derive-0.4 Domagoj Stolfa
2021-07-11  9:19   ` Xinglu Chen
2021-07-04 16:32 ` [bug#49402] [PATCH 21/21] gnu: Add rust-pdqselect-0.1 Domagoj Stolfa
2021-07-11  9:20   ` Xinglu Chen
2021-07-11  9:26 ` [bug#49383] [PATCH 00/21] Add hyperfine Xinglu Chen
2021-07-11 11:27   ` Domagoj Stolfa
2021-07-11 14:55 ` [bug#49383] [PATCH v2 00/26] Addressing comments Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 01/26] gnu: Add rust-pdqselect-0.1 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 02/26] gnu: Add rust-postgres-derive-0.4 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 03/26] gnu: Add rust-rstar-0.9 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 04/26] gnu: Add rust-geo-types-0.7 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 05/26] gnu: Add rust-bit-vec-0.6 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 06/26] gnu: Add rust-cipher-0.3 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 07/26] gnu: rust-crypto-mac-0.10: Use rust-cipher-0.3 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 08/26] gnu: rust-ctr-0.6: " Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 09/26] gnu: rust-eax-0.3: " Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 10/26] gnu: rust-win-crypto-ng-0.4: " Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 11/26] gnu: Add rust-crypto-mac-0.11 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 12/26] gnu: Add rust-streebog-0.9 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 13/26] gnu: Add rust-hmac-0.11 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 14/26] gnu: Add rust-hmac-0.10 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 15/26] gnu: Add rust-postgres-protocol-0.6 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 16/26] gnu: Add rust-eui48-0.4 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 17/26] gnu: Add rust-rstar-0.8 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 18/26] gnu: Add rust-geo-types-0.6 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 19/26] gnu: Add rust-postgres-types-0.2 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 20/26] gnu: Add rust-socket2-0.4 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 21/26] gnu: Add rust-tokio-postgres-0.7 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 22/26] gnu: Add rust-postgres-0.19 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 23/26] gnu: Add rust-statistical-1 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 24/26] gnu: Add rust-rust-decimal-1 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 25/26] gnu: Add rust-colored-2 Domagoj Stolfa
2021-07-11 14:55   ` [bug#49383] [PATCH v2 26/26] gnu: Add hyperfine Domagoj Stolfa
2021-07-13 12:15   ` bug#49383: [PATCH v2 00/26] Addressing comments Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.