Commit 63d3c57c authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.banks: migrate to finalAttrs

parent 0cfa3289
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
  redis,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "banks";
  version = "2.4.0";
  pyproject = true;
@@ -25,7 +25,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "masci";
    repo = "banks";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-rIN90R/olhBvOUlgh9KUV/1MxO814g561gTJam98Ny0=";
  };

@@ -54,15 +54,15 @@ buildPythonPackage rec {
    pytest-asyncio
    pytestCheckHook
  ]
  ++ lib.concatAttrValues optional-dependencies;
  ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);

  pythonImportsCheck = [ "banks" ];

  meta = {
    description = "Module that provides tools and functions to build prompts text and chat messages from generic blueprints";
    homepage = "https://github.com/masci/banks";
    changelog = "https://github.com/masci/banks/releases/tag/${src.tag}";
    changelog = "https://github.com/masci/banks/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})