diff options
author | Anthony Roussel <anthony@roussel.dev> | 2024-03-29 21:39:08 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2024-06-13 09:21:36 +0200 |
commit | ca26bc13e27a433de50cb3a1b71e1818d6d0e5bc (patch) | |
tree | 029d17a0d04ee6a38687e4ec9992b83309116185 | |
parent | 05d7f5e6d9a71db7047da5a28425b5b51feeb256 (diff) | |
download | nixlib-ca26bc13e27a433de50cb3a1b71e1818d6d0e5bc.tar nixlib-ca26bc13e27a433de50cb3a1b71e1818d6d0e5bc.tar.gz nixlib-ca26bc13e27a433de50cb3a1b71e1818d6d0e5bc.tar.bz2 nixlib-ca26bc13e27a433de50cb3a1b71e1818d6d0e5bc.tar.lz nixlib-ca26bc13e27a433de50cb3a1b71e1818d6d0e5bc.tar.xz nixlib-ca26bc13e27a433de50cb3a1b71e1818d6d0e5bc.tar.zst nixlib-ca26bc13e27a433de50cb3a1b71e1818d6d0e5bc.zip |
httping: format with nixfmt-rfc-style
-rw-r--r-- | pkgs/tools/networking/httping/default.nix | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/pkgs/tools/networking/httping/default.nix b/pkgs/tools/networking/httping/default.nix index 1933dc41de0f..087e002723e5 100644 --- a/pkgs/tools/networking/httping/default.nix +++ b/pkgs/tools/networking/httping/default.nix @@ -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; }; } |