14 , gobject-introspection
25 stdenv.mkDerivation rec {
26 pname = "wireplumber";
29 outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc";
31 src = fetchFromGitLab {
32 domain = "gitlab.freedesktop.org";
36 hash = "sha256-VwzpPAVfoaV47O7OjXtPQj5s8zfH5rkB22Pdlg7u5Fg=";
43 ] ++ lib.optionals enableDocs [
45 ] ++ lib.optionals enableGI [
47 ] ++ lib.optionals (enableDocs || enableGI) [
49 (python3.pythonOnBuildForHost.withPackages (ps: with ps;
50 lib.optionals enableDocs [ sphinx sphinx-rtd-theme breathe ]
51 ++ lib.optionals enableGI [ lxml ]
63 (lib.mesonBool "system-lua" true)
64 (lib.mesonEnable "elogind" false)
65 (lib.mesonEnable "doc" enableDocs)
66 (lib.mesonEnable "introspection" enableGI)
67 (lib.mesonBool "systemd-system-service" true)
68 (lib.mesonOption "systemd-system-unit-dir" "${placeholder "out"}/lib/systemd/system")
69 (lib.mesonOption "sysconfdir" "/etc")
72 passthru.updateScript = nix-update-script { };
75 description = "A modular session / policy manager for PipeWire";
76 homepage = "https://pipewire.org";
77 license = licenses.mit;
78 platforms = platforms.linux;
79 maintainers = with maintainers; [ k900 ];