python3Packages.backports_ssl_match_hostname: drop

Backport from one EOL release to another.
This commit is contained in:
Martin Weinelt 2022-11-28 15:34:27 +01:00
parent f9d1ea261f
commit 243defc46a
3 changed files with 2 additions and 22 deletions

View file

@ -1,7 +1,7 @@
{ lib, buildPythonApplication, fetchPypi, pythonOlder
, installShellFiles
, mock, pytest, nose
, pyyaml, backports_ssl_match_hostname, colorama, docopt
, pyyaml, colorama, docopt
, dockerpty, docker, jsonschema, requests
, six, texttable, websocket-client, cached-property
, enum34, functools32, paramiko, distro, python-dotenv
@ -24,7 +24,7 @@ buildPythonApplication rec {
pyyaml colorama dockerpty docker
jsonschema requests six texttable websocket-client
docopt cached-property paramiko distro python-dotenv
] ++ lib.optional (pythonOlder "3.7") backports_ssl_match_hostname
]
++ lib.optional (pythonOlder "3.4") enum34
++ lib.optional (pythonOlder "3.2") functools32;

View file

@ -1,18 +0,0 @@
{ lib, buildPythonPackage, fetchPypi, pythonAtLeast }:
buildPythonPackage rec {
pname = "backports.ssl_match_hostname";
version = "3.7.0.1";
disabled = pythonAtLeast "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "bb82e60f9fbf4c080eabd957c39f0641f0fc247d9a16e31e26d594d8f42b9fd2";
};
meta = with lib; {
description = "The Secure Sockets layer is only actually *secure*";
homepage = "https://bitbucket.org/brandon/backports.ssl_match_hostname";
license = licenses.psfl;
};
}

View file

@ -1110,8 +1110,6 @@ self: super: with self; {
backports-shutil-which = callPackage ../development/python-modules/backports-shutil-which { };
backports_ssl_match_hostname = callPackage ../development/python-modules/backports_ssl_match_hostname { };
backports_tempfile = callPackage ../development/python-modules/backports_tempfile { };
backports_unittest-mock = callPackage ../development/python-modules/backports_unittest-mock { };