guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

97/135: gnu: Add rust-gix-index-0.28.


From: guix-commits
Subject: 97/135: gnu: Add rust-gix-index-0.28.
Date: Wed, 27 Mar 2024 04:55:01 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit a5e3fe8518ef81fdd34170e8eb8c1e4f3d6746fd
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 27 10:17:42 2024 +0200

    gnu: Add rust-gix-index-0.28.
    
    * gnu/packages/crates-vcs.scm (rust-gix-index-0.28): New variable.
    (rust-gix-index-0.27): Inherit from rust-gix-index-0.28.
    
    Change-Id: I6b73c7cd502bad3f2ee8335609938c0c050ad706
---
 gnu/packages/crates-vcs.scm | 52 ++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 44 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 292e1cfdc3..bbdb4ac89e 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -2215,8 +2215,51 @@ keys.  Part of Gitoxide a Rust implementation of Git.")
         ("rust-serde" ,rust-serde-1)
         ("rust-unicode-bom" ,rust-unicode-bom-2))))))
 
+(define-public rust-gix-index-0.28
+  (package
+    (name "rust-gix-index")
+    (version "0.28.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-index" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0y47r8830i6fw7djq6la8rn7badk8dvg50mqgxzi7m68yqyycl4y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       (list "--release" "--"
+             "--skip=access::tests::entry_by_path_with_conflicting_file")
+       #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-bstr" ,rust-bstr-1)
+                       ("rust-btoi" ,rust-btoi-0.4)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-filetime" ,rust-filetime-0.2)
+                       ("rust-gix-bitmap" ,rust-gix-bitmap-0.2)
+                       ("rust-gix-features" ,rust-gix-features-0.37)
+                       ("rust-gix-fs" ,rust-gix-fs-0.9)
+                       ("rust-gix-hash" ,rust-gix-hash-0.14)
+                       ("rust-gix-lock" ,rust-gix-lock-12)
+                       ("rust-gix-object" ,rust-gix-object-0.40)
+                       ("rust-gix-traverse" ,rust-gix-traverse-0.36)
+                       ("rust-itoa" ,rust-itoa-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-memmap2" ,rust-memmap2-0.9)
+                       ("rust-rustix" ,rust-rustix-0.38)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Byron/gitoxide";)
+    (synopsis "Part of Gitoxide, this crate implements the Git index file")
+    (description
+     "Part of Gitoxide, a pure Rust implementation of Rust.  This package's
+crate implements the Git index file.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-index-0.27
   (package
+    (inherit rust-gix-index-0.28)
     (name "rust-gix-index")
     (version "0.27.1")
     (source
@@ -2226,7 +2269,6 @@ keys.  Part of Gitoxide a Rust implementation of Git.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "173yd650vwvd7ynmwsc7pbf4zr50x4qij3ab4xmfk4i9rpshiwzk"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-test-flags
        (list "--release" "--"
@@ -2249,13 +2291,7 @@ keys.  Part of Gitoxide a Rust implementation of Git.")
                        ("rust-rustix" ,rust-rustix-0.38)
                        ("rust-serde" ,rust-serde-1)
                        ("rust-smallvec" ,rust-smallvec-1)
-                       ("rust-thiserror" ,rust-thiserror-1))))
-    (home-page "https://github.com/Byron/gitoxide";)
-    (synopsis "Part of Gitoxide, this crate implements the Git index file")
-    (description
-     "Part of Gitoxide, a pure Rust implementation of Rust.  This package's
-crate implements the Git index file.")
-    (license (list license:expat license:asl2.0))))
+                       ("rust-thiserror" ,rust-thiserror-1))))))
 
 (define-public rust-gix-index-0.26
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]