Merge pull request #300314 from fabaff/lsassy-refactor

python311Packages.lsassy: refactor
This commit is contained in:
Fabian Affolter 2024-03-31 11:27:15 +02:00 committed by GitHub
commit eea4c74df1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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";
};
}