summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-11-09 19:38:14 +0000
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:47 +0200
commit9243173433e2d918b3bb8a1b190d3d63cc912728 (patch)
tree12783edecce5e9d63170d2667470ea46b4d32521
parente445adf3d412be7dcab11ea2a7ea77c7fb1be6f3 (diff)
downloadguix-9243173433e2d918b3bb8a1b190d3d63cc912728.tar.gz
gnu: Add rust-gix-commitgraph-0.21.
* gnu/packages/crates-io.scm (rust-gix-commitgraph-0.21): New variable.
(rust-gix-commitgraph-0.16): Inherit from rust-gix-commitgraph-0.21.

Change-Id: Ibdc9424cce7219424fbc5102d400096afe95fb1b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm35
1 files changed, 29 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1ddfee2caf..35b9db04d2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30599,8 +30599,36 @@ commit-graph files.")
 command execution.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gix-commitgraph-0.21
+  (package
+    (name "rust-gix-commitgraph")
+    (version "0.21.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-commitgraph" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12nzyh8gyg0k15swsy51m1iy521a7p5xbdg9pw1a1w1cw9g9fnp7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-gix-chunk" ,rust-gix-chunk-0.4)
+                       ("rust-gix-features" ,rust-gix-features-0.35)
+                       ("rust-gix-hash" ,rust-gix-hash-0.13)
+                       ("rust-memmap2" ,rust-memmap2-0.7)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Read only access to Git the commitgraph file format")
+    (description "Part of Gitoxide, a pure Rust implementation of Git.  This
+package provides read only access to git commitgraph file.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-commitgraph-0.16
   (package
+    (inherit rust-gix-commitgraph-0.21)
     (name "rust-gix-commitgraph")
     (version "0.16.0")
     (source
@@ -30610,7 +30638,6 @@ command execution.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "028s0ai44gb9ynic2ch3ingzg8h44c47q90xlzk4fp6mnghhljg8"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
@@ -30620,11 +30647,7 @@ command execution.")
         ("rust-gix-hash" ,rust-gix-hash-0.11)
         ("rust-memmap2" ,rust-memmap2-0.5)
         ("rust-serde" ,rust-serde-1)
-        ("rust-thiserror" ,rust-thiserror-1))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Read-only access to the git commitgraph file format")
-    (description "Read-only access to the git commitgraph file format.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-thiserror" ,rust-thiserror-1))))))
 
 (define-public rust-gix-config-0.23
   (package