Merge pull request #264268 from viktornordling/master

python311Packages.prometheus-pandas: init at 0.3.2
This commit is contained in:
OTABI Tomoya 2023-11-03 19:38:16 +09:00 committed by GitHub
commit a1edc424af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, numpy
, pandas
}:
buildPythonPackage rec {
pname = "prometheus-pandas";
version = "0.3.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-zysdlYPjvhextAfW4vvGN6mSPVUbWLV+AvQ1hGWCAbw=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
numpy
pandas
];
# There are no tests. :(
doCheck = false;
pythonImportsCheck = [
"prometheus_pandas"
];
meta = with lib; {
homepage = "https://github.com/dcoles/prometheus-pandas";
license = licenses.mit;
description = "Pandas integration for Prometheus";
maintainers = with maintainers; [ viktornordling ];
};
}

View File

@ -9105,6 +9105,8 @@ self: super: with self; {
prodict = callPackage ../development/python-modules/prodict { };
prometheus-pandas = callPackage ../development/python-modules/prometheus-pandas { };
prophet = callPackage ../development/python-modules/prophet { };
propka = callPackage ../development/python-modules/propka { };