Merge pull request #127915 from dotlambda/hlk-sw16-init

This commit is contained in:
Martin Weinelt 2021-06-23 17:05:03 +02:00 committed by GitHub
commit 78fcfc560f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "hlk-sw16";
version = "0.0.9";
src = fetchFromGitHub {
owner = "jameshilliard";
repo = "hlk-sw16";
rev = version;
sha256 = "010s85nr6xn89i8yvdagg72a97dh1v2pyfqa33v76p9p8xbgh8dz";
};
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "hlk_sw16" ];
meta = with lib; {
description = "Python client for HLK-SW16";
homepage = "https://github.com/jameshilliard/hlk-sw16";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -353,7 +353,7 @@
"history_stats" = ps: with ps; [ sqlalchemy ];
"hitron_coda" = ps: with ps; [ ];
"hive" = ps: with ps; [ pyhiveapi ];
"hlk_sw16" = ps: with ps; [ ]; # missing inputs: hlk-sw16
"hlk_sw16" = ps: with ps; [ hlk-sw16 ];
"home_connect" = ps: with ps; [ aiohttp-cors homeconnect ];
"home_plus_control" = ps: with ps; [ aiohttp-cors homepluscontrol ];
"homeassistant" = ps: with ps; [ ];

View file

@ -446,6 +446,7 @@ in with py.pkgs; buildPythonApplication rec {
"history"
"history_stats"
"hive"
"hlk_sw16"
"home_connect"
"home_plus_control"
"homeassistant"

View file

@ -3252,6 +3252,8 @@ in {
hkdf = callPackage ../development/python-modules/hkdf { };
hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { };
hmmlearn = callPackage ../development/python-modules/hmmlearn { };
hocr-tools = callPackage ../development/python-modules/hocr-tools { };