home-assistant-custom-components.bodymiscale: init at 2024.6.0 (#341368)

authored by Martin Weinelt and committed by GitHub 77cfc584 6860b45c

+37
+35
pkgs/servers/home-assistant/custom-components/bodymiscale/default.nix
··· 1 + { 2 + lib, 3 + buildHomeAssistantComponent, 4 + fetchFromGitHub, 5 + 6 + cachetools, 7 + }: 8 + 9 + buildHomeAssistantComponent rec { 10 + owner = "dckiller51"; 11 + domain = "bodymiscale"; 12 + version = "2024.6.0"; 13 + 14 + src = fetchFromGitHub { 15 + inherit owner; 16 + repo = domain; 17 + rev = version; 18 + hash = "sha256-6bYKqU9yucISjTrmCUx1bNn9kqvT9jW1OBrqAa4ayEQ="; 19 + }; 20 + 21 + postPatch = '' 22 + substituteInPlace custom_components/bodymiscale/manifest.json --replace-fail 'cachetools==5.3.0' 'cachetools>=5.3.0' 23 + ''; 24 + 25 + propagatedBuildInputs = [ 26 + cachetools 27 + ]; 28 + 29 + meta = { 30 + description = "Home Assistant custom component providing body metrics for Xiaomi Mi Scale 1 and 2"; 31 + homepage = "https://github.com/dckiller51/bodymiscale"; 32 + license = with lib.licenses; [ asl20 ]; 33 + maintainers = with lib.maintainers; [ justinas ]; 34 + }; 35 + }
+2
pkgs/servers/home-assistant/custom-components/default.nix
··· 14 14 15 15 better_thermostat = callPackage ./better_thermostat {}; 16 16 17 + bodymiscale = callPackage ./bodymiscale { }; 18 + 17 19 dwd = callPackage ./dwd { }; 18 20 19 21 elevenlabs_tts = callPackage ./elevenlabs_tts {};