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