7d542a9f98
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
50 lines
897 B
Nix
50 lines
897 B
Nix
{ lib
|
|
, aesedb
|
|
, aiosmb
|
|
, aiowinreg
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, minidump
|
|
, minikerberos
|
|
, msldap
|
|
, pythonOlder
|
|
, winsspi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pypykatz";
|
|
version = "0.6.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Rb4QCxntXJYA8sqkgAjS6e8WJK9ljhIKgM3dfpmbHSc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aesedb
|
|
aiosmb
|
|
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";
|
|
changelog = "https://github.com/skelsec/pypykatz/releases/tag/${version}";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|