1{ lib, buildPythonPackage, fetchPypi, idna }:
2
3buildPythonPackage rec {
4 pname = "idna-ssl";
5 version = "1.1.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c";
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}