Merge pull request #166333 from SuperSandro2000/doh-proxy

main
Sandro 2 years ago committed by GitHub
commit 1136ad6c65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      pkgs/development/python-modules/aioh2/default.nix
  2. 40
      pkgs/servers/dns/doh-proxy/default.nix
  3. 1
      pkgs/top-level/aliases.nix
  4. 2
      pkgs/top-level/all-packages.nix
  5. 1
      pkgs/top-level/python-aliases.nix
  6. 2
      pkgs/top-level/python-packages.nix

@ -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 ];
};
}

@ -310,6 +310,7 @@ mapAliases ({
docbook5_xsl = throw "'docbook5_xsl' has been renamed to/replaced by 'docbook_xsl_ns'"; # Converted to throw 2022-02-22
docbookrx = throw "docbookrx has been removed since it was unmaintained"; # Added 2021-01-12
docbook_xml_xslt = throw "'docbook_xml_xslt' has been renamed to/replaced by 'docbook_xsl'"; # Converted to throw 2022-02-22
doh-proxy = throw "doh-proxy has been removed because upstream abandoned it and its depedencies where removed."; # Added 2022-03-30
docker_compose = throw "'docker_compose' has been renamed to/replaced by 'docker-compose'"; # Converted to throw 2022-02-22
dolphinEmu = dolphin-emu; # Added 2021-11-10
dolphinEmuMaster = dolphin-emu-beta; # Added 2021-11-10

@ -21211,8 +21211,6 @@ with pkgs;
dex2jar = callPackage ../development/tools/java/dex2jar { };
doh-proxy = callPackage ../servers/dns/doh-proxy { };
doh-proxy-rust = callPackage ../servers/dns/doh-proxy-rust {
inherit (darwin.apple_sdk.frameworks) Security;
};

@ -33,6 +33,7 @@ in
### Deprecated aliases - for backward compatibility
mapAliases ({
aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30
anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
asyncio-nats-client = nats-py; # added 2022-02-08
bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15

@ -289,8 +289,6 @@ in {
aiogithubapi = callPackage ../development/python-modules/aiogithubapi { };
aioh2 = callPackage ../development/python-modules/aioh2 { };
aioharmony = callPackage ../development/python-modules/aioharmony { };
aiohomekit = callPackage ../development/python-modules/aiohomekit { };

Loading…
Cancel
Save