14 libayatana-appindicator,
18 pname = "mihomo-party";
21 url = "https://github.com/mihomo-party-org/mihomo-party/releases/download/v${version}/mihomo-party-linux-${version}-amd64.deb";
22 hash = "sha256-O332nt2kgpDGY84S78Tx2PGUw1Pyj80ab2ZE3woYm4Y=";
26 inherit pname version src;
40 (lib.getLib stdenv.cc.cc)
43 runtimeDependencies = map lib.getLib [
45 libayatana-appindicator
52 cp -r opt/mihomo-party usr/share $out
53 substituteInPlace $out/share/applications/mihomo-party.desktop \
54 --replace-fail "/opt/mihomo-party/mihomo-party" "mihomo-party"
61 makeWrapper $out/mihomo-party/mihomo-party $out/bin/mihomo-party \
62 --prefix LD_LIBRARY_PATH : "${
70 description = "Another Mihomo GUI";
71 homepage = "https://github.com/mihomo-party-org/mihomo-party";
72 mainProgram = "mihomo-party";
73 platforms = with lib.platforms; linux ++ darwin;
74 broken = !(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64);
75 license = lib.licenses.gpl3Plus;
76 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
77 maintainers = with lib.maintainers; [ aucub ];