Unverified Commit c089dfed authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #221207 from mweinelt/drop-python-ntlm-auth

python310Packages.ntlm-auth: drop
parents f6de71ce c9401ebf
Loading
Loading
Loading
Loading
+0 −58
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, mock
, pytestCheckHook
, pythonOlder
, requests
}:

buildPythonPackage rec {
  pname = "ntlm-auth";
  version = "1.5.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "jborean93";
    repo = "ntlm-auth";
    rev = "v${version}";
    hash = "sha256-CRBR2eXUGngU7IvGuRfBnvH6QZhhwyh1dgd47VZxtwE=";
  };

  propagatedBuildInputs = [
    cryptography
  ];

  nativeCheckInputs = [
    mock
    pytestCheckHook
    requests
  ];

  pythonImportsCheck = [
    "ntlm_auth"
  ];

  disabledTests = [
    # Tests are outdated as module will be replaced by pyspnego
    "test_authenticate_message"
    "test_authenticate_without_domain_workstation"
    "test_create_authenticate_message"
    "test_get_"
    "test_lm_v"
    "test_nt_"
    "test_ntlm_context"
    "test_ntowfv"
  ];

  meta = with lib; {
    description = "Calculates NTLM Authentication codes";
    homepage = "https://github.com/jborean93/ntlm-auth";
    changelog = "https://github.com/jborean93/ntlm-auth/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ elasticdog ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -157,6 +157,7 @@ mapAliases ({
  nose_progressive = throw "nose_progressive has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; #added 2023-02-21
  notifymuch = throw "notifymuch has been promoted to a top-level attribute"; # added 2022-10-02
  Nuitka = nuitka; # added 2023-02-19
  ntlm-auth = throw "ntlm-auth has been removed, because it relies on the md4 implementation provided by openssl. Use pyspnego instead.";
  ordereddict = throw "ordereddict has been removed because it is only useful on unsupported python versions."; # added 2022-05-28
  pafy = throw "pafy has been removed because it is unmaintained and only a dependency of mps-youtube, itself superseded by yewtube"; # Added 2023-01-19
  pam = python-pam; # added 2020-09-07.
+0 −2
Original line number Diff line number Diff line
@@ -6590,8 +6590,6 @@ self: super: with self; {

  ntc-templates = callPackage ../development/python-modules/ntc-templates { };

  ntlm-auth = callPackage ../development/python-modules/ntlm-auth { };

  ntplib = callPackage ../development/python-modules/ntplib { };

  nuitka = callPackage ../development/python-modules/nuitka { };