Compare commits
2 Commits
4c1332e67a
...
23139fe492
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23139fe492 | ||
|
|
add39956f7 |
@@ -12,7 +12,7 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
services = {
|
||||
music-assistant = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
providers = [
|
||||
# "airplay" # music-assistant: airplay support is missing libraop, a library we will not package because it depends on OpenSSL 1.1.
|
||||
"apple_music"
|
||||
|
||||
@@ -35,10 +35,6 @@ let
|
||||
http_port 80
|
||||
https_port 443
|
||||
default_bind 0.0.0.0
|
||||
|
||||
servers {
|
||||
trusted_proxies 10.0.1.0/8 10.1.1.0/12
|
||||
}
|
||||
'';
|
||||
virtualHosts = {
|
||||
"*.mjallen.dev" = {
|
||||
|
||||
15
overlays/homeassistant/default.nix
Normal file
15
overlays/homeassistant/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ ... }:
|
||||
final: prev: {
|
||||
home-assistant = prev.home-assistant.override {
|
||||
packageOverrides = _self: super: {
|
||||
psnawp = super.psnawp.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ super.pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "pycountry" ];
|
||||
});
|
||||
radios = super.radios.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ super.pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "pycountry" ];
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -6,10 +6,6 @@ final: prev: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pyPrev.pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "pycountry" ];
|
||||
});
|
||||
psnawp = pyPrev.psnawp.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pyPrev.pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "pycountry" ];
|
||||
});
|
||||
};
|
||||
};
|
||||
python3Packages = final.python3.pkgs;
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "greghesp";
|
||||
domain = "bambu_lab";
|
||||
version = "v2.2.20";
|
||||
version = "v2.2.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = owner;
|
||||
repo = "ha-bambulab";
|
||||
rev = version;
|
||||
hash = "sha256-lKKfPWWcri2OUM9nkdY2iltvIaoFhnUP4HGBGDUnEww=";
|
||||
tag = version;
|
||||
hash = "sha256-56aAJAsmn+PzLZijFQ9DbTfHSrbeNk+OM/ibu32UHtg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with home-assistant.python.pkgs; [
|
||||
|
||||
@@ -18,13 +18,15 @@ buildHomeAssistantComponent rec {
|
||||
hash = "sha256-7c2GfTagNsIsSiT/sCqSV+BZZJMcvlsecDD+ZDZx9BA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
with home-assistant.python.pkgs;
|
||||
[
|
||||
gehomesdk
|
||||
slixmpp
|
||||
]
|
||||
++ [ pkgs.${namespace}.magicattr ];
|
||||
# gehomesdk and magicattr must be built against HA's Python
|
||||
dependencies = with pkgs.${namespace}; [
|
||||
gehomesdk
|
||||
magicattr
|
||||
];
|
||||
|
||||
nativeBuildInputs = with home-assistant.python.pkgs; [
|
||||
slixmpp
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/simbaja/ha_gehome/releases/tag/${version}";
|
||||
|
||||
@@ -7,21 +7,26 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "moralmunky";
|
||||
domain = "mail_and_packages";
|
||||
version = "0.4.7";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = owner;
|
||||
repo = "Home-Assistant-Mail-And-Packages";
|
||||
rev = version;
|
||||
hash = "sha256-w+7cC/jV+6bQM1aEPlO90Z1o9CcjmPvjNDSG9CduFFw=";
|
||||
tag = version;
|
||||
hash = "sha256-Am3EYkSYCQuYJmm6xdUwCa0h/ldk4hwTxRTxc0BU2j8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with home-assistant.python.pkgs; [
|
||||
aioimaplib
|
||||
beautifulsoup4
|
||||
dateparser
|
||||
pillow
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with home-assistant.python.pkgs; [
|
||||
aioimaplib
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace custom_components/mail_and_packages/const.py \
|
||||
--replace-fail 'DEFAULT_PATH = "custom_components/mail_and_packages/images/"' \
|
||||
|
||||
@@ -1,23 +1,21 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
home-assistant,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
home-assistant.python.pkgs.buildPythonPackage rec {
|
||||
pname = "gehomesdk";
|
||||
version = "2026.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3Packages.pythonOlder "3.9";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
src = home-assistant.python.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-+BWGkUDKd+9QGbdXuLjmJxLm1xUv0dpIRlPlDkUJ25w=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
build-system = with home-assistant.python.pkgs; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
dependencies = with home-assistant.python.pkgs; [
|
||||
aiohttp
|
||||
beautifulsoup4
|
||||
bidict
|
||||
|
||||
Reference in New Issue
Block a user