2020-02-15 02:17:33 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
2017-03-14 21:08:05 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, pkgconfig
|
|
|
|
, cmake
|
|
|
|
, boost
|
|
|
|
, fftwFloat
|
|
|
|
, gnuradio
|
|
|
|
, liquid-dsp
|
2020-02-15 02:17:33 +00:00
|
|
|
, qtbase
|
2020-08-25 12:04:28 +01:00
|
|
|
, wrapQtAppsHook
|
2017-03-14 21:08:05 +00:00
|
|
|
}:
|
2016-01-03 15:06:14 +00:00
|
|
|
|
2020-08-25 12:04:28 +01:00
|
|
|
mkDerivation rec {
|
2020-02-15 02:17:33 +00:00
|
|
|
pname = "inspectrum";
|
2020-08-25 12:04:28 +01:00
|
|
|
version = "0.2.2";
|
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}";
|
|
|
|
sha256 = "1a517y7s1xi66y5kjrpjay450pad9nc228pa8801mxq1c7m1lamm";
|
2016-01-03 15:06:14 +00:00
|
|
|
};
|
|
|
|
|
2020-08-25 12:04:28 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
|
2017-03-14 21:08:05 +00:00
|
|
|
buildInputs = [
|
|
|
|
fftwFloat
|
|
|
|
boost
|
|
|
|
gnuradio
|
|
|
|
liquid-dsp
|
2020-02-15 02:17:33 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|