python3Packages.hole: init at 0.5.1

This commit is contained in:
Fabian Affolter 2021-01-02 08:54:05 +01:00
parent a8040c700a
commit 5b29a1f795
3 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
}:
buildPythonPackage rec {
pname = "hole";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "065fxc0l16j8xkjd0y0qar9cmqmjyp8jcshakbakldkfscpx3s5m";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "hole" ];
meta = with lib; {
description = "Python API for interacting with a Pihole instance.";
homepage = "https://github.com/home-assistant-ecosystem/python-hole";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -612,7 +612,7 @@
"person" = ps: with ps; [ aiohttp-cors pillow ]; "person" = ps: with ps; [ aiohttp-cors pillow ];
"philips_js" = ps: with ps; [ ]; # missing inputs: ha-philipsjs "philips_js" = ps: with ps; [ ]; # missing inputs: ha-philipsjs
"pi4ioe5v9xxxx" = ps: with ps; [ ]; # missing inputs: pi4ioe5v9xxxx "pi4ioe5v9xxxx" = ps: with ps; [ ]; # missing inputs: pi4ioe5v9xxxx
"pi_hole" = ps: with ps; [ ]; # missing inputs: hole "pi_hole" = ps: with ps; [ hole ];
"picotts" = ps: with ps; [ ]; "picotts" = ps: with ps; [ ];
"piglow" = ps: with ps; [ ]; # missing inputs: piglow "piglow" = ps: with ps; [ ]; # missing inputs: piglow
"pilight" = ps: with ps; [ ]; # missing inputs: pilight "pilight" = ps: with ps; [ ]; # missing inputs: pilight

View File

@ -2797,6 +2797,8 @@ in {
hocr-tools = callPackage ../development/python-modules/hocr-tools { }; hocr-tools = callPackage ../development/python-modules/hocr-tools { };
hole = callPackage ../development/python-modules/hole { };
holidays = callPackage ../development/python-modules/holidays { }; holidays = callPackage ../development/python-modules/holidays { };
holoviews = callPackage ../development/python-modules/holoviews { }; holoviews = callPackage ../development/python-modules/holoviews { };