From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:44958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0qKz-0002ul-S3 for guix-patches@gnu.org; Mon, 04 Mar 2019 11:21:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0qKv-0005lO-GB for guix-patches@gnu.org; Mon, 04 Mar 2019 11:21:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0qKs-0005fN-F4 for guix-patches@gnu.org; Mon, 04 Mar 2019 11:21:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h0qKs-00083Q-Ah for guix-patches@gnu.org; Mon, 04 Mar 2019 11:21:02 -0500 Subject: [bug#33026] [PATCH v2 1/2] gnu: Add yahttp. Resent-Message-ID: From: Tobias Geerinckx-Rice Date: Mon, 4 Mar 2019 17:19:54 +0100 Message-Id: <20190304161955.12712-2-somebody@not-sent-or-endorsed-by.tobias.gr> In-Reply-To: <20190304161955.12712-1-somebody@not-sent-or-endorsed-by.tobias.gr> References: <8736t7c6rv.fsf@gnu.org> <20190304161955.12712-1-somebody@not-sent-or-endorsed-by.tobias.gr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33026@debbugs.gnu.org From: Tobias Geerinckx-Rice * gnu/packages/web.scm (yahttp): New public variable. --- gnu/packages/web.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index b0ee78b92b..95099e450e 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -66,6 +66,7 @@ #:use-module (gnu packages admin) #:use-module (gnu packages adns) #:use-module (gnu packages apr) + #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages documentation) #:use-module (gnu packages docbook) @@ -86,6 +87,7 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gperf) + #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages guile-xyz) @@ -4907,6 +4909,46 @@ and xinetd usually launches another daemon to handle the request. It can be used to start services with both privileged and non-privileged port numbers.") (license (l:fsf-free "file://COPYRIGHT")))) +(define-public yahttp + (package + (name "yahttp") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cmouse/yahttp.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "09pxykgby8hlyvaff106p6m847idg6nkprahx62kr05ks5r6i77v")))) + ;; Separate the ~7.5 MiB of HTML documentation from the rest (~700 KiB). + ;; Installing the package without it would require patching Makefiles. + (outputs (list "out" "doc")) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--htmldir=" (assoc-ref %outputs "doc") + "/share/doc/" ,name "-" ,version)))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + + ;; For creating the documentation. + ("doxygen" ,doxygen) + ("graphviz" ,graphviz))) + (inputs + `(("boost" ,boost))) + (home-page "https://github.com/cmouse/yahttp") + (synopsis "Small-footprint HTTP request/response parser") + (description + "@acronym{YaHTTP, Yet Another HTTP Library} aims to be purely an HTTP +request/response parser with no input/output ties. It is intended to be used in +small-footprint applications and other utilities that want to use HTTP over +something else than network I/O.") + (license l:expat))) + (define-public tidy-html (package (name "tidy-html") -- 2.20.1