nixpkgs/pkgs/applications/radio/inspectrum/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
915 B
Nix
Raw Normal View History

{ lib
, gnuradio3_8Minimal
, thrift
2017-03-14 21:08:05 +00:00
, fetchFromGitHub
, pkg-config
2017-03-14 21:08:05 +00:00
, cmake
, fftwFloat
, qt5
2017-03-14 21:08:05 +00:00
, liquid-dsp
}:
2016-01-03 15:06:14 +00:00
gnuradio3_8Minimal.pkgs.mkDerivation rec {
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";
rev = "v${version}";
2020-12-06 02:05:57 +00:00
sha256 = "1x6nyn429pk0f7lqzskrgsbq09mq5787xd4piic95add6n1cc355";
2016-01-03 15:06:14 +00:00
};
nativeBuildInputs = [
cmake
qt5.wrapQtAppsHook
pkg-config
];
2017-03-14 21:08:05 +00:00
buildInputs = [
fftwFloat
liquid-dsp
qt5.qtbase
] ++ lib.optionals (gnuradio3_8Minimal.hasFeature "gr-ctrlport") [
thrift
gnuradio3_8Minimal.unwrapped.python.pkgs.thrift
2017-03-14 21:08:05 +00:00
];
meta = with lib; {
2016-01-03 15:06:14 +00:00
description = "Tool for analysing captured signals from sdr receivers";
homepage = "https://github.com/miek/inspectrum";
2016-01-03 15:06:14 +00:00
maintainers = with maintainers; [ mog ];
platforms = platforms.linux;
license = licenses.gpl3Plus;
};
}