GNU bug report logs - #49383
[PATCH 00/21] Add hyperfine

Previous Next

Package: guix-patches;

Reported by: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>

Date: Sun, 4 Jul 2021 16:33:02 UTC

Severity: normal

Tags: patch

Merged with 49382, 49384, 49385, 49386, 49387, 49388, 49389, 49390, 49391, 49392, 49393, 49394, 49395, 49396, 49397, 49398, 49399, 49400, 49401, 49402, 49403

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49383 in the body.
You can then email your comments to 49383 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 04 Jul 2021 16:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 04 Jul 2021 16:33:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH 00/21] Add hyperfine
Date: Sun,  4 Jul 2021 17:31:42 +0100
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





Merged 49382 49383 49384 49385 49386 49387 49388 49389. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Sun, 04 Jul 2021 16:40:01 GMT) Full text and rfc822 format available.

Merged 49382 49383 49384 49385 49386 49387 49388 49389 49390 49391 49392 49393 49394 49395 49396 49397. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Sun, 04 Jul 2021 16:41:02 GMT) Full text and rfc822 format available.

Merged 49382 49383 49384 49385 49386 49387 49388 49389 49390 49391 49392 49393 49394 49395 49396 49397 49398 49399 49400 49401 49402 49403. Request was from Tobias Geerinckx-Rice <me <at> tobias.gr> to control <at> debbugs.gnu.org. (Sun, 04 Jul 2021 16:42:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 09:27:02 GMT) Full text and rfc822 format available.

Message #14 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>, 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: Re: [bug#49383] [PATCH 00/21] Add hyperfine
Date: Sun, 11 Jul 2021 11:26:24 +0200
[Message part 1 (text/plain, inline)]
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.  :)
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 11:28:01 GMT) Full text and rfc822 format available.

Message #17 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 49383 <at> debbugs.gnu.org, Domagoj Stolfa <ds815 <at> gmx.com>
Subject: Re: [bug#49383] [PATCH 00/21] Add hyperfine
Date: Sun, 11 Jul 2021 12:27:42 +0100
[Message part 1 (text/plain, inline)]
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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:01 GMT) Full text and rfc822 format available.

Message #20 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 00/26] Addressing comments
Date: Sun, 11 Jul 2021 15:55:32 +0100
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 <at> 0.7 and geo-types <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:02 GMT) Full text and rfc822 format available.

Message #23 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 02/26] gnu: Add rust-postgres-derive-0.4
Date: Sun, 11 Jul 2021 15:55:34 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:02 GMT) Full text and rfc822 format available.

Message #26 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 01/26] gnu: Add rust-pdqselect-0.1
Date: Sun, 11 Jul 2021 15:55:33 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:03 GMT) Full text and rfc822 format available.

Message #29 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 03/26] gnu: Add rust-rstar-0.9
Date: Sun, 11 Jul 2021 15:55:35 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:03 GMT) Full text and rfc822 format available.

Message #32 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 04/26] gnu: Add rust-geo-types-0.7
Date: Sun, 11 Jul 2021 15:55:36 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:03 GMT) Full text and rfc822 format available.

Message #35 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 05/26] gnu: Add rust-bit-vec-0.6
Date: Sun, 11 Jul 2021 15:55:37 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:04 GMT) Full text and rfc822 format available.

Message #38 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 06/26] gnu: Add rust-cipher-0.3
Date: Sun, 11 Jul 2021 15:55:38 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:04 GMT) Full text and rfc822 format available.

Message #41 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 07/26] gnu: rust-crypto-mac-0.10: Use rust-cipher-0.3.
Date: Sun, 11 Jul 2021 15:55:39 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:05 GMT) Full text and rfc822 format available.

Message #44 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 08/26] gnu: rust-ctr-0.6: Use rust-cipher-0.3.
Date: Sun, 11 Jul 2021 15:55:40 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:05 GMT) Full text and rfc822 format available.

Message #47 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 09/26] gnu: rust-eax-0.3: Use rust-cipher-0.3.
Date: Sun, 11 Jul 2021 15:55:41 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:05 GMT) Full text and rfc822 format available.

Message #50 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 10/26] gnu: rust-win-crypto-ng-0.4: Use rust-cipher-0.3.
Date: Sun, 11 Jul 2021 15:55:42 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:06 GMT) Full text and rfc822 format available.

Message #53 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 11/26] gnu: Add rust-crypto-mac-0.11
Date: Sun, 11 Jul 2021 15:55:43 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:06 GMT) Full text and rfc822 format available.

Message #56 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 12/26] gnu: Add rust-streebog-0.9
Date: Sun, 11 Jul 2021 15:55:44 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:07 GMT) Full text and rfc822 format available.

Message #59 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 13/26] gnu: Add rust-hmac-0.11
Date: Sun, 11 Jul 2021 15:55:45 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:07 GMT) Full text and rfc822 format available.

Message #62 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 14/26] gnu: Add rust-hmac-0.10
Date: Sun, 11 Jul 2021 15:55:46 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:07 GMT) Full text and rfc822 format available.

Message #65 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 15/26] gnu: Add rust-postgres-protocol-0.6
Date: Sun, 11 Jul 2021 15:55:47 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:08 GMT) Full text and rfc822 format available.

