1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5, numpy
6, pandas
7}:
8
9buildPythonPackage rec {
10 pname = "prometheus-pandas";
11 version = "0.3.2";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-zysdlYPjvhextAfW4vvGN6mSPVUbWLV+AvQ1hGWCAbw=";
17 };
18
19 nativeBuildInputs = [
20 setuptools
21 ];
22
23 propagatedBuildInputs = [
24 numpy
25 pandas
26 ];
27
28 # There are no tests. :(
29 doCheck = false;
30
31 pythonImportsCheck = [
32 "prometheus_pandas"
33 ];
34
35 meta = with lib; {
36 homepage = "https://github.com/dcoles/prometheus-pandas";
37 license = licenses.mit;
38 description = "Pandas integration for Prometheus";
39 maintainers = with maintainers; [ viktornordling ];
40 };
41}