2021-01-17 02:09:27 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, cmake, pkg-config
|
2020-05-12 21:00:17 +00:00
|
|
|
, qtbase, qtcharts, qtmultimedia, qtquickcontrols, qtquickcontrols2, qtgraphicaleffects
|
2021-05-29 19:20:19 +00:00
|
|
|
, faad2, rtl-sdr, soapysdr-with-plugins, libusb-compat-0_1, fftwSinglePrec, lame, mpg123
|
|
|
|
} :
|
2017-12-19 21:32:26 +00:00
|
|
|
|
2021-05-29 19:20:19 +00:00
|
|
|
mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "welle-io";
|
2022-02-14 09:03:24 +00:00
|
|
|
version = "2.4";
|
2017-12-19 21:32:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AlbrechtL";
|
|
|
|
repo = "welle.io";
|
2019-10-30 22:30:18 +00:00
|
|
|
rev = "v${version}";
|
2022-02-14 09:03:24 +00:00
|
|
|
sha256 = "sha256-xXiCL/A2SwCSr5SA4AQQEdieRzBksXx9Z78bHtlFiW4=";
|
2017-12-19 21:32:26 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2017-12-19 21:32:26 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
faad2
|
|
|
|
fftwSinglePrec
|
2019-10-30 22:30:18 +00:00
|
|
|
lame
|
2020-04-28 03:29:39 +00:00
|
|
|
libusb-compat-0_1
|
2019-10-30 22:30:18 +00:00
|
|
|
mpg123
|
2017-12-19 21:32:26 +00:00
|
|
|
qtbase
|
|
|
|
qtcharts
|
|
|
|
qtmultimedia
|
|
|
|
qtquickcontrols
|
|
|
|
qtquickcontrols2
|
2020-05-12 21:00:17 +00:00
|
|
|
qtgraphicaleffects
|
2017-12-19 21:32:26 +00:00
|
|
|
rtl-sdr
|
2018-04-25 18:58:50 +00:00
|
|
|
soapysdr-with-plugins
|
2017-12-19 21:32:26 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
2018-04-25 18:58:50 +00:00
|
|
|
"-DRTLSDR=true" "-DSOAPYSDR=true"
|
2017-12-19 21:32:26 +00:00
|
|
|
];
|
|
|
|
|
2019-10-30 22:30:18 +00:00
|
|
|
meta = with lib; {
|
2017-12-19 21:32:26 +00:00
|
|
|
description = "A DAB/DAB+ Software Radio";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.welle.io/";
|
2019-02-09 19:49:03 +00:00
|
|
|
maintainers = with maintainers; [ ck3d markuskowa ];
|
2021-02-01 12:33:14 +00:00
|
|
|
license = licenses.gpl2Only;
|
2018-04-26 08:17:40 +00:00
|
|
|
platforms = with platforms; [ "x86_64-linux" "i686-linux" ] ++ darwin;
|
2017-12-19 21:32:26 +00:00
|
|
|
};
|
|
|
|
}
|