Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / hole / default.nix
blob87c63be32e8ccf9e16aecc4a4111760b9d03317f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , aiohttp
5 , async-timeout
6 }:
8 buildPythonPackage rec {
9   pname = "hole";
10   version = "0.5.1";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "065fxc0l16j8xkjd0y0qar9cmqmjyp8jcshakbakldkfscpx3s5m";
15   };
17   propagatedBuildInputs = [
18     aiohttp
19     async-timeout
20   ];
22   # no tests are present
23   doCheck = false;
25   pythonImportsCheck = [ "hole" ];
27   meta = with lib; {
28     description = "Python API for interacting with a Pihole instance.";
29     homepage = "https://github.com/home-assistant-ecosystem/python-hole";
30     license = with licenses; [ mit ];
31     maintainers = with maintainers; [ fab ];
32   };