python3Packages.filedepot: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-07-30 18:22:47 +02:00
committed by GitHub
parent 0ac1421f97
commit 95044abdad

View File

@@ -16,7 +16,7 @@
sqlalchemy,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "filedepot";
version = "0.12.0";
pyproject = true;
@@ -24,7 +24,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "amol-";
repo = "depot";
tag = version;
tag = finalAttrs.version;
hash = "sha256-oDnGA2prxYUkC90ewryeJXTXED59vcZGHU9D0QiopFM=";
};
@@ -63,8 +63,8 @@ buildPythonPackage rec {
meta = {
description = "Toolkit for storing files and attachments in web applications";
homepage = "https://github.com/amol-/depot";
changelog = "https://github.com/amol-/depot/releases/tag/${version}";
changelog = "https://github.com/amol-/depot/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})