Subject: [bug#68312] [PATCH 012/156] gnu: Add rust-atuin-client-17.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:51:49 +0100

* gnu/packages/crates-io.scm (rust-atuin-client-17): New variable.

Change-Id: I518659b1587d7c929da3a184d258eca7ae959abc
---
 gnu/packages/crates-io.scm | 58 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1aa715d7674..64bc578efc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5051,6 +5051,64 @@ (define-public rust-atuin-common-17
     (synopsis "common library for atuin")
     (description "common library for atuin")
     (license license:expat)))
+
+(define-public rust-atuin-client-17
+  (package
+    (name "rust-atuin-client")
+    (version "17.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atuin-client" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gqnv2n5mjj9j1x4xicmw0m80fhpjb5ldlkjggz4yhjgzcscsmf0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-atuin-common" ,rust-atuin-common-17)
+                       ("rust-base64" ,rust-base64-0.21)
+                       ("rust-clap" ,rust-clap-4)
+                       ("rust-config" ,rust-config-0.13)
+                       ("rust-crypto-secretbox" ,rust-crypto-secretbox-0.1)
+                       ("rust-directories" ,rust-directories-5)
+                       ("rust-eyre" ,rust-eyre-0.6)
+                       ("rust-fs-err" ,rust-fs-err-2)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-generic-array" ,rust-generic-array-0.14)
+                       ("rust-hex" ,rust-hex-0.4)
+                       ("rust-interim" ,rust-interim-0.1)
+                       ("rust-itertools" ,rust-itertools-0.12)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-memchr" ,rust-memchr-2)
+                       ("rust-minspan" ,rust-minspan-0.1)
+                       ("rust-parse-duration" ,rust-parse-duration-2)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-reqwest" ,rust-reqwest-0.11)
+                       ("rust-rmp" ,rust-rmp-0.8)
+                       ("rust-rusty-paserk" ,rust-rusty-paserk-0.3)
+                       ("rust-rusty-paseto" ,rust-rusty-paseto-0.6)
+                       ("rust-semver" ,rust-semver-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-serde-regex" ,rust-serde-regex-1)
+                       ("rust-sha2" ,rust-sha2-0.10)
+                       ("rust-shellexpand" ,rust-shellexpand-3)
+                       ("rust-sql-builder" ,rust-sql-builder-3)
+                       ("rust-sqlx" ,rust-sqlx-0.7)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-typed-builder" ,rust-typed-builder-0.18)
+                       ("rust-urlencoding" ,rust-urlencoding-2)
+                       ("rust-uuid" ,rust-uuid-1)
+                       ("rust-whoami" ,rust-whoami-1))))
+    (home-page "https://atuin.sh")
+    (synopsis "client library for atuin")
+    (description "client library for atuin")
+    (license license:expat)))
 (define-public rust-auto-impl-0.5
   (package
     (name "rust-auto-impl")
-- 
2.41.0