Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 23 lines 620 B view raw
1{ lib, buildPythonPackage, fetchPypi, idna }: 2 3buildPythonPackage rec { 4 pname = "idna-ssl"; 5 version = "1.0.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1293f030bc608e9aa9cdee72aa93c1521bbb9c7698068c61c9ada6772162b979"; 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}