Skip to content

Commit

Permalink
python3Packages.dnspython: 2.1.0 -> 2.2.0
Browse files Browse the repository at this point in the history
needed for pgadmin4 init
#154764
include fix for missing /etc/protocols
rthalley/dnspython#662
  • Loading branch information
gador committed Jan 18, 2022
1 parent 2dd5461 commit 357a1d1
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions pkgs/development/python-modules/dnspython/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,40 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools-scm
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "dnspython";
version = "2.1.0";
version = "2.2.0";
disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4";
extension = "tar.gz";
sha256 = "1mi6l2n766y1gic3x1swp2jk2nr7wbkb191qinwhddnh6bh534z7";
};

# needs networking for some tests
doCheck = false;
checkInputs = [
pytestCheckHook
];

disabledTests = [
# dns.exception.SyntaxError: protocol not found
"test_misc_good_WKS_text"
];

nativeBuildInputs = [
setuptools-scm
];

pythonImportsCheck = [ "dns" ];

meta = with lib; {
description = "A DNS toolkit for Python";
homepage = "https://www.dnspython.org";
license = with licenses; [ isc ];
maintainers = with maintainers; [ gador ];
};
}

0 comments on commit 357a1d1

Please sign in to comment.