mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
home-assistant-custom-components.bodymiscale: init at 2024.6.0
This commit is contained in:
parent
1355a0cbfe
commit
cde4148e07
@ -0,0 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
|
||||
cachetools,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "dckiller51";
|
||||
domain = "bodymiscale";
|
||||
version = "2024.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = domain;
|
||||
rev = version;
|
||||
hash = "sha256-6bYKqU9yucISjTrmCUx1bNn9kqvT9jW1OBrqAa4ayEQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace custom_components/bodymiscale/manifest.json --replace-fail 'cachetools==5.3.0' 'cachetools>=5.3.0'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cachetools
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Home Assistant custom component providing body metrics for Xiaomi Mi Scale 1 and 2";
|
||||
homepage = "https://github.com/dckiller51/bodymiscale";
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
maintainers = with lib.maintainers; [ justinas ];
|
||||
};
|
||||
}
|
@ -12,6 +12,8 @@
|
||||
|
||||
better_thermostat = callPackage ./better_thermostat {};
|
||||
|
||||
bodymiscale = callPackage ./bodymiscale { };
|
||||
|
||||
dwd = callPackage ./dwd { };
|
||||
|
||||
elevenlabs_tts = callPackage ./elevenlabs_tts {};
|
||||
|
Loading…
Reference in New Issue
Block a user