Unverified Commit fd84c1ff authored by superherointj's avatar superherointj Committed by GitHub
Browse files

Merge pull request #298943 from Ramblurr/init-hacompanion

hacompanion: init at 1.0.11
parents 52bff701 c7fb03ad
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
{ lib,
  fetchFromGitHub,
  buildGoModule
}:

buildGoModule rec {
  pname = "hacompanion";
  version = "1.0.11";

  src = fetchFromGitHub {
    owner = "tobias-kuendig";
    repo = "hacompanion";
    rev = "v${version}";
    hash = "sha256-gTsA5XBjLlm/cITwQwYNudPK9SbSEaiAIjjdvRS3+8Q=";
  };

  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 ];
  };
}