Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2316f54f252d
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a565c846522b
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Jan 1, 2021

  1. Copy the full SHA
    c5ce74f View commit details

Commits on Jan 2, 2021

  1. Merge pull request #108156 from fabaff/netdata

    python3Packages.netdata: init at 0.2.0
    prusnak authored Jan 2, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a565c84 View commit details
Showing with 36 additions and 1 deletion.
  1. +33 −0 pkgs/development/python-modules/netdata/default.nix
  2. +1 −1 pkgs/servers/home-assistant/component-packages.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
33 changes: 33 additions & 0 deletions pkgs/development/python-modules/netdata/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };