mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00

This reverts commit65a333600d
. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
43 lines
819 B
Nix
43 lines
819 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|