Merge pull request #166333 from SuperSandro2000/doh-proxy
commit
1136ad6c65
@ -1,24 +0,0 @@ |
||||
{ lib, buildPythonPackage, isPy3k, fetchPypi, h2, priority }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "aioh2"; |
||||
version = "0.2.2"; |
||||
disabled = !isPy3k; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "03i24wzpw0mrnrpck3w6qy83iigwl7n99sdrndqzxfyrc69b99wd"; |
||||
}; |
||||
|
||||
propagatedBuildInputs = [ h2 priority ]; |
||||
|
||||
doCheck = false; # https://github.com/decentfox/aioh2/issues/17 |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://github.com/decentfox/aioh2"; |
||||
description = "HTTP/2 implementation with hyper-h2 on Python 3 asyncio"; |
||||
license = licenses.bsd3; |
||||
maintainers = [ maintainers.qyliss ]; |
||||
broken = true; # requires h2<4 |
||||
}; |
||||
} |
@ -1,40 +0,0 @@ |
||||
{ lib, python3Packages }: |
||||
|
||||
with python3Packages; |
||||
buildPythonApplication rec { |
||||
pname = "doh-proxy"; |
||||
version = "0.0.9"; |
||||
|
||||
src = python3Packages.fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "1fxzxipzdvk75yrcr78mpdz8lwpisba67lk4jcwxdnkv6997dwfp"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ pytest-runner flake8]; |
||||
|
||||
propagatedBuildInputs = [ |
||||
aioh2 |
||||
dnspython |
||||
aiohttp-remotes |
||||
]; |
||||
|
||||
checkInputs = [ |
||||
asynctest |
||||
unittest-data-provider |
||||
pytest |
||||
pytest-cov |
||||
pytest-aiohttp |
||||
]; |
||||
|
||||
# attempts to resolve address |
||||
checkPhase = '' |
||||
pytest -k 'not servers' |
||||
''; |
||||
|
||||
meta = with lib; { |
||||
homepage = "https://facebookexperimental.github.io/doh-proxy/"; |
||||
description = "A proof of concept DNS-Over-HTTPS proxy"; |
||||
license = licenses.bsd3; |
||||
maintainers = [ maintainers.qyliss ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue