python3Packages.sharkiq: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-07-20 09:08:06 +02:00
committed by GitHub
parent 4eaa45aad5
commit 687cf40847
@@ -9,7 +9,7 @@
setuptools-scm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "sharkiq";
version = "1.5.1";
pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "JeffResc";
repo = "sharkiq";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-24/cJJ4RaM6twVorJ0pQ/LDHZBTP/rxCiwNozNLS82M=";
};
@@ -45,8 +45,8 @@ buildPythonPackage rec {
meta = {
description = "Python API for Shark IQ robots";
homepage = "https://github.com/JeffResc/sharkiq";
changelog = "https://github.com/JeffResc/sharkiq/releases/tag/${src.tag}";
changelog = "https://github.com/JeffResc/sharkiq/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})