summaryrefslogtreecommitdiff
path: root/gnu/packages/rust-apps.scm
diff options
context:
space:
mode:
authorLiam Hupfer <liam@hpfr.net>2026-05-30 22:30:25 -0500
committerEfraim Flashner <efraim@flashner.co.il>2026-06-03 13:08:04 +0300
commit2956aa6e3ce3b23a6eea010b4a3609e405f05603 (patch)
tree39e490c46429082963ad0aeaae4cdcb2c6bb2dc5 /gnu/packages/rust-apps.scm
parentc72f4816837e093f3b7a24c5ea2700135bb33889 (diff)
gnu: atuin: Update to 18.16.1.
* gnu/packages/rust-apps.scm (atuin): Update to 18.16.1. [arguments]: Fix unnecessarily building and testing packages and features that were filtered out in the install phase. Server functionality is no longer a separate feature. * gnu/packages/rust-crates.scm (lookup-cargo-inputs)[atuin]: Update entry. Change-Id: I18897f4953c2b8843f12daf30e433da3518c38e4 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/rust-apps.scm')
-rw-r--r--gnu/packages/rust-apps.scm42
1 files changed, 31 insertions, 11 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 1bccdd00e30..133e00b4cc5 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -341,7 +341,7 @@ textual.")
341(define-public atuin 341(define-public atuin
342 (package 342 (package
343 (name "atuin") 343 (name "atuin")
344 (version "18.4.0") 344 (version "18.16.1")
345 (source 345 (source
346 (origin 346 (origin
347 (method git-fetch) 347 (method git-fetch)
@@ -350,7 +350,13 @@ textual.")
350 (commit (string-append "v" version)))) 350 (commit (string-append "v" version))))
351 (file-name (git-file-name name version)) 351 (file-name (git-file-name name version))
352 (sha256 352 (sha256
353 (base32 "1zi7ar999ycvig9c9crylab540xdgr0h6v99q9j8ypk9i1fviyiz")))) 353 (base32 "1q4d7z9yhdz7adxr0fp80acnay47zr47mcchbwdkpvgcsdx4bcjy"))
354 (snippet
355 #~(begin
356 (use-modules (guix build utils))
357 ;; No new Rust features are actually used.
358 (substitute* "Cargo.toml"
359 (("^rust-version = \"1\\.95\\.0\"") "rust-version = \"1.93.0\""))))))
354 (build-system cargo-build-system) 360 (build-system cargo-build-system)
355 (arguments 361 (arguments
356 (list 362 (list
@@ -360,22 +366,33 @@ textual.")
360 (ice-9 match)) 366 (ice-9 match))
361 #:install-source? #f 367 #:install-source? #f
362 #:cargo-test-flags 368 #:cargo-test-flags
363 '(list "--no-default-features" "--" 369 '(list "--no-default-features"
364 ;; These tests requiere a Postgresql database connection. 370 ;; Include all workspace tests except features we disable and an
371 ;; unused benchmark.
372 "--workspace"
373 "--exclude=atuin-nucleo-bench"
374 "--exclude=atuin-ai"
375 "--exclude=atuin-daemon"
376 "--exclude=atuin-pty-proxy"
377 "--"
378 ;; These tests require a Postgresql database connection.
365 "--skip=sync" 379 "--skip=sync"
366 "--skip=change_password" 380 "--skip=change_password"
367 "--skip=multi_user_test" 381 "--skip=multi_user_test"
368 "--skip=registration") 382 "--skip=registration")
369 ;; Remove experimental daemon mode. 383 ;; Atuin’s workspace members explicitly include all package
384 ;; subdirectories, meaning cargo build will build each package
385 ;; regardless of feature selection and install paths. Specify just the
386 ;; top level package so we don’t build unused packages.
370 #:cargo-build-flags 387 #:cargo-build-flags
371 '(list "--no-default-features") 388 '(list "--no-default-features" "--package" "atuin")
372 #:cargo-install-paths ''("crates/atuin") 389 #:cargo-install-paths ''("crates/atuin")
390 ;; Disable experimental daemon, ai, and pty-proxy features. Disable
391 ;; check-update since updates are managed by Guix.
373 #:features 392 #:features
374 '(list "client" 393 '(list "client"
375 "sync" 394 "sync"
376 "server" 395 "clipboard")
377 "clipboard"
378 "check-update")
379 #:phases 396 #:phases
380 #~(modify-phases %standard-phases 397 #~(modify-phases %standard-phases
381 (add-before 'check 'pre-check 398 (add-before 'check 'pre-check
@@ -437,8 +454,11 @@ database, and records additional context for your commands. With this context,
437Atuin gives you faster and better search of your shell history. 454Atuin gives you faster and better search of your shell history.
438 455
439Additionally, Atuin (optionally) syncs your shell history between all of your 456Additionally, Atuin (optionally) syncs your shell history between all of your
440machines, fully end-to-end encrypted.") 457machines, fully end-to-end encrypted.
441 (license license:expat))) 458
459Please note the Guix package currently disables several default features,
460including the daemon, PTY proxy, and Atuin AI.")
461 (license (list license:expat license:mpl2.0))))
442 462
443(define-public bat 463(define-public bat
444 (package 464 (package