mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
28 lines
743 B
Nix
28 lines
743 B
Nix
{ lib,
|
|
fetchFromGitHub,
|
|
buildGoModule
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "hacompanion";
|
|
version = "1.0.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tobias-kuendig";
|
|
repo = "hacompanion";
|
|
rev = "v${version}";
|
|
hash = "sha256-FR2IowbaHXr9x/eMt+NCuGusMwX2iVxPOuWEkhH2GFM=";
|
|
};
|
|
|
|
vendorHash = "sha256-ZZ8nxN+zUeFhSXyoHLMgzeFllnIkKdoVnbVK5KjrLEQ=";
|
|
|
|
meta = {
|
|
changelog = "https://github.com/tobias-kuendig/hacompanion/releases/tag/v${version}";
|
|
description = "Daemon that sends local hardware information to Home Assistant";
|
|
homepage = "https://github.com/tobias-kuendig/hacompanion";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ ramblurr ];
|
|
};
|
|
}
|