writers: add writeGuile[Bin] (#364531)
[NixPkgs.git] / pkgs / development / python-modules / aiodns / default.nix
blob95b17ac6a25ac0a8cf68561d9ad3cc1995f594c5
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pycares,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "aiodns";
12   version = "3.2.0";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "saghul";
19     repo = "aiodns";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-aXae9/x0HVp4KqydCf5/+p5PlSKUQ5cE3iVeD08rtf0=";
22   };
24   build-system = [ setuptools ];
26   dependencies = [ pycares ];
28   # Could not contact DNS servers
29   doCheck = false;
31   pythonImportsCheck = [ "aiodns" ];
33   meta = with lib; {
34     description = "Simple DNS resolver for asyncio";
35     homepage = "https://github.com/saghul/aiodns";
36     changelog = "https://github.com/saghul/aiodns/releases/tag/v${version}";
37     license = licenses.mit;
38     maintainers = with maintainers; [ fab ];
39   };