Message #68 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 16/26] gnu: Add rust-eui48-0.4
Date: Sun, 11 Jul 2021 15:55:48 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:08 GMT) Full text and rfc822 format available.

Message #71 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 17/26] gnu: Add rust-rstar-0.8
Date: Sun, 11 Jul 2021 15:55:49 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:09 GMT) Full text and rfc822 format available.

Message #74 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 18/26] gnu: Add rust-geo-types-0.6
Date: Sun, 11 Jul 2021 15:55:50 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:09 GMT) Full text and rfc822 format available.

Message #77 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 19/26] gnu: Add rust-postgres-types-0.2
Date: Sun, 11 Jul 2021 15:55:51 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:09 GMT) Full text and rfc822 format available.

Message #80 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 20/26] gnu: Add rust-socket2-0.4
Date: Sun, 11 Jul 2021 15:55:52 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:10 GMT) Full text and rfc822 format available.

Message #83 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 21/26] gnu: Add rust-tokio-postgres-0.7
Date: Sun, 11 Jul 2021 15:55:53 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:10 GMT) Full text and rfc822 format available.

Message #86 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 22/26] gnu: Add rust-postgres-0.19
Date: Sun, 11 Jul 2021 15:55:54 +0100
* gnu/packages/crates-io.scm (rust-postgres-0.19): New public variable.
---
 gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++++++++------
 1 file changed, 34 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4224cf525d..e4d33adfdd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32852,8 +32852,41 @@ overloading without macros in Rust.")
 UDP.")
     (license license:unlicense)))
 
+(define-public rust-postgres-0.19
+  (package
+    (name "rust-postgres")
+    (version "0.19.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "postgres" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "1hnid1d78zrr8ph12lpvp5b2cpx2fsqqgqs2yn1q23c6g7jix1y7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bytes" ,rust-bytes-1)
+        ("rust-fallible-iterator"
+         ,rust-fallible-iterator-0.2)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tokio-postgres" ,rust-tokio-postgres-0.7))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3))))
+    (home-page "https://github.com/sfackler/rust-postgres")
+    (synopsis "Native, synchronous PostgreSQL client")
+    (description
+     "This package provides a native, synchronous PostgreSQL client.")
+    (license license:expat)))
+
 (define-public rust-postgres-0.15
   (package
+    (inherit rust-postgres-0.19)
     (name "rust-postgres")
     (version "0.15.2")
     (source
@@ -32877,12 +32910,7 @@ UDP.")
         ("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
         ("rust-schannel" ,rust-schannel-0.1)
         ("rust-security-framework" ,rust-security-framework-0.1)
-        ("rust-socket2" ,rust-socket2-0.3))))
-    (home-page "https://github.com/sfackler/rust-postgres")
-    (synopsis "Native, synchronous PostgreSQL client")
-    (description
-     "This package provides a native, synchronous PostgreSQL client.")
-    (license license:expat)))
+        ("rust-socket2" ,rust-socket2-0.3))))))
 
 (define-public rust-postgres-derive-0.4
   (package
-- 
2.32.0





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:11 GMT) Full text and rfc822 format available.

Message #89 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 23/26] gnu: Add rust-statistical-1
Date: Sun, 11 Jul 2021 15:55:55 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:11 GMT) Full text and rfc822 format available.

Message #92 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 24/26] gnu: Add rust-rust-decimal-1
Date: Sun, 11 Jul 2021 15:55:56 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:11 GMT) Full text and rfc822 format available.

Message #95 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <ds815 <at> gmx.com>
Subject: [PATCH v2 25/26] gnu: Add rust-colored-2
Date: Sun, 11 Jul 2021 15:55:57 +0100
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49383; Package guix-patches. (Sun, 11 Jul 2021 14:57:12 GMT) Full text and rfc822 format available.

Message #98 received at 49383 <at> debbugs.gnu.org (full text, mbox):

From: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
To: 49383 <at> debbugs.gnu.org
Cc: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
Subject: [PATCH v2 26/26] gnu: Add hyperfine.
Date: Sun, 11 Jul 2021 15:55:58 +0100
From: Domagoj Stolfa <domagoj.stolfa <at> 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





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:01 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:01 GMT) Full text and rfc822 format available.

Message #103 received at 49383-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Domagoj Stolfa <domagoj.stolfa <at> gmail.com>
Cc: 49383-done <at> debbugs.gnu.org, Domagoj Stolfa <ds815 <at> gmx.com>
Subject: Re: [bug#49383] [PATCH v2 00/26] Addressing comments
Date: Tue, 13 Jul 2021 15:15:49 +0300
[Message part 1 (text/plain, inline)]
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 <at> 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
[signature.asc (application/pgp-signature, inline)]

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:01 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:01 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:02 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:03 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:03 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:03 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:03 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:03 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:03 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:03 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:03 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:03 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:04 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:04 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:04 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:04 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:04 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:04 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:04 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:04 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:04 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:05 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 13 Jul 2021 12:18:06 GMT) Full text and rfc822 format available.

Notification sent to Domagoj Stolfa <domagoj.stolfa <at> gmail.com>:
bug acknowledged by developer. (Tue, 13 Jul 2021 12:18:06 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 11 Aug 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.