From patchwork Sun Apr 17 21:29:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Reich=C3=B6r?= X-Patchwork-Id: 38646 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E8A9B27BBE9; Sun, 17 Apr 2022 22:31:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8970F27BBEA for ; Sun, 17 Apr 2022 22:31:10 +0100 (BST) Received: from localhost ([::1]:55314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngCU9-0002Tx-Mr for patchwork@mira.cbaines.net; Sun, 17 Apr 2022 17:31:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngCU3-0002Tp-EK for guix-patches@gnu.org; Sun, 17 Apr 2022 17:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngCU2-0003wx-5s for guix-patches@gnu.org; Sun, 17 Apr 2022 17:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngCU2-0002jG-25 for guix-patches@gnu.org; Sun, 17 Apr 2022 17:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54998] [PATCH] gnu: Add servefile. Resent-From: Stefan =?utf-8?q?Reich=C3=B6r?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Apr 2022 21:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54998 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54998@debbugs.gnu.org Cc: Stefan =?utf-8?q?Reich=C3=B6r?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165023102110437 (code B ref -1); Sun, 17 Apr 2022 21:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Apr 2022 21:30:21 +0000 Received: from localhost ([127.0.0.1]:37476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngCTH-0002i9-KR for submit@debbugs.gnu.org; Sun, 17 Apr 2022 17:30:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:42816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngCTF-0002hy-1i for submit@debbugs.gnu.org; Sun, 17 Apr 2022 17:30:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngCTE-0002M6-R0 for guix-patches@gnu.org; Sun, 17 Apr 2022 17:30:12 -0400 Received: from dd3624.kasserver.com ([85.13.130.11]:50950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngCTC-0003o6-PM for guix-patches@gnu.org; Sun, 17 Apr 2022 17:30:12 -0400 Received: from localhost (37-186-9-252.ip.as39912.net [37.186.9.252]) by dd3624.kasserver.com (Postfix) with ESMTPA id 88B18840A3F; Sun, 17 Apr 2022 23:30:04 +0200 (CEST) From: Stefan =?utf-8?q?Reich=C3=B6r?= Date: Sun, 17 Apr 2022 23:29:54 +0200 Message-Id: <20220417212954.93893-1-stefan@xsteve.at> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: none client-ip=85.13.130.11; envelope-from=stefan@xsteve.at; helo=dd3624.kasserver.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 ;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; Copyright © 2021 Maxim Cournoyer -;;; Copyright © 2021 Stefan Reichör +;;; Copyright © 2021, 2022 Stefan Reichör ;;; Copyright © 2021 la snesne ;;; Copyright © 2021 Matthew James Kraai ;;; Copyright © 2021 Sarah Morgensen @@ -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")