3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/radio/inspectrum/default.nix

42 lines
782 B
Nix
Raw Normal View History

{ lib
, mkDerivation
2017-03-14 21:08:05 +00:00
, fetchFromGitHub
, pkgconfig
, cmake
, boost
, fftwFloat
, gnuradio
, liquid-dsp
, qtbase
, wrapQtAppsHook
2017-03-14 21:08:05 +00:00
}:
2016-01-03 15:06:14 +00:00
mkDerivation rec {
pname = "inspectrum";
version = "0.2.2";
2016-01-03 15:06:14 +00:00
src = fetchFromGitHub {
owner = "miek";
repo = "inspectrum";
rev = "v${version}";
sha256 = "1a517y7s1xi66y5kjrpjay450pad9nc228pa8801mxq1c7m1lamm";
2016-01-03 15:06:14 +00:00
};
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
2017-03-14 21:08:05 +00:00
buildInputs = [
fftwFloat
boost
gnuradio
liquid-dsp
qtbase
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;
};
}