Unverified Commit 56d6439f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.bloodyad: 2.1.9 -> 2.1.18 (#412764)

parents 35bfba9e a0dcf1f7
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  lib,
  asn1crypto,
  asysocks,
  buildPythonPackage,
  fetchFromGitHub,
  minikerberos-bad,
  setuptools,
  unicrypto,
}:

buildPythonPackage rec {
  pname = "asyauth-bad";
  version = "0.0.20";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "CravateRouge";
    repo = "asyauth-bAD";
    tag = version;
    hash = "sha256-NX6bvOxA4Y5KRPCIsI+o0cB4dFOXlV89iH7YqNDdaXE=";
  };

  build-system = [ setuptools ];

  dependencies = [
    asn1crypto
    asysocks
    minikerberos-bad
    unicrypto
  ];

  # Module doesn't have tests
  doCheck = false;

  pythonImportsCheck = [ "asyauth" ];

  meta = {
    description = "Unified authentication library";
    homepage = "https://github.com/CravateRouge/asyauth-bAD";
    changelog = "https://github.com/CravateRouge/asyauth-bAD/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+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; {
+53 −0
Original line number Diff line number Diff line
{
  lib,
  asn1crypto,
  asysocks,
  buildPythonPackage,
  cryptography,
  fetchFromGitHub,
  fetchPypi,
  oscrypto,
  pythonOlder,
  setuptools,
  six,
  tqdm,
  unicrypto,
}:

buildPythonPackage rec {
  pname = "minikerberos-bad";
  version = "0.4.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "CravateRouge";
    repo = "minikerberos-bAD";
    tag = version;
    hash = "sha256-pnIn7UOpnCke6voFvOwcONXDd9i/di1lE/57vkg0/0w=";
  };

  build-system = [ setuptools ];

  dependencies = [
    asn1crypto
    cryptography
    asysocks
    oscrypto
    six
    tqdm
    unicrypto
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "minikerberos" ];

  meta = {
    description = "Kerberos manipulation library in pure Python";
    homepage = "https://github.com/CravateRouge/minikerberos-bAD";
    changelog = "https://github.com/CravateRouge/minikerberos-bAD/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
+6 −6
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
  buildPythonPackage,
  fetchPypi,
  oscrypto,
  pythonOlder,
  setuptools,
  six,
  tqdm,
  unicrypto,
@@ -14,16 +14,16 @@
buildPythonPackage rec {
  pname = "minikerberos";
  version = "0.4.6";
  format = "setuptools";

  disabled = pythonOlder "3.7";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Vv04ngYZcEO32J7ucT6aXyu1RgINtqBk4ZIddA+VcpA=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    asn1crypto
    asysocks
    oscrypto
@@ -41,7 +41,7 @@ buildPythonPackage rec {
    description = "Kerberos manipulation library in Python";
    homepage = "https://github.com/skelsec/minikerberos";
    changelog = "https://github.com/skelsec/minikerberos/releases/tag/${version}";
    license = with licenses; [ mit ];
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+57 −0
Original line number Diff line number Diff line
{
  lib,
  asn1crypto,
  asyauth-bad,
  asysocks,
  buildPythonPackage,
  fetchFromGitHub,
  minikerberos-bad,
  prompt-toolkit,
  setuptools,
  tabulate,
  tqdm,
  unicrypto,
  wcwidth,
  winacl,
}:

buildPythonPackage rec {
  pname = "msldap-bad";
  version = "0.5.10";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "CravateRouge";
    repo = "msldap-bAD";
    tag = version;
    hash = "sha256-CnHXEE1tdIXv+Qb3pS+cNxVtcTOVaq6mrQxu3wr1Xxo=";
  };

  build-system = [ setuptools ];

  dependencies = [
    asyauth-bad
    asn1crypto
    asysocks
    minikerberos-bad
    prompt-toolkit
    tabulate
    tqdm
    unicrypto
    wcwidth
    winacl
  ];

  # Module doesn't have tests
  doCheck = false;

  pythonImportsCheck = [ "msldap" ];

  meta = {
    description = "LDAP library for auditing MS AD";
    homepage = "https://github.com/CravateRouge/msldap-bAD";
    changelog = "https://github.com/CravateRouge/asyauth-bAD/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ];
  };
}
Loading