nixpkgs/pkgs/development/python-modules/dnspython/default.nix

24 lines
580 B
Nix
Raw Normal View History

{ 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";
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";
homepage = "http://www.dnspython.org";
2017-07-09 00:13:57 +01:00
# BSD-like, check http://www.dnspython.org/LICENSE for details
license = lib.licenses.free;
};
}