Subject: [bug#73956] [PATCH rust-team 02/27] gnu: Add rust-system-deps-7.

From: Giacomo Leidi <[email-masked]>
Date: Wed, 23 Oct 2024 01:30:47 +0200

* gnu/packages/crates-io.scm (rust-system-deps-7): New variable;
(rust-system-deps-6): inherit from rust-system-deps-6.

Change-Id: I28dd3c7406fbd1656e8df77bae0b38a71c91f07b
---
 gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++++-----
 1 file changed, 32 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 459fa6b7cd..dc5aa6f1ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80024,31 +80024,31 @@ (define-public rust-syslog-3
         ("rust-log" ,rust-log-0.3)
         ("rust-unix-socket" ,rust-unix-socket-0.5))))))
 
-(define-public rust-system-deps-6
+(define-public rust-system-deps-7
   (package
     (name "rust-system-deps")
-    (version "6.2.2")
+    (version "7.0.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "system-deps" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0j93ryw031n3h8b0nfpj5xwh3ify636xmv8kxianvlyyipmkbrd3"))
+        (base32 "01d0fllzpkfybzadyaq1vlx70imzj56dxs4rk9w2f4ikkypkmlk6"))
        (snippet
         #~(begin (delete-file "src/tests/lib/libteststatic.a")))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f                      ;source is missing some test files
        #:cargo-inputs
-       (("rust-cfg-expr" ,rust-cfg-expr-0.15)
+       (("rust-cfg-expr" ,rust-cfg-expr-0.17)
         ("rust-heck" ,rust-heck-0.5)
         ("rust-pkg-config" ,rust-pkg-config-0.3)
         ("rust-toml" ,rust-toml-0.8)
         ("rust-version-compare" ,rust-version-compare-0.2))
        #:cargo-development-inputs
        (("rust-assert-matches" ,rust-assert-matches-1)
-        ("rust-itertools" ,rust-itertools-0.12)
+        ("rust-itertools" ,rust-itertools-0.13)
         ("rust-lazy-static" ,rust-lazy-static-1))))
     (home-page "https://github.com/gdesmott/system-deps")
     (synopsis "Define system dependencies in @file{Cargo.toml}")
@@ -80058,6 +80058,33 @@ (define-public rust-system-deps-6
 well.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-system-deps-6
+  (package
+    (inherit rust-system-deps-7)
+    (name "rust-system-deps")
+    (version "6.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "system-deps" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0j93ryw031n3h8b0nfpj5xwh3ify636xmv8kxianvlyyipmkbrd3"))
+       (snippet
+        #~(begin (delete-file "src/tests/lib/libteststatic.a")))))
+    (arguments
+     `(#:tests? #f                      ;source is missing some test files
+       #:cargo-inputs
+       (("rust-cfg-expr" ,rust-cfg-expr-0.15)
+        ("rust-heck" ,rust-heck-0.5)
+        ("rust-pkg-config" ,rust-pkg-config-0.3)
+        ("rust-toml" ,rust-toml-0.8)
+        ("rust-version-compare" ,rust-version-compare-0.2))
+       #:cargo-development-inputs
+       (("rust-assert-matches" ,rust-assert-matches-1)
+        ("rust-itertools" ,rust-itertools-0.12)
+        ("rust-lazy-static" ,rust-lazy-static-1))))))
+
 (define-public rust-system-deps-3
   (package
     (inherit rust-system-deps-6)
-- 
2.46.0