Unverified Commit a1edc424 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #264268 from viktornordling/master

python311Packages.prometheus-pandas: init at 0.3.2
parents 7bb282f6 6583bd18
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };