From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH] gnu: Add httpstat. Date: Sat, 24 Dec 2016 15:24:25 +0100 Message-ID: <87inq9o15y.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <87k2aq1hda.fsf@xsteve.at> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKnFR-0004q4-LV for guix-devel@gnu.org; Sat, 24 Dec 2016 09:24:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKnFN-0008Lh-Kz for guix-devel@gnu.org; Sat, 24 Dec 2016 09:24:33 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40806) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cKnFN-0008Kw-GD for guix-devel@gnu.org; Sat, 24 Dec 2016 09:24:29 -0500 In-Reply-To: <87k2aq1hda.fsf@xsteve.at> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Stefan =?utf-8?Q?Reich=C3=B6r?= , guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Stefan Reich=C3=B6r writes: > From 06958884c4a29f43b9ade58a950b95bf9046d9f4 Mon Sep 17 00:00:00 2001 > From: Stefan Reichoer > Date: Fri, 23 Dec 2016 22:06:15 +0100 > Subject: [PATCH] gnu: Add httpstat. > > * gnu/packages/networking.scm (httpstat): New variable. > --- > gnu/packages/networking.scm | 21 ++++++++++++++++++++- > 1 file changed, 20 insertions(+), 1 deletion(-) Thanks for this patch! Since it has a hard dependency on curl to function, I think we should patch it with curl as input so that the user don't have to install curl separately. Can you try that? Typically this involves adding a substitution to the code that invokes `curl` and replacing it with '(string-append (assoc-ref inputs "curl") "/bin/curl")'. TIA! > > diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm > index 2a5ff09..3c100c6 100644 > --- a/gnu/packages/networking.scm > +++ b/gnu/packages/networking.scm > @@ -2,7 +2,7 @@ > ;;; Copyright =C2=A9 2014 Ludovic Court=C3=A8s > ;;; Copyright =C2=A9 2015, 2016 Ricardo Wurmus > ;;; Copyright =C2=A9 2015 Mark H Weaver > -;;; Copyright =C2=A9 2015 Stefan Reich=C3=B6r > +;;; Copyright =C2=A9 2015, 2016 Stefan Reich=C3=B6r > ;;; Copyright =C2=A9 2016 Raimon Grau > ;;; Copyright =C2=A9 2016 Tobias Geerinckx-Rice > ;;; Copyright =C2=A9 2016 John Darrington > @@ -34,6 +34,7 @@ > #:use-module (guix download) > #:use-module (guix build-system glib-or-gtk) > #:use-module (guix build-system gnu) > + #:use-module (guix build-system python) > #:use-module (gnu packages) > #:use-module (gnu packages admin) > #:use-module (gnu packages adns) > @@ -549,6 +550,24 @@ by firewalls or when you want to monitor the respons= e time of the actual web > application stack itself.") > (license license:gpl2))) ; with permission to link with OpenS= SL >=20=20 > +(define-public httpstat > + (package > + (name "httpstat") > + (version "1.2.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "httpstat" version)) > + (sha256 > + (base32 > + "1chw2nk56vaq87aba012a270k9na06hfx1pfbsrc3jfvlc2kb9hb")))) > + (build-system python-build-system) > + (home-page "https://github.com/reorx/httpstat") > + (synopsis "visualize curl statistics") > + (description > + "httpstat visualizes curl statistics in a way of beauty and clarity= .") > + (license license:expat))) > + > (define-public bwm-ng > (package > (name "bwm-ng") > --=20 > 2.7.4 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlhehRkACgkQoqBt8qM6 VPpSLwgAjaYm0UFVO31uMkAYVmGv+95JoJJZ4jsBwH3nJh+LhuywMAU/AC+ShBqo ztuK84dR06VzqmZXboRoq1aqXJCVs9kfjuNSGKN/Dmi55JSPHHWzlPAMRVdv3q5b cQ+5HvZ3qpT89dTQxVINw2yQi8DnjKfCnvNaX4/6xrzgxEY6FJ1BsIZTXW2/GQqN j4POwL5PxSy23fL6wM2yDWaJdJHdIy3gxCH72VfmkT94wWIWYwhuN7/OmUPBOuYu GD40AjCAgKT/2wOPyDudT1g3fXeZloruAiW80P/rQ/1o9GN7flSSo++yi5GG7Tfo C51eUU49OBtBof+YflfGq2xc97e5Vw== =JtSX -----END PGP SIGNATURE----- --=-=-=--