blob: 1da999978b58d33359abcb3acef17fe6aa6d14a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pycares
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "aiodns";
version = "3.1.1";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "saghul";
repo = "aiodns";
rev = "refs/tags/v${version}";
sha256 = "sha256-JZS53kICsrXDot3CKjG30AOjkYycKpMJvC9yS3c1v5Q=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pycares
];
# Could not contact DNS servers
doCheck = false;
pythonImportsCheck = [
"aiodns"
];
meta = with lib; {
description = "Simple DNS resolver for asyncio";
homepage = "https://github.com/saghul/aiodns";
changelog = "https://github.com/saghul/aiodns/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|