mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 10:53:52 +00:00
Merge pull request #127903 from dotlambda/pyaehw4a1-init
This commit is contained in:
commit
f5fff50ad9
31
pkgs/development/python-modules/pyaehw4a1/default.nix
Normal file
31
pkgs/development/python-modules/pyaehw4a1/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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; [ ];
|
||||
|
@ -442,6 +442,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"hddtemp"
|
||||
"heos"
|
||||
"here_travel_time"
|
||||
"hisense_aehw4a1"
|
||||
"history"
|
||||
"history_stats"
|
||||
"hive"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user