Subject: [PATCH 30/54] gnu: Add rust-gix-sec-0.10.

From: Steve George <[email-masked]>
Date: Thu, 9 Nov 2023 19:38:27 +0000

* gnu/packages/crates-io.scm (rust-gix-sec-0.10): New variable.

Change-Id: I9a7ad287dcb1c94a710a52f15ee5a11a3665d2e7
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 43d33a9ac3b..6f9ee879ec3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31925,8 +31925,34 @@ (define-public rust-gix-revwalk-0.1
         ("rust-smallvec" ,rust-smallvec-1)
         ("rust-thiserror" ,rust-thiserror-1))))))
 
+(define-public rust-gix-sec-0.10
+  (package
+    (name "rust-gix-sec")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-sec" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0a0g1b25hkgc68svxl2rx22a64d16703yyyislpc1a15q0m59fcj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-gix-path" ,rust-gix-path-0.10)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-windows" ,rust-windows-0.48))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Part of Gitoxide, this create provides a shared trust model")
+    (description
+     "This package is part of Gitoxide, it implements a shared trust model.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-sec-0.8
   (package
+    (inherit rust-gix-sec-0.10)
     (name "rust-gix-sec")
     (version "0.8.4")
     (source
@@ -31936,7 +31962,6 @@ (define-public rust-gix-sec-0.8
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1iz9rcyx7lpb4gxg5gyv93ygp0n321c5xmrcjkmqm2annkbcn5cn"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bitflags" ,rust-bitflags-2)
@@ -31946,13 +31971,7 @@ (define-public rust-gix-sec-0.8
         ("rust-serde" ,rust-serde-1)
         ("rust-windows" ,rust-windows-0.48))
        #:cargo-development-inputs
-       (("rust-tempfile" ,rust-tempfile-3))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Providing a shared trust model")
-    (description
-     "This package provides a crate of the gitoxide project providing a shared
-trust model.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-tempfile" ,rust-tempfile-3))))))
 
 (define-public rust-gix-tempfile-10
   (package
-- 
2.41.0