depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/miele/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

35 lines
796 B
Nix

{
lib,
fetchFromGitHub,
buildHomeAssistantComponent,
flatdict,
pymiele,
}:
buildHomeAssistantComponent rec {
owner = "astrandb";
domain = "miele";
version = "0.1.19";
src = fetchFromGitHub {
inherit owner;
repo = domain;
rev = "refs/tags/v${version}";
hash = "sha256-od7DV10/rkIw9eFMsTRw4bMmhQo9BAmw2rCbKKySeIk=";
};
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 = "A modern integration for Miele devices in Home Assistant";
homepage = "https://github.com/astrandb/miele";
maintainers = with maintainers; [jamiemagee];
license = licenses.mit;
};
}