From: Alexandru-Sergiu Marton <brown121407@posteo.ro>
To: 46513@debbugs.gnu.org
Cc: Alexandru-Sergiu Marton <brown121407@posteo.ro>
Subject: [bug#46513] [PATCH 5/6] gnu: Add agate.
Date: Sun, 14 Feb 2021 20:57:30 +0200 [thread overview]
Message-ID: <20210214185731.31197-5-brown121407@posteo.ro> (raw)
In-Reply-To: <20210214185731.31197-1-brown121407@posteo.ro>
* gnu/packages/rust-apps.scm (agate): New variable.
---
gnu/packages/rust-apps.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 9511cbf308..b832bd4453 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.ccom>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -43,6 +44,43 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control))
+(define-public agate
+ (package
+ (name "agate")
+ (version "2.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "agate" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19szg91l4r76vrc44hifrqvk38c5q21hbycgi62bcb52rswgwgdk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-getopts" ,rust-getopts-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-mime-guess" ,rust-mime-guess-2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-percent-encoding"
+ ,rust-percent-encoding-2)
+ ("rust-rustls" ,rust-rustls-0.19)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
+ ("rust-url" ,rust-url-2))))
+ (home-page "gemini://qwertqwefsday.eu/agate.gmi")
+ (synopsis
+ "Very simple server for the Gemini hypertext protocol")
+ (description
+ "Agate is a server for the Gemini network protocol, built with the Rust
+programming language. It has very few features, and can only serve static
+files. It uses async I/O, and should be quite efficient even when running on
+low-end hardware and serving many concurrent requests.")
+ (license (list license:expat license:asl2.0))))
+
(define-public bat
(package
(name "bat")
--
2.30.0
next prev parent reply other threads:[~2021-02-14 18:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-14 18:51 [bug#46513] [PATCH 0/6] Add Agate Gemini server Alexandru-Sergiu Marton
2021-02-14 18:57 ` [bug#46513] [PATCH 1/6] gnu: Add rust-rustls-0.19 Alexandru-Sergiu Marton
2021-02-14 18:57 ` [bug#46513] [PATCH 2/6] gnu: rust-tokio-macros-1: Update to 1.1.0 Alexandru-Sergiu Marton
2021-02-14 18:57 ` [bug#46513] [PATCH 3/6] gnu: rust-tokio-1: Update to 1.2.0 Alexandru-Sergiu Marton
2021-02-14 18:57 ` [bug#46513] [PATCH 4/6] gnu: Add rust-tokio-rustls-0.22 Alexandru-Sergiu Marton
2021-02-14 18:57 ` Alexandru-Sergiu Marton [this message]
2021-02-14 18:57 ` [bug#46513] [PATCH 6/6] services: Add agate web service Alexandru-Sergiu Marton
2021-02-15 12:42 ` bug#46513: [PATCH 0/6] Add Agate Gemini server Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210214185731.31197-5-brown121407@posteo.ro \
--to=brown121407@posteo.ro \
--cc=46513@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).