mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 08:34:04 +00:00
python3Packages.netdata-pandas: init at 0.0.41
A helper library to pull data from the netdata REST API into a pandas dataframe. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
e688a60e69
commit
17f3d20478
42
pkgs/development/python-modules/netdata-pandas/default.nix
Normal file
42
pkgs/development/python-modules/netdata-pandas/default.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
|
, pandas
|
||||||
|
, requests
|
||||||
|
, trio
|
||||||
|
, asks
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "netdata-pandas";
|
||||||
|
version = "0.0.41";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "netdata";
|
||||||
|
repo = "netdata-pandas";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-AXt8BKWyM3glm5hrRryb+vBzs3z2x61HhbR6DDZkh9o=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pandas
|
||||||
|
requests
|
||||||
|
trio
|
||||||
|
asks
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "netdata_pandas" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A helper library to pull data from the netdata REST API into a pandas dataframe.";
|
||||||
|
homepage = "https://github.com/netdata/netdata-pandas";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ raitobezarius ];
|
||||||
|
};
|
||||||
|
}
|
@ -8674,6 +8674,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
netdata = callPackage ../development/python-modules/netdata { };
|
netdata = callPackage ../development/python-modules/netdata { };
|
||||||
|
|
||||||
|
netdata-pandas = callPackage ../development/python-modules/netdata-pandas { };
|
||||||
|
|
||||||
netdisco = callPackage ../development/python-modules/netdisco { };
|
netdisco = callPackage ../development/python-modules/netdisco { };
|
||||||
|
|
||||||
nethsm = callPackage ../development/python-modules/nethsm { };
|
nethsm = callPackage ../development/python-modules/nethsm { };
|
||||||
|
Loading…
Reference in New Issue
Block a user