dnsdiag: migrate to finalAttrs
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user