Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
919 B
Nix
41 lines
919 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
alsa-lib,
|
|
libopus,
|
|
linphonePackages,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "trx";
|
|
version = "0.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.pogo.org.uk/~mark/trx/releases/${pname}-${version}.tar.gz";
|
|
sha256 = "1jjgca92nifjhcr3n0fmpfr6f5gxlqyal2wmgdlgd7hx834r1if7";
|
|
};
|
|
|
|
# Makefile is currently missing -lbctoolbox so the build fails when linking
|
|
# the libraries. This patch adds that flag.
|
|
patches = [
|
|
./add_bctoolbox_ldlib.patch
|
|
];
|
|
|
|
buildInputs = [
|
|
alsa-lib
|
|
libopus
|
|
linphonePackages.ortp
|
|
linphonePackages.bctoolbox
|
|
];
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple toolset for broadcasting live audio using RTP/UDP and Opus";
|
|
homepage = "http://www.pogo.org.uk/~mark/trx/";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ maintainers.hansjoergschurr ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|