[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: httpstat: Update to 1.3.0.
From: |
guix-commits |
Subject: |
12/12: gnu: httpstat: Update to 1.3.0. |
Date: |
Mon, 21 Dec 2020 11:48:36 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 0127e683f4b701cde6a4869cd0db9618dd5332ee
Author: Michael Rohleder <mike@rohleder.de>
AuthorDate: Tue Dec 15 00:45:33 2020 +0100
gnu: httpstat: Update to 1.3.0.
* gnu/packages/networking.scm (httpstat): Update to 1.3.0.
[source]: Changed uri from pypi-uri to git-reference.
[arguments]: Add substitution for changed time units of curl.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/networking.scm | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index f95217e..d3f47da 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -41,6 +41,7 @@
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com>
;;; Copyright © 2020 Hamzeh Nasajpour <h.nasajpour@pantherx.org>
+;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1568,14 +1569,17 @@ application stack itself.")
(define-public httpstat
(package
(name "httpstat")
- (version "1.2.1")
+ (version "1.3.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "httpstat" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/reorx/httpstat")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1chw2nk56vaq87aba012a270k9na06hfx1pfbsrc3jfvlc2kb9hb"))))
+ "18k2glnyzxlmry19ijmndim2vqqn3c86smd7xc3haw6k7qafifx1"))))
(build-system python-build-system)
(inputs `(("curl" ,curl)))
(arguments
@@ -1587,7 +1591,10 @@ application stack itself.")
(("ENV_CURL_BIN.get\\('curl'\\)")
(string-append "ENV_CURL_BIN.get('"
(assoc-ref inputs "curl")
- "/bin/curl')")))
+ "/bin/curl')"))
+ ;; "curl -w time_*" units seems to have
+ ;; changed from seconds to nanoseconds.
+ (("d\\[k\\] \\* 1000") "d[k] / 1000"))
#t)))))
(home-page "https://github.com/reorx/httpstat")
(synopsis "Visualize curl statistics")
- branch master updated (5ecc0b1 -> 0127e68), guix-commits, 2020/12/21
- 04/12: gnu: Add μCsim., guix-commits, 2020/12/21
- 01/12: tests: Fix malformed JSON., guix-commits, 2020/12/21
- 08/12: gnu: sdcc: Revise synopsis and description., guix-commits, 2020/12/21
- 03/12: gnu: gnome-builder: Disable jedi plugin., guix-commits, 2020/12/21
- 02/12: tests: Check the effect of '--without-tests' on implicit inputs., guix-commits, 2020/12/21
- 10/12: gnu: sdcc: Expand comment regarding GPUTILS and PIC ports., guix-commits, 2020/12/21
- 07/12: gnu: sdcc: Specify complete set of licenses., guix-commits, 2020/12/21
- 09/12: gnu: sdcc: Correct name of phase., guix-commits, 2020/12/21
- 05/12: gnu: sdcc: Remove bundled μCsim., guix-commits, 2020/12/21
- 12/12: gnu: httpstat: Update to 1.3.0.,
guix-commits <=
- 06/12: gnu: sdcc: Move to embedded.scm., guix-commits, 2020/12/21
- 11/12: gnu: sdcc: Update to 4.0.0., guix-commits, 2020/12/21