Unverified Commit a9691ce7 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

music-assistant: yank broken airplay support

The source build ships with native musl binaries that segfault after
being patchelf'd. In addition, it supports no dynamic linking and depends
on OpenSSL 1.1, which is a non-starter.
parent 10288e38
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -42,6 +42,10 @@ let
  pythonPath = python.pkgs.makePythonPath providerDependencies;
in

assert
  (lib.elem "airplay" providers)
  -> throw "music-assistant: airplay support is missing libraop, a library we will not package because it depends on OpenSSL 1.1.";

python.pkgs.buildPythonApplication rec {
  pname = "music-assistant";
  version = "2.5.0";
@@ -154,6 +158,11 @@ python.pkgs.buildPythonApplication rec {

  pythonImportsCheck = [ "music_assistant" ];

  postFixup = ''
    # binary native code, segfaults when autopatchelf'd, requires openssl 1.1 to build
    rm $out/${python3.sitePackages}/music_assistant/providers/airplay/bin/cliraop-*
  '';

  passthru = {
    inherit
      python