2020-08-17 03:13:55 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, pythonOlder }:
|
2017-07-09 00:13:57 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnspython";
|
2021-03-24 09:28:11 +00:00
|
|
|
version = "2.1.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";
|
2021-03-24 09:28:11 +00:00
|
|
|
sha256 = "e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4";
|
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;
|
|
|
|
};
|
|
|
|
}
|