diff --git a/pkgs/development/python-modules/ntlm-auth/default.nix b/pkgs/development/python-modules/ntlm-auth/default.nix deleted file mode 100644 index d3d64bcbe235..000000000000 --- a/pkgs/development/python-modules/ntlm-auth/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ 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 ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 6934fa772907..b251be559dd4 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -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. diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 43c0ce04e03b..b3f6c560d657 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };