inspectrum: add qt wrapper, cleanup (#80144)

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
B 2020-02-14 18:17:33 -08:00 committed by GitHub
parent 3064c90887
commit 0bfb75520f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,16 +1,18 @@
{ stdenv { lib
, mkDerivation
, fetchFromGitHub , fetchFromGitHub
, pkgconfig , pkgconfig
, cmake , cmake
, boost , boost
, fftwFloat , fftwFloat
, qt5
, gnuradio , gnuradio
, liquid-dsp , liquid-dsp
, qtbase
}: }:
stdenv.mkDerivation { mkDerivation {
name = "inspectrum-unstable-2017-05-31"; pname = "inspectrum";
version = "unstable-2017-05-31";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "miek"; owner = "miek";
@ -19,19 +21,18 @@ stdenv.mkDerivation {
sha256 = "1fvnr8gca25i6s9mg9b2hyqs0zzr4jicw13mimc9dhrgxklrr1yv"; sha256 = "1fvnr8gca25i6s9mg9b2hyqs0zzr4jicw13mimc9dhrgxklrr1yv";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ buildInputs = [
cmake
qt5.qtbase
fftwFloat fftwFloat
boost boost
gnuradio gnuradio
liquid-dsp liquid-dsp
qtbase
]; ];
meta = with stdenv.lib; { meta = with lib; {
description = "Tool for analysing captured signals from sdr receivers"; description = "Tool for analysing captured signals from sdr receivers";
homepage = https://github.com/miek/inspectrum; homepage = "https://github.com/miek/inspectrum";
maintainers = with maintainers; [ mog ]; maintainers = with maintainers; [ mog ];
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.gpl3Plus; license = licenses.gpl3Plus;