Files
nixpkgs/pkgs/development/python-modules/lsassy/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

56 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
impacket,
netaddr,
poetry-core,
pypykatz,
pythonOlder,
rich,
}:
buildPythonPackage rec {
pname = "lsassy";
version = "3.1.13";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Hackndo";
repo = "lsassy";
tag = "v${version}";
hash = "sha256-DdIEDseGLI+hUIaUNPBqpkGGe+F+Z+jZ0g/JzXB8pf8=";
};
pythonRelaxDeps = [
"impacket"
"netaddr"
"rich"
];
build-system = [ poetry-core ];
dependencies = [
impacket
netaddr
pypykatz
rich
];
# Tests require an active domain controller
doCheck = false;
pythonImportsCheck = [ "lsassy" ];
meta = with lib; {
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/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
mainProgram = "lsassy";
};
}