2021-04-22 03:37:48 -07:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2017-07-08 16:13:57 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnspython";
|
2021-03-24 02:28:11 -07:00
|
|
|
version = "2.1.0";
|
2020-08-16 19:13:55 -07:00
|
|
|
disabled = pythonOlder "3.6";
|
2017-07-08 16:13:57 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2021-03-24 02:28:11 -07:00
|
|
|
sha256 = "e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4";
|
2017-07-08 16:13:57 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
# needs networking for some tests
|
|
|
|
doCheck = false;
|
2021-04-22 03:37:48 -07:00
|
|
|
pythonImportsCheck = [ "dns" ];
|
2017-07-08 16:13:57 -07:00
|
|
|
|
2021-04-22 03:37:48 -07:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A DNS toolkit for Python";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://www.dnspython.org";
|
2021-04-22 03:37:48 -07:00
|
|
|
license = with licenses; [ isc ];
|
2017-07-08 16:13:57 -07:00
|
|
|
};
|
|
|
|
}
|