14 soapysdr-with-plugins,
16 enableDigitalLab ? false,
21 stdenv.mkDerivation rec {
25 src = fetchFromGitHub {
29 sha256 = "0cyv1vk97x4i3h3hhh7dx8mv6d1ad0fypdbx5fl26bz661sr8j2n";
33 # Fix for liquid-dsp v1.50
35 url = "https://github.com/cjcliffe/CubicSDR/commit/0e3a785bd2af56d18ff06b56579197b3e89b34ab.patch";
36 sha256 = "sha256-mPfNZcV3FnEtGVX4sCMSs+Qc3VeSBIRkpCyx24TKkcU=";
53 ++ lib.optionals stdenv.hostPlatform.isLinux [
58 ++ lib.optionals stdenv.hostPlatform.isDarwin [
63 cmakeFlags = [ "-DUSE_HAMLIB=ON" ] ++ lib.optional enableDigitalLab "-DENABLE_DIGITAL_LAB=ON";
66 homepage = "https://cubicsdr.com";
67 description = "Software Defined Radio application";
68 license = licenses.gpl2Plus;
69 maintainers = with maintainers; [ lasandell ];
70 platforms = platforms.unix;
71 mainProgram = "CubicSDR";