summary refs log tree commit diff
path: root/pkgs/development/python-modules/pycares/default.nix
blob: 4755bf908fdaaa2a6b8d36825f56b6335388ea05 (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
{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
}:

buildPythonPackage rec {
  pname = "pycares";
  version = "2.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0h4fxw5drrhfyslzmfpljk0qnnpbhhb20hnnndzahhbwylyw1x1n";
  };

  propagatedBuildInputs = [ pkgs.c-ares ];

  # No tests included
  doCheck = false;

  meta = with stdenv.lib; {
    homepage = https://github.com/saghul/pycares;
    description = "Interface for c-ares";
    license = licenses.mit;
  };

}