mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
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>
This commit is contained in:
parent
0b8c90b65a
commit
0127e683f4
1 changed files with 12 additions and 5 deletions
|
@ -41,6 +41,7 @@
|
||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com>
|
;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com>
|
||||||
;;; Copyright © 2020 Hamzeh Nasajpour <h.nasajpour@pantherx.org>
|
;;; Copyright © 2020 Hamzeh Nasajpour <h.nasajpour@pantherx.org>
|
||||||
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -1568,14 +1569,17 @@ (define-public httping
|
||||||
(define-public httpstat
|
(define-public httpstat
|
||||||
(package
|
(package
|
||||||
(name "httpstat")
|
(name "httpstat")
|
||||||
(version "1.2.1")
|
(version "1.3.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "httpstat" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/reorx/httpstat")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1chw2nk56vaq87aba012a270k9na06hfx1pfbsrc3jfvlc2kb9hb"))))
|
"18k2glnyzxlmry19ijmndim2vqqn3c86smd7xc3haw6k7qafifx1"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs `(("curl" ,curl)))
|
(inputs `(("curl" ,curl)))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -1587,7 +1591,10 @@ (define-public httpstat
|
||||||
(("ENV_CURL_BIN.get\\('curl'\\)")
|
(("ENV_CURL_BIN.get\\('curl'\\)")
|
||||||
(string-append "ENV_CURL_BIN.get('"
|
(string-append "ENV_CURL_BIN.get('"
|
||||||
(assoc-ref inputs "curl")
|
(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)))))
|
#t)))))
|
||||||
(home-page "https://github.com/reorx/httpstat")
|
(home-page "https://github.com/reorx/httpstat")
|
||||||
(synopsis "Visualize curl statistics")
|
(synopsis "Visualize curl statistics")
|
||||||
|
|
Loading…
Reference in a new issue