home-assistant-custom-components.prometheus-sensor: init at 1.0.0

Import 🔥 Prometheus query results into 🏡 Home Assistant 📈
https://github.com/mweinelt/ha-prometheus-sensor
This commit is contained in:
Martin Weinelt 2022-02-01 02:43:50 +01:00
parent 31e60c2fbb
commit 047b9665f2
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 27 additions and 0 deletions

View File

@ -2,4 +2,5 @@
}:
{
prometheus-sensor = callPackage ./prometheus-sensor {};
}

View File

@ -0,0 +1,26 @@
{ lib
, fetchFromGitHub
, buildHomeAssistantComponent
}:
buildHomeAssistantComponent rec {
pname = "prometheus-sensor";
version = "1.0.0";
src = fetchFromGitHub {
owner = "mweinelt";
repo = "ha-prometheus-sensor";
rev = "refs/tags/${version}";
hash = "sha256-10COLFXvmpm8ONLyx5c0yiQdtuP0SC2NKq/ZYHro9II=";
};
dontBuild = true;
meta = with lib; {
changelog = "https://github.com/mweinelt/ha-prometheus-sensor/blob/${version}/CHANGELOG.md";
description = "Import prometheus query results into Home Assistant";
homepage = "https://github.com/mweinelt/ha-prometheus-sensor";
maintainers = with maintainers; [ hexa ];
license = licenses.mit;
};
}