mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #127934 from dotlambda/huisbaasje-client-init
This commit is contained in:
commit
aef37a5de2
4 changed files with 38 additions and 1 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -459,6 +459,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"http"
|
||||
"huawei_lte"
|
||||
"hue"
|
||||
"huisbaasje"
|
||||
"humidifier"
|
||||
"hvv_departures"
|
||||
"hyperion"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue