These sensors are part of their air quality measurements, which just happen to be very close to our server room. Reviewed-by: Aleix Boné <abonerib@bsc.es>
25 lines
414 B
Nix
25 lines
414 B
Nix
{ python3Packages, lib }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "upc-qaire-exporter";
|
|
version = "1.0";
|
|
|
|
src = ./.;
|
|
|
|
doCheck = false;
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = with python3Packages; [
|
|
prometheus-client
|
|
requests
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "UPC Qaire Prometheus Exporter";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|