csdr: add version check

This commit is contained in:
Tom Hunze
2025-11-02 22:39:59 +01:00
parent c4cafe7a38
commit 02506d0ca3

View File

@@ -6,6 +6,7 @@
pkg-config,
fftwFloat,
libsamplerate,
versionCheckHook,
}:
stdenv.mkDerivation rec {
@@ -46,6 +47,10 @@ stdenv.mkDerivation rec {
--replace '=''${exec_prefix}//' '=/'
'';
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "version";
doInstallCheck = true;
meta = with lib; {
homepage = "https://github.com/jketterl/csdr";
description = "Simple DSP library and command-line tool for Software Defined Radio";