guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#68312] [PATCH 156/156] gnu: Add atuin.


From: Wilko Meyer
Subject: [bug#68312] [PATCH 156/156] gnu: Add atuin.
Date: Mon, 8 Jan 2024 02:54:13 +0100

* gnu/packages/rust-apps.scm (atuin): New variable.

Change-Id: Ie039bd61e18e60a905e1637b27345f8a8b062169
---
 gnu/packages/rust-apps.scm | 57 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 6a224762a81..23d1c81d0f6 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -212,6 +212,63 @@ (define-public alfis
 alternative zones.")
     (license license:agpl3+)))
 
+(define-public atuin
+  (package
+    (name "atuin")
+    (version "17.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atuin" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "193708q6cwlz467v0r179np9rl6hkk9cz3k5a2qv6cav7asnhra7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-atuin-client" ,rust-atuin-client-17)
+                       ("rust-atuin-common" ,rust-atuin-common-17)
+                       ("rust-atuin-server" ,rust-atuin-server-17)
+                       ("rust-atuin-server-postgres" 
,rust-atuin-server-postgres-17)
+                       ("rust-base64" ,rust-base64-0.21)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-clap-complete" ,rust-clap-complete-4)
+                       ("rust-cli-clipboard" ,rust-cli-clipboard-0.4)
+                       ("rust-colored" ,rust-colored-2)
+                       ("rust-crossterm" ,rust-crossterm-0.27)
+                       ("rust-directories" ,rust-directories-5)
+                       ("rust-env-logger" ,rust-env-logger-0.10)
+                       ("rust-eyre" ,rust-eyre-0.6)
+                       ("rust-fs-err" ,rust-fs-err-2)
+                       ("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-fuzzy-matcher" ,rust-fuzzy-matcher-0.3)
+                       ("rust-indicatif" ,rust-indicatif-0.17)
+                       ("rust-interim" ,rust-interim-0.1)
+                       ("rust-itertools" ,rust-itertools-0.12)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-ratatui" ,rust-ratatui-0.24)
+                       ("rust-rpassword" ,rust-rpassword-7)
+                       ("rust-runtime-format" ,rust-runtime-format-0.1)
+                       ("rust-semver" ,rust-semver-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-tiny-bip39" ,rust-tiny-bip39-1)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
+                       ("rust-unicode-width" ,rust-unicode-width-0.1)
+                       ("rust-whoami" ,rust-whoami-1))
+       #:cargo-development-inputs (("rust-tracing-tree" 
,rust-tracing-tree-0.3))))
+    (home-page "https://atuin.sh";)
+    (synopsis "atuin - magical shell history")
+    (description "Atuin replaces your existing shell history with a SQLite
+database, and records additional context for your commands. Additionally, it
+provides optional and fully encrypted synchronisation of your history between
+machines, via an Atuin server.")
+    (license license:expat)))
+
 (define-public bat
   (package
     (name "bat")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]