Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 72 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ lib, aioquic, buildPythonPackage, cacert, cryptography, curio, fetchPypi, h2, httpcore, httpx, idna, hatchling, pytestCheckHook, pythonOlder, requests, requests-toolbelt, sniffio, trio,}:
buildPythonPackage rec { pname = "dnspython"; version = "2.7.0"; format = "pyproject";
disabled = pythonOlder "3.9";
src = fetchPypi { inherit pname version; hash = "sha256-zpxDLtoNyRz2GKXO3xpOFCZRGWu80sgOie1akH5c+vE="; };
nativeBuildInputs = [ hatchling ];
optional-dependencies = { DOH = [ httpx h2 requests requests-toolbelt httpcore ]; IDNA = [ idna ]; DNSSEC = [ cryptography ]; trio = [ trio ]; curio = [ curio sniffio ]; DOQ = [ aioquic ]; };
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ cacert ] ++ optional-dependencies.DNSSEC;
disabledTests = [ # dns.exception.SyntaxError: protocol not found "test_misc_good_WKS_text" ];
pythonImportsCheck = [ "dns" ];
meta = with lib; { description = "DNS toolkit for Python"; homepage = "https://www.dnspython.org"; changelog = "https://github.com/rthalley/dnspython/blob/v${version}/doc/whatsnew.rst"; license = with licenses; [ isc ]; maintainers = with maintainers; [ gador ]; };}