blob: b01b82eb9673b788e25621ce6ef6683c0593df16 (
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
|
{ lib
, buildPythonPackage
, c-ares
, cffi
, fetchPypi
, idna
}:
buildPythonPackage rec {
pname = "pycares";
version = "4.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-0BVPxXU7CIdY++ybwTfhsku4T8DGoJclyLrCWjQjEc0=";
};
buildInputs = [
c-ares
];
propagatedBuildInputs = [
cffi
idna
];
# Requires network access
doCheck = false;
pythonImportsCheck = [ "pycares" ];
meta = with lib; {
description = "Python interface for c-ares";
homepage = "https://github.com/saghul/pycares";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|