2021-02-05 17:12:51 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, cmake, pkg-config
|
2020-05-29 06:06:01 +00:00
|
|
|
, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects
|
2021-06-01 10:57:12 +00:00
|
|
|
, faad2, rtl-sdr, soapysdr-with-plugins, libusb-compat-0_1, fftwSinglePrec, lame, mpg123
|
|
|
|
} :
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-01 10:57:12 +00:00
|
|
|
mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "welle-io";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "2.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AlbrechtL";
|
|
|
|
repo = "welle.io";
|
|
|
|
rev = "v${version}";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-xXiCL/A2SwCSr5SA4AQQEdieRzBksXx9Z78bHtlFiW4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
faad2
|
|
|
|
fftwSinglePrec
|
|
|
|
lame
|
2020-05-03 17:38:23 +00:00
|
|
|
libusb-compat-0_1
|
2020-04-24 23:36:52 +00:00
|
|
|
mpg123
|
|
|
|
qtbase
|
|
|
|
qtcharts
|
|
|
|
qtmultimedia
|
|
|
|
qtquickcontrols
|
|
|
|
qtquickcontrols2
|
2020-05-29 06:06:01 +00:00
|
|
|
qtgraphicaleffects
|
2020-04-24 23:36:52 +00:00
|
|
|
rtl-sdr
|
|
|
|
soapysdr-with-plugins
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DRTLSDR=true" "-DSOAPYSDR=true"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "DAB/DAB+ Software Radio";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.welle.io/";
|
|
|
|
maintainers = with maintainers; [ ck3d markuskowa ];
|
2021-02-05 17:12:51 +00:00
|
|
|
license = licenses.gpl2Only;
|
2022-08-12 12:06:08 +00:00
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ] ++ platforms.darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|