summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-24 09:12:11 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:58:30 +0200
commit87cca07d5aa8f265d9abf737a9d4b9bfe8321ab0 (patch)
treea3ad4e87493dcbe4a4f7728bcaa2ed44499dd18a /gnu/packages
parent44e3f83988e13636412ea30cc287dc03a2d09e51 (diff)
downloadguix-87cca07d5aa8f265d9abf737a9d4b9bfe8321ab0.tar.gz
gnu: Add rust-gix-discover-0.19.
* gnu/packages/crates-io.scm (rust-gix-discover-0.19): New variable.

Change-Id: I05a4dc90ca7aba07bdcbce51a78a6db63e8c7e98
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f7a677b118..1f55999a1b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29844,6 +29844,38 @@ libcurl, which is intended to be used with the @code{git2} crate.")
         ("rust-log" ,rust-log-0.4)
         ("rust-url" ,rust-url-2))))))
 
+(define-public rust-gix-discover-0.19
+  (package
+    (name "rust-gix-discover")
+    (version "0.19.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-discover" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ijg43psf0ijg0z7g0wwsh94c0058gg77pl1apkfzcpjs70cdadb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bstr" ,rust-bstr-1)
+        ("rust-dunce" ,rust-dunce-1)
+        ("rust-gix-hash" ,rust-gix-hash-0.11)
+        ("rust-gix-path" ,rust-gix-path-0.8)
+        ("rust-gix-ref" ,rust-gix-ref-0.30)
+        ("rust-gix-sec" ,rust-gix-sec-0.8)
+        ("rust-thiserror" ,rust-thiserror-1))
+       #:cargo-development-inputs
+       (("rust-defer" ,rust-defer-0.1)
+        ("rust-is-ci" ,rust-is-ci-1)
+        ("rust-serial-test" ,rust-serial-test-2)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Discover git repositories")
+    (description
+     "Discover git repositories and check if a directory is a git repository.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-features-0.30
   (package
     (name "rust-gix-features")