summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-web.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-30 21:33:53 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:21:33 +0200
commit0c00ae419a3162d23a850b12e9811bb44f28fd7c (patch)
treee72cf18104c3c78b7393df2a301bd57f0d13d215 /gnu/packages/crates-web.scm
parent07acf809d33eb60ea7dd2b728b922f9da471891a (diff)
gnu: Add rust-trotter-1.
* gnu/packages/crates-web.scm (rust-trotter-1): New variable. Change-Id: I727155f884092cd3d3cd9e4e7dea8ff0337174c5
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r--gnu/packages/crates-web.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 32baa5e8fa..9e9bdf6f17 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -7112,6 +7112,39 @@ server @code{Service} tests.")
@code{Service}.")
(license license:expat)))
+(define-public rust-trotter-1
+ (package
+ (name "rust-trotter")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "trotter" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14gksihjm4bv2paqg22ym7n63adb69zac1qkp51yxz84572bhmkw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-clap" ,rust-clap-4)
+ ("rust-mime-guess" ,rust-mime-guess-2)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-openssl" ,rust-tokio-openssl-0.6)
+ ("rust-url" ,rust-url-2)
+ ("rust-urlencoding" ,rust-urlencoding-2)
+ ("rust-wildmatch" ,rust-wildmatch-2))
+ #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-clap" ,rust-clap-4))))
+ (native-inputs (list pkg-config))
+ (inputs (list openssl))
+ (home-page "https://codeberg.org/catboomer/trotter")
+ (synopsis "Make writing Gemini clients fun and easy")
+ (description
+ "This package provides Trotter, an experimental crate that aims to make
+writing Gemini clients fun and easy.")
+ (license license:gpl3)))
+
(define-public rust-trust-dns-client-0.22
(package
(name "rust-trust-dns-client")