1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, impacket 5, netaddr 6, pypykatz 7, rich 8}: 9 10buildPythonPackage rec { 11 pname = "lsassy"; 12 version = "3.0.3"; 13 14 src = fetchFromGitHub { 15 owner = "Hackndo"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "sha256-P68c2kQh2/3fUb1fsNujjpjvvXI5zN4WebaeR09N+lY="; 19 }; 20 21 propagatedBuildInputs = [ 22 impacket 23 netaddr 24 pypykatz 25 rich 26 ]; 27 28 # Tests require an active domain controller 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "lsassy" 33 ]; 34 35 meta = with lib; { 36 description = "Python module to extract data from Local Security Authority Subsystem Service (LSASS)"; 37 homepage = "https://github.com/Hackndo/lsassy"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}