python3Packages.thorlabspm100: use finalAttrs

This commit is contained in:
Sigmanificient
2026-08-14 23:58:51 +02:00
committed by Yohann Boniface
parent 86fd8d0de2
commit 730499ee59

View File

@@ -6,7 +6,7 @@
setuptools-scm,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "thorlabspm100";
version = "1.2.2";
pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "clade";
repo = "ThorlabsPM100";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-X4qEow6u4aE0sbFwZfK3YEso2RS0c9j4iaWJPHaPQV4=";
};
@@ -30,4 +30,4 @@ buildPythonPackage rec {
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fsagbuya ];
};
}
})