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