From patchwork Mon Jan 8 01:54:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilko Meyer X-Patchwork-Id: 58555 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 50AA627BBE2; Mon, 8 Jan 2024 01:58:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C835C27BBF0 for ; Mon, 8 Jan 2024 01:58:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMetp-0001ta-OP; Sun, 07 Jan 2024 20:57:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMeto-0001rM-Iw for guix-patches@gnu.org; Sun, 07 Jan 2024 20:57:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMeto-0005Mi-AX for guix-patches@gnu.org; Sun, 07 Jan 2024 20:57:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMetu-0000T9-6S for guix-patches@gnu.org; Sun, 07 Jan 2024 20:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 156/156] gnu: Add atuin. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 01:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.17046790361695 (code B ref 68312); Mon, 08 Jan 2024 01:58:02 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 01:57:16 +0000 Received: from localhost ([127.0.0.1]:34590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMesx-0000PG-Pe for submit@debbugs.gnu.org; Sun, 07 Jan 2024 20:57:16 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:33408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMerK-0008FI-2a for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 20:55:26 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678915; bh=JyDEL9T+8TLOdyiJN+j9vxRnnkDAGvy3VP1P8UKFCQs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Vu1bGVelbWQ4op8bsJu71D0+WwymZt7+U78H0CtCymtPSkbjSG4CYwEerpNvF2GwA c+DZrUpJxMWbQU/nHF92yfUbpfakUe6iKQRGhcc7n2XnRPXF2ZwVjZveEVDDALkljn U3Fwl7sJUHnuo3bCEw84RyS2/lQfLAf/9I/NlFRw= Date: Mon, 8 Jan 2024 02:54:13 +0100 Message-ID: <9e27d5b2bd9973159bf2c08343a65a4c2d68a284.1704675833.git.w@wmeyer.eu> In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")