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

24 lines
581 B
Nix
Raw Normal View History

{ buildPythonPackage, fetchPypi, lib, pythonOlder }:
2017-07-09 00:13:57 +01:00
buildPythonPackage rec {
pname = "dnspython";
version = "2.1.0";
disabled = pythonOlder "3.6";
2017-07-09 00:13:57 +01:00
src = fetchPypi {
inherit pname version;
extension = "zip";
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";
homepage = "http://www.dnspython.org";
# BSD-like, check https://www.dnspython.org/LICENSE for details
2017-07-09 00:13:57 +01:00
license = lib.licenses.free;
};
}