diff --git a/pkgs/development/python-modules/pypykatz/default.nix b/pkgs/development/python-modules/pypykatz/default.nix new file mode 100644 index 000000000000..2e5f19e1d12d --- /dev/null +++ b/pkgs/development/python-modules/pypykatz/default.nix @@ -0,0 +1,40 @@ +{ lib +, aiowinreg +, buildPythonPackage +, fetchFromGitHub +, minidump +, minikerberos +, msldap +, winsspi +}: + +buildPythonPackage rec { + pname = "pypykatz"; + version = "0.3.15"; + + src = fetchFromGitHub { + owner = "skelsec"; + repo = pname; + rev = version; + sha256 = "0bx2jdcfr1pdy3jgzg8fr5id9ffl2m1nc81dqhcplxdj8p214yri"; + }; + + propagatedBuildInputs = [ + aiowinreg + minikerberos + msldap + winsspi + minidump + ]; + + # Project doesn't have tests + doCheck = false; + pythonImportsCheck = [ "pypykatz" ]; + + meta = with lib; { + description = "Mimikatz implementation in Python"; + homepage = "https://github.com/skelsec/pypykatz"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +}