mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
33 lines
716 B
Nix
33 lines
716 B
Nix
{ lib
|
|
, fetchurl
|
|
, python
|
|
}:
|
|
|
|
python.pkgs.buildPythonPackage rec {
|
|
pname = "prometheus-api-client";
|
|
version = "0.5.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://pypi.org/packages/source/p/prometheus-api-client/prometheus-api-client-0.5.4.tar.gz";
|
|
sha256 = "sha256-OFaBB+GCqibyJZn3lCFeo93l7NPvFJRO72FO6qRsm2o=";
|
|
};
|
|
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "prometheus_api_client" ];
|
|
|
|
propagatedBuildInputs = with python.pkgs; [
|
|
matplotlib
|
|
numpy
|
|
pandas
|
|
requests
|
|
dateparser
|
|
httmock
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A Python wrapper for the Prometheus HTTP API";
|
|
homepage = "https://github.com/4n4nd/prometheus-api-client-python";
|
|
license = licenses.mit;
|
|
};
|
|
}
|