Subject: [bug#52624] [PATCH 15/42] gnu: rust-version-compare 0.0.11: Fix variable name.

From: Hartmut Goebel <[email-masked]>
Date: Sat, 18 Dec 2021 21:49:26 +0100

In semanic versioning, the last non-zero numer is relevant. 0.0.10 is not
expected to be compatible with 0.0.11.

* gnu/packages/crates-io.scm: (rust-version-compare-0.0.11): Rename from …
  (rust-version-compare-0.0): … this, which becomes an alias of the former.
  (rust-system-deps-1)[source]<snippet>: Use new version string.
  [arguments]<#:cargo-inputs>: Use new variable name.
---
 gnu/packages/crates-io.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 269fcbd3fb..15288f6919 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52721,7 +52721,7 @@ processors, disks, components and networks.")
        (modules '((guix build utils)))
        (snippet
         '(begin (substitute* "Cargo.toml"
-                  (("0.0.10") "0.0"))
+                  (("0.0.10") "0.0.11"))
                 #t))))
     (build-system cargo-build-system)
     (arguments
@@ -52733,7 +52733,7 @@ processors, disks, components and networks.")
         ("rust-strum-macros" ,rust-strum-macros-0.18)
         ("rust-thiserror" ,rust-thiserror-1)
         ("rust-toml" ,rust-toml-0.5)
-        ("rust-version-compare" ,rust-version-compare-0.0))
+        ("rust-version-compare" ,rust-version-compare-0.0.11))
        #:cargo-development-inputs
        (("rust-itertools" ,rust-itertools-0.9))))
     (home-page "https://github.com/gdesmott/system-deps")
@@ -60180,7 +60180,7 @@ If that fails, no determination is made, and calls return None.")
          (base32
           "1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
 
-(define-public rust-version-compare-0.0
+(define-public rust-version-compare-0.0.11
   (package
     (name "rust-version-compare")
     (version "0.0.11")
@@ -60200,6 +60200,8 @@ If that fails, no determination is made, and calls return None.")
 numbers, and test them against various comparison operators.")
     (license license:expat)))
 
+(define-public rust-version-compare-0.0 rust-version-compare-0.0.11)
+
 (define-public rust-version-sync-0.8
   (package
     (name "rust-version-sync")
-- 
2.30.2