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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 11c942111e9..a307c81fb94 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5135,6 +5135,53 @@ (define-public rust-atuin-server-database-17
     (synopsis "server database library for atuin")
     (description "server database library for atuin")
     (license license:expat)))
+
+(define-public rust-atuin-server-17
+  (package
+    (name "rust-atuin-server")
+    (version "17.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "atuin-server" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lsqjhin1jnqcf6w1xa639349hvcgwh9r4a2dkx1hbzvlqzn6a03"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-argon2" ,rust-argon2-0.5)
+                       ("rust-async-trait" ,rust-async-trait-0.1)
+                       ("rust-atuin-common" ,rust-atuin-common-17)
+                       ("rust-atuin-server-database" ,rust-atuin-server-database-17)
+                       ("rust-axum" ,rust-axum-0.6)
+                       ("rust-axum-server" ,rust-axum-server-0.5)
+                       ("rust-base64" ,rust-base64-0.21)
+                       ("rust-config" ,rust-config-0.13)
+                       ("rust-eyre" ,rust-eyre-0.6)
+                       ("rust-fs-err" ,rust-fs-err-2)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-hyper" ,rust-hyper-0.14)
+                       ("rust-hyper-rustls" ,rust-hyper-rustls-0.24)
+                       ("rust-metrics" ,rust-metrics-0.21)
+                       ("rust-metrics-exporter-prometheus" ,rust-metrics-exporter-prometheus-0.12)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-reqwest" ,rust-reqwest-0.11)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-rustls-pemfile" ,rust-rustls-pemfile-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-tokio" ,rust-tokio-1)
+                       ("rust-tower" ,rust-tower-0.4)
+                       ("rust-tower-http" ,rust-tower-http-0.4)
+                       ("rust-tracing" ,rust-tracing-0.1)
+                       ("rust-uuid" ,rust-uuid-1))))
+    (home-page "https://atuin.sh")
+    (synopsis "server library for atuin")
+    (description "server library for atuin")
+    (license license:expat)))
 (define-public rust-auto-impl-0.5
   (package
     (name "rust-auto-impl")
-- 
2.41.0