2021-04-22 11:37:48 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2020-09-03 18:16:59 +01: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-04-22 11:37:48 +01:00
|
|
|
pythonImportsCheck = [ "dns" ];
|
2020-09-03 18:16:59 +01:00
|
|
|
|
2021-04-22 11:37:48 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A DNS toolkit for Python";
|
2020-09-03 18:16:59 +01:00
|
|
|
homepage = "http://www.dnspython.org";
|
2021-04-22 11:37:48 +01:00
|
|
|
license = with licenses; [ isc ];
|
2020-09-03 18:16:59 +01:00
|
|
|
};
|
|
|
|
}
|