70f40e0a3b
Diff: https://github.com/saghul/aiodns/compare/v3.5.0...v3.6.1 Changelog: https://github.com/saghul/aiodns/releases/tag/v3.6.1
38 lines
768 B
Nix
38 lines
768 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pycares,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiodns";
|
|
version = "3.6.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "saghul";
|
|
repo = "aiodns";
|
|
tag = "v${version}";
|
|
hash = "sha256-dRniMwmDAj8KtM/qMEJieUFq5h0e+PJydXpOT6xZA34=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ pycares ];
|
|
|
|
# Could not contact DNS servers
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "aiodns" ];
|
|
|
|
meta = {
|
|
description = "Simple DNS resolver for asyncio";
|
|
homepage = "https://github.com/saghul/aiodns";
|
|
changelog = "https://github.com/saghul/aiodns/releases/tag/${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|