Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, asn1crypto, buildPythonPackage, cryptography, dnspython, fetchFromGitHub, gssapi, hatchling, ldap3, msldap, pyasn1, pytestCheckHook, pythonOlder, winacl,}:
buildPythonPackage rec { pname = "bloodyad"; version = "2.0.3"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "CravateRouge"; repo = "bloodyAD"; rev = "refs/tags/v${version}"; hash = "sha256-+Lw9Apm+zzUlM19fGgxOb2bTmmKQ1Nd7dUjF9rhHXKQ="; };
build-system = [ hatchling ];
dependencies = [ asn1crypto cryptography dnspython gssapi ldap3 msldap pyasn1 winacl ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bloodyAD" ];
disabledTests = [ # Tests require network access "test_01AuthCreateUser" "test_02SearchAndGetChildAndGetWritable" "test_03UacOwnerGenericShadowGroupPasswordDCSync" "test_04ComputerRbcdGetSetAttribute" "test_06AddRemoveGetDnsRecord" ];
meta = with lib; { description = "Module for Active Directory Privilege Escalations"; homepage = "https://github.com/CravateRouge/bloodyAD"; changelog = "https://github.com/CravateRouge/bloodyAD/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}