2020-09-25 04:45:31 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, pythonOlder }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnspython";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "2.0.0";
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# needs networking for some tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A DNS toolkit for Python 3.x";
|
|
|
|
homepage = "http://www.dnspython.org";
|
|
|
|
# BSD-like, check http://www.dnspython.org/LICENSE for details
|
|
|
|
license = lib.licenses.free;
|
|
|
|
};
|
|
|
|
}
|