python3Packages.color-operations: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-05-26 12:16:10 +02:00
committed by GitHub
parent 6c086fe2df
commit f5f8da561d
@@ -16,7 +16,7 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "color-operations";
version = "0.3.0";
pyproject = true;
@@ -24,7 +24,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "vincentsarago";
repo = "color-operations";
tag = version;
tag = finalAttrs.version;
hash = "sha256-hDxbyhelsl/EvsesD4Rux5CQM86squ4gHevVK/UP8Y8=";
};
@@ -50,8 +50,8 @@ buildPythonPackage rec {
meta = {
description = "Apply basic color-oriented image operations. Fork of rio-color";
homepage = "https://github.com/vincentsarago/color-operations";
changelog = "https://github.com/vincentsarago/color-operations/releases/tag/${src.tag}";
changelog = "https://github.com/vincentsarago/color-operations/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
teams = [ lib.teams.geospatial ];
};
}
})