Files
nixpkgs/pkgs/development/python-modules/certipy-ad/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

79 lines
1.4 KiB
Nix

{
lib,
argcomplete,
asn1crypto,
beautifulsoup4,
buildPythonPackage,
cryptography,
dnspython,
dsinternals,
fetchFromGitHub,
httpx,
impacket,
ldap3,
pyasn1,
pycryptodome,
pyopenssl,
requests,
setuptools,
unicrypto,
}:
buildPythonPackage rec {
pname = "certipy-ad";
version = "5.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "ly4k";
repo = "Certipy";
tag = version;
hash = "sha256-5STwBpX+8EsgRYMEirvqEhu4oMDs4hf4lDge1ShpKf4=";
};
pythonRelaxDeps = [
"argcomplete"
"cryptography"
"dnspython"
"ldap3"
"pycryptodome"
"pyopenssl"
];
pythonRemoveDeps = [ "bs4" ];
build-system = [ setuptools ];
dependencies = [
argcomplete
asn1crypto
beautifulsoup4
cryptography
dnspython
dsinternals
httpx
impacket
ldap3
pyasn1
pycryptodome
pyopenssl
requests
setuptools
unicrypto
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "certipy" ];
meta = {
description = "Library and CLI 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/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "certipy";
};
}