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