Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildHomeAssistantComponent, 4 fetchFromGitHub, 5 6 cachetools, 7}: 8 9buildHomeAssistantComponent 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 dependencies = [ 22 cachetools 23 ]; 24 25 ignoreVersionRequirement = [ 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}