1{ lib, buildPythonPackage, fetchPypi, idna }:
2
3buildPythonPackage rec {
4 pname = "idna_ssl";
5 version = "1.0.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "1227e44039bd31e02adaeafdbba61281596d623d222643fb021f87f2144ea147";
10 };
11
12 propagatedBuildInputs = [ idna ];
13
14 # Infinite recursion: tests require aiohttp, aiohttp requires idna-ssl
15 doCheck = false;
16
17 meta = with lib; {
18 description = "Patch ssl.match_hostname for Unicode(idna) domains support";
19 homepage = https://github.com/aio-libs/idna-ssl;
20 license = licenses.mit;
21 maintainers = with maintainers; [ dotlambda ];
22 };
23}