Merge pull request #146643 from mkg20001/sws
commite75245614ee24b1e8bfafa836982013abca33642
authorMaciej Krüger <mkg20001@gmail.com>
dateWed 24 Nov 2021, 03:29 (5 years ago)
parent7a4744bbc8d1df
pkgs/applications/audio/soundwireserver/default.nixnew file+39
@@ -0,0 +1,39 @@
1+{ lib
2+, qt5
3+, autoPatchelfHook
4+, unzip
5+, fetchzip
6+, portaudio
7+}:
8+
9+qt5.mkDerivation {
10+ pname = "soundwire";
11+ version = "3.0";
12+
13+ src = fetchzip {
14+ url = "https://web.archive.org/web/20211120182526/https://georgielabs.net/SoundWire_Server_linux64.tar.gz";
15+ hash = "sha256-TECuQ5WXpeikc9tXEE/wVBnRbdYd0OaIFFhsBRmaukA=";
16+ };
17+
18+ nativeBuildInputs = [
19+ unzip
20+ autoPatchelfHook
21+ ];
22+
23+ buildInputs = [
24+ portaudio
25+ ];
26+
27+ installPhase = ''
28+ install -D SoundWire-Server.desktop $out/share/applications/SoundWireServer.desktop
29+ install -D SoundWireServer $out/bin/SoundWireServer
30+ install -D sw-icon.xpm $out/share/icons/hicolor/256x256/apps/sw-icon.xpm
31+ '';
32+
33+ meta = with lib; {
34+ description = "Turn your Android device into wireless headphones / wireless speaker";
35+ homepage = "https://georgielabs.net/";
36+ maintainers = with maintainers; [ mkg20001 ];
37+ license = licenses.unfree;
38+ };
39+}
pkgs/top-level/all-packages.nix+2
@@ -9604,6 +9604,8 @@ with pkgs;
96049604
96059605 soundkonverter = libsForQt5.soundkonverter;
96069606
9607+ soundwireserver = callPackage ../applications/audio/soundwireserver { };
9608+
96079609 sozu = callPackage ../servers/sozu { };
96089610
96099611 sparsehash = callPackage ../development/libraries/sparsehash { };