about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2024-03-26 17:03:48 -0300
committerGitHub <noreply@github.com>2024-03-26 17:03:48 -0300
commitfd84c1ff8937685294342c57a656a7066800d01c (patch)
tree190bfa08bd6820b9531c38d2f10c1c93dce8a2c5 /pkgs/by-name
parent52bff701747f8ede8a0026705d923bb3d8407e49 (diff)
parentc7fb03ad0ac2b3a09f7983ec35f5236a595283d5 (diff)
Merge pull request #298943 from Ramblurr/init-hacompanion
hacompanion: init at 1.0.11
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/ha/hacompanion/package.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/by-name/ha/hacompanion/package.nix b/pkgs/by-name/ha/hacompanion/package.nix
new file mode 100644
index 0000000000000..dbf8be29cb463
--- /dev/null
+++ b/pkgs/by-name/ha/hacompanion/package.nix
@@ -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 ];
+  };
+}