Merge pull request #128618 from dotlambda/smarthab-init

This commit is contained in:
Martin Weinelt
2021-06-29 15:27:35 +02:00
committed by GitHub
4 changed files with 36 additions and 1 deletions
@@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
}:
buildPythonPackage rec {
pname = "smarthab";
version = "0.21";
src = fetchPypi {
pname = "SmartHab";
inherit version;
sha256 = "bf929455a2f7cc1e275b331de73d983587138a8d9179574988ba05fa152d3ccf";
};
propagatedBuildInputs = [
aiohttp
];
# no tests on PyPI, no tags on GitLab
doCheck = false;
pythonImportsCheck = [ "pysmarthab" ];
meta = with lib; {
description = "Control devices in a SmartHab-powered home";
homepage = "https://gitlab.com/outadoc/python-smarthab";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}
@@ -768,7 +768,7 @@
"sma" = ps: with ps; [ pysma ];
"smappee" = ps: with ps; [ aiohttp-cors pysmappee ];
"smart_meter_texas" = ps: with ps; [ ]; # missing inputs: smart-meter-texas
"smarthab" = ps: with ps; [ ]; # missing inputs: smarthab
"smarthab" = ps: with ps; [ smarthab ];
"smartthings" = ps: with ps; [ aiohttp-cors hass-nabucasa pysmartapp pysmartthings ];
"smarttub" = ps: with ps; [ python-smarttub ];
"smarty" = ps: with ps; [ ]; # missing inputs: pysmarty
+1
View File
@@ -657,6 +657,7 @@ in with py.pkgs; buildPythonApplication rec {
"sleepiq"
"sma"
"smappee"
"smarthab"
"smartthings"
"smarttub"
"smhi"
+2
View File
@@ -7986,6 +7986,8 @@ in {
smart-open = callPackage ../development/python-modules/smart-open { };
smarthab = callPackage ../development/python-modules/smarthab { };
smartypants = callPackage ../development/python-modules/smartypants { };
smbprotocol = callPackage ../development/python-modules/smbprotocol { };