python3Packages.msticpy: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-04-30 15:38:51 +02:00
committed by GitHub
parent f230eb0907
commit ee5835436b
@@ -47,7 +47,7 @@
urllib3,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "msticpy";
version = "3.0.0";
pyproject = true;
@@ -55,7 +55,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "microsoft";
repo = "msticpy";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-aX5Nd0tNuweBp2SqGwe4/Z4LcdJaX3p5LLNQAOdGVGo=";
};
@@ -117,8 +117,8 @@ buildPythonPackage rec {
meta = {
description = "Microsoft Threat Intelligence Security Tools";
homepage = "https://github.com/microsoft/msticpy";
changelog = "https://github.com/microsoft/msticpy/releases/tag/${src.tag}";
changelog = "https://github.com/microsoft/msticpy/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
})