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

python3Packages.py-ocsf-models: migrate to finalAttrs

parent 957588c6
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "py-ocsf-models";
  version = "0.8.1";
  pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "prowler-cloud";
    repo = "py-ocsf-models";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-Wtls4Ei1160hxvZjdyH0rJCQWEN/CwpxfllwgGTzMog=";
  };

@@ -41,8 +41,8 @@ buildPythonPackage rec {
  meta = {
    description = "OCSF models in Python using Pydantic";
    homepage = "https://github.com/prowler-cloud/py-ocsf-models";
    changelog = "https://github.com/prowler-cloud/py-ocsf-models/releases/tag/${src.tag}";
    changelog = "https://github.com/prowler-cloud/py-ocsf-models/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})