Skip to content

Commit

Permalink
Merge pull request NixOS#298943 from Ramblurr/init-hacompanion
Browse files Browse the repository at this point in the history
hacompanion: init at 1.0.11
  • Loading branch information
superherointj authored Mar 26, 2024
2 parents 52bff70 + c7fb03a commit fd84c1f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/by-name/ha/hacompanion/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ 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 ];
};
}

0 comments on commit fd84c1f

Please sign in to comment.