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

python314Packages.mkdocstrings-python: migrate to finalAttrs

parent e48929b2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "mkdocstrings-python";
  version = "2.0.2";
  pyproject = true;
@@ -20,7 +20,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "mkdocstrings";
    repo = "python";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-MCR304sOqlS4azZOoNa4klITDdr+bD8N6wEZBuHhZms=";
  };

@@ -51,8 +51,8 @@ buildPythonPackage rec {
  meta = {
    description = "Python handler for mkdocstrings";
    homepage = "https://github.com/mkdocstrings/python";
    changelog = "https://github.com/mkdocstrings/python/blob/${src.tag}/CHANGELOG.md";
    changelog = "https://github.com/mkdocstrings/python/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})