Merge pull request #300314 from fabaff/lsassy-refactor
python311Packages.lsassy: refactor
This commit is contained in:
commit
eea4c74df1
1 changed files with 21 additions and 5 deletions
|
@ -3,26 +3,42 @@
|
|||
, fetchFromGitHub
|
||||
, impacket
|
||||
, netaddr
|
||||
, pythonOlder
|
||||
, poetry-core
|
||||
, pypykatz
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, rich
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lsassy";
|
||||
version = "3.1.9";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Hackndo";
|
||||
repo = pname;
|
||||
repo = "lsassy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-VGLSVv/+UpgeSTHoOTjEfQSAYfXA3bAI+yKjcKBI1Z4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pythonRelaxDeps = [
|
||||
"impacket"
|
||||
"netaddr"
|
||||
"rich"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
impacket
|
||||
netaddr
|
||||
pypykatz
|
||||
|
@ -38,10 +54,10 @@ buildPythonPackage rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Python module to extract data from Local Security Authority Subsystem Service (LSASS)";
|
||||
mainProgram = "lsassy";
|
||||
homepage = "https://github.com/Hackndo/lsassy";
|
||||
changelog = "https://github.com/Hackndo/lsassy/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "lsassy";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue