Merge pull request #127903 from dotlambda/pyaehw4a1-init

This commit is contained in:
Martin Weinelt 2021-06-23 16:34:57 +02:00 committed by GitHub
commit f5fff50ad9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pyaehw4a1";
version = "0.3.9";
disabled = isPy27;
src = fetchFromGitHub {
owner = "bannhead";
repo = "pyaehw4a1";
rev = "v${version}";
sha256 = "0grs7kiyhzlwqzmw2yxkkglnwjfpimgwxbgp0047rlp3k8md7sjv";
};
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "pyaehw4a1" ];
meta = with lib; {
description = "Python interface for Hisense AEH-W4A1 module";
homepage = "https://github.com/bannhead/pyaehw4a1";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -348,7 +348,7 @@
"here_travel_time" = ps: with ps; [ herepy ];
"hikvision" = ps: with ps; [ ]; # missing inputs: pyhik
"hikvisioncam" = ps: with ps; [ ]; # missing inputs: hikvision
"hisense_aehw4a1" = ps: with ps; [ ]; # missing inputs: pyaehw4a1
"hisense_aehw4a1" = ps: with ps; [ pyaehw4a1 ];
"history" = ps: with ps; [ aiohttp-cors sqlalchemy ];
"history_stats" = ps: with ps; [ sqlalchemy ];
"hitron_coda" = ps: with ps; [ ];

View file

@ -442,6 +442,7 @@ in with py.pkgs; buildPythonApplication rec {
"hddtemp"
"heos"
"here_travel_time"
"hisense_aehw4a1"
"history"
"history_stats"
"hive"

View file

@ -5275,6 +5275,8 @@ in {
ppdeep = callPackage ../development/python-modules/ppdeep { };
pyaehw4a1 = callPackage ../development/python-modules/pyaehw4a1 { };
pyatag = callPackage ../development/python-modules/pyatag { };
pycontrol4 = callPackage ../development/python-modules/pycontrol4 { };