Commit a0dcf1f7 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.bloodyad: 2.1.9 -> 2.1.18

parent f53370b1
Loading
Loading
Loading
Loading
+18 −7
Original line number Diff line number Diff line
@@ -2,12 +2,13 @@
  lib,
  asn1crypto,
  buildPythonPackage,
  certipy,
  cryptography,
  dnspython,
  fetchFromGitHub,
  hatchling,
  minikerberos,
  msldap,
  minikerberos-bad,
  msldap-bad,
  pyasn1,
  pytestCheckHook,
  pythonOlder,
@@ -16,7 +17,7 @@

buildPythonPackage rec {
  pname = "bloodyad";
  version = "2.1.9";
  version = "2.1.18";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -25,33 +26,43 @@ buildPythonPackage rec {
    owner = "CravateRouge";
    repo = "bloodyAD";
    tag = "v${version}";
    hash = "sha256-XqCP2GfS8hxlFU4Mndeh+7Ll2kXJ3Dei+AGp/oy0PUg=";
    hash = "sha256-4/5cAYt3IhRxbd8bSXlyvCOCMLIJjWxWnke0vslyD2Y=";
  };

  pythonRelaxDeps = [ "cryptography" ];

  pythonRemoveDeps = [
    "minikerberos-bad"
    "msldap-bad"
  ];

  build-system = [ hatchling ];

  dependencies = [
    asn1crypto
    cryptography
    dnspython
    minikerberos
    msldap
    minikerberos-bad
    msldap-bad
    winacl
  ];

  nativeCheckInputs = [ pytestCheckHook ];
  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; {