From f5dc7d877be26678a4cae381f7ba7e496e6d9bdf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 31 May 2023 08:04:45 +0200 Subject: python311Packages.certipy-ad: make it usable as module --- pkgs/tools/security/certipy/default.nix | 49 --------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 pkgs/tools/security/certipy/default.nix (limited to 'pkgs/tools') diff --git a/pkgs/tools/security/certipy/default.nix b/pkgs/tools/security/certipy/default.nix deleted file mode 100644 index f369e97a564..00000000000 --- a/pkgs/tools/security/certipy/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ lib -, fetchFromGitHub -, python3 -}: - -python3.pkgs.buildPythonApplication rec { - pname = "certipy"; - version = "4.4.0"; - format = "setuptools"; - - src = fetchFromGitHub { - owner = "ly4k"; - repo = "Certipy"; - rev = "refs/tags/${version}"; - hash = "sha256-llLGr9IpuXQYIN2WaOkvfE2dAZb3PMVlNmketUpuyDI="; - }; - - postPatch = '' - # pin does not apply because our ldap3 contains a patch to fix pyasn1 compability - substituteInPlace setup.py \ - --replace "pyasn1==0.4.8" "pyasn1" - ''; - - 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 ]; - }; -} -- cgit 1.4.1