summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-11-09 19:38:07 +0000
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:45 +0200
commite4008a9f9b476491be614ea9a96cf5deb031785b (patch)
treef049ab965f6d67cf3460c3640c6a176773bfba30 /gnu/packages/crates-io.scm
parent6cfab0e14be95541a40913f02246d2ad2bf10c05 (diff)
downloadguix-e4008a9f9b476491be614ea9a96cf5deb031785b.tar.gz
gnu: Add rust-gix-validate-0.8.
* gnu/packages/crates-io.scm (rust-gix-validate-0.8): New variable.
(rust-gix-validate-0.7): Inherit from rust-gix-validate-0.8.

Change-Id: Icad58361e3aa0da0bb7b190d7117316dfecfd5d4
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 23 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72bdd1cdd2..c7599640fb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31791,8 +31791,30 @@ and serialization of gix-url.")
 feature toggles.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-gix-validate-0.8
+  (package
+    (name "rust-gix-validate")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-validate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1idq44xvqjf2pxw9kxxjvi5cwklzc4wallp0arhqcnx40cmsnp70"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Rust validation functions for various kinds of names in Git")
+    (description "Part of Gitoxide, a pure Rust implementation of Git.  This
+package contains validation functions for various kinds of names in Git.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-validate-0.7
   (package
+    (inherit rust-gix-validate-0.8)
     (name "rust-gix-validate")
     (version "0.7.7")
     (source
@@ -31802,15 +31824,10 @@ feature toggles.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0h4hr3rpgwc7ixyynjp53s9il3sb0gq8ad332k8drwyfn8vkg6xs"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-bstr" ,rust-bstr-1)
-        ("rust-thiserror" ,rust-thiserror-1))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis "Validation functions for various kinds of names in git")
-    (description "Validation functions for various kinds of names in git.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-thiserror" ,rust-thiserror-1))))))
 
 (define-public rust-gix-worktree-0.18
   (package