python3Packages.ansible-pylibssh: migrate to finalAttrs

This commit is contained in:
Wim de With
2026-03-25 13:43:17 +01:00
parent 4279efcea7
commit e46d436564
@@ -11,13 +11,13 @@
wheel,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "ansible-pylibssh";
version = "1.3.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-JD6hsJYrC2secXrA5p2sljbmHsZbNyYMMXsjYMbjDKc=";
};
@@ -37,8 +37,8 @@ buildPythonPackage rec {
meta = {
description = "Python bindings to client functionality of libssh specific to Ansible use case";
homepage = "https://github.com/ansible/pylibssh";
changelog = "https://github.com/ansible/pylibssh/releases/tag/v${version}";
changelog = "https://github.com/ansible/pylibssh/releases/tag/v${finalAttrs.version}";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ wfdewith ];
};
}
})