diff options
author | Astro <astro@spaceboyz.net> | 2022-07-03 19:53:06 +0200 |
---|---|---|
committer | Astro <astro@spaceboyz.net> | 2022-07-04 15:06:10 +0200 |
commit | 242090860a2d2f9d665d5b1629402996c12af4b1 (patch) | |
tree | 0f3209640abcf3d320556d0bfc9b8bd480b73661 | |
parent | d81ef1332a8cf4ad12ebed0e5c30ae7243020989 (diff) | |
download | nixpkgs-242090860a2d2f9d665d5b1629402996c12af4b1.tar nixpkgs-242090860a2d2f9d665d5b1629402996c12af4b1.tar.gz nixpkgs-242090860a2d2f9d665d5b1629402996c12af4b1.tar.bz2 nixpkgs-242090860a2d2f9d665d5b1629402996c12af4b1.tar.lz nixpkgs-242090860a2d2f9d665d5b1629402996c12af4b1.tar.xz nixpkgs-242090860a2d2f9d665d5b1629402996c12af4b1.tar.zst nixpkgs-242090860a2d2f9d665d5b1629402996c12af4b1.zip |
nixos/openwebrx: add codec2, js8call
-rw-r--r-- | nixos/modules/services/web-apps/openwebrx.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/codec2/default.nix | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/openwebrx.nix b/nixos/modules/services/web-apps/openwebrx.nix index c530a07610f..751884e5811 100644 --- a/nixos/modules/services/web-apps/openwebrx.nix +++ b/nixos/modules/services/web-apps/openwebrx.nix @@ -20,6 +20,8 @@ in path = with pkgs; [ csdr digiham + codec2 + js8call alsaUtils netcat ]; diff --git a/pkgs/development/libraries/codec2/default.nix b/pkgs/development/libraries/codec2/default.nix index 7d271e16f24..b921cb2bbba 100644 --- a/pkgs/development/libraries/codec2/default.nix +++ b/pkgs/development/libraries/codec2/default.nix @@ -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 |