Files
nixpkgs/pkgs/development/python-modules/lsassy/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

53 lines
1009 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
impacket,
netaddr,
poetry-core,
pypykatz,
rich,
}:
buildPythonPackage rec {
pname = "lsassy";
version = "3.1.15";
pyproject = true;
src = fetchFromGitHub {
owner = "Hackndo";
repo = "lsassy";
tag = "v${version}";
hash = "sha256-cQfyRCZv0ZTaj7Ay7zTzFnU7PQluP3VweeFof8+W70M=";
};
pythonRelaxDeps = [
"impacket"
"netaddr"
"rich"
];
build-system = [ poetry-core ];
dependencies = [
impacket
netaddr
pypykatz
rich
];
# Tests require an active domain controller
doCheck = false;
pythonImportsCheck = [ "lsassy" ];
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}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "lsassy";
};
}