1 { lib, stdenv, fetchurl, alsa-lib, libopus, ortp, bctoolbox }:
3 stdenv.mkDerivation rec {
8 url = "https://www.pogo.org.uk/~mark/trx/releases/${pname}-${version}.tar.gz";
9 sha256 = "1jjgca92nifjhcr3n0fmpfr6f5gxlqyal2wmgdlgd7hx834r1if7";
12 # Makefile is currently missing -lbctoolbox so the build fails when linking
13 # the libraries. This patch adds that flag.
15 ./add_bctoolbox_ldlib.patch
18 buildInputs = [ alsa-lib libopus ortp bctoolbox ];
19 makeFlags = [ "PREFIX=$(out)" ];
22 description = "Simple toolset for broadcasting live audio using RTP/UDP and Opus";
23 homepage = "http://www.pogo.org.uk/~mark/trx/";
24 license = licenses.gpl2Only;
25 maintainers = [ maintainers.hansjoergschurr ];
26 platforms = platforms.linux;