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

28 lines
561 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
2017-07-09 01:13:57 +02:00
buildPythonPackage rec {
pname = "dnspython";
version = "2.1.0";
disabled = pythonOlder "3.6";
2017-07-09 01:13:57 +02:00
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4";
2017-07-09 01:13:57 +02:00
};
# needs networking for some tests
doCheck = false;
pythonImportsCheck = [ "dns" ];
2017-07-09 01:13:57 +02:00
meta = with lib; {
description = "A DNS toolkit for Python";
homepage = "http://www.dnspython.org";
license = with licenses; [ isc ];
2017-07-09 01:13:57 +02:00
};
}