Merge pull request #146360 from fabaff/niko-home-control
python3Packages.niko-home-control: init at 0.2.2
This commit is contained in:
commit
56e7135fde
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, nclib
|
||||
, netaddr
|
||||
, netifaces
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "niko-home-control";
|
||||
version = "0.2.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NoUseFreak";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0ah02dfnnbk98grvd180fp9rak5gpi58xiql1yyzig5pcbjidvk3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
nclib
|
||||
netaddr
|
||||
netifaces
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"nikohomecontrol"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python SDK for Niko Home Control";
|
||||
homepage = "https://github.com/NoUseFreak/niko-home-control";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -573,7 +573,7 @@
|
||||
"nextcloud" = ps: with ps; [ nextcloudmonitor ];
|
||||
"nfandroidtv" = ps: with ps; [ ]; # missing inputs: notifications-android-tv
|
||||
"nightscout" = ps: with ps; [ ]; # missing inputs: py-nightscout
|
||||
"niko_home_control" = ps: with ps; [ ]; # missing inputs: niko-home-control
|
||||
"niko_home_control" = ps: with ps; [ niko-home-control ];
|
||||
"nilu" = ps: with ps; [ niluclient ];
|
||||
"nissan_leaf" = ps: with ps; [ pycarwings2 ];
|
||||
"nmap_tracker" = ps: with ps; [ aiohttp-cors getmac ifaddr netmap ]; # missing inputs: mac-vendor-lookup
|
||||
|
@ -5108,6 +5108,8 @@ in {
|
||||
|
||||
Nikola = callPackage ../development/python-modules/Nikola { };
|
||||
|
||||
niko-home-control = callPackage ../development/python-modules/niko-home-control { };
|
||||
|
||||
nilearn = callPackage ../development/python-modules/nilearn { };
|
||||
|
||||
niluclient = callPackage ../development/python-modules/niluclient { };
|
||||
|
Loading…
Reference in New Issue
Block a user