openwebrx: add version checks
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user