dnsdiag: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-14 16:48:51 +01:00
committed by GitHub
parent 207dbfbae8
commit f2de6f8a5b
+4 -4
View File
@@ -4,7 +4,7 @@
python3,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "dnsdiag";
version = "2.9.2";
pyproject = true;
@@ -12,7 +12,7 @@ python3.pkgs.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "farrokhi";
repo = "dnsdiag";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-AWMtdx70FW6L3JVQH5DNbzJGJ7kfw7THQNlTiyZ16c0=";
};
@@ -35,9 +35,9 @@ python3.pkgs.buildPythonApplication rec {
meta = {
description = "DNS Measurement, Troubleshooting and Security Auditing Toolset";
homepage = "https://github.com/farrokhi/dnsdiag";
changelog = "https://github.com/farrokhi/dnsdiag/releases/tag/${src.tag}";
changelog = "https://github.com/farrokhi/dnsdiag/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "dnsdiag";
};
}
})