forked from mirrors/nixpkgs
9545bbadfa
Use the same deps of gnuradioMinimal - thanks to gnuradio's mkDerivation.
41 lines
768 B
Nix
41 lines
768 B
Nix
{ lib
|
|
, gnuradioMinimal
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, cmake
|
|
, fftwFloat
|
|
, qt5
|
|
, liquid-dsp
|
|
}:
|
|
|
|
gnuradioMinimal.pkgs.mkDerivation rec {
|
|
pname = "inspectrum";
|
|
version = "0.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "miek";
|
|
repo = "inspectrum";
|
|
rev = "v${version}";
|
|
sha256 = "1x6nyn429pk0f7lqzskrgsbq09mq5787xd4piic95add6n1cc355";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
qt5.wrapQtAppsHook
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
fftwFloat
|
|
liquid-dsp
|
|
qt5.qtbase
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool for analysing captured signals from sdr receivers";
|
|
homepage = "https://github.com/miek/inspectrum";
|
|
maintainers = with maintainers; [ mog ];
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3Plus;
|
|
};
|
|
}
|