httping: format with nixfmt-rfc-style

This commit is contained in:
Anthony Roussel 2024-03-29 21:39:08 +01:00
parent 05d7f5e6d9
commit ca26bc13e2
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -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;
};
}