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

python314Packages.mwdblib: migrate to finalAttrs

parent 31ab109b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
  unittestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "mwdblib";
  version = "4.7.0";
  pyproject = true;
@@ -20,7 +20,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "CERT-Polska";
    repo = "mwdblib";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-eP8q5G97vfe7eN3+/+UF7Qda5/xzwC/GRrTorucjEGo=";
  };

@@ -42,9 +42,9 @@ buildPythonPackage rec {
  meta = {
    description = "Python client library for the mwdb service";
    homepage = "https://github.com/CERT-Polska/mwdblib";
    changelog = "https://github.com/CERT-Polska/mwdblib/releases/tag/${src.tag}";
    changelog = "https://github.com/CERT-Polska/mwdblib/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "mwdb";
  };
}
})