Merge pull request #127915 from dotlambda/hlk-sw16-init
This commit is contained in:
commit
78fcfc560f
4 changed files with 32 additions and 1 deletions
28
pkgs/development/python-modules/hlk-sw16/default.nix
Normal file
28
pkgs/development/python-modules/hlk-sw16/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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; [ ];
|
||||
|
|
|
@ -446,6 +446,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"history"
|
||||
"history_stats"
|
||||
"hive"
|
||||
"hlk_sw16"
|
||||
"home_connect"
|
||||
"home_plus_control"
|
||||
"homeassistant"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue