1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 17:01:10 +03:00
nixpkgs/pkgs/development/python-modules/prometheus-pandas/default.nix

39 lines
717 B
Nix
Raw Normal View History

2024-05-22 16:01:06 +02:00
{
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=";
};
2024-05-22 16:01:06 +02:00
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
numpy
pandas
];
# There are no tests. :(
doCheck = false;
2024-05-22 16:01:06 +02:00
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 ];
};
}