Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / lsassy / default.nix
blobad9d09b32662945da0192f03347f30489bee5d63
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , impacket
5 , netaddr
6 , pypykatz
7 }:
9 buildPythonPackage rec {
10   pname = "lsassy";
11   version = "2.1.3";
13   src = fetchFromGitHub {
14     owner = "Hackndo";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "1zig34ymc1h18gjc2ji0w0711im5sm9xm6nydc01c13yfpvvj1rh";
18   };
20   propagatedBuildInputs = [
21     impacket
22     netaddr
23     pypykatz
24   ];
26   # Tests require an active domain controller
27   doCheck = false;
28   pythonImportsCheck = [ "lsassy" ];
30   meta = with lib; {
31     description = "Python module to extract data from Local Security Authority Subsystem Service (LSASS)";
32     homepage = "https://github.com/Hackndo/lsassy";
33     license = with licenses; [ mit ];
34     maintainers = with maintainers; [ fab ];
35   };