fix avahi

This commit is contained in:
mjallen18
2026-03-31 13:33:42 -05:00
parent 6ca55504f0
commit bd799661b9
59 changed files with 3758 additions and 3829 deletions

View File

@@ -1,15 +1,25 @@
{ python3Packages, fetchFromGitHub, ... }:
python3Packages.buildPythonPackage rec {
{
lib,
namespace,
pkgs,
python3Packages,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources."comfy-aimdo";
in
python3Packages.buildPythonPackage {
pname = "comfy-aimdo";
version = "0.1.7";
version = if src-meta ? tag then src-meta.tag else src-meta.rev;
format = "pyproject";
# Comfy-Org/comfy-aimdo/releases/tag/v0.1.7
src = fetchFromGitHub {
owner = "Comfy-Org";
repo = "comfy-aimdo";
rev = "v${version}";
sha256 = "sha256-RNORTKtnTHZ4lcEx5gM3jSr+ZffrV8cd+x74NeRhlsM=";
};
src = sources."comfy-aimdo";
buildInputs = with python3Packages; [
setuptools

View File

@@ -0,0 +1,15 @@
{
"schemaVersion": 1,
"variables": {
"version": "0.1.7"
},
"sources": {
"comfy-aimdo": {
"fetcher": "github",
"owner": "Comfy-Org",
"repo": "comfy-aimdo",
"tag": "v0.1.7",
"hash": "sha256-RNORTKtnTHZ4lcEx5gM3jSr+ZffrV8cd+x74NeRhlsM="
}
}
}

View File

@@ -1,12 +1,25 @@
{ python3Packages, fetchurl, ... }:
python3Packages.buildPythonPackage rec {
{
lib,
namespace,
pkgs,
python3Packages,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
version = selected.variables.version;
in
python3Packages.buildPythonPackage {
pname = "comfy-kitchen";
version = "0.2.7";
inherit version;
format = "wheel";
# https://files.pythonhosted.org/packages/f8/65/d483613734d0b9753bd9bfa297ff334cb2c7766e82306099db6b259b4e2c/comfy_kitchen-0.2.7-py3-none-any.whl
src = fetchurl {
url = "https://files.pythonhosted.org/packages/f8/65/d483613734d0b9753bd9bfa297ff334cb2c7766e82306099db6b259b4e2c/comfy_kitchen-0.2.7-py3-none-any.whl";
sha256 = "sha256-+PqlebadMx0vHqwJ6WqVWGwqa5WKVLwZ5/HBp3hS3TY=";
};
src = sources."comfy-kitchen";
doCheck = false;
}

View File

@@ -0,0 +1,13 @@
{
"schemaVersion": 1,
"variables": {
"version": "0.2.7"
},
"sources": {
"comfy-kitchen": {
"fetcher": "url",
"url": "https://files.pythonhosted.org/packages/f8/65/d483613734d0b9753bd9bfa297ff334cb2c7766e82306099db6b259b4e2c/comfy_kitchen-0.2.7-py3-none-any.whl",
"hash": "sha256-+PqlebadMx0vHqwJ6WqVWGwqa5WKVLwZ5/HBp3hS3TY="
}
}
}

View File

@@ -1,17 +1,25 @@
{
lib,
namespace,
pkgs,
home-assistant,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
home-assistant.python.pkgs.buildPythonPackage rec {
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
version = selected.variables.version;
in
home-assistant.python.pkgs.buildPythonPackage {
pname = "gehomesdk";
version = "2026.2.0";
inherit version;
pyproject = true;
src = home-assistant.python.pkgs.fetchPypi {
inherit pname version;
hash = "sha256-+BWGkUDKd+9QGbdXuLjmJxLm1xUv0dpIRlPlDkUJ25w=";
};
src = sources.gehomesdk;
build-system = with home-assistant.python.pkgs; [ setuptools ];

View File

@@ -0,0 +1,13 @@
{
"schemaVersion": 1,
"variables": {
"version": "2026.2.0"
},
"sources": {
"gehomesdk": {
"fetcher": "pypi",
"name": "gehomesdk",
"hash": "sha256-+BWGkUDKd+9QGbdXuLjmJxLm1xUv0dpIRlPlDkUJ25w="
}
}
}

View File

@@ -1,20 +1,25 @@
{
fetchFromGitHub,
lib,
namespace,
pkgs,
home-assistant,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
home-assistant.python.pkgs.buildPythonPackage rec {
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources.magicattr;
in
home-assistant.python.pkgs.buildPythonPackage {
pname = "magicattr";
version = "0.1.6";
version = if src-meta ? tag then src-meta.tag else src-meta.rev;
format = "setuptools";
src = fetchFromGitHub {
owner = "frmdstryr";
repo = pname;
rev = "master";
sha256 = "sha256-FJtWU5AuunZbdlndGdfD1c9/0s7oRdoTi202pWjuAd8=";
};
src = sources.magicattr;
build-system = [ home-assistant.python.pkgs.setuptools ];
doCheck = false;

View File

@@ -0,0 +1,12 @@
{
"schemaVersion": 1,
"sources": {
"magicattr": {
"fetcher": "github",
"owner": "frmdstryr",
"repo": "magicattr",
"rev": "master",
"hash": "sha256-FJtWU5AuunZbdlndGdfD1c9/0s7oRdoTi202pWjuAd8="
}
}
}

View File

@@ -1,15 +1,25 @@
{ python3Packages, fetchFromGitHub, ... }:
python3Packages.buildPythonPackage rec {
{
lib,
namespace,
pkgs,
python3Packages,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources."pipewire-python";
in
python3Packages.buildPythonPackage {
pname = "pipewire-python";
version = "0.2.3";
version = if src-meta ? tag then src-meta.tag else src-meta.rev;
format = "pyproject";
src = fetchFromGitHub {
owner = "pablodz";
repo = "pipewire_python";
rev = "v${version}";
sha256 = "sha256-6UIu7vke40q+n91gU8YxwMV/tWjLT6iDmHCMVqnXdMY=";
};
src = sources."pipewire-python";
buildInputs = with python3Packages; [ flit-core ];
nativeBuildInputs = with python3Packages; [

View File

@@ -0,0 +1,15 @@
{
"schemaVersion": 1,
"variables": {
"version": "0.2.3"
},
"sources": {
"pipewire-python": {
"fetcher": "github",
"owner": "pablodz",
"repo": "pipewire_python",
"tag": "v0.2.3",
"hash": "sha256-6UIu7vke40q+n91gU8YxwMV/tWjLT6iDmHCMVqnXdMY="
}
}
}

View File

@@ -1,15 +1,25 @@
{ fetchFromGitHub, home-assistant, ... }:
home-assistant.python.pkgs.buildPythonPackage rec {
{
lib,
namespace,
pkgs,
home-assistant,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources.pyoverseerr;
in
home-assistant.python.pkgs.buildPythonPackage {
pname = "pyoverseerr";
version = "0.1.40";
version = if src-meta ? tag then src-meta.tag else src-meta.rev;
format = "setuptools";
src = fetchFromGitHub {
owner = "vaparr";
repo = pname;
rev = "master";
sha256 = "sha256-sWYe6EV/IO/tGGXcnKiebb47eidIj0xnM/aZUfdZXyY=";
};
src = sources.pyoverseerr;
build-system = [ home-assistant.python.pkgs.setuptools ];
doCheck = false; # no tests in the PyPI tarball

View File

@@ -0,0 +1,12 @@
{
"schemaVersion": 1,
"sources": {
"pyoverseerr": {
"fetcher": "github",
"owner": "vaparr",
"repo": "pyoverseerr",
"rev": "master",
"hash": "sha256-sWYe6EV/IO/tGGXcnKiebb47eidIj0xnM/aZUfdZXyY="
}
}
}

View File

@@ -1,19 +1,25 @@
{
lib,
namespace,
pkgs,
python3Packages,
fetchFromGitHub,
...
}:
python3Packages.buildPythonPackage rec {
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources."python-nanokvm";
in
python3Packages.buildPythonPackage {
pname = "nanokvm";
version = "0.1.0";
version = if src-meta ? tag then src-meta.tag else src-meta.rev;
format = "pyproject";
src = fetchFromGitHub {
owner = "puddly";
repo = "python-${pname}";
rev = "v${version}";
sha256 = "sha256-vIxvQtjaInnWQce7syiOWpP2kaw0IVw03HPovnB2J5M=";
};
src = sources."python-nanokvm";
prePatch = ''
rm -f pyproject.toml

View File

@@ -0,0 +1,15 @@
{
"schemaVersion": 1,
"variables": {
"version": "0.1.0"
},
"sources": {
"python-nanokvm": {
"fetcher": "github",
"owner": "puddly",
"repo": "python-nanokvm",
"tag": "v0.1.0",
"hash": "sha256-vIxvQtjaInnWQce7syiOWpP2kaw0IVw03HPovnB2J5M="
}
}
}

View File

@@ -1,14 +1,26 @@
{ python3Packages, fetchPypi, ... }:
{
lib,
namespace,
pkgs,
python3Packages,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
python3Packages.buildPythonPackage rec {
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources."python-steam";
version = selected.variables.version;
in
python3Packages.buildPythonPackage {
pname = "steam";
version = "1.4.4";
inherit version;
pyproject = false;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-K1vWkRwNSnMS9EG40WK52NR8i+u478bIhnOTsDI/pS4=";
};
src = sources."python-steam";
buildInputs = with python3Packages; [ setuptools ];

View File

@@ -0,0 +1,13 @@
{
"schemaVersion": 1,
"variables": {
"version": "1.4.4"
},
"sources": {
"python-steam": {
"fetcher": "pypi",
"name": "steam",
"hash": "sha256-K1vWkRwNSnMS9EG40WK52NR8i+u478bIhnOTsDI/pS4="
}
}
}

View File

@@ -1,22 +1,28 @@
{
lib,
fetchFromGitHub,
namespace,
pkgs,
python3Packages,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
python3Packages.buildPythonPackage rec {
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources.pyvesync;
version = selected.variables.version;
in
python3Packages.buildPythonPackage {
pname = "pyvesync";
version = "3.4.1";
inherit version;
pyproject = true;
disabled = python3Packages.pythonOlder "3.11";
src = fetchFromGitHub {
owner = "webdjoe";
repo = "pyvesync";
rev = version;
hash = "sha256-iqOKBpP/TYgbs6Tq+eWhxBCu/bHYRELXY7r4zjEXU3Q=";
};
src = sources.pyvesync;
build-system = with python3Packages; [ setuptools ];
@@ -31,7 +37,7 @@ python3Packages.buildPythonPackage rec {
meta = with lib; {
description = "Python library to manage Etekcity Devices and Levoit Air Purifier";
homepage = "https://github.com/webdjoe/pyvesync";
changelog = "https://github.com/webdjoe/pyvesync/releases/tag/${src.tag}";
changelog = "https://github.com/webdjoe/pyvesync/releases/tag/${src-meta.tag}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};

View File

@@ -0,0 +1,15 @@
{
"schemaVersion": 1,
"variables": {
"version": "3.4.1"
},
"sources": {
"pyvesync": {
"fetcher": "github",
"owner": "webdjoe",
"repo": "pyvesync",
"tag": "3.4.1",
"hash": "sha256-iqOKBpP/TYgbs6Tq+eWhxBCu/bHYRELXY7r4zjEXU3Q="
}
}
}

View File

@@ -1,15 +1,25 @@
{ fetchFromGitHub, home-assistant, ... }:
home-assistant.python.pkgs.buildPythonPackage rec {
{
lib,
namespace,
pkgs,
home-assistant,
...
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec null null;
sources = mkAllSources pkgs selected;
src-meta = selected.sources.wyzeapy;
in
home-assistant.python.pkgs.buildPythonPackage {
pname = "wyzeapy";
version = "0.5.31";
version = if src-meta ? tag then src-meta.tag else src-meta.rev;
format = "pyproject";
src = fetchFromGitHub {
owner = "SecKatie";
repo = "wyzeapy";
rev = "v${version}";
sha256 = "sha256-KDCd1G5Tj0YWM2WA3DJK9rTf1rMzz4qBSUl8FOUbvdM=";
};
src = sources.wyzeapy;
build-system = with home-assistant.python.pkgs; [
poetry-core

View File

@@ -0,0 +1,15 @@
{
"schemaVersion": 1,
"variables": {
"version": "0.5.31"
},
"sources": {
"wyzeapy": {
"fetcher": "github",
"owner": "SecKatie",
"repo": "wyzeapy",
"tag": "v0.5.31",
"hash": "sha256-KDCd1G5Tj0YWM2WA3DJK9rTf1rMzz4qBSUl8FOUbvdM="
}
}
}