32 lines
867 B
Nix
32 lines
867 B
Nix
{ pkgs, ... }:
|
|
let
|
|
ha-icloud3 = pkgs.buildHomeAssistantComponent rec {
|
|
owner = "gcobb321";
|
|
domain = "icloud3";
|
|
version = "3.2.2.3";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = owner;
|
|
repo = "icloud3";
|
|
rev = "v.${version}";
|
|
hash = "sha256-OjXioS73jE/U2YeKYf84QnStdQj3Seid4hJ2TH6z13M=";
|
|
};
|
|
|
|
propagatedBuildInputs = with pkgs.python3Packages; [
|
|
srp
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/gcobb321/icloud3/releases/tag/${version}";
|
|
description = "Cloud3 is a device tracker custom component that tracks your iPhones, iPads and Apple Watches. Devices in the Family Sharing List and the HA Mobile App Integration are trackable.";
|
|
homepage = "https://github.com/gcobb321/icloud3";
|
|
maintainers = [ ];
|
|
};
|
|
};
|
|
in
|
|
{
|
|
services.home-assistant.customComponents = [
|
|
ha-icloud3
|
|
];
|
|
}
|