Merge pull request #108156 from fabaff/netdata

python3Packages.netdata: init at 0.2.0
This commit is contained in:
Pavol Rusnak 2021-01-02 17:04:30 +01:00 committed by GitHub
commit a565c84652
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
}:
buildPythonPackage rec {
pname = "netdata";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "14kyjp1q3clizs1bqx4rp31d2awjmi5v65z8sarr2ycgwqqmkrzw";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# no tests are present
doCheck = false;
pythonImportsCheck = [ "netdata" ];
meta = with lib; {
description = "Python API for interacting with Netdata";
homepage = "https://github.com/home-assistant-ecosystem/python-netdata";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -534,7 +534,7 @@
"ness_alarm" = ps: with ps; [ ]; # missing inputs: nessclient
"nest" = ps: with ps; [ aiohttp-cors ha-ffmpeg python-nest ]; # missing inputs: google-nest-sdm
"netatmo" = ps: with ps; [ aiohttp-cors hass-nabucasa pyatmo ];
"netdata" = ps: with ps; [ ]; # missing inputs: netdata
"netdata" = ps: with ps; [ netdata ];
"netgear" = ps: with ps; [ ]; # missing inputs: pynetgear
"netgear_lte" = ps: with ps; [ ]; # missing inputs: eternalegypt
"netio" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pynetio

View file

@ -4139,6 +4139,8 @@ in {
netcdf4 = callPackage ../development/python-modules/netcdf4 { };
netdata = callPackage ../development/python-modules/netdata { };
netdisco = callPackage ../development/python-modules/netdisco { };
netifaces = callPackage ../development/python-modules/netifaces { };