2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnspython";
|
|
|
|
version = "1.16.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
|
|
|
sha256 = "36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01";
|
|
|
|
};
|
|
|
|
|
|
|
|
# needs networking for some tests
|
|
|
|
doCheck = false;
|
2021-05-20 23:08:51 +00:00
|
|
|
pythonImportsCheck = [ "dns" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A DNS toolkit for Python";
|
2020-09-25 04:45:31 +00:00
|
|
|
homepage = "http://www.dnspython.org";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = with licenses; [ isc ];
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|