nixpkgs/pkgs/servers/home-assistant/custom-components/pi-hole-v6/package.nix

33 lines
945 B
Nix

{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
}:
buildHomeAssistantComponent rec {
owner = "bastgau";
domain = "pi_hole_v6";
version = "1.18.0";
src = fetchFromGitHub {
inherit owner;
repo = "ha-pi-hole-v6";
tag = "v${version}";
hash = "sha256-nMaECGuIAAcE9IPgiT2iPHh1RrCPOSd/sqY9KFKDacM=";
};
# has no tests
doCheck = false;
meta = {
changelog = "https://github.com/bastgau/ha-pi-hole-v6/releases/tag/${src.tag}";
description = "Pi-hole V6 Integration for Home Assistant";
longDescription = ''
This custom integration restored compatibility between Home Assistant and Pi-hole, which was no longer supported by the native integration.
Today, this integration offers additional and complementary features.
'';
homepage = "https://github.com/bastgau/ha-pi-hole-v6";
maintainers = with lib.maintainers; [ SuperSandro2000 ];
license = lib.licenses.mit;
};
}