openwebrx: add version checks

This commit is contained in:
Tom Hunze
2025-11-02 22:47:51 +01:00
parent 71ceecf997
commit 32eb09cad7

View File

@@ -14,6 +14,7 @@
sox, sox,
wsjtx, wsjtx,
codecserver, codecserver,
versionCheckHook,
}: }:
let let
@@ -73,6 +74,10 @@ let
soapysdr-with-plugins soapysdr-with-plugins
]; ];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/rtl_connector";
doInstallCheck = true;
meta = { meta = {
homepage = "https://github.com/jketterl/owrx_connector"; homepage = "https://github.com/jketterl/owrx_connector";
description = "Set of connectors that are used by OpenWebRX to interface with SDR hardware"; description = "Set of connectors that are used by OpenWebRX to interface with SDR hardware";
@@ -119,6 +124,9 @@ python3Packages.buildPythonApplication rec {
"test" "test"
]; ];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru = { passthru = {
inherit js8py owrx_connector; inherit js8py owrx_connector;
}; };