depot/third_party/nixpkgs/pkgs/tools/security/certipy/default.nix

44 lines
923 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "certipy";
version = "4.3.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "ly4k";
repo = "Certipy";
rev = "refs/tags/${version}";
hash = "sha256-vwlWAbA4ExYAPRInhEsjRCNuL2wqMhAmYKO78Vi4OGo=";
};
propagatedBuildInputs = with python3.pkgs; [
asn1crypto
dnspython
dsinternals
impacket
ldap3
pyasn1
pycryptodome
requests_ntlm
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"certipy"
];
meta = with lib; {
description = "Tool to enumerate and abuse misconfigurations in Active Directory Certificate Services";
homepage = "https://github.com/ly4k/Certipy";
changelog = "https://github.com/ly4k/Certipy/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}