2020-02-15 03:17:33 +01:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
2017-03-14 22:08:05 +01:00
|
|
|
, fetchFromGitHub
|
2021-01-17 03:09:27 +01:00
|
|
|
, pkg-config
|
2017-03-14 22:08:05 +01:00
|
|
|
, cmake
|
|
|
|
, boost
|
|
|
|
, fftwFloat
|
|
|
|
, gnuradio
|
|
|
|
, liquid-dsp
|
2020-02-15 03:17:33 +01:00
|
|
|
, qtbase
|
2020-08-25 13:04:28 +02:00
|
|
|
, wrapQtAppsHook
|
2017-03-14 22:08:05 +01:00
|
|
|
}:
|
2016-01-03 16:06:14 +01:00
|
|
|
|
2020-08-25 13:04:28 +02:00
|
|
|
mkDerivation rec {
|
2020-02-15 03:17:33 +01:00
|
|
|
pname = "inspectrum";
|
2020-12-06 03:05:57 +01:00
|
|
|
version = "0.2.3";
|
2016-01-03 16:06:14 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "miek";
|
|
|
|
repo = "inspectrum";
|
2020-08-25 13:04:28 +02:00
|
|
|
rev = "v${version}";
|
2020-12-06 03:05:57 +01:00
|
|
|
sha256 = "1x6nyn429pk0f7lqzskrgsbq09mq5787xd4piic95add6n1cc355";
|
2016-01-03 16:06:14 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
2017-03-14 22:08:05 +01:00
|
|
|
buildInputs = [
|
|
|
|
fftwFloat
|
|
|
|
boost
|
|
|
|
gnuradio
|
|
|
|
liquid-dsp
|
2020-02-15 03:17:33 +01:00
|
|
|
qtbase
|
2017-03-14 22:08:05 +01:00
|
|
|
];
|
|
|
|
|
2020-02-15 03:17:33 +01:00
|
|
|
meta = with lib; {
|
2016-01-03 16:06:14 +01:00
|
|
|
description = "Tool for analysing captured signals from sdr receivers";
|
2020-02-15 03:17:33 +01:00
|
|
|
homepage = "https://github.com/miek/inspectrum";
|
2016-01-03 16:06:14 +01:00
|
|
|
maintainers = with maintainers; [ mog ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
}
|