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