Unverified Commit b1efe3bd authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.otxv2: migrate to finalAttrs

parent 32f53a46
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})