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:26 +0000
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:49 +0200
commitba1d4200aa051b1100e694e47ee95ca37560c04e (patch)
tree66e7e558edee079b3ccc60e7cd0faef05d580fde /gnu/packages/crates-io.scm
parent2d18aba52a102118b912c7ef53b230979d8246de (diff)
downloadguix-ba1d4200aa051b1100e694e47ee95ca37560c04e.tar.gz
gnu: Add rust-gix-prompt-0.7.
* gnu/packages/crates-io.scm (rust-gix-prompt-0.7): New variable.
(rust-gix-prompt-0.5): Inherit from rust-gix-prompt-0.7.

Change-Id: Ic69cf0c436a26262f118c5dfabfb3047bd7feeac
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm41
1 files changed, 30 insertions, 11 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 677db17cfd..a4d8bce71b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30709,8 +30709,7 @@ project.")
                        ("rust-serde" ,rust-serde-1)
                        ("rust-thiserror" ,rust-thiserror-1))))
     (home-page "https://github.com/Byron/gitoxide")
-    (synopsis
-     "This crate implements @code{git-config} value parsing")
+    (synopsis "This crate implements @code{git-config} value parsing")
     (description
      "This package is a crate for @code{git-config} value parsing.  Part of
 Gitoxide a Rust implementation of Git.")
@@ -31620,8 +31619,36 @@ Git.  This crate deals with paths and their conversions")
        #:cargo-development-inputs
        (("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-gix-prompt-0.7
+  (package
+    (name "rust-gix-prompt")
+    (version "0.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "gix-prompt" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0y26b3d7z222b223ir9qf8yqwhknzc3c5yksjffmwvsid4vr36jw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-gix-command" ,rust-gix-command-0.2)
+                       ("rust-gix-config-value" ,rust-gix-config-value-0.14)
+                       ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-rustix" ,rust-rustix-0.38)
+                       ("rust-thiserror" ,rust-thiserror-1))
+       #:cargo-development-inputs (("rust-expectrl" ,rust-expectrl-0.7)
+                                   ("rust-serial-test" ,rust-serial-test-2))))
+    (home-page "https://github.com/Byron/gitoxide")
+    (synopsis "Handles prompts in the terminal as part of Gitoxide")
+    (description
+     "Gitoxide is a Rust implementation of Git.  This crate handles the
+terminals prompt.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-gix-prompt-0.5
   (package
+    (inherit rust-gix-prompt-0.7)
     (name "rust-gix-prompt")
     (version "0.5.5")
     (source
@@ -31631,7 +31658,6 @@ Git.  This crate deals with paths and their conversions")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1sm5b24jpcv4whzxymk6fpb1ph1hhq6842115fpcqqx0yk5dw8ic"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-gix-command" ,rust-gix-command-0.2)
@@ -31641,14 +31667,7 @@ Git.  This crate deals with paths and their conversions")
         ("rust-thiserror" ,rust-thiserror-1))
        #:cargo-development-inputs
        (("rust-expectrl" ,rust-expectrl-0.7)
-        ("rust-serial-test" ,rust-serial-test-2))))
-    (home-page "https://github.com/Byron/gitoxide")
-    (synopsis
-     "Crate of the gitoxide project for handling prompts in the terminal")
-    (description
-     "This package provides a crate of the gitoxide project for handling prompts in
-the terminal.")
-    (license (list license:expat license:asl2.0))))
+        ("rust-serial-test" ,rust-serial-test-2))))))
 
 (define-public rust-gix-protocol-0.33
   (package