nixos/openwebrx: add codec2, js8call

This commit is contained in:
Astro 2022-07-03 19:53:06 +02:00
parent d81ef1332a
commit 242090860a
2 changed files with 7 additions and 0 deletions

View file

@ -20,6 +20,8 @@ in
path = with pkgs; [
csdr
digiham
codec2
js8call
alsaUtils
netcat
];

View file

@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
# Install a binary that is used by openwebrx
postInstall = ''
install -Dm0755 src/freedv_rx $out/bin/
'';
# Swap keyword order to satisfy SWIG parser
postFixup = ''
sed -r -i 's/(\<_Complex)(\s+)(float|double)/\3\2\1/' $out/include/$pname/freedv_api.h