mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-29 17:30:19 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #580644
38 lines
806 B
Nix
38 lines
806 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pycares,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aiodns";
|
|
version = "4.0.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aio-libs";
|
|
repo = "aiodns";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-TLiiSRhZaEbHeyrQPk8uvj10VEttRanYEgkBy7DxH4Y=";
|
|
};
|
|
|
|
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/aio-libs/aiodns";
|
|
changelog = "https://github.com/aio-libs/aiodns/releases/tag/${finalAttrs.src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|