nixpkgs/pkgs/development/python-modules/lsassy/default.nix
2022-07-06 22:51:04 +02:00

42 lines
782 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, impacket
, netaddr
, pypykatz
, rich
}:
buildPythonPackage rec {
pname = "lsassy";
version = "3.1.3";
src = fetchFromGitHub {
owner = "Hackndo";
repo = pname;
rev = "v${version}";
sha256 = "sha256-h99wqgRNy2GkiertDddFJQN4hv2R26bo72zNwLPR3mk=";
};
propagatedBuildInputs = [
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";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}