mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
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:
parent
31e60c2fbb
commit
047b9665f2
@ -2,4 +2,5 @@
|
||||
}:
|
||||
|
||||
{
|
||||
prometheus-sensor = callPackage ./prometheus-sensor {};
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user