[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: Add agate.
From: |
guix-commits |
Subject: |
06/07: gnu: Add agate. |
Date: |
Mon, 15 Feb 2021 07:44:16 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit c1ee055cba50a4f6ab236d15cf3a417eed856ae3
Author: Alexandru-Sergiu Marton <brown121407@posteo.ro>
AuthorDate: Sun Feb 14 20:57:30 2021 +0200
gnu: Add agate.
* gnu/packages/rust-apps.scm (agate): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/rust-apps.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 9511cbf..d10008c 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,41 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control))
+(define-public agate
+ (package
+ (name "agate")
+ (version "2.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "agate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mhrl4j5r6wzsnwpqsbgzny5vqschyjm3gnk4y88har7skk7j19v"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-configparser" ,rust-configparser-2)
+ ("rust-env-logger" ,rust-env-logger-0.8)
+ ("rust-getopts" ,rust-getopts-0.2)
+ ("rust-glob" ,rust-glob-0.3)
+ ("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 "https://github.com/mbrubeck/agate")
+ (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")
- branch master updated (1e711be -> 2b5a81d), guix-commits, 2021/02/15
- 01/07: gnu: Add rust-rustls-0.19., guix-commits, 2021/02/15
- 07/07: services: Add Agate Gemini service., guix-commits, 2021/02/15
- 02/07: gnu: rust-tokio-macros-1: Update to 1.1.0., guix-commits, 2021/02/15
- 05/07: gnu: Add rust-configparser-2., guix-commits, 2021/02/15
- 03/07: gnu: rust-tokio-1: Update to 1.2.0., guix-commits, 2021/02/15
- 04/07: gnu: Add rust-tokio-rustls-0.22., guix-commits, 2021/02/15
- 06/07: gnu: Add agate.,
guix-commits <=