21 buildPythonPackage rec {
26 disabled = pythonOlder "3.7";
28 src = fetchFromGitHub {
31 rev = "refs/tags/${version}";
32 hash = "sha256-Era5iNLJkZIRvN/p3BiD/eDiDQme24G65VSG97tuEOQ=";
36 # pin does not apply because our ldap3 contains a patch to fix pyasn1 compability
37 substituteInPlace setup.py \
38 --replace "pyasn1==0.4.8" "pyasn1"
41 nativeBuildInputs = [ setuptools ];
43 propagatedBuildInputs = [
59 # Project has no tests
62 pythonImportsCheck = [ "certipy" ];
65 description = "Library and CLI tool to enumerate and abuse misconfigurations in Active Directory Certificate Services";
66 mainProgram = "certipy";
67 homepage = "https://github.com/ly4k/Certipy";
68 changelog = "https://github.com/ly4k/Certipy/releases/tag/${version}";
69 license = with licenses; [ mit ];
70 maintainers = with maintainers; [ fab ];