diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-01 20:16:34 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-01 20:16:34 +0100 |
commit | c5ce74fcf23ae81bfce829fcb93460d7801e27bb (patch) | |
tree | dd0f6fc00880183956a8287fd310f57cb78c7eae /pkgs/development/python-modules/netdata | |
parent | d4a76b1f5fb48896a3348c394196e7552e3eb9ef (diff) |
python3Packages.netdata: init at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules/netdata')
-rw-r--r-- | pkgs/development/python-modules/netdata/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/netdata/default.nix b/pkgs/development/python-modules/netdata/default.nix new file mode 100644 index 0000000000000..f4e625b12b4e9 --- /dev/null +++ b/pkgs/development/python-modules/netdata/default.nix @@ -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 ]; + }; +} |