mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
043347c00c
Part of #180841
43 lines
1.0 KiB
Nix
43 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
qt5,
|
|
autoPatchelfHook,
|
|
fetchzip,
|
|
portaudio,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "soundwire";
|
|
version = "3.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://web.archive.org/web/20211120182526/https://georgielabs.net/SoundWire_Server_linux64.tar.gz";
|
|
hash = "sha256-TECuQ5WXpeikc9tXEE/wVBnRbdYd0OaIFFhsBRmaukA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoPatchelfHook
|
|
qt5.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
portaudio
|
|
];
|
|
|
|
installPhase = ''
|
|
install -D SoundWire-Server.desktop $out/share/applications/SoundWireServer.desktop
|
|
install -D SoundWireServer $out/bin/SoundWireServer
|
|
install -D sw-icon.xpm $out/share/icons/hicolor/256x256/apps/sw-icon.xpm
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Turn your Android device into wireless headphones / wireless speaker";
|
|
homepage = "https://georgielabs.net/";
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
platforms = [ "x86_64-linux" ];
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
license = licenses.unfree;
|
|
};
|
|
}
|