blob: 4655b929538dd21dfd9d5f2b199f4862c49e5989 (
plain)
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
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
asysocks,
}:
buildPythonPackage rec {
pname = "unidns";
version = "0.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "skelsec";
repo = "unidns";
tag = version;
hash = "sha256-uhTb27HeBaoI4yURpNf1+D6bWIXSsmYzUyk0RJmgbjQ=";
};
build-system = [
setuptools
];
pythonRelaxDeps = [
"asysocks"
];
dependencies = [
asysocks
];
# No tests provided
doCheck = false;
pythonImportsCheck = [
"unidns"
];
meta = {
description = "Basic async DNS library";
homepage = "https://github.com/skelsec/unidns";
changelog = "https://github.com/skelsec/unidns/releases/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sarahec ];
};
}
|