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

42 lines
782 B
Nix
Raw Normal View History

{ lib
, mkDerivation
2017-03-15 00:08:05 +03:00
, fetchFromGitHub
, pkgconfig
, cmake
, boost
, fftwFloat
, gnuradio
, liquid-dsp
, qtbase
, wrapQtAppsHook
2017-03-15 00:08:05 +03:00
}:
2016-01-03 18:06:14 +03:00
mkDerivation rec {
pname = "inspectrum";
version = "0.2.2";
2016-01-03 18:06:14 +03:00
src = fetchFromGitHub {
owner = "miek";
repo = "inspectrum";
rev = "v${version}";
sha256 = "1a517y7s1xi66y5kjrpjay450pad9nc228pa8801mxq1c7m1lamm";
2016-01-03 18:06:14 +03:00
};
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
2017-03-15 00:08:05 +03:00
buildInputs = [
fftwFloat
boost
gnuradio
liquid-dsp
qtbase
2017-03-15 00:08:05 +03:00
];
meta = with lib; {
2016-01-03 18:06:14 +03:00
description = "Tool for analysing captured signals from sdr receivers";
homepage = "https://github.com/miek/inspectrum";
2016-01-03 18:06:14 +03:00
maintainers = with maintainers; [ mog ];
platforms = platforms.linux;
license = licenses.gpl3Plus;
};
}