Merge pull request #127934 from dotlambda/huisbaasje-client-init

This commit is contained in:
Martin Weinelt 2021-06-23 20:58:26 +02:00 committed by GitHub
commit aef37a5de2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 1 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, aiohttp
}:
buildPythonPackage rec {
pname = "huisbaasje-client";
version = "0.1.0";
disabled = pythonOlder "3.6"; # requires python version >=3.6
src = fetchPypi {
inherit pname version;
sha256 = "6bc02384c37aba01719269b05882572050c80cd9abf98caa38519308e05b7db8";
};
propagatedBuildInputs = [
aiohttp
];
# no tests on PyPI, no tags on GitHub
doCheck = false;
pythonImportsCheck = [ "huisbaasje.huisbaasje" ];
meta = with lib; {
description = "Client for Huisbaasje";
homepage = "https://github.com/denniss17/huisbaasje-client";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -371,7 +371,7 @@
"huawei_lte" = ps: with ps; [ getmac huawei-lte-api stringcase url-normalize ];
"huawei_router" = ps: with ps; [ ];
"hue" = ps: with ps; [ aiohue ];
"huisbaasje" = ps: with ps; [ ]; # missing inputs: huisbaasje-client
"huisbaasje" = ps: with ps; [ huisbaasje-client ];
"humidifier" = ps: with ps; [ ];
"hunterdouglas_powerview" = ps: with ps; [ ]; # missing inputs: aiopvapi
"hvv_departures" = ps: with ps; [ pygti ];

View file

@ -459,6 +459,7 @@ in with py.pkgs; buildPythonApplication rec {
"http"
"huawei_lte"
"hue"
"huisbaasje"
"humidifier"
"hvv_departures"
"hyperion"

View file

@ -3330,6 +3330,8 @@ in {
huggingface-hub = callPackage ../development/python-modules/huggingface-hub { };
huisbaasje-client = callPackage ../development/python-modules/huisbaasje-client { };
humanfriendly = callPackage ../development/python-modules/humanfriendly { };
humanize = callPackage ../development/python-modules/humanize { };