diff options
author | B <32319131+btlvr@users.noreply.github.com> | 2020-02-14 18:17:33 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 21:17:33 -0500 |
commit | 0bfb75520f86bf192c8fbdfbf1dc77702aaa0142 (patch) | |
tree | 8b17ccc7de2ed863cd8f18ea1b3e8517ed5f4d97 /pkgs/applications/radio/inspectrum | |
parent | 3064c90887bba33f65c3b761834ab59d70b2fd50 (diff) |
inspectrum: add qt wrapper, cleanup (#80144)
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
Diffstat (limited to 'pkgs/applications/radio/inspectrum')
-rw-r--r-- | pkgs/applications/radio/inspectrum/default.nix | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/pkgs/applications/radio/inspectrum/default.nix b/pkgs/applications/radio/inspectrum/default.nix index ef4bd6129a84..a205cec714d8 100644 --- a/pkgs/applications/radio/inspectrum/default.nix +++ b/pkgs/applications/radio/inspectrum/default.nix @@ -1,16 +1,18 @@ -{ stdenv +{ lib +, mkDerivation , fetchFromGitHub , pkgconfig , cmake , boost , fftwFloat -, qt5 , gnuradio , liquid-dsp +, qtbase }: -stdenv.mkDerivation { - name = "inspectrum-unstable-2017-05-31"; +mkDerivation { + pname = "inspectrum"; + version = "unstable-2017-05-31"; src = fetchFromGitHub { owner = "miek"; @@ -19,19 +21,18 @@ stdenv.mkDerivation { sha256 = "1fvnr8gca25i6s9mg9b2hyqs0zzr4jicw13mimc9dhrgxklrr1yv"; }; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ cmake pkgconfig ]; buildInputs = [ - cmake - qt5.qtbase fftwFloat boost gnuradio liquid-dsp + qtbase ]; - meta = with stdenv.lib; { + meta = with lib; { 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 ]; platforms = platforms.linux; license = licenses.gpl3Plus; |