2020-08-17 03:13:55 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, pythonOlder }:
|
2017-07-09 00:13:57 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnspython";
|
2020-08-16 18:30:58 +01:00
|
|
|
version = "2.0.0";
|
2020-08-17 03:13:55 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
2017-07-09 00:13:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2020-08-16 18:30:58 +01:00
|
|
|
sha256 = "044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7";
|
2017-07-09 00:13:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# needs networking for some tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A DNS toolkit for Python 3.x";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.dnspython.org";
|
2020-10-02 08:58:50 +01:00
|
|
|
# BSD-like, check https://www.dnspython.org/LICENSE for details
|
2017-07-09 00:13:57 +01:00
|
|
|
license = lib.licenses.free;
|
|
|
|
};
|
|
|
|
}
|