python311Packages.prometheus-pandas: init at 0.3.2

This commit is contained in:
Viktor Nordling 2023-10-30 10:41:24 +11:00
parent 800965ce8c
commit 6583bd180c
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

@ -9103,6 +9103,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 { };