nixpkgs/pkgs/servers/home-assistant/custom-components/miele/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 lines
796 B
Nix

{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
flatdict,
pymiele,
}:
buildHomeAssistantComponent rec {
owner = "astrandb";
domain = "miele";
version = "2024.3.0";
src = fetchFromGitHub {
inherit owner;
repo = domain;
rev = "refs/tags/v${version}";
hash = "sha256-J9n4PFcd87L301B2YktrLcxp5Vu1HwDeCYnrMEJ0+TA=";
};
propagatedBuildInputs = [
flatdict
pymiele
];
# Makefile only used for bumping the version
dontBuild = true;
meta = with lib; {
changelog = "https://github.com/astrandb/miele/releases/tag/v${version}";
description = "Modern integration for Miele devices in Home Assistant";
homepage = "https://github.com/astrandb/miele";
maintainers = with maintainers; [jamiemagee];
license = licenses.mit;
};
}