unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Reichör" <stefan@xsteve.at>
To: 54998@debbugs.gnu.org
Cc: "Stefan Reichör" <stefan@xsteve.at>
Subject: [bug#54998] [PATCH] gnu: Add servefile.
Date: Sun, 17 Apr 2022 23:29:54 +0200	[thread overview]
Message-ID: <20220417212954.93893-1-stefan@xsteve.at> (raw)

* gnu/packages/web.scm (servefile): New variable.
---
 gnu/packages/web.scm | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index ee74a4385d..9df55d21cc 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -47,7 +47,7 @@
 ;;; Copyright © 2020, 2021 Ryan Prior <rprior@protonmail.com>
 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
-;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
+;;; Copyright © 2021, 2022 Stefan Reichör <stefan@xsteve.at>
 ;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
 ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
@@ -5000,6 +5000,27 @@ can easily be invoked on a single file.  Your partner can access the file with
 tools they trust (e.g. wget).")
     (license license:gpl2+)))
 
+(define-public servefile
+  (package
+    (name "servefile")
+    (version "0.5.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "servefile" version))
+       (sha256
+        (base32
+         "1ywi9yzc2l24nxfb2mvmkha7qfaapjvqchd6rhjbc54ijwrdq9m1"))))
+    (build-system python-build-system)
+    (inputs (list python-pyopenssl))
+    (arguments
+     '(#:tests? #f)) ; tests fail
+    (home-page "https://github.com/sebageek/servefile")
+    (synopsis "Serve or receive files from shell via a small HTTP server")
+    (description "Serve files from shell via a small HTTP server. It
+also supports uploads, SSL, HTTP basic auth and directory listings.")
+    (license license:gpl3+)))
+
 (define netsurf-buildsystem
   (package
     (name "netsurf-buildsystem")
-- 
2.25.1





             reply	other threads:[~2022-04-17 21:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-17 21:29 Stefan Reichör [this message]
2022-04-18 11:48 ` [bug#54998] [PATCH] gnu: Add servefile Maxime Devos
2022-04-18 11:54 ` Maxime Devos
2022-04-18 11:55 ` Maxime Devos
2022-04-18 11:57 ` Maxime Devos
2022-04-18 11:58 ` Maxime Devos
2024-04-01  9:03 ` [bug#54998] Adding servefile to Guix Steve George

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=20220417212954.93893-1-stefan@xsteve.at \
    --to=stefan@xsteve.at \
    --cc=54998@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).