mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 10:14:09 +00:00
httping: format with nixfmt-rfc-style
This commit is contained in:
parent
05d7f5e6d9
commit
ca26bc13e2
@ -1,12 +1,13 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, fftw ? null
|
||||
, gettext
|
||||
, libintl
|
||||
, ncurses
|
||||
, openssl
|
||||
{
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
fftw ? null,
|
||||
gettext,
|
||||
lib,
|
||||
libintl,
|
||||
ncurses,
|
||||
openssl,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -16,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "folkertvanheusden";
|
||||
repo = "HTTPing";
|
||||
rev = "v${version}";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-aExTXXtW03UKMuMjTMx1k/MUpcRMh1PdSPkDGH+Od70=";
|
||||
};
|
||||
|
||||
@ -47,17 +48,17 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://vanheusden.com/httping";
|
||||
description = "ping with HTTP requests";
|
||||
homepage = "https://vanheusden.com/httping";
|
||||
license = licenses.agpl3Only;
|
||||
longDescription = ''
|
||||
Give httping an url, and it'll show you how long it takes to connect,
|
||||
send a request and retrieve the reply (only the headers). Be aware that
|
||||
the transmission across the network also takes time! So it measures the
|
||||
latency of the webserver + network. It supports IPv6.
|
||||
'';
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = [];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
mainProgram = "httping";
|
||||
maintainers = [ ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user