0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python313Packages.bloodyad: 2.1.9 -> 2.1.18

https://github.com/CravateRouge/bloodyAD/releases/tag/v2.1.18
This commit is contained in:
Fabian Affolter 2025-05-31 23:17:30 +02:00
parent f53370b15b
commit a0dcf1f7a6

View file

@ -2,12 +2,13 @@
lib, lib,
asn1crypto, asn1crypto,
buildPythonPackage, buildPythonPackage,
certipy,
cryptography, cryptography,
dnspython, dnspython,
fetchFromGitHub, fetchFromGitHub,
hatchling, hatchling,
minikerberos, minikerberos-bad,
msldap, msldap-bad,
pyasn1, pyasn1,
pytestCheckHook, pytestCheckHook,
pythonOlder, pythonOlder,
@ -16,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bloodyad"; pname = "bloodyad";
version = "2.1.9"; version = "2.1.18";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -25,33 +26,43 @@ buildPythonPackage rec {
owner = "CravateRouge"; owner = "CravateRouge";
repo = "bloodyAD"; repo = "bloodyAD";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-XqCP2GfS8hxlFU4Mndeh+7Ll2kXJ3Dei+AGp/oy0PUg="; hash = "sha256-4/5cAYt3IhRxbd8bSXlyvCOCMLIJjWxWnke0vslyD2Y=";
}; };
pythonRelaxDeps = [ "cryptography" ]; pythonRelaxDeps = [ "cryptography" ];
pythonRemoveDeps = [
"minikerberos-bad"
"msldap-bad"
];
build-system = [ hatchling ]; build-system = [ hatchling ];
dependencies = [ dependencies = [
asn1crypto asn1crypto
cryptography cryptography
dnspython dnspython
minikerberos minikerberos-bad
msldap msldap-bad
winacl winacl
]; ];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [
certipy
pytestCheckHook
];
pythonImportsCheck = [ "bloodyAD" ]; pythonImportsCheck = [ "bloodyAD" ];
disabledTests = [ disabledTests = [
# Tests require network access # Tests require network access
"test_kerberos_authentications"
"test_01AuthCreateUser" "test_01AuthCreateUser"
"test_02SearchAndGetChildAndGetWritable" "test_02SearchAndGetChildAndGetWritable"
"test_03UacOwnerGenericShadowGroupPasswordDCSync" "test_03UacOwnerGenericShadowGroupPasswordDCSync"
"test_04ComputerRbcdGetSetAttribute" "test_04ComputerRbcdGetSetAttribute"
"test_06AddRemoveGetDnsRecord" "test_06AddRemoveGetDnsRecord"
"test_certificate_authentications"
]; ];
meta = with lib; { meta = with lib; {