Subject: [bug#71052] [PATCH v2 9/9] Update just

From: Julian Flake <[email-masked]>
Date: Sun, 19 May 2024 14:43:45 +0200

Change-Id: I975f6559bbb7a9a92f90ae773889e4e77c96d3df
---
 gnu/packages/rust-apps.scm | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index d73bd1a030..08cc5228cb 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -31,6 +31,7 @@
 ;;; Copyright © 2024 Herman Rimm <[email-masked]>
 ;;; Copyright © 2024 Tomas Volf <[email-masked]>
 ;;; Copyright © 2024 Suhail Singh <[email-masked]>
+;;; Copyright © 2024 Julian Flake <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -70,6 +71,7 @@ (define-module (gnu packages rust-apps)
   #:use-module (gnu packages crates-vcs)
   #:use-module (gnu packages crates-web)
   #:use-module (gnu packages crates-windows)
+  #:use-module (gnu packages crypto)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages emacs)
@@ -984,13 +986,13 @@ (define-public i3status-rust
 (define-public just
   (package
     (name "just")
-    (version "1.23.0")
+    (version "1.26.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "just" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
-               (base32 "0wpjv098a2yymsb41h6104cdia4gb6hwwh05pkwj5fx7b7g41a2q"))))
+               (base32 "0mqhjlbp3fdqj3c9s8wib11fxmvvgd9xr9a3i8w5xf1sdpjfk6az"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-test-flags
@@ -1001,6 +1003,7 @@ (define-public just
        #:cargo-inputs
        (("rust-ansi-term" ,rust-ansi-term-0.12)
         ("rust-atty" ,rust-atty-0.2)
+        ("rust-blake3" ,rust-blake3-1)
         ("rust-camino" ,rust-camino-1)
         ("rust-clap" ,rust-clap-2)
         ("rust-ctrlc" ,rust-ctrlc-3)
@@ -1008,8 +1011,8 @@ (define-public just
         ("rust-dirs" ,rust-dirs-5)
         ("rust-dotenvy" ,rust-dotenvy-0.15)
         ("rust-edit-distance" ,rust-edit-distance-2)
-        ("rust-env-logger" ,rust-env-logger-0.10)
-        ("rust-heck" ,rust-heck-0.4)
+        ("rust-env-logger" ,rust-env-logger-0.11)
+        ("rust-heck" ,rust-heck-0.5)
         ("rust-lexiclean" ,rust-lexiclean-0.0.1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-log" ,rust-log-0.4)
@@ -1021,7 +1024,7 @@ (define-public just
         ("rust-sha2" ,rust-sha2-0.10)
         ("rust-similar" ,rust-similar-2)
         ("rust-snafu" ,rust-snafu-0.8)
-        ("rust-strum" ,rust-strum-0.25)
+        ("rust-strum" ,rust-strum-0.26)
         ("rust-target" ,rust-target-2)
         ("rust-tempfile" ,rust-tempfile-3)
         ("rust-typed-arena" ,rust-typed-arena-2)
@@ -1032,7 +1035,7 @@ (define-public just
         ("rust-executable-path" ,rust-executable-path-1)
         ("rust-pretty-assertions" ,rust-pretty-assertions-1)
         ("rust-temptree" ,rust-temptree-0.2)
-        ("rust-which" ,rust-which-5)
+        ("rust-which" ,rust-which-6)
         ("rust-yaml-rust" ,rust-yaml-rust-0.4))
        #:phases
        (modify-phases %standard-phases
@@ -1062,24 +1065,24 @@ (define-public just
                     (elvish-completions-dir
                      (string-append share "/elvish/lib"))
                     (just (if ,(%current-target-system)
-                          (search-input-file native-inputs "/bin/just")
-                          (string-append out "/bin/just"))))
+                              (search-input-file native-inputs "/bin/just")
+                              (string-append out "/bin/just"))))
                (install-file "man/just.1" man1)
                (mkdir-p bash-completions-dir)
                (with-output-to-file
-                 (string-append bash-completions-dir "/just")
+                   (string-append bash-completions-dir "/just")
                  (lambda _ (invoke just "--completions" "bash")))
                (mkdir-p zsh-completions-dir)
                (with-output-to-file
-                 (string-append zsh-completions-dir "/_just")
+                   (string-append zsh-completions-dir "/_just")
                  (lambda _ (invoke just "--completions" "zsh")))
                (mkdir-p fish-completions-dir)
                (with-output-to-file
-                 (string-append fish-completions-dir "/just.fish")
+                   (string-append fish-completions-dir "/just.fish")
                  (lambda _ (invoke just "--completions" "fish")))
                (mkdir-p elvish-completions-dir)
                (with-output-to-file
-                 (string-append elvish-completions-dir "/just")
+                   (string-append elvish-completions-dir "/just")
                  (lambda _ (invoke just "--completions" "elvish")))))))))
     (native-inputs (if (%current-target-system)
                        (list this-package)
-- 
2.41.0