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."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; [