Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 75 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{ lib, asn1crypto, buildPythonPackage, certipy, cryptography, dnspython, fetchFromGitHub, hatchling, minikerberos-bad, msldap-bad, pyasn1, pytestCheckHook, pythonOlder, winacl,}:
buildPythonPackage rec { pname = "bloodyad"; version = "2.1.21"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "CravateRouge"; repo = "bloodyAD"; tag = "v${version}"; hash = "sha256-9yzKYSEmaPMv6AWhgr4UPPEx8s75Pg/hwqJnV29WocM="; };
pythonRelaxDeps = [ "cryptography" ];
pythonRemoveDeps = [ "minikerberos-bad" "msldap-bad" ];
build-system = [ hatchling ];
dependencies = [ asn1crypto cryptography dnspython minikerberos-bad msldap-bad winacl ];
nativeCheckInputs = [ certipy pytestCheckHook ];
pythonImportsCheck = [ "bloodyAD" ];
disabledTests = [ # Tests require network access "test_kerberos_authentications" "test_01AuthCreateUser" "test_02SearchAndGetChildAndGetWritable" "test_03UacOwnerGenericShadowGroupPasswordDCSync" "test_04ComputerRbcdGetSetAttribute" "test_06AddRemoveGetDnsRecord" "test_certificate_authentications" ];
meta = with lib; { description = "Module for Active Directory Privilege Escalations"; homepage = "https://github.com/CravateRouge/bloodyAD"; changelog = "https://github.com/CravateRouge/bloodyAD/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}