depot/third_party/nixpkgs/pkgs/development/python-modules/lsassy/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

41 lines
782 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, impacket
, netaddr
, pypykatz
, rich
}:
buildPythonPackage rec {
pname = "lsassy";
version = "3.0.3";
src = fetchFromGitHub {
owner = "Hackndo";
repo = pname;
rev = "v${version}";
sha256 = "sha256-P68c2kQh2/3fUb1fsNujjpjvvXI5zN4WebaeR09N+lY=";
};
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 ];
};
}