smap: init at 0.1.12 (#371402)
[NixPkgs.git] / pkgs / applications / radio / sigdigger / default.nix
blob6e344c84d625f9df420d6caad36d088e8708650e
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   qmake,
6   qtbase,
7   pkg-config,
8   sigutils,
9   fftwSinglePrec,
10   suwidgets,
11   wrapQtAppsHook,
12   suscan,
13   libsndfile,
14   soapysdr-with-plugins,
15   libxml2,
16   volk,
19 stdenv.mkDerivation rec {
20   pname = "sigdigger";
21   version = "0.3.0";
23   src = fetchFromGitHub {
24     owner = "BatchDrake";
25     repo = "SigDigger";
26     rev = "v${version}";
27     sha256 = "sha256-dS+Fc0iQz7GIlGaR556Ur/EQh3Uzhqm9uBW42IuEqoE=";
28   };
30   nativeBuildInputs = [
31     qmake
32     pkg-config
33     wrapQtAppsHook
34   ];
36   buildInputs = [
37     qtbase
38     sigutils
39     fftwSinglePrec
40     suwidgets
41     suscan
42     libsndfile
43     libxml2
44     volk
45     soapysdr-with-plugins
46   ];
48   qmakeFlags = [
49     "SUWIDGETS_PREFIX=${suwidgets}"
50     "SigDigger.pro"
51   ];
53   meta = with lib; {
54     description = "Qt-based digital signal analyzer, using Suscan core and Sigutils DSP library";
55     mainProgram = "SigDigger";
56     homepage = "https://github.com/BatchDrake/SigDigger";
57     license = licenses.gpl3;
58     platforms = platforms.all;
59     maintainers = with maintainers; [
60       polygon
61       oxapentane
62     ];
63   };