arping: modernize

Updated the package.nix for arping to use tag instead of rev and added changelog URL.
This commit is contained in:
Fabian Affolter
2025-12-28 10:57:46 +01:00
committed by GitHub
parent 1a02f2354b
commit f3bf691435
+3 -2
View File
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "ThomasHabets";
repo = "arping";
rev = "arping-${version}";
tag = "arping-${version}";
hash = "sha256-GfIH38LWSayaFXIxi3M3QDkkoYzJoAHMK+hvQgXL1iQ=";
};
@@ -30,7 +30,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Broadcasts a who-has ARP packet on the network and prints answers";
homepage = "https://github.com/ThomasHabets/arping";
license = with lib.licenses; [ gpl2Plus ];
changelog = "https://github.com/ThomasHabets/arping/releases/tag/${src.tag}";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ michalrus ];
platforms = lib.platforms.unix;
mainProgram = "arping";