git.iko.soy/typeable/nixpkgs
on master help sign in
soundwireserver: init at 3.0

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

commitbc8d1dfa83975087f2bbb7d79f376988a279e845 authorMaciej Krüger <mkg20001@gmail.com> dateFri 19 Nov 2021, 17:59 (5 years ago) parent9e06375
2 files changed+41
pkgs/applications/audio/soundwireserver/default.nix+39 pkgs/top-level/all-packages.nix+2
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
@@ -9591,6 +9591,8 @@ with pkgs;
95919591
95929592 soundkonverter = libsForQt5.soundkonverter;
95939593
9594+ soundwireserver = callPackage ../applications/audio/soundwireserver { };
9595+
95949596 sozu = callPackage ../servers/sozu { };
95959597
95969598 sparsehash = callPackage ../development/libraries/sparsehash { };