python310Packages.ntlm-auth: drop
The package relies on python providing support for md4 implementation. But that support requires building python with a non-default openssl package, which reenables these legacy ciphers. The package is also unmaintained, and the upstream recommends using pyspnego instead, which provides their own md4 implementation.
This commit is contained in:
parent
2df6c043e6
commit
c9401ebf15
3 changed files with 1 additions and 60 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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.
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue