smbclient-ng: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-04 23:36:11 +01:00
parent 2419542174
commit 0ddf2f6330
+4 -4
View File
@@ -4,7 +4,7 @@
python3,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "smbclient-ng";
version = "3.0.0";
pyproject = true;
@@ -12,7 +12,7 @@ python3.pkgs.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "p0dalirius";
repo = "smbclient-ng";
tag = version;
tag = finalAttrs.version;
hash = "sha256-W0f+PxPjI5raIjUNK7fcfPvFugrJxLZTWZPpX/6P56w=";
};
@@ -39,9 +39,9 @@ python3.pkgs.buildPythonApplication rec {
meta = {
description = "Tool to interact with SMB shares";
homepage = "https://github.com/p0dalirius/smbclient-ng";
changelog = "https://github.com/p0dalirius/smbclient-ng/releases/tag/${version}";
changelog = "https://github.com/p0dalirius/smbclient-ng/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "smbclientng";
};
}
})