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