1{ lib, buildPythonPackage, fetchPypi, pythonAtLeast }: 2 3buildPythonPackage rec { 4 pname = "backports.ssl_match_hostname"; 5 version = "3.7.0.1"; 6 disabled = pythonAtLeast "3.7"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "bb82e60f9fbf4c080eabd957c39f0641f0fc247d9a16e31e26d594d8f42b9fd2"; 11 }; 12 13 meta = with lib; { 14 description = "The Secure Sockets layer is only actually *secure*"; 15 homepage = "https://bitbucket.org/brandon/backports.ssl_match_hostname"; 16 license = licenses.psfl; 17 }; 18}