depot/third_party/nixpkgs/pkgs/development/python-modules/prometheus-pandas/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

41 lines
721 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, numpy
, pandas
}:
buildPythonPackage rec {
pname = "prometheus-pandas";
version = "0.3.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-1eaTmNui3cAisKEhBMEpOv+UndJZwb4GGK2M76xiy7k=";
};
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 ];
};
}