python3Packages.lsassy: migrate to finalAttrs
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
rich,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "lsassy";
|
||||
version = "3.1.16";
|
||||
pyproject = true;
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "Hackndo";
|
||||
repo = "lsassy";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-lPbZnoR6qWfVBSRAbTJsKpjBieidNsYgAXI3CXHEt1w=";
|
||||
};
|
||||
|
||||
@@ -44,9 +44,9 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python module to extract data from Local Security Authority Subsystem Service (LSASS)";
|
||||
homepage = "https://github.com/Hackndo/lsassy";
|
||||
changelog = "https://github.com/Hackndo/lsassy/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/Hackndo/lsassy/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "lsassy";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user