[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: Add gmnisrv.
From: |
guix-commits |
Subject: |
02/10: gnu: Add gmnisrv. |
Date: |
Tue, 27 Oct 2020 13:01:21 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 1a7bfbb67da5c871816ba33fdcac900751dac3d4
Author: Alexandru-Sergiu Marton <brown121407@posteo.ro>
AuthorDate: Tue Oct 20 22:17:38 2020 +0300
gnu: Add gmnisrv.
* gnu/packages/web.scm (gmnisrv): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/web.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 5be95e4..b3e156b 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -46,6 +46,7 @@
;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -128,6 +129,7 @@
#:use-module (gnu packages lisp-xyz)
#:use-module (gnu packages lsof)
#:use-module (gnu packages lua)
+ #:use-module (gnu packages man)
#:use-module (gnu packages markup)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
@@ -7702,3 +7704,44 @@ solution for any project's interface needs:
@item Easily integrated and extensible with Python or Lua scripting.
@end itemize\n")
(license license:expat)))
+
+(define-public gmnisrv
+ (let ((commit "a22bec51494a50c044416d469cc33e043480e7fd"))
+ (package
+ (name "gmnisrv")
+ (version (git-version "0" "0" commit))
+ (home-page "https://git.sr.ht/~sircmpwn/gmnisrv")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (sha256
+ (base32
+ "1k1n7cqd37jgbhxyh231bagdxdxqwpr6n5pk3gax2516w6xbzlb9"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'set-variables
+ (lambda _
+ (setenv "CC" "gcc")
+ #t))
+ (delete 'check)
+ (add-after 'install 'install-config
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((etc (string-append (assoc-ref outputs "out")
+ "/etc")))
+ (mkdir-p etc)
+ (copy-file "config.ini" (string-append etc "/gmnisrv.ini"))
+ #t))))))
+ (inputs
+ `(("openssl" ,openssl)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("scdoc" ,scdoc)))
+ (synopsis "Simple Gemini protocol server")
+ (description "gmnisrv is a simple Gemini protocol server written in C.")
+ (license (list license:gpl3+
+ license:bsd-3))))) ;; for ini.c and ini.h
- branch master updated (f0c6093 -> 6799e6e), guix-commits, 2020/10/27
- 01/10: services: hpcguix-web: Set 'XDG_CACHE_HOME' to a writable directory., guix-commits, 2020/10/27
- 02/10: gnu: Add gmnisrv.,
guix-commits <=
- 05/10: gnu: Add go-golang-org-x-xerrors., guix-commits, 2020/10/27
- 03/10: services: Add gmnisrv web service., guix-commits, 2020/10/27
- 10/10: maint: Include 'guix-daemon.cil.in' in the distribution., guix-commits, 2020/10/27
- 04/10: gnu: alacritty: Add search path for 'TERMINFO_DIRS'., guix-commits, 2020/10/27
- 08/10: gnu: Add go-github-com-bep-golibsass., guix-commits, 2020/10/27
- 06/10: gnu: go-github-com-google-go-cmp-cmp: Update to 0.5.2., guix-commits, 2020/10/27
- 09/10: maint: Add 'etc/gnu-store.mount.in' to the distribution., guix-commits, 2020/10/27
- 07/10: gnu: Add go-github-com-frankban-quicktest., guix-commits, 2020/10/27