depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/volkswagencarnet/package.nix

39 lines
952 B
Nix
Raw Normal View History

{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
volkswagencarnet,
pytest-homeassistant-custom-component,
pytestCheckHook,
}:
buildHomeAssistantComponent rec {
owner = "robinostlund";
domain = "volkswagencarnet";
version = "5.0.3";
src = fetchFromGitHub {
owner = "robinostlund";
repo = "homeassistant-volkswagencarnet";
rev = "refs/tags/v${version}";
hash = "sha256-3wykS2TYjr9hoQSPc1F3m5aDiLW1tzvQfjfjnr4N2Y0=";
};
dependencies = [ volkswagencarnet ];
nativeCheckInputs = [
pytest-homeassistant-custom-component
pytestCheckHook
];
# https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/651
doCheck = false;
meta = {
description = "Volkswagen Connect component for Home Assistant";
homepage = "https://github.com/robinostlund/homeassistant-volkswagencarnet";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ dotlambda ];
};
}