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

42 lines
784 B
Nix
Raw Normal View History

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