python3Packages.otxv2: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-02 09:49:45 +01:00
committed by GitHub
parent 32f53a46fc
commit b1efe3bd69
@@ -8,7 +8,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "otxv2";
version = "1.5.12";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "AlienVault-OTX";
repo = "OTX-Python-SDK";
tag = version;
tag = finalAttrs.version;
hash = "sha256-JAjBXNsX0Cuni+4L6I1RuaSfors5cBAZ2krPLhIFluY=";
};
@@ -36,8 +36,8 @@ buildPythonPackage rec {
meta = {
description = "The Python SDK for AlienVault OTX";
homepage = "https://github.com/AlienVault-OTX/OTX-Python-SDK";
changelog = "https://github.com/AlienVault-OTX/OTX-Python-SDK/releases/tag/${src.tag}";
changelog = "https://github.com/AlienVault-OTX/OTX-Python-SDK/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
})