2019-04-27 17:29:20 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, fftw, hamlib, libpulseaudio, libGL, libX11, liquid-dsp,
|
2020-06-15 04:34:38 +01:00
|
|
|
pkgconfig, soapysdr-with-plugins, wxGTK31-gtk3, enableDigitalLab ? false }:
|
2019-04-27 17:29:20 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "cubicsdr";
|
2019-04-27 17:29:20 +01:00
|
|
|
version = "0.2.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cjcliffe";
|
|
|
|
repo = "CubicSDR";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1ihbn18bzdcdvwpa4hnb55ns38bj4b8xy53hkmra809f9qpbcjhn";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2020-06-15 04:34:38 +01:00
|
|
|
|
|
|
|
buildInputs = [ fftw hamlib libpulseaudio libGL libX11 liquid-dsp soapysdr-with-plugins wxGTK31-gtk3 ];
|
2019-04-27 17:29:20 +01:00
|
|
|
|
|
|
|
cmakeFlags = [ "-DUSE_HAMLIB=ON" ]
|
|
|
|
++ stdenv.lib.optional enableDigitalLab "-DENABLE_DIGITAL_LAB=ON";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://cubicsdr.com";
|
2019-04-27 17:29:20 +01:00
|
|
|
description = "Software Defined Radio application";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ lasandell ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|